Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.401 kb
require 'nested_has_many_through'
ActiveRecord::Associations::HasManyThroughAssociation.send :include, NestedHasManyThrough::Association
# BC
if defined?(ActiveRecord::Reflection::ThroughReflection)
ActiveRecord::Reflection::ThroughReflection.send :include, NestedHasManyThrough::Reflection
else
ActiveRecord::Reflection::AssociationReflection.send :include, NestedHasManyThrough::Reflection
end
Jump to Line
Something went wrong with that request. Please try again.