Replace method .all, b/c it was deprecated in Rails 4.0