Rails - find or create - is there a find or build?

I'm currently using:

XXX.find_or_create_by_uuid(XXXX)

Is there a way to do find or build?


Try XXX.find_or_initialize_by_uuid(XXXX)


Since Rails 4 this is XXX.find_or_initialize_by(uuid: XXXX)