mix-rails-auth/app/models/role.rb in mix-rails-0.26.1 vs mix-rails-auth/app/models/role.rb in mix-rails-0.26.2
- old
+ new
@@ -1,6 +1,9 @@
class Role < ActiveRecord::Base
has_and_belongs_to_many :users, :join_table => :users_roles
belongs_to :resource, :polymorphic => true
scopify
+
+ attr_accessible :name, :user_ids
+
end