Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use require_or_load also with Rails 5 #1138

Closed
wants to merge 1 commit into from

Conversation

eduardoj
Copy link
Contributor

@eduardoj eduardoj commented Jul 9, 2019

In ed37e9e require_or_load was used again for Rails 3 and 4. This commit uses it also for Rails 5, as it was working before.

See #764 (comment).

In ed37e9e require_or_load was used again for Rails 3 and 4. This
commit uses it also for Rails 5, as it was working before.
@pat
Copy link
Owner

pat commented Jul 10, 2019

Ah, thanks for this! I thought it was working fine with Rails 5, but clearly I was wrong. I was trying to avoid require_or_load as apparently it's not a public API - hence it changed/broke in Rails 6.

I added a spec fix to your commit, rebased as 4f515ba - so, it's merged manually :) I'll get a new release out shortly!

@pat pat closed this Jul 10, 2019
@pat
Copy link
Owner

pat commented Jul 10, 2019

v4.3.2 is released :) Thank you!

@eduardoj eduardoj deleted the fix_rails_5 branch July 20, 2019 03:07
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.

None yet

2 participants