aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
Commit message (Expand)AuthorAgeFilesLines
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-2/+2
* Change doc for "polymorphic_path" in polymorphic_routes.rbMahmoud2018-03-091-2/+1
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add support for calling nested direct routes (#28462)Andrew White2017-03-171-4/+4
* Push option extract into call methodAndrew White2017-02-211-3/+3
* Support mapping of non-model classesAndrew White2017-02-211-3/+10
* Add custom polymorphic mappingAndrew White2017-02-211-3/+24
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-3/+3
* revises more Lint/EndAlignment offensesXavier Noria2016-08-081-3/+3
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-2/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-132/+132
* modernizes hash syntax in actionpackXavier Noria2016-08-061-2/+2
* applies new string literal convention in actionpack/libXavier Noria2016-08-061-7/+7
* [ci skip] Fix typo & add link in PolymorphicRoutesAlex Kitchens2016-06-291-2/+2
* refactor `handle_model` to use private helper methods for generationAaron Patterson2015-03-011-8/+6
* drop allocations for string and class polymorphic routesAaron Patterson2015-03-011-3/+3
* drop allocations when handling model url generationAaron Patterson2015-02-281-1/+1
* Fix form_for to work with objects that implement to_modelTravis Grathwell2014-12-291-5/+6
* Remove ActionController::ModelNamingclaudiob2014-12-251-4/+0
* Keep the original implementation to not having to allocate new objectsRafael Mendonça França2014-09-251-2/+15
* Remove internal options from query string of pathsGert Goet2014-09-251-18/+3
* Allow polymorphic routes with nil when a route can still be drawnSammy Larbi2014-08-311-1/+2
* Merge pull request #15889 from carnesmedia/model-nameRafael Mendonça França2014-08-171-5/+5
|\
| * Use #model_name on instances instead of classesAmiel Martin2014-06-241-5/+5
* | extract methods and metaprogram less.Aaron Patterson2014-08-141-11/+16
|/
* Simplify merge call on polymorphic helpersCarlos Antonio da Silva2014-05-131-2/+2
* use the helper method builder to construct helper methodsAaron Patterson2014-05-121-56/+107
* undo optimized calls until the builder object is finishedAaron Patterson2014-05-121-36/+19
* remove suffix from the handler methodsAaron Patterson2014-05-121-20/+19
* push list handling to the builder objectAaron Patterson2014-05-121-30/+30
* push string handling to the builder objectAaron Patterson2014-05-121-10/+8
* push model and class handling to a helper builder objectAaron Patterson2014-05-121-36/+48
* adding a method to handle strings using the same apiAaron Patterson2014-05-121-22/+32
* break each polymorphic type to it's own methodAaron Patterson2014-05-121-24/+81
* remove dead codeAaron Patterson2014-05-121-12/+0
* only test `persisted?` on the record onceAaron Patterson2014-05-121-3/+7
* only send options if there are any optionsAaron Patterson2014-05-121-5/+7
* remove should_pop variableAaron Patterson2014-05-121-4/+1
* only pop records when we get an arrayAaron Patterson2014-05-121-6/+7
* remove unnecessary array allocationsCoraline Ada Ehmke + Aaron Patterson2014-05-121-5/+1
* simplified route method name generationCoraline Ada Ehmke + Aaron Patterson2014-05-121-27/+17
* small refactoringCoraline Ada Ehmke + Aaron Patterson2014-05-121-6/+2
* pulling helpermethods up before refactoringCoraline Ada Ehmke + Aaron Patterson2014-05-121-20/+46
* push all is_a tests up, always pass options to the named routeAaron Patterson2014-05-121-28/+27
* pull nil checks upAaron Patterson2014-05-121-3/+5
* skip another Array is_a checkAaron Patterson2014-05-121-4/+6
* only do the Array is_a check onceAaron Patterson2014-05-121-4/+3
* we always convert this variable to a list, so we can remove the unconversionAaron Patterson2014-05-121-1/+0