Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check type before sending
#value
message to predicate
The previous implementation was giving for granted that every predicate respond to `#value`, but that doesn't seem to be the case at least when having a `Arel::SelectManager`. by simply inverting the terms of the existing AND check we can fix the issue without introducing unknown side effects.
- Loading branch information