Re: [Rails] Need some advice on how to start a rails app
@Jordan, thank you for the explanation. I'm having a hard time seeing what the relationships model looks like: id, user_id, blog_id, relationship_type_id? In that, the relationship_type_id decides if the relationship is a user or an editor?
Blog
belongs_to organization
belongs_to editor through relationships
belongs_to subscriber through relationships
I also haven't thought about a privileges table yet, so I'm unsure what that class would look like.
@Aline, it's funny, I always approach a new app by creating a user model, then login and authentication. Interesting approach.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/huqUZJnWAzYJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home