Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8869

Show
Ignore:
Timestamp:
02/14/08 20:02:19 (7 months ago)
Author:
nzkoz
Message:

Minor formatting changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/lib/active_record/associations/association_collection.rb

    r8865 r8869  
    162162            super { |*block_args| yield(*block_args) if block_given? } 
    163163          else 
    164             @reflection.klass.send(:with_scope, construct_scope) { 
    165                 @reflection.klass.send(method, *args) { |*block_args| yield(*block_args) if block_given? } 
    166             } 
     164            @reflection.klass.send(:with_scope, construct_scope) do 
     165              @reflection.klass.send(method, *args) { |*block_args| yield(*block_args) if block_given? } 
     166            end 
    167167          end 
    168168        end 
  • trunk/activerecord/lib/active_record/associations/has_many_through_association.rb

    r8865 r8869  
    133133            super { |*block_args| yield(*block_args) if block_given? } 
    134134          else 
    135             @reflection.klass.send(:with_scope, construct_scope) { 
    136                 @reflection.klass.send(method, *args) { |*block_args| yield(*block_args) if block_given? } 
    137             } 
     135            @reflection.klass.send(:with_scope, construct_scope) do 
     136              @reflection.klass.send(method, *args) { |*block_args| yield(*block_args) if block_given? } 
     137            end 
    138138          end 
    139139        end