Module: Card::Set::All::Permissions::ClassMethods
- Defined in:
- tmpsets/set/mod001-core/all/permissions.rb
Instance Method Summary collapse
Instance Method Details
#repair_all_permissions ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'tmpsets/set/mod001-core/all/permissions.rb', line 9 def Card.where( "(read_rule_class is null or read_rule_id is null) and trash is false" ).each do |broken_card| broken_card.include_set_modules broken_card. end end |