-
-
Notifications
You must be signed in to change notification settings - Fork 807
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
Form builder broken in Rails 5.2 #853
Comments
@ttrmw This is part of a series of problems related to Rails 5.2, particularly I posted this problem here already: #849 (comment) In order to keep everything in one place and avoid confusion, I suggest this issue be closed. You may however gladly try to fix it with a pull request! :)
Can you be more specific? What did you try, where are you stuck? |
Try this branch for adding any fixes to. #858 |
I'm experiencing this also on Rails 5.2.0.beta2 - in my request specs that call a template with a
When I downgrade to rails 5.1.4 or remove the It's only when I pass in invalid params like this:
Tried to pull from the |
Encountered the same issue on Rails 5.2.0.beta2
Trace: https://gist.github.com/cdesch/91c7b74bee06fe274bcb499beae8e42a |
Still within Rails 5.2 RC1. I am sure everyone is aware of that though. Any update on progress? Is this a priority? |
@bbonislawski has PR open for fixes for this. I created a merge commit but I can't get travis CI to understand which activerecord gem to use (specs pass locally). Merge fork: |
@corinnekunze Fantastic news! We are going to move forward with 5.2 RC1 due to our project release is quite a ways out and the ActiveStorage has already made life easier. Hopefully, the PR will be merged soon. |
Hi all,
On the 5.2.0beta branch of rails this line
ransack/lib/ransack/helpers/form_builder.rb
Line 9 in 724d020
fails as value isn't called with any arguments from rails tag methods, eg:
https://github.com/rails/rails/blob/659c516bef2781cc66865fc78ed5dce682566d26/actionview/lib/action_view/helpers/tags/base.rb#L53
object is available here, so shouldn't need to be passed as an arg:
https://github.com/rails/rails/blob/659c516bef2781cc66865fc78ed5dce682566d26/actionview/lib/action_view/helpers/tags/base.rb#L10
so the change should be easy, but I can't figure out how to bundle ransack against rails 5.2.0beta to fix the specs. Any guidance and I'd be happy to help out with a PR 😁
The text was updated successfully, but these errors were encountered: