3 ms·
IMO the most important improvement is the IdentityMap
by MartinMond 15y ago
IMO the most important improvement is the IdentityMap
- fullmoon 15y agoOh, it is in finally? Exciting!
- johnb 15y agoI know this isn't reddit, and I know it isn't welcome on news.yc... but ... that's what she said.
- pdelgallego 15y agoCare to explain? I haven't hear about it.
- tomeric 15y agoThe IdentityMap makes sure that there is only 1 ActiveRecord instance for a given row in the database. This basically means that calling Article.find(3) and Comment.where(:article_id => 3).first.article both return the same instance.
- ctide 15y agohttp://edgerails.info/articles/what-s-new-in-edge-rails/2011/04/21/activerecord-identity-map/index.html http://edgerails.info/articles/what-s-new-in-edge-rails/2011... is a good synopsis of IdentityMap.
- keeran 15y agoI'm very much looking forward to making use of the associations rewrite by Jon Leighton (http://jonathanleighton.com/ http://jonathanleighton.com/). Nested has-many:through relationships are a go! :)