mongoid set up with variables