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

NameError (uninitialized constant CommentNotification) #48

Closed
londonbridges13 opened this issue Sep 23, 2020 · 4 comments
Closed

NameError (uninitialized constant CommentNotification) #48

londonbridges13 opened this issue Sep 23, 2020 · 4 comments

Comments

@londonbridges13
Copy link

londonbridges13 commented Sep 23, 2020

Cool Gem!

I keep getting this error in the terminal when I run:
irb(main):002:0> notification = CommentNotification.with(comment: @comment)

I don't know what I'm missing

@excid3
Copy link
Owner

excid3 commented Sep 23, 2020

You haven't provided any details like the stacktrace or your code, so there's nothing I can do to help.

Send me more information and I'll take a look.

@londonbridges13
Copy link
Author

😅

Screen Shot 2020-09-23 at 9 14 04 AM

Screen Shot 2020-09-23 at 9 12 30 AM

@excid3
Copy link
Owner

excid3 commented Sep 23, 2020

Lines 3 and 4 in your code are trying to access a class that isn't defined until a couple lines later. Comment those out. They're examples to use in other parts of your app.

@londonbridges13
Copy link
Author

Thanks that was it!

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

2 participants