thhermansen/massive_record_test_app — Issue #1: Observer and embeds_many - problems 
Author: ceouser
Created: 2012-01-07 21:44:27+00:00
State: open

Rails 3.1.3
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]

from rails console

I got: Color.first
NoMethodError: undefined method `embeds_many' for Color:Class

Whats wrong with code?
Also, very similar problem when register an observer in config.application.rb
# config.active_record.observers = :color_observer

Please help me with that nice features.

class Color < MassiveRecord::ORM::Table
column_family :data do
field :color
end

embeds_many :color_synonims

attr_accessible :lemma, :color

def lemma=(arg)
self.id = arg
end

def lemma
self.id
end

def default_id
"#{lemma}"
end
end

Whats wrong with code?