📜  rails class sti 提醒 - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:48.739000             🧑  作者: Mango

代码示例1
# Fixtures
sample_alert:
  type: "Alert"
  title: "Buy milk"
  is_completed: false
  data: '{"alert_at": "2018-08-06 17:08:24 +0200"}'

sample_reminder:
  type: "Reminder"
  title: "Short AAPL before autumn keynote"
  is_completed: false