Just launched! Get 30% off Rails Revisited Have a Look

Making Your Own Embed

Buy or Subscribe

You can access this course in just a minute, and support my efforts to rid the world of crappy online courses!

Buy Standalone  Subscribe

Spina gives you a generator that lets you add embeddable content as you need. It comes with the most common, including YouTube, Vimeo, and a Button. You might want to do something more complex, like adding a GitHub gist, which is what we cover in this video.
You can get started with:
rails g spina:embed gist url
This creates a model, a form, and your HTML output.