David Kimura PRO said about 1 year ago on Creating Embedded Iframes :
Using a turbo_frame_tag will allow us to make a request to the Rails server and replace the turbo_frame_tag with something else. In this case, we needed to create an input box with a value of the iframe element so it can be embedded. Since we're creating a token for the embedded link, we needed to get some response from the server with this new record's token.

You can do a search of episodes that reference turbo_frame_tags with code:turbo_frame_tag as the search params. https://www.driftingruby.com/episodes?query%5Bname%5D=code%3Aturbo_frame_tag