{"title":"Ruby empty?\u3068blank?\u306e\u9055\u3044","image_url":null,"type":"rich","author_url":"https://blog.hatena.ne.jp/arcright/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchulip.org%2Fentry%2F20090415%2F1239798650\" title=\"Ruby empty?\u3068blank?\u306e\u9055\u3044 - chulip.org\" 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://chulip.org/","categories":["Ruby","Rails"],"author_name":"arcright","version":"1.0","height":"190","published":"2009-04-15 21:30:50","description":"empty?\u3068blank?\u306f\u4f7f\u3046\u6a5f\u4f1a\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u306a\u306b\u304c\u9055\u3046\u306e\u304b.empty? \u6587\u5b57\u306e\u9577\u3055\u304c0\u306e\u3068\u304dtrue .blank? \u6587\u5b57\u306e\u9577\u3055\u304c0\u304bnil\u306e\u3068\u304dtrue.empty?\u306e\u5834\u5408nil\u3060\u3063\u305f\u3068\u304d\u306f\u666e\u901a\u306b\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3059 You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.empty?\u5f8cempty?\u306fRuby\u3001blank?\u306fRails\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u3042\u308b\u305f\u3081Ruby\u306e\u53c2\u8003\u66f8\u306bblan\u2026","blog_title":"chulip.org","provider_name":"Hatena Blog","url":"https://chulip.org/entry/20090415/1239798650","provider_url":"https://hatena.blog"}