MartinJNash / Royce

A Ruby on Rails roles solution.
MIT License
210 stars 14 forks source link

Features/use splat operator for params #3

Closed ready4god2513 closed 10 years ago

ready4god2513 commented 10 years ago

Totally your call on this one. I just find it a bit cleaner and adhering to the current standards set by AR and others. The change (documented in the readme as well) would require that models define the roles as royce_roles :admin, :owner, :etc instead of royce_roles %w(admin owner etc).

MartinJNash commented 10 years ago

No splat for now. But we can take an array of symbols. 90644f5