Check for CollectionProxy to detect has_many
Check for CollectionProxy to detect has_many

Rails 4 returns an `ActiveRecord::Associations::CollectionProxy` instead
of just an `Array` for has_many associations.

gdott9/the_moderator