{"provider_name":"Hatena Blog","title":"Rails \u3067\u30e6\u30cb\u30fc\u30af\u5236\u7d04","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F20120602%2Frails_unique\" title=\"Rails \u3067\u30e6\u30cb\u30fc\u30af\u5236\u7d04 - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://blog.tmtms.net/","width":"100%","author_name":"tmtms","url":"https://blog.tmtms.net/entry/20120602/rails_unique","categories":["Rails"],"provider_url":"https://hatena.blog","published":"2012-06-02 00:00:00","blog_title":"tmtms \u306e\u30e1\u30e2","height":"190","author_url":"https://blog.hatena.ne.jp/tmtms/","description":"\u6700\u8fd1 Rails \u3092\u4f7f\u3044\u59cb\u3081\u305f\u306e\u3067\u3059\u304c\u3001\u6c17\u306b\u306a\u3063\u305f\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\u3063\u3068\u304d\u307e\u3059\u3002\u30e2\u30c7\u30eb\u306b\u4e00\u610f\u6027\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u3064\u3051\u3066\u3082\u53b3\u5bc6\u306b\u306f\u30c1\u30a7\u30c3\u30af\u3055\u308c\u307e\u305b\u3093\u3002\u3082\u3057\u304b\u3057\u305f\u3089 Rails \u3067\u306f\u5e38\u8b58\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001Rails \u521d\u5fc3\u8005\u306a\u306e\u3067\u6c17\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u666e\u901a\u306b Rails \u30a2\u30d7\u30ea\u3092\u4f5c\u308a\u307e\u3059\u3002User \u30e2\u30c7\u30eb\u306b login \u5c5e\u6027\u3092\u3064\u3051\u3066\u307e\u3059\u3002 % rails new hoge -d mysql % cd hoge % vi config/database.yml % rails g scaffold user login % rake db:create db:migrateUser \u30e2\u30c7\u30eb\u306b\u4e00\u610f\u2026"}