Allow users to embed my content into their sites (like blogs) — rails 4
问题 I'm building a Rails 4 app, and what I want to do is offer my users the option to embed my content onto their own sites (like their blog) via embeddable code. In other words, I want to have an erb page with some content on it, and a button that says "Embed". When users click that, a small bit of embeddable code will appear, which they can copy and paste onto their blog, etc. This will display the content from my page. What is the best way of going about this? Please be as descriptive as