-
Notifications
You must be signed in to change notification settings - Fork 329
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
Support for multiple string arguments to frame helper #504
Conversation
f26b571
to
ffcbafc
Compare
We can unpin when hotwired/turbo-rails#504 is merged and released
@@ -36,7 +36,7 @@ module Turbo::FramesHelper | |||
# <%= turbo_frame_tag(Article.find(1), Comment.new) %> | |||
# # => <turbo-frame id="article_1_new_comment"></turbo-frame> | |||
def turbo_frame_tag(*ids, src: nil, target: nil, **attributes, &block) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add an example to the documentation comment above like the one in https://github.com/hotwired/turbo-rails/pull/505/files#diff-7694cf5e712468388f0d32c6638e9d9508b612f0346ce4beb9093960a757fa59R26-R28?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I've pulled your example in.
This fixes a regression in 1.5.0 Fixes hotwired#503
@seanpdoyle it looks like one of the tests is timing out and I don't have the permissions to restart it. |
I don't have permissions either. If you rebase the commit and force push, it'll run again |
@afcapel are you able to restart that one build? |
Thank you! Ran into this as well when upgrading |
This fixes a regression in 1.5.0
Fixes #503