EvoBal/app/models/rule.rb

9 lines
156 B
Ruby

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