aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey/path
Commit message (Collapse)AuthorAgeFilesLines
* avoid is_a? checksAaron Patterson2015-08-171-2/+2
| | | | add another predicate method so we can avoid is_a checks
* pull RegexpOffsets in to a methodAaron Patterson2015-08-171-27/+14
| | | | we don't really need this visitor
* default pattern to use a joined stringAaron Patterson2015-08-171-2/+2
| | | | | The string we create is almost always the same, so rather than joining all the time, lets join once, then reuse that string everywhere.
* remove StrexpAaron Patterson2015-08-131-7/+11
| | | | | This was a useless object. We can just directly construct a Path::Pattern object without a Strexp object.
* pass anchor directly to `Pattern`Aaron Patterson2015-08-131-3/+3
| | | | | the caller already has it, there is no reason to pack it in to an object and just throw that object away.
* Merge pull request #17827 from rkh/rkh-fix-or-patternAaron Patterson2014-12-011-0/+5
|\ | | | | Fix OR in Journey patterns
| * make OR in journey patterns compile to a valid regular expressionKonstantin Haase2014-11-291-0/+5
| |
* | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
|/
* no more is_a checks on instantiationAaron Patterson2014-05-291-9/+4
|
* Path::Pattern is instantiated internally, so make the contructor require a ↵Aaron Patterson2014-05-291-7/+6
| | | | strexp object
* ask the strexp for the astAaron Patterson2014-05-291-3/+2
|
* push the formatter up to the Route objectAaron Patterson2014-05-211-3/+2
|
* cache the formatter on the path objectAaron Patterson2014-05-201-0/+5
|
* Replace map.flatten with flat_map in actionpackErik Michaels-Ober2014-03-031-2/+2
|
* Make ActionDispatch::Journey::Path::Pattern#new raise more meaningful ↵zires2013-02-271-1/+1
| | | | exception message.
* update AD::Journey to follow Rails coding conventionsFrancesco Rodriguez2012-12-201-30/+31
|
* :nodoc: Journey because is not part of the public API [ci skip]Francesco Rodriguez2012-12-191-4/+4
|
* Integrate Journey into Action DispatchAndrew White2012-12-191-0/+195
Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49.