Changed find_or_create_by method to reflect correct Rails 4 way