📜  after_create for STI rails - Ruby 代码示例

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

代码示例4
after_create : create_coupons_for_existing_users, unless: :discounted_coupon?