What's the difference between an Authentication and Authorisation solution? >From what I understand, I can use a column in the users table called *level*, and have number *5 *be an admin like if user.level == 5
On 21 October 2013 17:40, Walter Lee Davis <wa...@wdstudio.com> wrote: > CanCan is an Authorization solution, not an Authentication solution. > Devise is Authentication only, and relies on CanCan or another > Authorization framework to do that part of the job. Apples and Oranges, I'm > afraid. > > Walter > > On Oct 21, 2013, at 12:34 PM, desbest wrote: > > > What is your favourite authentication gem and why? > > Right now I have 4 to choose from (Cancan, Clearance, Rails Cast) and I > don't know which one to pick. > > I cannot use Device because I'm a beginner at Rails. > > > > -- > > 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+unsubscr...@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/d9253b08-eab7-4b9f-963c-9fae647f0f70%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/rubyonrails-talk/-P_ilf90xvo/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > rubyonrails-talk+unsubscr...@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/37308DAC-EF52-4903-8F36-07409FEF55F4%40wdstudio.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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+unsubscr...@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/CAEZ7cNP9Yx2rKMNqZ-iGqAuCnED1n4-oNdHmdo%3DM9igMs8_%3Daw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.