{"published":"2023-12-01 07:00:00","height":"190","type":"rich","author_url":"https://blog.hatena.ne.jp/hayashi_whc/","description":"\u6982\u8981 \u306f\u3058\u3081\u306b \u767a\u751f\u3057\u305f\u73fe\u8c61\u3068\u8abf\u67fb\u306b\u3064\u3044\u3066 \u4e8b\u306e\u59cb\u307e\u308a \u767a\u751f\u3057\u305f\u554f\u984c \u539f\u56e0\u306e\u8abf\u67fb \u307e\u3068\u3081 / \u611f\u60f3 \u63a1\u7528\u60c5\u5831 \u63a1\u7528\u60c5\u5831\u8a73\u7d30 \u6982\u8981 ActiveRecord\u3092\u7d99\u627f\u3057\u305fmodel\u306b\u306f\u3001errors\u3067\u4efb\u610f\u306b\u30a8\u30e9\u30fc\u3092\u8ffd\u52a0\u3067\u304d\u308b \u8ffd\u52a0\u3057\u305f\u30a8\u30e9\u30fc\u306f\u3001save\u3084validate\u306b\u6210\u529f\u3059\u308b\u3068\u3001errors\u304b\u3089\u524a\u9664\u3055\u308c\u308b \u306f\u3058\u3081\u306b \u30db\u30ef\u30a4\u30c8\u30d8\u30eb\u30b9\u30b1\u30a2 \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u6797\u3067\u3059\u3002 \u672c\u8a18\u4e8b\u306f\u3001ActiveRecord \u3092\u4f7f\u3063\u3066\u3044\u305f\u969b\u306b\u3001errors\u306b\u8ffd\u52a0\u3057\u305f\u30a8\u30e9\u30fc\u304c\u610f\u56f3\u305b\u305a\u6d88\u3048\u3066\u3057\u307e\u3063\u305f\u6642\u306e\u6319\u52d5\u3092\u8abf\u3079\u305f\u969b\u306e\u8a71\u306b\u306a\u308a\u307e\u3059\u3002 \u767a\u751f\u3057\u305f\u73fe\u8c61\u3068\u8abf\u67fb\u306b\u3064\u3044\u3066 \u4e8b\u306e\u59cb\u307e\u308a 1 \u5bfe\u591a\u306e\u95a2\u4fc2\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3057\u3001\u3042\u308b\u6a5f\u80fd\u3092\u4f5c\u6210\u3057\u3066\u3044\u305f\u6642\u306e\u8a71\u2026","categories":["Ruby on Rails","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"blog_title":"\u30db\u30ef\u30a4\u30c8\u30d8\u30eb\u30b9\u30b1\u30a2 - \u30c6\u30c3\u30af\u30d6\u30ed\u30b0","version":"1.0","author_name":"hayashi_whc","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.whitehealthcare.co.jp%2Fentry%2F2023%2F12%2F01%2F070000\" title=\"ActiveRecord\u306eerrors\u306badd\u3057\u3066\u3082save\u306b\u6210\u529f\u3059\u308b\u3068add\u3057\u305f\u5185\u5bb9\u304c\u306a\u304f\u306a\u308b - \u30db\u30ef\u30a4\u30c8\u30d8\u30eb\u30b9\u30b1\u30a2 - \u30c6\u30c3\u30af\u30d6\u30ed\u30b0\" 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://techblog.whitehealthcare.co.jp/","image_url":null,"provider_url":"https://hatena.blog","title":"ActiveRecord\u306eerrors\u306badd\u3057\u3066\u3082save\u306b\u6210\u529f\u3059\u308b\u3068add\u3057\u305f\u5185\u5bb9\u304c\u306a\u304f\u306a\u308b","provider_name":"Hatena Blog","width":"100%","url":"https://techblog.whitehealthcare.co.jp/entry/2023/12/01/070000"}