Update find_by for Rails 4