Module: Reflections::ActiveRecordExtension

Extended by:
ActiveSupport::Concern
Defined in:
lib/reflections/active_record_extension.rb

Instance Method Summary collapse

Instance Method Details

#map_associations_to(ar_obj, options = {}, &block) ⇒ Object



8
9
10
# File 'lib/reflections/active_record_extension.rb', line 8

def map_associations_to(ar_obj, options={}, &block)
  Remapper.new(self, ar_obj).remap(options, &block)
end