diff options
author | Tobias Lütke <tobias.luetke@gmail.com> | 2007-01-12 21:14:36 +0000 |
---|---|---|
committer | Tobias Lütke <tobias.luetke@gmail.com> | 2007-01-12 21:14:36 +0000 |
commit | e24d2f72344baecbcd6fbb76fe3a3171762182e0 (patch) | |
tree | 1fce45c301782722656b2aaa5313c4bc0e2207ef /activerecord/test/method_scoping_test.rb | |
parent | dd6826eba34769d2af45d45ef91e359cd64eeb00 (diff) | |
download | rails-e24d2f72344baecbcd6fbb76fe3a3171762182e0.tar.gz rails-e24d2f72344baecbcd6fbb76fe3a3171762182e0.tar.bz2 rails-e24d2f72344baecbcd6fbb76fe3a3171762182e0.zip |
Apply scoping during initialize instead of create. Fixes setting of foreign key when using find_or_initialize_by with scoping.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/method_scoping_test.rb')
0 files changed, 0 insertions, 0 deletions