Module: Bigamy::ActiveRecord

Defined in:
lib/bigamy.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(model) ⇒ Object



76
77
78
79
80
81
# File 'lib/bigamy.rb', line 76

def self.configure(model)
  ::Bigamy::Base.configure(model)

  model.extend ClassMethods
  model.send :include, InstanceMethods
end