On Aug 22, 3:20 pm, Frederick Cheung <[email protected]> wrote: > On Aug 22, 6:22 pm, Glen <[email protected]> wrote: > > > I'm having trouble with a model: > > def new > > @job = Job.new > > > @job.city.build > > @job.region.build > > @job.counrty.build > > @job.department.build > > @job.company.build > > The magically created methods are @job.build_city etc. >
Thank you much, that did the trick. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

