app/models/account_role.rb in iugusdk-1.0.0.alpha.2 vs app/models/account_role.rb in iugusdk-1.0.0.alpha.3

- old
+ new

@@ -3,9 +3,11 @@ validate :valid_role? validates_uniqueness_of :name, :scope => :account_user_id, :allow_nil => false validates_presence_of :account_user + attr_accessible :name + before_destroy do false if only_owner? end def self.roles