Skip to content

Fix: Rails initializer callbacks used to prevent early loading#216

Open
zealot128 wants to merge 1 commit intorsl:masterfrom
zealot128-os:fixRails71
Open

Fix: Rails initializer callbacks used to prevent early loading#216
zealot128 wants to merge 1 commit intorsl:masterfrom
zealot128-os:fixRails71

Conversation

@zealot128
Copy link

This fixes a loading issue, as Gems are not supposed to access Rails core classes (such as ActiveRecord::Base), during or before initialization.

See:
rails/rails#52740

Not sure about the code, though, as we are not using acts_as_url or Mongoid etc.

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

Successfully merging this pull request may close these issues.

1 participant