Problem when using ActiveRecord in stand-alone application ( undefined method `to_ary' for #<Wordform:0x4ed5d20>)

When i'm using active record in no-rails ruby app - i can't save my AR
object.
Pseudo code: