Module: JsonRecord::ActiveRecordStub

Defined in:
lib/json_record/embedded_document.rb

Overview

OK, this is ugly, but necessary to get ActiveRecord::Errors to be compatible with EmbeddedDocument. This will all be fixed with Rails 3 and ActiveModel. Until then we’ll just live with this.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



6
7
8
# File 'lib/json_record/embedded_document.rb', line 6

def self.included (base)
  base.extend(ClassMethods)
end

Instance Method Details

#deprecated_callback_method(*args) ⇒ Object



28
29
# File 'lib/json_record/embedded_document.rb', line 28

def deprecated_callback_method (*args)
end