Remove depricated error for ActiveRecord#all