1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-01 19:45:19 +02:00

Scaffold out rules domain

This commit is contained in:
Zach Gollwitzer 2025-02-25 11:34:37 -05:00
parent b2d8da8857
commit f12fc1efd7
16 changed files with 129 additions and 28 deletions

View file

@ -0,0 +1,7 @@
class Rule::Trigger < ApplicationRecord
self.table_name = "rule_triggers"
belongs_to :rule
validates :trigger_type, presence: true
end