lib/merit/rules_badge.rb
# Check non processed actions and grant badges if applies
Check non processed actions and grant badges if applies
Check non processed actions and grant badges if applies
def check_new_actions
      MeritAction.where(:processed => false).each do |merit_action|
        merit_action.check_badge_rules(defined_rules)
      end
    end
def check_new_actions MeritAction . where ( :processed => false ) . each do | merit_action | merit_action . check_badge_rules ( defined_rules ) end end
Check non processed actions and grant badges if applies
Check non processed actions and grant badges if applies