Module: Resourceful::Model::ActiverecordAssociations

Defined in:
lib/resourceful/model/activerecord_associations.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



95
96
97
98
# File 'lib/resourceful/model/activerecord_associations.rb', line 95

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end