db: user mongoid instead of mongo_mapper
model: state