Sha256: 1b4cce612e1e0fe24177b2fc50d8e73837e665b604a4a5cd83cbf26dd4bfb13b

Contents?: true

Size: 565 Bytes

Versions: 7

Compression:

Stored size: 565 Bytes

Contents

Ransack.configure do |config|

  # 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

  # Globally display sort links without the order indicator arrow.
  # Default is false (sort order indicators are displayed).
  # This can also be configured individually in each sort link (see the README).
  config.hide_sort_order_indicators = true

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
beautiful_scaffold-2.0.3 lib/generators/templates/app/initializers/ransack.rb
beautiful_scaffold-2.0.2 lib/generators/templates/app/initializers/ransack.rb
beautiful_scaffold-2.0.1 lib/generators/templates/app/initializers/ransack.rb
beautiful_scaffold-2.0.0 lib/generators/templates/app/initializers/ransack.rb
beautiful_scaffold-2.0.0.pre lib/generators/templates/app/initializers/ransack.rb
beautiful_scaffold-1.0.2 lib/generators/templates/app/initializers/ransack.rb
beautiful_scaffold-1.0.1 lib/generators/templates/app/initializers/ransack.rb