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 3f3b612 commit 9ebe001Copy full SHA for 9ebe001
lib/active_admin/mongoid/filter_form_builder.rb
@@ -13,7 +13,7 @@ def default_input_type(method, options = {})
13
when :string, :text, :object; :string
14
when :float, :decimal; :numeric
15
when :integer
16
- return :select if reflection_for(method.to_s.gsub!('_id','').to_sym)
+ return :select if reflection_for(method.to_s.gsub('_id','').to_sym)
17
return :numeric
18
end
19
elsif is_association?(method)
0 commit comments