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

Include view helper on view load. #992

Merged
merged 1 commit into from
Dec 19, 2021
Merged

Conversation

emielvanlankveld
Copy link
Contributor

We ran into some problems using this gem with our Rails 6 app that adds a lot of custom paths to Zeitwerk's autoloaders. Narrowed it down to the view helper being included in ActionView::Base during the action_controller load hook rather than in the action_view load hook.

This change fixed the issue for us, and it feels better than accessing a private method.

@unixmonkey unixmonkey merged commit 769f9df into mileszs:master Dec 19, 2021
@unixmonkey
Copy link
Collaborator

Thanks!

@mathieujobin
Copy link
Contributor

lots of good fixes on master, is a new release imminent ?

@unixmonkey
Copy link
Collaborator

@mathieujobin Yes. I am planning a release in the next few days. If you’d like to help, I still need to comb through the changes and add them to the CHANGELOG, and determine if any are breaking. Ideally also making it work (or verifying it works) with Rails 7 and esbuild assets.

@mathieujobin
Copy link
Contributor

There has been several PR merges since the last release 18 months ago... quite a bit to review in one go...

@mathieujobin
Copy link
Contributor

@unixmonkey maybe you can release current master as 3.0.0
and if we need to make any more 2.2+ later, we can do that... otherwise, that can be considered a new major

ruby 1.x and rails 2.x has been deprecated, all the way until rails 7 support ;)

2.1.0...master
https://rubygems.org/gems/wicked_pdf
https://github.com/mileszs/wicked_pdf/tags

@mathieujobin
Copy link
Contributor

if you feel this isn't ready for 3.0...
you can bump to 2.5 leaving some gap before and after

or 2.90, KDE style ;)

@leonelgalan
Copy link

A similar issue was reported in #938 (closed), I thought linking the two might be a good idea jut in case someone experiences the issues described and finds that one first.

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

4 participants