app/services/tang/change_subscription.rb in tang-0.2.0 vs app/services/tang/change_subscription.rb in tang-0.2.1

- old
+ new

@@ -8,10 +8,10 @@ stripe_sub.plan = plan.stripe_id stripe_sub.save subscription.plan = plan subscription.save! rescue Stripe::StripeError => e - subscription.errors[:base] << e.message + subscription.errors.add(:base, :invalid, message: e.message) end return subscription end end \ No newline at end of file