> User > id > email > password > roles_id > > Roles > id > title >
yes like this, is easier to integrate with authorization gems, and also , with devise if you have more than one model for authentication it creates a different set of routes for each, so you will have a login for users and a logins for admins and so on, so creating a link_to for each login will give away info about your authorization structure. read about authorization. -- 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.

