Skip to content

Can a subscription be attached to a model other than User? #492

Answered by excid3
scottward asked this question in General
Discussion options

You must be logged in to vote

Sure can. The Pay::Customer model is polymorphic so you can use any model you want.

For example, with JumpstartRails.com apps our model is Account.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@excid3
Comment options

@scottward
Comment options

@feliperaul
Comment options

@excid3
Comment options

@feliperaul
Comment options

Answer selected by excid3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #491 on November 30, 2021 23:34.