Make has_many association compatible with ActiveRecord 4