Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 582 Bytes
require 'parental_control'
ActiveRecord::Associations::AssociationProxy.send(:include, ParentalControl::AssociationProxyMethods)
ActiveRecord::Associations::BelongsToAssociation.send(:include, ParentalControl::BelongsToAssociationMethods)
ActiveRecord::Associations::HasOneAssociation.send(:include, ParentalControl::HasOneAssociationMethods)
ActiveRecord::Associations::HasManyAssociation.send(:include, ParentalControl::HasManyAssociationMethods)
ActiveRecord::Associations::BelongsToPolymorphicAssociation.send(:include, ParentalControl::BelongsToPolymorphicAssociationMethods)