rails-stripe-coupons
rails-stripe-coupons copied to clipboard
belongs_to :coupon should be optional at user.rb
now days, belongs_to fields became required automatically. ref; https://github.com/rails/rails/issues/18233
but it makes "rake db:seed" failure. So can you change it to optional value?
Thank you.
@ya-watanabe did you find a solution for this? adding 'optional: true' to my user.rb gave me another issue when trying to use coupons