Sha256: dc7024f836e8a3d4aba399ddd8fb0e3a37a92b1b12cdcdc1a5e7bcfcd76f7162

Contents?: true

Size: 629 Bytes

Versions: 8

Compression:

Stored size: 629 Bytes

Contents

# 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: 'auto_complete_query'
  }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.15.2 config/initializers/ransack.rb
fat_free_crm-0.16.4 config/initializers/ransack.rb
fat_free_crm-0.15.1 config/initializers/ransack.rb
fat_free_crm-0.16.3 config/initializers/ransack.rb
fat_free_crm-0.16.2 config/initializers/ransack.rb
fat_free_crm-0.16.1 config/initializers/ransack.rb
fat_free_crm-0.16.0 config/initializers/ransack.rb
fat_free_crm-0.15.0 config/initializers/ransack.rb