Re: Device Convention for Scope ?

Colin Law
Tue, 27 Mar 2012 19:40:47 -0000

On 27 March 2012 11:43, Ahmy Yulrizka
<ahmy135-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I''ve been using device for quite some times now. I was wondering a
good
> practice to design the application with scope. Usually I choose to separate
> the admin part and the user part. so there is two model Admin and User.

I would not do it that way, I would have just users and roles,
probably using the cancan gem.

Colin