Hi, i need to use authentication for the 4 models,is it possible to use single devise for all models,if yes plz let me know them clearly. if not what is the solution. Thankyou -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1920ae29cce5e7195b3acd27a5340f66%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
On Jul 9, 2013, at 2:31 AM, mack gille <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> i need to use authentication for the 4 models,is it possible to use > single devise for all models,if yes plz let me know them clearly. > if not what is the solution.Maybe you could direct your question to the devise mailing list and get better help: https://groups.google.com/group/plataformatec-devise You might have found that if you read the README at the devise repository page: https://github.com/plataformatec/devise More info might also be available in the wiki: https://wiki.github.com/plataformatec/devise -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/952BB535-3D7C-479D-8BC2-91A7A1D9DBBA%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
On 9 July 2013 10:31, mack gille <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > i need to use authentication for the 4 models,is it possible to use > single devise for all models,if yes plz let me know them clearly. > if not what is the solution.As I suggested in a separate thread, I advise just having a single model for all users, then possibly use cancan gem to provide the different roles. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLspWDf50Tiqdhr5fc-Z%3DZB-uTMORE8qOnNYuEvpyV%3DK8Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.