{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20111107%2F1320654663\" title=\" DataMapper \u3067\u30ab\u30b9\u30bf\u30e0\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3 - daily dayflower\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"dayflower","provider_url":"https://hatena.blog","published":"2011-11-07 17:31:03","title":" DataMapper \u3067\u30ab\u30b9\u30bf\u30e0\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3","blog_title":"daily dayflower","image_url":null,"version":"1.0","provider_name":"Hatena Blog","width":"100%","description":"DataMapper - Associations \u306e\u300cCustomizing Associations\u300d\u306b\u66f8\u3044\u3066\u3042\u308b\u3002 User \u3068 Message \u3068\u3044\u3046\u30e2\u30c7\u30eb\u304c\u3042\u308a\uff0cMessage \u306b\u306f\u5b9b\u5148\u304c(\u8907\u6570)\u6307\u5b9a\u3067\u304d\u308b\uff0c\u3068\u3059\u308b\u3002\u3067\u304d\u308b\u3060\u3051\u898f\u7d04\u30d9\u30fc\u30b9\u3067\u66f8\u304f\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002 class User include DataMapper::Resource property :id, Serial has n, :message_receipients has n, :messages, :through => :message_receipients end class Message inclu\u2026","height":"190","author_url":"https://blog.hatena.ne.jp/dayflower/","url":"https://dayflower.hatenablog.com/entry/20111107/1320654663","categories":["ruby","memo"],"type":"rich","blog_url":"https://dayflower.hatenablog.com/"}