{"blog_url":"https://kouji0625.hatenadiary.org/","type":"rich","title":"\u30e2\u30c7\u30eb\u306escope\u306e\u3001spec\u3092\u8a18\u8ff0\u3059\u308b","height":"190","version":"1.0","description":"\u30e2\u30c7\u30eb\u306escope\u306espec\u3092\u8a18\u8ff0\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u300cscope rspec\u300d\u3067Google\u3067\u691c\u7d22\u3057\u305f\u3068\u3053\u308d\u3001How can i have an rspec test for my default scope: http://stackoverflow.com/questions/6853744/how-can-i-have-an-rspec-test-for-my-default-scope \u306b\u305d\u306e\u7b54\u3048\u3063\u307d\u3044\u306e\u304c\u3042\u308a\u307e\u3057\u305f\uff01\uff01 CatMembership.scoped.to_sql.should == CatMembership.order(:created_at).to_sql \u305d\u3046\u2026","blog_title":"\u9ad8\u5c3e\u5b8f\u6cbb\u65e5\u8a18 on \u306f\u3066\u306a","provider_url":"https://hatena.blog","published":"2013-07-22 00:00:00","author_url":"https://blog.hatena.ne.jp/kouji0625/","width":"100%","image_url":null,"provider_name":"Hatena Blog","categories":["Ruby","RSpec","Rails"],"url":"https://kouji0625.hatenadiary.org/entry/20130722/p1","author_name":"kouji0625","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkouji0625.hatenadiary.org%2Fentry%2F20130722%2Fp1\" title=\"\u30e2\u30c7\u30eb\u306escope\u306e\u3001spec\u3092\u8a18\u8ff0\u3059\u308b - \u9ad8\u5c3e\u5b8f\u6cbb\u65e5\u8a18 on \u306f\u3066\u306a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}