Sha256: a5efecfd92b089893c9b96fbf8fd13d4967d87fb7aa64283aee2898698d7a678

Contents?: true

Size: 654 Bytes

Versions: 7

Compression:

Stored size: 654 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: [
      :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

7 entries across 7 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 config/initializers/ransack.rb
fat_free_crm-0.14.1 config/initializers/ransack.rb
fat_free_crm-0.15.0.beta.2 config/initializers/ransack.rb
fat_free_crm-0.15.0.beta config/initializers/ransack.rb
fat_free_crm-0.14.0 config/initializers/ransack.rb
reduced_fat_crm-0.15.0.beta config/initializers/ransack.rb
reduced_fat_crm-0.14.0 config/initializers/ransack.rb