Flowdock
method

add_aggregate_reflection

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: ActiveRecord::Reflection
add_aggregate_reflection(ar, name, reflection) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/reflection.rb, line 39
    def self.add_aggregate_reflection(ar, name, reflection)
      ar.aggregate_reflections = ar.aggregate_reflections.merge(name.to_s => reflection)
    end
Register or log in to add new notes.