require "ransack" Ransack.configure do |config| config.custom_arrows = { up_arrow: '
', down_arrow: '', } # Change default search parameter key name. # Default key name is :q config.search_key = :q # Raise errors if a query contains an unknown predicate or attribute. # Default is true (do not raise error on unknown conditions). config.ignore_unknown_conditions = false config.hide_sort_order_indicators = false end