Problem when using ActiveRecord in stand-alone application ( undefined method `to_ary' for #<Wordfor

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

1: require ‘active_record’

… establishin connection…

12: d = Wordflow.new
13: d.save

And in 13 line i got message “undefined method `to_ary’ for #<Wordform:
0x4ed5d20>” with no exception and don’t get new record in db.

SQL driver: mysql2

System:
Windows XP SP3
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
gems:
abstract-1.0.0
actionmailer-3.0.1
actionpack-3.0.1
activemodel-3.0.1
activerecord-3.0.1
activeresource-3.0.1
activesupport-3.0.1
arel-1.0.1
builder-2.1.2
bundler-1.0.3
erubis-2.6.6
i18n-0.4.2
mail-2.2.9
mime-types-1.16
mysql2-0.2.6-x86-mingw32
nokogiri-1.4.3.1-x86-mingw32
polyglot-0.3.1
rack-1.2.1
rack-mount-0.6.13
rack-test-0.5.6
rails-3.0.1
railties-3.0.1
rake-0.8.7
rcov-0.9.9
simple-rss-1.2.3
sqlite3-ruby-1.3.1-x86-mingw
test-unit-2.1.1
thor-0.14.3
treetop-1.4.8
tzinfo-0.3.23
yaxml-0.0.9
zmq-2.0.9

P.S.: DB Processing code working fine when it’s part of RoR
application.