{"type":"rich","description":"Rails\u3067params\u306e\u5024\u3092\u51e6\u7406\u3059\u308b\u3068\u304d\u306b\u3088\u304f\u4f7f\u308f\u308c\u308b\u306e\u3067\u3001\u3069\u3046\u3044\u3046\u3082\u306e\u304c\u3042\u308b\u304b\u3092\u4e00\u89a7\u3067\u6574\u7406\u3059\u308b \u53c2\u8003\u5143 class NilClass (Ruby 3.2 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb) \u4e00\u89a7 \u30e1\u30bd\u30c3\u30c9\u540d \u5909\u63db\u3055\u308c\u308b\u30af\u30e9\u30b9 \u5909\u63db\u5f8c\u306e\u5024 to_i Integer 0 to_s String \"\" (\u7a7a\u6587\u5b57) to_a Array [ ] (\u7a7a\u914d\u5217) to_h Hash { } (\u7a7a\u30cf\u30c3\u30b7\u30e5) to_f Float 0.0 to_c Complex (0+0i) to_r Rational (0/1) \u4f59\u8ac7 Rails\u306eActive Support\u3092\u5229\u7528\u3059\u308b\u3068 to_param \u3082\u4f7f\u3048\u308b\u304c\u3001\u305d\u306e\u5834\u5408\u306f\u2026","categories":["Ruby"],"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://shinkufencer.hateblo.jp/","author_name":"shinkufencer","title":"Ruby\u306enil\u3067\u306fto_*** \u3067\u5909\u63db\u3067\u304d\u308b\u306e\u3092\u3056\u3063\u3068\u307e\u3068\u3081\u308b","author_url":"https://blog.hatena.ne.jp/shinkufencer/","url":"https://shinkufencer.hateblo.jp/entry/2023/08/18/233756","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2023%2F08%2F18%2F233756\" title=\"Ruby\u306enil\u3067\u306fto_*** \u3067\u5909\u63db\u3067\u304d\u308b\u306e\u3092\u3056\u3063\u3068\u307e\u3068\u3081\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>","blog_title":"\u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69","width":"100%","published":"2023-08-18 23:37:56","version":"1.0"}