There are some cases when you don't have a DB connection when loading your model. For these cases I've added one more option.
I didn't write a test, but it's trivial enough.
Added JRuby support to test suite.
Added .set_flag_sql static method.
Merge remote-tracking branch 'gh/master'
Added docs about #set_flag_sql method.
Merged pull request #14 from arturaz:master
@arturaz: This is in version 0.3.2 just released.