Sha256: 907f1599f4d9e53a610de6ca9bfec8664c805ea0e4eea7eb2787b0b57b5c03c5
Contents?: true
Size: 649 Bytes
Versions: 1
Compression:
Stored size: 649 Bytes
Contents
require 'ransack/configuration' module Ransack extend Configuration class UntraversableAssociationError < StandardError; end; end Ransack.configure do |config| Ransack::Constants::AREL_PREDICATES.each do |name| config.add_predicate name, :arel_predicate => name end Ransack::Constants::DERIVED_PREDICATES.each do |args| config.add_predicate *args end end require 'ransack/translate' require 'ransack/search' require 'ransack/ransacker' require 'ransack/adapters/active_record' if defined?(::ActiveRecord::Base) require 'ransack/helpers' require 'action_controller' ActionController::Base.helper Ransack::Helpers::FormHelper
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ransack-1.1.0 | lib/ransack.rb |