ianwhite / nested_has_many_through
- Source
- Commits
- Network (9)
- Issues (3)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
80c43d8
nested_has_many_through / init.rb
| eabb09cf » | ianwhite | 2008-04-28 | 1 | require 'nested_has_many_through' | |
| 8f114e00 » | ianwhite | 2008-04-28 | 2 | ||
| 3 | ActiveRecord::Associations::HasManyThroughAssociation.send :include, NestedHasManyThrough::Association | ||||
| 80c43d8c » | ianwhite | 2008-10-07 | 4 | ||
| 5 | # BC | ||||
| 6 | if defined?(ActiveRecord::Reflection::ThroughReflection) | ||||
| 7 | ActiveRecord::Reflection::ThroughReflection.send :include, NestedHasManyThrough::Reflection | ||||
| 8 | else | ||||
| 9 | ActiveRecord::Reflection::AssociationReflection.send :include, NestedHasManyThrough::Reflection | ||||
| 10 | end | ||||
