lib/ransack_ext.rb in activeadmin-2.9.0 vs lib/ransack_ext.rb in activeadmin-2.10.0
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
# This sets up aliases for old Metasearch query methods so they behave
# identically to the versions given in Ransack.
#
Ransack.configure do |config|
{ "contains" => "cont", "starts_with" => "start", "ends_with" => "end" }.each do |old, current|