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

Add info to readme regarding class name length restriction #4

Open
MrHubble opened this issue Apr 5, 2016 · 2 comments
Open

Add info to readme regarding class name length restriction #4

MrHubble opened this issue Apr 5, 2016 · 2 comments

Comments

@MrHubble
Copy link

MrHubble commented Apr 5, 2016

Thanks for the great gem.

One small issue I ran into. I had a class name that was 41 characters in length which resulted in an app[scheduler.1]: NameError: uninitialized constant on Heroku only (it seemed to work fine in development) when I added the active_scheduler gem.

When I renamed the class so it was now 29 characters in length I no longer received the error on Heroku.

Perhaps some info regarding class name size restrictions could be added to the readme if such a restriction does exist.

@JustinAiken
Copy link
Owner

  • Hmm, don't suppose you have any way to reproduce this off of Heroku?
  • Are you sure it was the size, and not something else in the name?

@MrHubble
Copy link
Author

MrHubble commented Apr 8, 2016

Unfortunately I can't replicate it off of Heroku. If it helps I changed the job name from CalculateAllVehicleServiceMetricValuesJob to CalculateAllServiceMetricsJob.

I'm fine if we just close this issue. I thought the name restriction might have been an undocumented feature.

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