To initialize an ActiveRecord object You can pass a hash to constructor. May be it would be better?