diff options
| author | Nick Howard <ndh@baroquebobcat.com> | 2011-05-01 16:22:46 -0600 |
|---|---|---|
| committer | Nick Howard <ndh@baroquebobcat.com> | 2011-05-01 16:22:56 -0600 |
| commit | 86ea94e4d0c228c79b3709f0c667ba90b02e41cd (patch) | |
| tree | 1d2c41554c5a8b8f8cd1120d68b380fe5beb703c /actionpack/lib/action_dispatch/routing/routes_proxy.rb | |
| parent | b8ccd0552473fbe0f346334e37b7d84481dd3533 (diff) | |
| download | rails-86ea94e4d0c228c79b3709f0c667ba90b02e41cd.tar.gz rails-86ea94e4d0c228c79b3709f0c667ba90b02e41cd.tar.bz2 rails-86ea94e4d0c228c79b3709f0c667ba90b02e41cd.zip | |
Fix for lighthouse #6741
- adds tests for find_or_create_by and find_or_initialize_by on has_many associations
- changes the behavior of ActiveRecord::Associations::CollectionProxy#method_missing to differ to
ActiveRecord::FinderMethods#find_or_instantiator_by_attributes for arg processing and saving so
find_or_create_by's api on associations will be consistent w/ the api for model classes.
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/routes_proxy.rb')
0 files changed, 0 insertions, 0 deletions
