{"author_name":"shinkufencer","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2019%2F06%2F19%2F000000\" title=\"Rails\u306eActiveRecoed\u306e\u30b5\u30cb\u30bf\u30a4\u30ba\u7cfb\u306e\u30e1\u30bd\u30c3\u30c9\u306f5.2\u304b\u3089public\u306b\u306a\u3063\u3066\u3044\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>","author_url":"https://blog.hatena.ne.jp/shinkufencer/","provider_url":"https://hatena.blog","published":"2019-06-19 00:00:00","title":"Rails\u306eActiveRecoed\u306e\u30b5\u30cb\u30bf\u30a4\u30ba\u7cfb\u306e\u30e1\u30bd\u30c3\u30c9\u306f5.2\u304b\u3089public\u306b\u306a\u3063\u3066\u3044\u308b","categories":["Rails"],"description":"5.0\u30685.2\u3092\u884c\u304d\u6765\u3057\u3066\u3044\u305f\u306e\u3067\u3066\u3063\u304d\u308aprivate\u3060\u3068\u601d\u3063\u3066\u305f\u306e\u3067\u30e1\u30e2 \u30cd\u30bf\u5143 \u9031\u520aRails\u30a6\u30a9\u30c3\u30c1\uff0820180813\uff09Rails 5.2.1\u30ea\u30ea\u30fc\u30b9\u3001sanitize_sql_array\u306f5.2\u304b\u3089public\u3060\u3063\u305f\u3001Dev.to\u304cRails\u30a2\u30d7\u30ea\u306e\u30bd\u30fc\u30b9\u3092\u516c\u958b\u307b\u304b \u66f8\u304d\u65b9 5.2 ActiveRecord::Base.sanitize_sql_like(\"SELECT * FROM x\") \u305d\u308c\u3088\u308a\u524d $ bin/rails c Loading development environment (Rails 5.0.2) [1] pry(main)> ActiveRecord::Ba\u2026","blog_url":"https://shinkufencer.hateblo.jp/","url":"https://shinkufencer.hateblo.jp/entry/2019/06/19/000000","type":"rich","height":"190","blog_title":"\u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69","width":"100%","provider_name":"Hatena Blog","version":"1.0"}