updated finder syntax that is deprecated in Rails 4