{"title":"Rails\u3067\u305d\u306e\u307e\u307eparam\u3092hash\u306b\u3057\u305f\u3044\u3068\u304d\u306f\u4e00\u56depermit!\u3059\u308b","type":"rich","blog_url":"https://shinkufencer.hateblo.jp/","version":"1.0","author_url":"https://blog.hatena.ne.jp/shinkufencer/","provider_url":"https://hatena.blog","published":"2018-12-09 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2018%2F12%2F09%2F000000\" title=\"Rails\u3067\u305d\u306e\u307e\u307eparam\u3092hash\u306b\u3057\u305f\u3044\u3068\u304d\u306f\u4e00\u56depermit!\u3059\u308b - \u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","categories":["Rails","Tips"],"url":"https://shinkufencer.hateblo.jp/entry/2018/12/09/000000","author_name":"shinkufencer","blog_title":"\u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69","description":"\u5c0f\u30cd\u30bf\u3002 \u74b0\u5883 $ bundle exec rails -v Rails 5.2.1 \u4e8b\u4f8b params\u306f\u305d\u306e\u307e\u307e\u3060\u3068 ActionController::Parameters \u306a\u306e\u3067hash\u306b\u307e\u3064\u308f\u308b\u30af\u30e9\u30b9\u304c\u3064\u304b\u3048\u306a\u304b\u3063\u305f\u308a\u3059\u308b # binding.pry\u306a\u3069\u3057\u305f\u4f8b params # => <ActionController::Parameters {\"contents\"=>{\"title\"=>\"hoge\", \"body\"=>\"huga\"}, \"controller\"=>\"main/contents\", \"action\"=>\"create\"} permitted: false> \u305f\u3068\u3048\u3070 d\u2026","image_url":null,"height":"190","provider_name":"Hatena Blog"}