Re: [Rails] Re: Roll my own Role based permission or use CanCan Gem?
CanCan is Rails specific - the docs on GitHub clearly state it is for Ruby on Rails. From my limited experience, CanCan requires Gems that are Rails specific and relies on many aspects of Rail's MVC structure. I estimate it would be a big job to rework CanCan to be not dependent on Rails plug-ins and work with whatever MVC structure (if any) you have in your app. It would most likely be easier to roll your own.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ww8m-DTXmYQJ.
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