When we generate the model, is there a way we can specify the relationships between entities or should we create the model without the relations, edit the model and generate a migration specifically for it ?
I was expecting that we can get it working by typing in these.. rails generate model Group name:string has_many:users rails generate model User name:string passcode:string belongs_to:groups But when I try to run the db migrate it says undefined method users or so.. -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
