ryanb/cancan — pull request #917 by chrosciu (2013-08-13 08:38:03+00:00)
Title: treat ActiveRecord::Relation as Array

This fixes the problem with Rails 4, where ActiveRecord::Relation is no longer recognized as Array, which gives problems when defining abilities with joins - see https://github.com/ryanb/cancan/issues/916