hi,same here,i cant resove this problem.But i found a demo ,that's awesome.
http://github.com/anathematic/has_one_problem 2009/11/4 Todd A. Jacobs <[email protected]> > > For example, in my case a contact has a foreign key to an address. The > address "belongs to" the contact (not the other way around), but I need > to use belongs_to in the model to build the proper relationship. > > Thanks again for the help. > > -- tommy xiao E-mail: xiaods(AT)gmail.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

