Sha256: 8877d6c2658a0449fe7d13c67048325c867e71dc14dc1a554aac5591793a2fa8
Contents?: true
Size: 554 Bytes
Versions: 2
Compression:
Stored size: 554 Bytes
Contents
require 'ransack/configuration' module Ransack extend Configuration 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' require 'ransack/helpers' require 'action_controller' ActionController::Base.helper Ransack::Helpers::FormHelper
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ransack-0.2.1 | lib/ransack.rb |
ransack-0.2.0 | lib/ransack.rb |