aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
Commit message (Expand)AuthorAgeFilesLines
...
* we always convert this variable to a list, so we can remove the unconversionAaron Patterson2014-05-121-1/+0
* record as a hash is not possible, so rm branchAaron Patterson2014-05-121-2/+0
* stop popping in build_named_route_callAaron Patterson2014-05-121-4/+3
* remove extract_record since we have extracted the listAaron Patterson2014-05-121-12/+1
* always pass a list to build_named_route_callAaron Patterson2014-05-121-10/+19
* add a test for passing two models to the polymorphic_url methodAaron Patterson2014-05-121-1/+1
* extract route key translation to a method and reuse itAaron Patterson2014-05-121-17/+14
* Use #include? instead of #any?, make it simplerAkshay Vishnoi2014-05-031-1/+1
* passing a nil in the polymorphic array is not supported. remove nils before y...Aaron Patterson2014-05-021-0/+4
* passing a nil should always raise an ArgumentErrorAaron Patterson2014-05-021-1/+0
* only add the optiosn if they are not emptyAaron Patterson2014-05-011-1/+3
* always pass options to the _url methodAaron Patterson2014-05-011-3/+1
* never merge url options in to the first data hashAaron Patterson2014-05-011-1/+1
* avoid calling extract_record multiple timesAaron Patterson2014-04-301-3/+2
* eliminate conditional when sending the named route methodAaron Patterson2014-04-301-2/+4
* Adding documentation to +polymorphic_url+wangjohn2013-06-131-0/+13
* Cleans and removes useless 'Examples' tag [ci skip]Alvaro Pereyra2012-12-011-2/+0
* 1.9 hash syntax changes to docsAvnerCohen2012-10-311-3/+3
* Revert "polymorphic_url with an array generates a query string"Andrew White2012-08-041-4/+1
* Revert "Refactor passing url options via array for polymorphic_url"Andrew White2012-08-041-2/+2
* Refactor passing url options via array for polymorphic_urlAndrew White2012-08-041-2/+2
* polymorphic_url with an array generates a query stringRomain Tribes2012-08-041-1/+4
* Remove ActiveModel dependency from ActionPackGuillermo Iguaran2012-06-301-7/+7
* Merge pull request #6588 from nbibler/polymorphic_to_modelJosé Valim2012-06-011-1/+7
* Reword polymorphic routes + mounted engine rdocMark Rushakoff2012-04-291-8/+6
* Improve cache on route_key lookup.José Valim2011-12-081-4/+6
* Make polymorphic_url calls go through application helpers again.thedarkone2011-07-251-8/+1
* provide a more explicit message when using url_for with nilDamien Mathieu2011-07-021-1/+3
* dry up case / when statementAaron Patterson2010-12-171-5/+3
* Convert unless/else into if/else.thedarkone2010-09-271-4/+4
* options[:action] is very likely to be nil.thedarkone2010-09-271-1/+1
* Use new ActiveModel::Naming.route_key in polymorphic_routesPiotr Sarnacki2010-09-031-11/+2
* Add short note on using url_for instead of directly calling named route in po...Piotr Sarnacki2010-09-031-0/+3
* Add possibility to explicitly call engine's routes through polymorphic_routes...Piotr Sarnacki2010-09-031-1/+20
* Added more tests for polymorphic_url with namespaced models and implemented m...Piotr Sarnacki2010-09-031-5/+10
* Modified polymorphic_url to check for model's namespacePiotr Sarnacki2010-09-031-0/+4
* Extended url_for to handle specifying which router should be used.Piotr Sarnacki2010-09-031-1/+1
* resolves merge conflictXavier Noria2010-08-311-1/+1
|\
| * Expanded routing documentation with current best practicesJoost Baaij2010-08-291-1/+1
* | Micro optimization for build_named_route_call in PolymorphicRoutes:yury2010-08-281-10/+10
|/
* Moved a few methods from RecordIdentifier to ActiveModel::NamingPiotr Sarnacki2010-07-211-3/+3
* Moved PolymorphicRoutes to ActionDispatch::RoutingPiotr Sarnacki2010-07-201-0/+186