-
Notifications
You must be signed in to change notification settings - Fork 278
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
uninitialized constant SitemapGenerator::Interpreter::Posts #29
Comments
Closed. |
So, what was the problem? I got this error in production (RAILS_ENV=production set for rake) but not in development env. |
I am not 100% on this one as I used it so long ago but I think my issue was because I was using the word Post and Posts and it was to do with reserved words. I believe changing my controller and model to articles fixed the issue. That is going off my comment and I am only speculating based on that. |
I'm using word Islands so that's not it, at least in my case. Thanks anyway. |
@naliwajek |
rake sitemap:refresh
rake aborted!
uninitialized constant SitemapGenerator::Interpreter::Posts
I think it is something to do with how I have my models setup now, please ignore this and thank you for the great gem : )
The text was updated successfully, but these errors were encountered: