Skip to content

Wrap initializer example in configuration hook#36

Open
p8 wants to merge 1 commit intobasecamp:masterfrom
p8:patch-1
Open

Wrap initializer example in configuration hook#36
p8 wants to merge 1 commit intobasecamp:masterfrom
p8:patch-1

Conversation

@p8
Copy link
Copy Markdown

@p8 p8 commented Apr 3, 2024

Directly calling ActiveRecord::Base in an initializer will prematurely load ActiveRecord::Base. This can be avoided by wrapping it in a configuration hook.

Directly calling `ActiveRecord::Base` in an initializer will prematurely load `ActiveRecord::Base`. This can be avoided by wrapping it in a configuration hook.
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