summaryrefslogtreecommitdiffstats
path: root/app/models/member_role.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/member_role.rb')
-rw-r--r--app/models/member_role.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/member_role.rb b/app/models/member_role.rb
index 508475948..3be525363 100644
--- a/app/models/member_role.rb
+++ b/app/models/member_role.rb
@@ -26,7 +26,6 @@ class MemberRole < ActiveRecord::Base
validates_presence_of :role
validate :validate_role_member
- attr_protected :id
def validate_role_member
errors.add :role_id, :invalid if role && !role.member?