ryanb/cancan — pull request #632 by andhapp (2012-05-26 17:02:14+00:00)
Title: Fix to handle MetaWhere and non-MetaWhere conditions correctly.

Just a bit of the background of the issue.

When there are multiple rules, CanCan does the sensible thing by merging them together. However, if one of the conditions is of type MetaWhere::Column, it fails. MetaWhere is intelligent enough to work with multiple conditions defined in any format whatsoever. So, this fix simply ensures that with multiple rules, where one of them is of type MetaWhere, CanCan doesn't merge them and just pass it on to MetaWhere.