The setup seems to be right, assuming
there is a company_info_id in the user_info table.

Are the records in the database ok and have the
right id?
What code do you use to get the CompanyInfo?
Something like:

@user_info = UserInfo(:first)

That should allow to acces it like that:
@user_info.company_info
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to