Sha256: b4223b2fa1077ec2e0c2ec424084dd841934647b994ad6b70400b1011b3b3461

Contents?: true

Size: 645 Bytes

Versions: 12

Compression:

Stored size: 645 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
Ransack.configure do |config|
  config.default_predicates = {
    compounds: true,
    only: %i[
      cont not_cont blank present true false eq not_eq
      lt gt null not_null matches does_not_match
    ]
  }

  config.ajax_options = {
    url: '/:controller/auto_complete.json',
    type: 'POST',
    key: 'term'
  }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 config/initializers/ransack.rb
fat_free_crm-0.22.0 config/initializers/ransack.rb
fat_free_crm-0.21.0 config/initializers/ransack.rb
fat_free_crm-0.20.1 config/initializers/ransack.rb
fat_free_crm-0.20.0 config/initializers/ransack.rb
fat_free_crm-0.19.2 config/initializers/ransack.rb
fat_free_crm-0.19.0 config/initializers/ransack.rb
fat_free_crm-0.18.2 config/initializers/ransack.rb
fat_free_crm-0.17.3 config/initializers/ransack.rb
fat_free_crm-0.18.1 config/initializers/ransack.rb
fat_free_crm-0.18.0 config/initializers/ransack.rb
fat_free_crm-0.17.2 config/initializers/ransack.rb