Open MSeneadza opened 2 years ago
I also have these problems sporadically. Not every time when starting a web dyno on Heroku so probably it depends on the random order in which classes / modules are loaded
constant ActsAsTaggableOn::Core not defined and also undefined method `all_tags_list_on'
Does anyone has any idea of the source of this problem?
Two days ago I updated my app. I went from:
to
Once I did that I started seeing errors like this in my exception tracker:
NameError: constant ActsAsTaggableOn::Core not defined
NameError: constant ActsAsTaggableOn::Cache not defined
NameError: constant ActsAsTaggableOn::Ownership not defined
They were very infrequent and I could not reproduce them when clicked the URLs that initially triggered them. Today I manually restarted my Heroku web dyno and immediately saw a couple of these exceptions come through. So it seems that something isn't getting loaded properly / fully/ quickly enough when the app starts up.
Here's one of the stack traces:
And like 114 in equity.rb just has
acts_as_taggable
I'm not sure if Rails or Ruby changed something to cause this but I'm not seeing any similar errors from any other gems I'm using. So I just thought I'd post to see if anyone else is having this issue.