Marcin Chrost

Results 2 issues of Marcin Chrost

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

Fixed params passed to EntryPermission.check (replace groupId with entryId when checking permission for update & delete actions)