Skip to content

uninitialized constant User::Subscription #9

Open
@abrambailey

Description

@abrambailey

When trying to subscribe to a plan, I see the following error:

uninitialized constant User::Subscription

Here is the relevant part of my User class:

  has_many :orders, foreign_key: :user_id, class_name: "Spree::Order"
  has_many :subscriptions, foreign_key: :user_id, class_name: "Spree::Subscription"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions