diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-30 15:20:27 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-30 15:20:27 -0800 |
commit | dccf624b643398afdf1b0e048e57f04cb182c55e (patch) | |
tree | c009cbd8a62f5c3ac9565162f2e88e1e1dbd9b7e /activerecord/lib | |
parent | c856e25b32f3c2ea198d6f4ac46276a15fd20d80 (diff) | |
download | rails-dccf624b643398afdf1b0e048e57f04cb182c55e.tar.gz rails-dccf624b643398afdf1b0e048e57f04cb182c55e.tar.bz2 rails-dccf624b643398afdf1b0e048e57f04cb182c55e.zip |
Ruby 1.8, how does it work?
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index c31a6e8feb..4bc7f73013 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -329,7 +329,7 @@ module ActiveRecord def scope_for_create @scope_for_create ||= begin if @create_with_value - @create_with_value.reverse_merge(where_values_hash) + where_values_hash.merge @create_with_value else where_values_hash end |