Tuesday, March 27, 2012

Re: [Rails] Device Convention for Scope ?

On 27 March 2012 11:43, Ahmy Yulrizka <ahmy135@gmail.com> 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

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate