EvoBal/app/models/rule_set.rb

9 lines
154 B
Ruby

# frozen_string_literal: true
class RuleSet < ApplicationRecord
has_many :rules
has_many :actions
scope :enabled, -> { where(enabled: true) }
end