EvoBal/app/models/rule.rb

9 lines
156 B
Ruby
Raw Normal View History

2021-01-20 13:46:11 +01:00
# frozen_string_literal: true
class Rule < ApplicationRecord
belongs_to :rule_set
has_many :actions
scope :enabled, -> { where(enabled: true) }
2021-01-20 13:46:11 +01:00
end