diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-06-28 13:50:28 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-29 17:57:01 +0200 |
commit | e8f88a3298441c0421258a429376540870b8149e (patch) | |
tree | d19688e5e1051aea2ae948913229267a9a1481f6 | |
parent | 735a4db6854e73e871e6b01ec003f0670cc5ee14 (diff) | |
download | rails-e8f88a3298441c0421258a429376540870b8149e.tar.gz rails-e8f88a3298441c0421258a429376540870b8149e.tar.bz2 rails-e8f88a3298441c0421258a429376540870b8149e.zip |
splitting a really long line into multiple lines which is easy on eyes
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r-- | activerecord/lib/active_record/associations/has_many_association.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/has_many_association.rb b/activerecord/lib/active_record/associations/has_many_association.rb index 92c6b3e770..d74fb7c702 100644 --- a/activerecord/lib/active_record/associations/has_many_association.rb +++ b/activerecord/lib/active_record/associations/has_many_association.rb @@ -110,7 +110,11 @@ module ActiveRecord create_scoping = {} set_belongs_to_association_for(create_scoping) { - :find => { :conditions => @finder_sql, :readonly => false, :order => @reflection.options[:order], :limit => @reflection.options[:limit], :include => @reflection.options[:include]}, + :find => { :conditions => @finder_sql, + :readonly => false, + :order => @reflection.options[:order], + :limit => @reflection.options[:limit], + :include => @reflection.options[:include]}, :create => create_scoping } end |