1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Kasper Timm Hansen 4b46c5ce83 Only dup Ruby's Hash and Array.
When calling `to_h` on an `ActionController::Parameters` instance it would
`deep_dup` its internal parameters.

This inadvertently called `dup` on a passed Active Record model which would
create new models. Fix by only dupping Ruby's Arrays and Hashes.
2015-12-17 21:55:03 +01:00
..
abstract Revert "ActionController::Base#process() now only takes an action name" 2015-10-29 16:18:27 -07:00
assertions Show redirect response code in assert_response messages 2015-12-11 18:18:08 +01:00
controller Only dup Ruby's Hash and Array. 2015-12-17 21:55:03 +01:00
dispatch Don't catch all NameError to reraise as ActionController::RoutingError #22368 2015-12-12 11:22:08 +01:00
fixtures Add failing spec on utf8 filename with percent character 2015-08-04 21:27:22 +09:00
journey Remove TestRouter#add_routes 2015-09-29 13:43:11 +09:00
lib/controller Removing unused fake models 2014-09-07 22:51:14 -03:00
routing Remove deprecate *_path helpers in email views 2015-01-04 11:58:42 -03:00
tmp
abstract_unit.rb mostly remove the ParamsParser middleware 2015-09-18 15:36:55 -07:00