Module: Bigamy::ActiveRecord

Defined in:
lib/bigamy.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(model) ⇒ Object



86
87
88
89
90
91
# File 'lib/bigamy.rb', line 86

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

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