active_scheduler icon indicating copy to clipboard operation
active_scheduler copied to clipboard

Add info to readme regarding class name length restriction

Open MrHubble opened this issue 8 years ago • 2 comments

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.

MrHubble avatar Apr 05 '16 00:04 MrHubble

  • 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?

JustinAiken avatar Apr 05 '16 19:04 JustinAiken

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.

MrHubble avatar Apr 08 '16 01:04 MrHubble