Module: Polyamorous::JoinDependencyExtensions::ClassMethods
- Defined in:
- lib/polyamorous/activerecord_4.1/join_dependency.rb
Instance Method Summary collapse
Instance Method Details
#walk_tree_with_polymorphism(associations, hash) ⇒ Object
61 62 63 64 65 66 67 68 |
# File 'lib/polyamorous/activerecord_4.1/join_dependency.rb', line 61 def walk_tree_with_polymorphism(associations, hash) case associations when Join hash[associations] ||= {} else walk_tree_without_polymorphism(associations, hash) end end |