Skip to content

Use ActiveSupport.on_load to defer autoloaded Action Cable constants#391

Open
bensheldon wants to merge 1 commit intoroidrage:masterfrom
bensheldon:activesupport_load_hooks
Open

Use ActiveSupport.on_load to defer autoloaded Action Cable constants#391
bensheldon wants to merge 1 commit intoroidrage:masterfrom
bensheldon:activesupport_load_hooks

Conversation

@bensheldon
Copy link

This wraps autoloaded Action Cable constants with on_load hooks to ensure they are deferred and speed up application boot:

Co-authored-by: Rob Brackett <rob@robbrackett.com>
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