Change deprecated find_or_initialize_by to .first_or_initialize
Fix rails upgrade deprecation