{"title":"\u3010Rails\u3011HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3Haml\u306e\u5c0e\u5165\u65b9\u6cd5","author_name":"tasukujp","author_url":"https://blog.hatena.ne.jp/tasukujp/","blog_title":"TASK NOTES","width":"100%","categories":["Ruby on Rails"],"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.task-notes.com%2Fentry%2Fruby%2F20170625%2F1498397440\" title=\"\u3010Rails\u3011HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3Haml\u306e\u5c0e\u5165\u65b9\u6cd5 - TASK NOTES\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://www.task-notes.com/","published":"2017-06-25 22:30:40","provider_name":"Hatena Blog","description":"HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u306e haml-rails \u3092 Rails \u306b\u5c0e\u5165\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 Gemfile \u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u3066bundle install\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 gem 'haml-rails' ERB \u5f62\u5f0f\u306eapplication.html.erb\u3092 Haml \u306b\u5909\u63db\u3057\u307e\u3059\u3002\u5909\u63db\u304c\u6b63\u5e38\u306b\u3055\u308c\u305f\u3089 ERB \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u3066\u4e0b\u3055\u3044\u3002 $ ./bin/rails generate haml:application_layout convert Success! app/views/layouts/application.html.haml is created. Please remov\u2026","type":"rich","version":"1.0","url":"https://www.task-notes.com/entry/ruby/20170625/1498397440","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/t/tasukujp/20190408/20190408000527.jpg"}