Skip to content

Commit

Permalink
Merge pull request #318 from activeadmin/fix-keyword-delegation-in-fo…
Browse files Browse the repository at this point in the history
…rm-component

Fix keyword delegation in form component
  • Loading branch information
deivid-rodriguez committed Feb 7, 2022
2 parents dcea09d + 15abdb1 commit 86449a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,4 @@ DEPENDENCIES
rubocop-packaging

BUNDLED WITH
2.3.3
2.3.6
2 changes: 1 addition & 1 deletion lib/arbre/rails/forms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def proxy_call_to_form(method, *args, &block)
text_node form_builder.send(method, *args, &block)
end

def method_missing(method, *args, &block)
ruby2_keywords def method_missing(method, *args, &block)
if form_builder && form_builder.respond_to?(method)
proxy_call_to_form(method, *args, &block)
else
Expand Down

0 comments on commit 86449a9

Please sign in to comment.