As the name says, how can I generate the default mongoid.yml configuration file on Rail 2.3.5?
I try to use the'rails generate mongoid: config 'command, but it just creates a new application.
And also, I would like to use has_many in mongoid without embedding the related model in the same field. I would like them to be in different fields and be connected via the * _id column. Is it possible?
source
share