Monday, June 24, 2013

[Rails] Relational DB - Related and not Related

Hi

I'm working on a project that has users and groups, users can be members of a group or they can just be a user - what's going to be the best way to deal with this?
I understand the normal has_many relationship just not sure how to do this one. Will try to post some code snippets tomorrow.

Thanks, Cameron

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cc9e3cfb-9180-4527-af5d-b4b3768a5eb6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate