Skip to content

Commit 9ebe001

Browse files
Revert 4c47a00
1 parent 3f3b612 commit 9ebe001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_admin/mongoid/filter_form_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def default_input_type(method, options = {})
1313
when :string, :text, :object; :string
1414
when :float, :decimal; :numeric
1515
when :integer
16-
return :select if reflection_for(method.to_s.gsub!('_id','').to_sym)
16+
return :select if reflection_for(method.to_s.gsub('_id','').to_sym)
1717
return :numeric
1818
end
1919
elsif is_association?(method)

0 commit comments

Comments
 (0)