{"published":"2012-06-14 02:28:34","categories":[],"height":"190","version":"1.0","blog_url":"https://blog.kyanny.me/","width":"100%","author_url":"https://blog.hatena.ne.jp/a666666/","blog_title":"@kyanny's blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2012%2F06%2F14%2F022834\" title=\"Serve static html file with assets at both production and development - @kyanny&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"The best way to serve static html pages at Rails 3 is using asset pipeline. An article Precompile Static HTML Pages with Rails 3 Asset Pipeline describes how to do it.By the way, asset pipeline is a mechanism for production environment, so the above solution is not fit for development environment.I \u2026","author_name":"a666666","type":"rich","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","url":"https://blog.kyanny.me/entry/2012/06/14/022834","title":"Serve static html file with assets at both production and development"}