Skip to content

Delay adding helper method to on_load#105

Open
benningm wants to merge 1 commit into
risuiowa:masterfrom
benningm:issue-104-rails6-initialization
Open

Delay adding helper method to on_load#105
benningm wants to merge 1 commit into
risuiowa:masterfrom
benningm:issue-104-rails6-initialization

Conversation

@benningm

@benningm benningm commented Aug 5, 2019

Copy link
Copy Markdown

Autoloading within initilizers is deprecated in rails 6.0.

Adding helper method to ActionController::Base during initialization
will trigger autoloading it.

This delays adding the helper methods using an on_load() hook for
all rails version >= 6.

Autoloading within initilizers is deprecated in rails 6.0.

Adding helper method to ActionController::Base during initialization
will trigger autoloading it.

This delays adding the helper methods using an on_load() hook for
all rails version >= 6.
@jbeker

jbeker commented May 19, 2020

Copy link
Copy Markdown

Is there any chance this will get merged?

@jasonperrone

Copy link
Copy Markdown

I second the question from @jbeker

Th0t added a commit to Th0t/rails-jquery-autocomplete that referenced this pull request Oct 23, 2020
@jasonperrone

Copy link
Copy Markdown

This gem is on the verge of becoming useless when Rails 6.2 is released because of this.

BenMcH added a commit to BenMcH/rails-jquery-autocomplete that referenced this pull request Aug 25, 2021
Full credit for this patch goes to benningm at this PR: risuiowa#105

The original author has not merged this PR in 2 years, so I am making this patch as to not be a blocker for rails 6 projects
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.

3 participants