How can i generate mongoid.yml config in Rail 2.3.5?
Posted
by Micke
on Stack Overflow
See other posts from Stack Overflow
or by Micke
Published on 2010-05-10T11:05:18Z
Indexed on
2010/05/10
11:14 UTC
Read the original article
Hit count: 529
As the title says, how can i generate the default mongoid.yml config file on Rail 2.3.5? I try to use te ´rails generate mongoid:config´ command but it just generates a new app.
And also, i would like to use has_many in mongoid without embeding the associated model in the same field. I would like them to be in seperate fields and associated through a *_id "column". Is that possible?
Thank you, Micke.
© Stack Overflow or respective owner