Skip to content

Conversation

@tachyons
Copy link

Summary

Do not instantiate active record models before loading active record, as it can cause several side effects.

Fixes #1703

Do not instantiate active record models before loading active record, as
it can cause several side effects.

Fixes doorkeeper-gem#1703
@nbulaj
Copy link
Member

nbulaj commented May 15, 2024

I remember we already had such hook and it also lead to a lot of issues, unfortunately. I believe we can find them in the issues section

Copy link
Member

@nbulaj nbulaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, let's try to use AS hooks once again 🤞

@nbulaj
Copy link
Member

nbulaj commented Jun 2, 2024

Can you please add a changelog entry?

@tachyons
Copy link
Author

tachyons commented Jun 3, 2024 via email

@nbulaj
Copy link
Member

nbulaj commented Dec 9, 2025

Hello @tachyons . maybe any updates on that? 👁️

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.

Doorkeeper is loading ActiveRecord too early

3 participants