Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (4 sloc) 209 Bytes
require 'polymorphic_attacher'
require 'active_record_includes'
ActiveRecord::Base.send(:extend, PolymorphicAttacher::ClassMethods)
ActiveRecord::Base.send(:include, PolymorphicAttacher::ActiveRecordIncludes)