I'm trying to create 3 tables:
countries
regions
employees
countries should have a one to many relationship with regions
and there should be a dropdown for regions AND countries on the view and edit
screens for employees
when I tried to add:
belongs_to country
belongs_to region
to the employee.rb "model" then hobo g migration crashes with quite a few error
messages. I'm not really surprised, since I'm sure this is the wrong way to do
this...but what is the right way?
Arthur
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.