{"provider_name":"Hatena Blog","type":"rich","provider_url":"https://hatena.blog","title":"\u3010Rails\u3011\u7c21\u5358\u306bform\u304c\u4f5c\u6210\u3067\u304d\u308bsimple_form","width":"100%","url":"https://opiyotan.hatenablog.com/entry/gem_simple_form","published":"2019-09-25 23:46:04","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/110785513/1514221383750427","author_name":"opiyotan","height":"190","blog_title":"\u304a\u3074\u3088\u306e\u6c17\u307e\u3050\u308c\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/opiyotan/","categories":["Rails","Gem"],"description":"Ruby on Rails\u3067\u767b\u9332\u6a5f\u80fd\u3084\u66f4\u65b0\u6a5f\u80fd\u3092\u4f5c\u308b\u969b\u306b\u5fc5\u8981\u306aform\u3002 \u3053\u306eform\u306e\u4f5c\u6210\u3092\u7c21\u5358\u306b\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u4fbf\u5229\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u300csimple_form gem\u300d\u306e\u3054\u7d39\u4ecb\u3002 simple_form\u3067\u4f5c\u3063\u305f\u554f\u3044\u5408\u308f\u305bform\u753b\u9762\u306e\u30a4\u30e1\u30fc\u30b8 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 Gemfile\u306b\u8ffd\u52a0\u3057\u3066\u3001bundle install\u3059\u308b\u3002 gem 'simple_form' \u30e2\u30c7\u30eb\u306e\u4f5c\u6210 generate\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30e2\u30c7\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002 $ bundle exec rails g model hoge name:string age:integer gender:string birthday:date e\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fopiyotan.hatenablog.com%2Fentry%2Fgem_simple_form\" title=\"\u3010Rails\u3011\u7c21\u5358\u306bform\u304c\u4f5c\u6210\u3067\u304d\u308bsimple_form - \u304a\u3074\u3088\u306e\u6c17\u307e\u3050\u308c\u65e5\u8a18\" 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://opiyotan.hatenablog.com/","version":"1.0"}