We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e61e3 commit 5fe42e1Copy full SHA for 5fe42e1
lib/active_admin/mongoid/filter_form_builder.rb
@@ -25,7 +25,7 @@ def default_input_type(method, options = {})
25
end
26
27
def is_association?(method)
28
- @object.klass.associations.to_a.map(&:first).include?(method.to_s)
+ @object.klass.associations.to_a.map!(&:first).include?(method.to_s)
29
30
31
def column_for(method)
0 commit comments