Change deprecated find_or_create_by_name to be rails 4 compliant