lib/ransack.rb in ransack-2.4.1 vs lib/ransack.rb in ransack-2.4.2
- old
+ new
@@ -1,14 +1,14 @@
require 'active_support/core_ext'
require 'ransack/configuration'
require 'ransack/adapters'
-require 'polyamorous/polyamorous.rb'
+require 'polyamorous/polyamorous'
Ransack::Adapters.object_mapper.require_constants
module Ransack
extend Configuration
- class UntraversableAssociationError < StandardError; end;
+ class UntraversableAssociationError < StandardError; end
end
Ransack.configure do |config|
Ransack::Constants::AREL_PREDICATES.each do |name|
config.add_predicate name, :arel_predicate => name