Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Pass block to Relation#distinct and Relation#uniq #20198
As you pointed out, we renamed
This clearly communicates that the queries is executed before the applying the uniqueness constraint.
So lets deprecate
Fixed deprecation warning uniq -> distinct See: rails/rails#20198 Fixed exception for validate_presence “The record was indeed invalid, but it produced these validation errors instead” See: thoughtbot/shoulda-matchers#861 (comment) Fixed deprecation warning - use keyword syntax for get, put etc in controller tests Fixed coffee-rails not loading error