Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator not adding the relationship to user.rb #2

Open
krue-doug opened this issue Jun 13, 2018 · 0 comments
Open

Generator not adding the relationship to user.rb #2

krue-doug opened this issue Jun 13, 2018 · 0 comments

Comments

@krue-doug
Copy link

krue-doug commented Jun 13, 2018

It's something I can easily add myself, but just wanted to let you know that the generator is not adding the association properly.

I went ahead and just added the following to user.rb myself:

Copied from the generators:

has_many :invitations, class_name: 'DeviseInvitations::Invitation',
    foreign_key: :sent_by_id, dependent: :destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant