Skip to content

Commit 86449a9

Browse files
Merge pull request #318 from activeadmin/fix-keyword-delegation-in-form-component
Fix keyword delegation in form component
2 parents dcea09d + 15abdb1 commit 86449a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,4 @@ DEPENDENCIES
252252
rubocop-packaging
253253

254254
BUNDLED WITH
255-
2.3.3
255+
2.3.6

lib/arbre/rails/forms.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def proxy_call_to_form(method, *args, &block)
3131
text_node form_builder.send(method, *args, &block)
3232
end
3333

34-
def method_missing(method, *args, &block)
34+
ruby2_keywords def method_missing(method, *args, &block)
3535
if form_builder && form_builder.respond_to?(method)
3636
proxy_call_to_form(method, *args, &block)
3737
else

0 commit comments

Comments
 (0)