[Rails] Re: Help with authentication/authorisation design

2011-05-17 Thread Pingu Penguin
Thanks so much for your help Paulo, it's really appreciated. -- 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-talk@googlegroups.com. To unsubscrib

Re: [Rails] Re: Help with authentication/authorisation design

2011-05-17 Thread Paulo Muggler Moreira
I think trying to model all those relationships solely in your user models will turn out way more complicated than adding a few extra models to your app to help capture those relationships. Your concerns about data coupling are valid, but at some point, you'll have to store the information about wh

[Rails] Re: Help with authentication/authorisation design

2011-05-17 Thread Pingu Penguin
Thanks for the reply Paulo, my question was about the business relationships involved, and I think you went a long a way towards answering it. With regards to a Customer being associated with multiple Garages, good news, this is not possible, they would have to have separate accounts. Your soluti