{"id":957,"date":"2015-10-06T18:00:21","date_gmt":"2015-10-06T09:00:21","guid":{"rendered":"https:\/\/ticklecode.com\/?p=957"},"modified":"2021-01-21T17:39:46","modified_gmt":"2021-01-21T08:39:46","slug":"step17-create-rails-top","status":"publish","type":"post","link":"https:\/\/ticklecode.com\/step17-create-rails-top\/","title":{"rendered":"STEP17\uff1aRuby on Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01#Rails"},"content":{"rendered":"<p>\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3068\u30d3\u30e5\u30fc\uff08View\uff09\u306e\u751f\u6210\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p><a href=\"http:\/\/c.af.moshimo.com\/af\/c\/click?a_id=519720&#038;p_id=936&#038;pc_id=1196&#038;pl_id=13986&#038;guid=ON\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.moshimo.com\/af-img\/0288\/000000013986.png\" width=\"728\" height=\"90\" style=\"border:none;\"><\/a><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/i.af.moshimo.com\/af\/i\/impression?a_id=519720&#038;p_id=936&#038;pc_id=1196&#038;pl_id=13986\" width=\"1\" height=\"1\" style=\"border:none;\"><\/p>\n<p>\u3053\u308c\u304b\u3089\u4ee5\u964d\u306f\u3001\u958b\u767a\u74b0\u5883\u3067\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3010\u76ee \u6b21\u3011<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d01d6bd1f9b\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\" style='display:none' id=\"ez-toc-cssicon-toggle-item-69d01d6bd1f9b\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ticklecode.com\/step17-create-rails-top\/#1Rails%E3%81%AE%E3%82%B3%E3%83%B3%E3%83%88%E3%83%AD%E3%83%BC%E3%83%A9%E3%83%BC%EF%BC%88Controller%EF%BC%89%E3%82%92%E7%94%9F%E6%88%90\" >1.Rails\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3092\u751f\u6210<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ticklecode.com\/step17-create-rails-top\/#Ruby_on_Rails_%E3%81%8C%E5%AD%A6%E3%81%B9%E3%82%8B%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E8%AC%9B%E5%BA%A7\" >Ruby on Rails \u304c\u5b66\u3079\u308b\u30aa\u30f3\u30e9\u30a4\u30f3\u8b1b\u5ea7<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ticklecode.com\/step17-create-rails-top\/#Udemy%EF%BC%88%E3%83%A6%E3%83%BC%E3%83%87%E3%83%9F%E3%83%BC%EF%BC%89\" >Udemy\uff08\u30e6\u30fc\u30c7\u30df\u30fc\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ticklecode.com\/step17-create-rails-top\/#CodeCamp%EF%BC%88%E3%82%B3%E3%83%BC%E3%83%89%E3%82%AD%E3%83%A3%E3%83%B3%E3%83%97%EF%BC%89\" >CodeCamp\uff08\u30b3\u30fc\u30c9\u30ad\u30e3\u30f3\u30d7\uff09<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"1Rails%E3%81%AE%E3%82%B3%E3%83%B3%E3%83%88%E3%83%AD%E3%83%BC%E3%83%A9%E3%83%BC%EF%BC%88Controller%EF%BC%89%E3%82%92%E7%94%9F%E6%88%90\"><\/span>1.Rails\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3092\u751f\u6210<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4eca\u56de\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u751f\u6210\u3057\u305f\u3044\u306e\u3067\u3001top\u3068\u3044\u3046\u540d\u524d\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001\u540d\u524d\u306e\u547d\u540d\u306f\u3001\u4efb\u610f\u3067\u3059\u3002<\/p>\n<pre><code>$ rails generate controller top\n<\/code><\/pre>\n<p>generate\u3067\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u7fa4\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<pre><code>      create  app\/controllers\/top_controller.rb\n      invoke  slim\n      create    app\/views\/top\n      invoke  rspec\n      create    spec\/controllers\/top_controller_spec.rb\n      invoke  helper\n      create    app\/helpers\/top_helper.rb\n      invoke    rspec\n      create      spec\/helpers\/top_helper_spec.rb\n      invoke  assets\n      invoke    coffee\n      create      app\/assets\/javascripts\/top.coffee\n      invoke    scss\n      create      app\/assets\/stylesheets\/top.scss\n<\/code><\/pre>\n<p>\u3053\u3053\u3067\uff1f\u3068\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\nGemfile\u306b\u306f\u3001\u300csass-rails\u300d\u3068\u6307\u5b9a\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u3066\u3063\u304d\u308a\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u306f\u3001sass\u306e\u62e1\u5f35\u5b50\u3067\u51fa\u529b\u3055\u308c\u308b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u4e0a\u8a18\u3092\u898b\u308b\u3068\u3001\u300ctop.scss\u300d\u3068\u304b\u306b\u306a\u3063\u3066\u308b\u3002\u3002\u3002<br \/>\n\u3055\u3063\u3068\u8abf\u3079\u3066\u307f\u308b\u3068\u3001Sass\u306b\u306f\u8a18\u6cd5\u304c\uff12\u7a2e\u985e\u3042\u308b\u3089\u3057\u3044\u3067\u3059\u3002<br \/>\nSCSS\u306e\u6b63\u5f0f\u540d\u79f0\u306f\u3001\u300cSassy CSS\u300d\u3002\u4eca\u306e\u4e00\u822c\u7684\u306a\u3001Sass\u306f\u306e\u8a18\u6cd5\u306fSCSS\u3068\u306e\u3053\u3068\u3002<br \/>\n\u306a\u305c\u306a\u3089\u3001\u5f93\u6765\u306eCSS\u3068\u540c\u3058\u66f8\u304d\u65b9\u3092\u3059\u308b\u306e\u304c\u7279\u5fb4\u3067\u3001CSS3\u306e\u4ed6\u306b\u3082\u53e4\u3044IE\u306eFilter\u3084\u30cf\u30c3\u30af\u3001\u30d9\u30f3\u30c0\u30fc\u7279\u6709\u306e\u69cb\u6587\u3082CSS\u306e\u66f8\u304d\u65b9\u3082\u5f93\u6765\u901a\u308a\u306a\u306e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u3084\u3055\u3057\u304f\u8aad\u307f\u3084\u3059\u3044\u8a18\u6cd5\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u305f\u3002<br \/>\n\u305d\u3057\u3066\u3001\u305d\u306e\u63a1\u7528\u3057\u305f\u3044\u8a18\u6cd5\u3068\u3001\u540c\u3058\u62e1\u5f35\u5b50\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3051\u308b\u306e\u304c\u6163\u4f8b\u306b\u306a\u3063\u3066\u3044\u308b\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/c.af.moshimo.com\/af\/c\/click?a_id=519720&#038;p_id=936&#038;pc_id=1196&#038;pl_id=13986&#038;guid=ON\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.moshimo.com\/af-img\/0288\/000000013986.png\" width=\"728\" height=\"90\" style=\"border:none;\"><\/a><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/i.af.moshimo.com\/af\/i\/impression?a_id=519720&#038;p_id=936&#038;pc_id=1196&#038;pl_id=13986\" width=\"1\" height=\"1\" style=\"border:none;\"><\/p>\n<p>\u3053\u3053\u306f\u3001\u306a\u308b\u307b\u3069\u30fb\u30fb\u30fb\u3068\u601d\u3063\u3066\u3001\u3072\u3068\u307e\u305a\u305d\u306e\u307e\u307e\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u6b21\u306f\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\nconfig\/routes.rb\u3092\u958b\u3044\u3066\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<pre><code>$ vi config\/routes.rb \n<\/code><\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3001\u8a18\u8ff0\u4f8b\u304c\u30b3\u30e1\u30f3\u30c8\u4ed8\u304d\u3067\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u524a\u9664\u3057\u3066\u3082\u3088\u3057\u3001\u6b8b\u3057\u3066\u304a\u3044\u3066\u53c2\u8003\u306b\u3057\u3066\u3082\u826f\u3057\u3067\u3059\u3002<br \/>\n\u3053\u3053\u3067\u306f\u3001http:\/\/pgnyumon.com\u306b\u30a2\u30af\u30bb\u30b9\u3055\u308c\u305f\u3089\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305ftop\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u8868\u793a\u3057\u305f\u3044\u306e\u3067\u3001\u4e0b\u8a18\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<pre><code>root top#index\n<\/code><\/pre>\n<p>Rails\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<pre><code>$ rake routes\n<\/code><\/pre>\n<p>\u4eca\u306f\u3001top#index\u306e\u8a2d\u5b9a\u3057\u304b\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u4e0b\u8a18\u306e\u51fa\u529b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code>Prefix Verb URI Pattern Controller#Action\n  root GET  \/           top#index\n<\/code><\/pre>\n<p>\u7d9a\u3044\u3066\u3001top\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<pre><code>vi app\/controllers\/top_controller.rb\n<\/code><\/pre>\n<p>\u3072\u3068\u307e\u305a\u3001index\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u67a0\u3060\u3051\u7528\u610f\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code>class TopController &lt; ApplicationController\n  def index\n  end\nend\n<\/code><\/pre>\n<p>\u7d9a\u3044\u3066\u3001\u30d3\u30e5\u30fc\uff08View\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u30d3\u30e5\u30fc\u306f\u3001generate\u30b3\u30de\u30f3\u30c9\u306f\u7528\u610f\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u624b\u52d5\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><code>vi app\/views\/top\/index.slim\n<\/code><\/pre>\n<p>\u4eca\u56de\u306f\u3001\u300cWelcom program Beginners!!\u300d\u3068\u6587\u8a00\u3092\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3067\u306f\u3001\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u3066\u3001\u4f5c\u6210\u3057\u305f\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code>$ bundle exec rails s\n<\/code><\/pre>\n<p>\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u3001http:\/\/localhost:3000\u306b\u3001\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u300cWelcom program Beginners!!\u300d\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u771f\u3063\u767d\u306a\u753b\u9762\u306b\u3001\u305d\u3063\u3051\u306a\u3044\u8868\u793a\u3067\u3059\u304c\u3001\u3072\u3068\u307e\u305a\u5b8c\u4e86\u3067\u3059\uff3e\uff3e<\/p>\n<p>\u3042\u3068\u306f\u3001\u524d\u56de\u306b\u3001Rails\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u672c\u756a\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u3044\u305f\u70ba\u3001http:\/\/pgnyumon.com\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u3001\u30a8\u30e9\u30fc\u753b\u9762\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/c8a33f177ba3d4eb64bac6e3e675e882.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-10-04 22.10.56\" width=\"541\" height=\"193\" class=\"alignleft size-full wp-image-946\" srcset=\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/c8a33f177ba3d4eb64bac6e3e675e882.png 541w, https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/c8a33f177ba3d4eb64bac6e3e675e882-300x107.png 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/p>\n<hr style=\"clear:both;border:none;background:none;margin:0;height:0px;\">\n<p>\u305d\u306e\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4eca\u307e\u3067\u306e\u5b9f\u88c5\u3092GitHub\u306bpush\u3057\u3066\u3001\u672c\u756a\u306b\u30ea\u30ea\u30fc\u30b9\u3057\u3066\u3001\u89e3\u6d88\u3055\u308c\u308b\u307e\u3067\u3092\u8a66\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3067\u3082\u3001\u672c\u756a\u306b\u30ea\u30ea\u30fc\u30b9\u3057\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u30a8\u30e9\u30fc\u753b\u9762\u306f\u540c\u3058\u30fb\u30fb\u30fb<br \/>\nPuma\u306e\u518d\u8d77\u52d5\u3092\u3057\u3066\u521d\u3081\u3066\u3001\u300cWelcom program Beginners!!\u300d\u306e\u6587\u8a00\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u306f\u3066\u30fb\u30fb\u30fb\uff1f<br \/>\n\u305d\u3053\u3067\u3001\u3042\u3041\u3001\u3001\u3001\u305d\u3046\u304b\uff01Capistrano\u3067\u3001Puma\u3092\u518d\u8d77\u52d5\u3059\u308b\u30bf\u30b9\u30af\u3092\u542b\u3081\u3066\u3044\u3044\u306a\u304b\u3063\u305f\u3053\u3068\u306b\u6c17\u304c\u3064\u304d\u307e\u3057\u305f\u3002\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u4eca\u56de\u306f\u3053\u308c\u307e\u3067\uff01\uff01<br \/>\n\u6b21\u56de\u306b\u3001Capistrano3\u306b\u30bf\u30b9\u30af\u3092\u8ffd\u52a0\u3059\u308b\u5b9f\u88c5\u3092\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u524d\u56de\u306e\u8a18\u4e8b\u306f\u3001<a href=\"https:\/\/ticklecode.com\/step16-nginx-rails-server\/\">\u300cNginx + Puma\u3067\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3057\u3088\u3046\uff01\u300d<\/a><\/p>\n<div class=\"inLinkBox\">\n<div class=\"inLinkBox-title\">\u304a\u3059\u3059\u3081\u8a18\u4e8b<\/div>\n<div class=\"inLinkBox-img\"><a href=\"https:\/\/ticklecode.com\/railsbooks\/\"><img decoding=\"async\" src=\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2019\/09\/rubyrails.jpg\" alt=\"Ruby\u3001Ruby on Rails 5 \u521d\u5fc3\u8005\u306e\u5165\u9580\u66f8\u306b\u6700\u9069\uff01\u304a\u3059\u3059\u3081\u672c\u3068\u52c9\u5f37\u65b9\u6cd5\"><span>Ruby\u3001Ruby on Rails 5 \u521d\u5fc3\u8005\u306e\u5165\u9580\u66f8\u306b\u6700\u9069\uff01\u304a\u3059\u3059\u3081\u672c\u3068\u52c9\u5f37\u65b9\u6cd5<\/span><\/a>\n<\/div>\n<\/div>\n<hr><h2><span class=\"ez-toc-section\" id=\"Ruby_on_Rails_%E3%81%8C%E5%AD%A6%E3%81%B9%E3%82%8B%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E8%AC%9B%E5%BA%A7\"><\/span>Ruby on Rails \u304c\u5b66\u3079\u308b\u30aa\u30f3\u30e9\u30a4\u30f3\u8b1b\u5ea7<span class=\"ez-toc-section-end\"><\/span><\/h2><p>\u30aa\u30f3\u30e9\u30a4\u30f3\u8b1b\u5ea7\u306a\u3089\u3001\u597d\u304d\u306a\u5834\u6240\u3067\u597d\u304d\u306a\u6642\u9593\u306b\u5b66\u7fd2\u3067\u304d\u307e\u3059\u3002Ruby on Rails \u3082\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u305c\u3072\u3001\u6d3b\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p><h3><span class=\"ez-toc-section\" id=\"Udemy%EF%BC%88%E3%83%A6%E3%83%BC%E3%83%87%E3%83%9F%E3%83%BC%EF%BC%89\"><\/span>Udemy\uff08\u30e6\u30fc\u30c7\u30df\u30fc\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3><div class=\"alignleft\" style=\"width: 120px;\"><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=35JXBE+E7FS2Y+3L4M+69WPT\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"300\" height=\"250\" alt=\"\" src=\"https:\/\/www23.a8.net\/svt\/bgt?aid=190726250859&wid=020&eno=01&mid=s00000016735001054000&mc=1\"><\/a><img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/www16.a8.net\/0.gif?a8mat=35JXBE+E7FS2Y+3L4M+69WPT\" alt=\"\"><\/div><p>\u30aa\u30f3\u30e9\u30a4\u30f3\u52d5\u753b\u5b66\u7fd2\u30b5\u30a4\u30c8\u3067\u3001Ruby on Rails\u8b1b\u5ea7\u3084Ruby\u8b1b\u5ea7\u3082\u3042\u308a\u307e\u3059\u3002<strong>\u983b\u7e41\u306b\u8b1b\u5ea7\u306e\u30d0\u30fc\u30b2\u30f3\u30bb\u30fc\u30eb\u30b9\u304c\u5b9f\u65bd\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4fa1\u683c\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3057\u3087\u3046\uff01<\/strong>\u4e00\u5ea6\u3001\u8cfc\u5165\u3057\u305f\u52d5\u753b\u306f\u7e70\u308a\u8fd4\u3057\u4f7f\u3048\u307e\u3059\u306e\u3067\u4f55\u5ea6\u3067\u3082\u5b66\u7fd2\u53ef\uff01<br><i class=\"fas fa-hand-point-right\"><\/i> <a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=35JXBE+E7FS2Y+3L4M+5YRHE\" rel=\"nofollow\">\u4e16\u754c\u6700\u5927\u7d1a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30a4\u30c8Udemy<\/a><img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/www13.a8.net\/0.gif?a8mat=35JXBE+E7FS2Y+3L4M+5YRHE\" alt=\"\"><\/p><hr style=\"clear:both;border:none;background:none;margin:0;height:0px;\"><h3><span class=\"ez-toc-section\" id=\"CodeCamp%EF%BC%88%E3%82%B3%E3%83%BC%E3%83%89%E3%82%AD%E3%83%A3%E3%83%B3%E3%83%97%EF%BC%89\"><\/span>CodeCamp\uff08\u30b3\u30fc\u30c9\u30ad\u30e3\u30f3\u30d7\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3><div class=\"alignleft\"><a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=519720&p_id=936&pc_id=1196&pl_id=21424&guid=ON\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.moshimo.com\/af-img\/0288\/000000021424.jpg\" width=\"125\" height=\"125\" style=\"border:none;\"><\/a><img loading=\"lazy\" decoding=\"async\" src=\"\/\/i.moshimo.com\/af\/i\/impression?a_id=519720&p_id=936&pc_id=1196&pl_id=21424\" width=\"1\" height=\"1\" style=\"border:none;\"><\/div><p>\u73fe\u5f79\u306eRuby\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3088\u308b\u500b\u5225\u6307\u5c0e\u3067\u3001Web\u30b5\u30a4\u30c8\u5236\u4f5c\u3092\u57fa\u790e\u304b\u3089\u7fd2\u5f97\u3067\u304d\u307e\u3059\u3002<a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=519720&p_id=936&pc_id=1196&pl_id=14835&guid=ON\" rel=\"nofollow\">\u7121\u6599\u4f53\u9a13\u30ec\u30c3\u30b9\u30f3<\/a><img loading=\"lazy\" decoding=\"async\" src=\"\/\/i.moshimo.com\/af\/i\/impression?a_id=519720&p_id=936&pc_id=1196&pl_id=14835\" width=\"1\" height=\"1\" style=\"border:none;\">\u304c\u53d7\u8b1b\u3067\u304d\u308b\u306e\u3067\u3001\u6c17\u8efd\u306b\u53d7\u8b1b\u4f53\u9a13\u304c\u3067\u304d\u307e\u3059\u3002<br><i class=\"fas fa-hand-point-right\"><\/i> <a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=519720&p_id=936&pc_id=1196&pl_id=12621&guid=ON\" rel=\"nofollow\">Ruby \u3068 Ruby on Rails\u30de\u30b9\u30bf\u30fc\u30b3\u30fc\u30b9<\/a><img loading=\"lazy\" decoding=\"async\" src=\"\/\/i.moshimo.com\/af\/i\/impression?a_id=519720&p_id=936&pc_id=1196&pl_id=12621\" width=\"1\" height=\"1\" style=\"border:none;\"><\/p><hr style=\"clear:both;border:none;background:none;margin:0;height:0px;\">\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controlle &#8230; <\/p>\n","protected":false},"author":3,"featured_media":959,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[246,1],"tags":[82,91,29,30,31],"class_list":{"0":"post-957","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-rubyrails","8":"category-learningprograming","9":"tag-aws","10":"tag-ec2","11":"tag-ruby","12":"tag-ruby-on-rails","13":"tag-web"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01<\/title>\n<meta name=\"description\" content=\"\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3068\u30d3\u30e5\u30fc\uff08View\uff09\u306e\u751f\u6210\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ticklecode.com\/step17-create-rails-top\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01\" \/>\n<meta property=\"og:description\" content=\"\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3068\u30d3\u30e5\u30fc\uff08View\uff09\u306e\u751f\u6210\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ticklecode.com\/step17-create-rails-top\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/taichi.kanako\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-06T09:00:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-21T08:39:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u304b\u306a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mustacheyork\" \/>\n<meta name=\"twitter:site\" content=\"@TickleCode\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u304b\u306a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/\"},\"author\":{\"name\":\"\u304b\u306a\",\"@id\":\"https:\/\/ticklecode.com\/#\/schema\/person\/ea869dd48609a81e6b99da5c40e7df83\"},\"headline\":\"STEP17\uff1aRuby on Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01#Rails\",\"datePublished\":\"2015-10-06T09:00:21+00:00\",\"dateModified\":\"2021-01-21T08:39:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/\"},\"wordCount\":76,\"publisher\":{\"@id\":\"https:\/\/ticklecode.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png\",\"keywords\":[\"AWS\",\"EC2\",\"ruby\",\"Ruby on Rails\",\"Web\"],\"articleSection\":[\"Ruby\u30fbRails\",\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3076\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/\",\"url\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/\",\"name\":\"Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01\",\"isPartOf\":{\"@id\":\"https:\/\/ticklecode.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png\",\"datePublished\":\"2015-10-06T09:00:21+00:00\",\"dateModified\":\"2021-01-21T08:39:46+00:00\",\"description\":\"\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3068\u30d3\u30e5\u30fc\uff08View\uff09\u306e\u751f\u6210\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ticklecode.com\/step17-create-rails-top\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage\",\"url\":\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png\",\"contentUrl\":\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png\",\"width\":700,\"height\":200,\"caption\":\"Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ticklecode.com\/step17-create-rails-top\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/ticklecode.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"STEP17\uff1aRuby on Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01#Rails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ticklecode.com\/#website\",\"url\":\"https:\/\/ticklecode.com\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/ticklecode.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ticklecode.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ticklecode.com\/#organization\",\"name\":\"TickleCode.LLC\",\"url\":\"https:\/\/ticklecode.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/ticklecode.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2021\/03\/logo.png\",\"contentUrl\":\"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2021\/03\/logo.png\",\"width\":532,\"height\":532,\"caption\":\"TickleCode.LLC\"},\"image\":{\"@id\":\"https:\/\/ticklecode.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/TickleCode\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ticklecode.com\/#\/schema\/person\/ea869dd48609a81e6b99da5c40e7df83\",\"name\":\"\u304b\u306a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/ticklecode.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/137e8b8a64f7bdb57356b6220bdbaf07f192617c9761ca529e8edde0c28063f4?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/137e8b8a64f7bdb57356b6220bdbaf07f192617c9761ca529e8edde0c28063f4?s=96&d=identicon&r=g\",\"caption\":\"\u304b\u306a\"},\"description\":\"\u8cea\u554f\u306f\u3001Twitter \u3067\u53d7\u4ed8\u3051\u3057\u3066\u3044\u307e\u3059\u3002 Java\u3001PHP\u3001Ruby on Rails\u3001JavaScript\u3001AWS\u3001Swift\u3001Kotlin\u3092\u7d4c\u9a13\u3057\u3066\u304d\u305f\u30a8\u30f3\u30b8\u30cb\u30a2\u3002\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u4f01\u696d\u3067\u50cd\u304d\u306a\u304c\u3089\u3001TickleCode.LLC\u4ee3\u8868\u57f7\u884c\u5f79\u54e1\u3092\u517c\u52d9\u3002 5\u5e74\u9023\u7d9a\u51fa\u7248\u3010iPhone\u30a2\u30d7\u30ea\u958b\u767a\u96c6\u4e2d\u8b1b\u5ea7\u3011\u306e\u8457\u8005\u3002\",\"sameAs\":[\"https:\/\/www.facebook.com\/taichi.kanako\",\"https:\/\/www.instagram.com\/mustacheyork\/?hl=ja\",\"https:\/\/x.com\/https:\/\/twitter.com\/mustacheyork\"],\"url\":\"https:\/\/ticklecode.com\/author\/mustacheyork\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01","description":"\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3068\u30d3\u30e5\u30fc\uff08View\uff09\u306e\u751f\u6210\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ticklecode.com\/step17-create-rails-top\/","og_locale":"ja_JP","og_type":"article","og_title":"Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01","og_description":"\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3068\u30d3\u30e5\u30fc\uff08View\uff09\u306e\u751f\u6210\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002","og_url":"https:\/\/ticklecode.com\/step17-create-rails-top\/","article_author":"https:\/\/www.facebook.com\/taichi.kanako","article_published_time":"2015-10-06T09:00:21+00:00","article_modified_time":"2021-01-21T08:39:46+00:00","og_image":[{"width":700,"height":200,"url":"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png","type":"image\/png"}],"author":"\u304b\u306a","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mustacheyork","twitter_site":"@TickleCode","twitter_misc":{"\u57f7\u7b46\u8005":"\u304b\u306a","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/#article","isPartOf":{"@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/"},"author":{"name":"\u304b\u306a","@id":"https:\/\/ticklecode.com\/#\/schema\/person\/ea869dd48609a81e6b99da5c40e7df83"},"headline":"STEP17\uff1aRuby on Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01#Rails","datePublished":"2015-10-06T09:00:21+00:00","dateModified":"2021-01-21T08:39:46+00:00","mainEntityOfPage":{"@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/"},"wordCount":76,"publisher":{"@id":"https:\/\/ticklecode.com\/#organization"},"image":{"@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage"},"thumbnailUrl":"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png","keywords":["AWS","EC2","ruby","Ruby on Rails","Web"],"articleSection":["Ruby\u30fbRails","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3076"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/","url":"https:\/\/ticklecode.com\/step17-create-rails-top\/","name":"Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01","isPartOf":{"@id":"https:\/\/ticklecode.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage"},"image":{"@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage"},"thumbnailUrl":"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png","datePublished":"2015-10-06T09:00:21+00:00","dateModified":"2021-01-21T08:39:46+00:00","description":"\u4eca\u56de\u306f\u3001\u3064\u3044\u306b\u3001Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u3060\u3001\u30e2\u30c7\u30eb\uff08Model\uff09\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u4f5c\u308a\u65b9\u306f\u3001Rails\u306egenerate\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\uff08Controller\uff09\u3068\u30d3\u30e5\u30fc\uff08View\uff09\u306e\u751f\u6210\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ticklecode.com\/step17-create-rails-top\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/#primaryimage","url":"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png","contentUrl":"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2015\/10\/step16-create-rails-top.png","width":700,"height":200,"caption":"Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01"},{"@type":"BreadcrumbList","@id":"https:\/\/ticklecode.com\/step17-create-rails-top\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/ticklecode.com\/"},{"@type":"ListItem","position":2,"name":"STEP17\uff1aRuby on Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30c3\u30d7\u753b\u9762\u3092\u4f5c\u6210\u3057\u3088\u3046\uff01#Rails"}]},{"@type":"WebSite","@id":"https:\/\/ticklecode.com\/#website","url":"https:\/\/ticklecode.com\/","name":"","description":"","publisher":{"@id":"https:\/\/ticklecode.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ticklecode.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/ticklecode.com\/#organization","name":"TickleCode.LLC","url":"https:\/\/ticklecode.com\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/ticklecode.com\/#\/schema\/logo\/image\/","url":"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2021\/03\/logo.png","contentUrl":"https:\/\/ticklecode.com\/wp\/wp-content\/uploads\/2021\/03\/logo.png","width":532,"height":532,"caption":"TickleCode.LLC"},"image":{"@id":"https:\/\/ticklecode.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/TickleCode"]},{"@type":"Person","@id":"https:\/\/ticklecode.com\/#\/schema\/person\/ea869dd48609a81e6b99da5c40e7df83","name":"\u304b\u306a","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/ticklecode.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/137e8b8a64f7bdb57356b6220bdbaf07f192617c9761ca529e8edde0c28063f4?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/137e8b8a64f7bdb57356b6220bdbaf07f192617c9761ca529e8edde0c28063f4?s=96&d=identicon&r=g","caption":"\u304b\u306a"},"description":"\u8cea\u554f\u306f\u3001Twitter \u3067\u53d7\u4ed8\u3051\u3057\u3066\u3044\u307e\u3059\u3002 Java\u3001PHP\u3001Ruby on Rails\u3001JavaScript\u3001AWS\u3001Swift\u3001Kotlin\u3092\u7d4c\u9a13\u3057\u3066\u304d\u305f\u30a8\u30f3\u30b8\u30cb\u30a2\u3002\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u4f01\u696d\u3067\u50cd\u304d\u306a\u304c\u3089\u3001TickleCode.LLC\u4ee3\u8868\u57f7\u884c\u5f79\u54e1\u3092\u517c\u52d9\u3002 5\u5e74\u9023\u7d9a\u51fa\u7248\u3010iPhone\u30a2\u30d7\u30ea\u958b\u767a\u96c6\u4e2d\u8b1b\u5ea7\u3011\u306e\u8457\u8005\u3002","sameAs":["https:\/\/www.facebook.com\/taichi.kanako","https:\/\/www.instagram.com\/mustacheyork\/?hl=ja","https:\/\/x.com\/https:\/\/twitter.com\/mustacheyork"],"url":"https:\/\/ticklecode.com\/author\/mustacheyork\/"}]}},"_links":{"self":[{"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/posts\/957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/comments?post=957"}],"version-history":[{"count":0,"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/posts\/957\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/media\/959"}],"wp:attachment":[{"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/media?parent=957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/categories?post=957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ticklecode.com\/wp-json\/wp\/v2\/tags?post=957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}