You probably should need to use some permission management system, such as cancancan or pundit, with a roles system such as rolify to control who can do what.

In the majority of systems this is preferable to having an admin system and a user system (admins after all are only special users).

That way you can scope the resources so it only returns the users record if you are a user, or all records if you are an admin

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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouprubyonrails-talk @
postedJan 27, '16 at 7:25p
activeJan 29, '16 at 11:43p

2 users in discussion

Martin: 2 posts Mike: 1 post



site design / logo © 2021 Grokbase