Hi

    I have models user and user_status An user always elongs to a
particular status at any time Status table has predefined values like
"pending","approved" etc My question is what should be the table
structure and relation between these models? I am trying like putting
status_id in users table And the relation is

user belongs_to user_status

   If so user_status  has_one user  Is this correct?Please guide me

Tom
-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to