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

uninitialized constant SitemapGenerator::Interpreter::Posts #29

Closed
andrewdavidcostello opened this issue Jan 31, 2011 · 5 comments
Closed

Comments

@andrewdavidcostello
Copy link

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 : )

@andrewdavidcostello
Copy link
Author

Closed.

@naliwajek
Copy link

So, what was the problem?

I got this error in production (RAILS_ENV=production set for rake) but not in development env.

@andrewdavidcostello
Copy link
Author

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.

@naliwajek
Copy link

I'm using word Islands so that's not it, at least in my case. Thanks anyway.

@MhdSyrwan
Copy link

@naliwajek
I think your problem is caused by confing.threadsafe!
see issue #38

This issue was closed.
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

3 participants