1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
schneems ba0695f48a Fix named routing regression from 3.2.13
When named route that is nested is used in 3.2.13

Example `routes.rb`:

```
resources :nested do
  resources :builder, :controller => 'nested/builder'
end
```

In 3.2.12 and 3.2.12 this named route would work:

```
nested_builder_path(:last_step, :nested_id => "foo")
```

Generating a url that looks like `/nested/foo/builder/last_step`. This PR fixes the regression when building urls via the optimized helper. Any explicit keys set in the options are removed from the list of implicitly mapped keys.

Not sure if this is exactly how the original version worked, but this fixes this use case regression.
2013-05-16 18:42:15 -03:00
..
abstract_controller deprecating string based terminators 2013-05-14 16:03:09 -07:00
action_controller Revert "Add the options method to action_controller testcase." 2013-05-16 11:10:59 -03:00
action_dispatch Fix named routing regression from 3.2.13 2013-05-16 18:42:15 -03:00
action_pack rails/master is now 4.1.0.beta 2013-04-29 13:15:24 -03:00
action_view Merge pull request #10527 from zenspider/squishy_minitest5 2013-05-16 13:41:54 -07:00
abstract_controller.rb
action_controller.rb extract PerformanceTest into rails-performance_tests gem 2013-01-10 17:09:06 +01:00
action_dispatch.rb Remove extra whitespace 2013-04-06 00:54:44 +03:00
action_pack.rb Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00
action_view.rb Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00