I followed to create admin and users roles in the following links

https://github.com/plataformatec/devise/wiki/How-To:-Add-an-Admin-role
https://github.com/plataformatec/devise

I used different models for admin and user
But now i want to make the some users to act as admin, please tell me
the process of  making a user as admin


On Jan 10, 7:24 pm, Tim Shaffer <[email protected]> wrote:
> The easiest way is probably to just have a boolean "is_admin" field on the
> user model.
>
> Really depends on your other requirements though.

-- 
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.

Reply via email to