ActiveRecord version >= 4.2.0 need version of pg gem >= 0.15
For ActiveRecord 4.2 change class ActiveRecord::PredicateBuilder::ArrayHandler instead of changing the class ActiveRecord::PredicateBuilder.
Merge pull request #146 from azomazo/fix-support-rails-4.2

Changing the way of support for arrays in rails 4.2