Franz Strebel wrote:
> On Wed, Jan 7, 2009 at 12:13 PM, Dave Smith
> <[email protected]> wrote:
>>
>> i have a project.
>>
>> the project has a status_id.
>>
>> i have a statuses table with id's and names.
>>
>> the project model includes "has_one :status"
> 
> try belongs_to :status

i understand now! cheers guys
-- 
Posted via http://www.ruby-forum.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to