Sha256: 3d7dfb27f8176b201b0d040111f21024ec0bee3bcc43db90020f5773bc9061e8

Contents?: true

Size: 671 Bytes

Versions: 11

Compression:

Stored size: 671 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

11 entries across 11 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 config/initializers/ransack.rb
fat_free_crm-0.13.5 config/initializers/ransack.rb
fat_free_crm-0.13.4 config/initializers/ransack.rb
fat_free_crm-0.13.3 config/initializers/ransack.rb
fat_free_crm-0.13.2 config/initializers/ransack.rb
fat_free_crm-0.12.3 config/initializers/ransack.rb
fat_free_crm-0.12.2 config/initializers/ransack.rb
fat_free_crm-0.13.1 config/initializers/ransack.rb
fat_free_crm-0.12.1 config/initializers/ransack.rb
fat_free_crm-0.13.0 config/initializers/ransack.rb
fat_free_crm-0.12.0 config/initializers/ransack.rb