diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-14 20:02:19 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-14 20:02:19 +0000 |
commit | 039f724c7b48f07181a45dab0b8643d0207d69f5 (patch) | |
tree | b8e7723d6773debd902020978893b6cd67d5937d /activerecord/lib/active_record/associations/has_many_through_association.rb | |
parent | de048b100934641268ad681aa7d07571bb9130bd (diff) | |
download | rails-039f724c7b48f07181a45dab0b8643d0207d69f5.tar.gz rails-039f724c7b48f07181a45dab0b8643d0207d69f5.tar.bz2 rails-039f724c7b48f07181a45dab0b8643d0207d69f5.zip |
Minor formatting changes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/associations/has_many_through_association.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/has_many_through_association.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/associations/has_many_through_association.rb b/activerecord/lib/active_record/associations/has_many_through_association.rb index 23931bcda2..81ec428d34 100644 --- a/activerecord/lib/active_record/associations/has_many_through_association.rb +++ b/activerecord/lib/active_record/associations/has_many_through_association.rb @@ -132,9 +132,9 @@ module ActiveRecord if @target.respond_to?(method) || (!@reflection.klass.respond_to?(method) && Class.respond_to?(method)) super { |*block_args| yield(*block_args) if block_given? } else - @reflection.klass.send(:with_scope, construct_scope) { - @reflection.klass.send(method, *args) { |*block_args| yield(*block_args) if block_given? } - } + @reflection.klass.send(:with_scope, construct_scope) do + @reflection.klass.send(method, *args) { |*block_args| yield(*block_args) if block_given? } + end end end |