Module: Genesis::ActiveRecordExtensions

Defined in:
lib/genesis/active_record_extensions.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
# File 'lib/genesis/active_record_extensions.rb', line 3

def self.included( base )
  base.extend( ClassMethods )
  class << ActiveRecord::Base; alias_method_chain :method_missing, :create_or_update; end
end