6 ms·
Rails 3.0.3 out - Faster Active Record plus fixes
- msy 16y agoGiven the 20-odd hours 3.0.2 lasted I'm waiting a day or two before even regression testing against this. While I love the pace of development I do wish they were a little more thorough with the release testing at times.
- wycats 16y agoFrom here on out, every point release will come with an RC. Not doing that for 3.0.2 was a mistake that we won't repeat.
- jz 16y agoI saw Aaron Patterson's presentation at RubyConf this year, which I have to say was just as funny as informative. It was essentially all about squeezing every bit of performance out of ARel. He ended up rewriting a good portion of ARel as well. If anyone is interested, the ticket with benchmarking stats can be viewed here: https://rails.lighthouseapp.com/projects/8994/tickets/5098-rails-3-beta-4-activerecord-5x-slower-than-rails-235 https://rails.lighthouseapp.com/projects/8994/tickets/5098-r...
- percept 16y agoHas anybody benchmarked AR performance versus Sequel or DataMapper? I've noticed a dearth of Rails3 performance discussion in general (usually there's a ton of articles on any Rails-related topic).
- shubber 16y agoI for one would like to see a discussion of why the decision was made to build AReL in the first place, rather than adopt DataMapper. Now that's I've gotten a chance to dig into AReL and it's integration with Rails, I'm less impressed than when I first saw its announcement.
- cies 16y agook let me through some fuel on the fire of that discussion... i think AR went Arel, because AR's syntax and internals sucked badly, yet admitting that by putting effort in DM would badly hurt the ego of one or more AR devs. sidenote1: if it wasn't for the humble merb devs, rails3 would never be what it is today. these merb guys gave up a little of the name and fame of their brilliant project so the community would benefit from not being split. DHH abused that humbleness by not even mentioning them (the project nor the devs) in the announcement of rails3! that's just plain wrong... sidenote2: DM is great stuff -- still waiting for the version that allows NoSQL backends as well though. sidenote3: i'm ex-merb user, now rails3, yet never touchin' no AR.
- jherdman 16y agoI disagree. It's pretty obvious that though a great number of changes came through with Rails 3, one of the goals was to have a short uptake path. This is readily observed through the decision to maintain Prototype as the default JS library, ERB, and others, despite the gross popularity of the alternatives. Introducing Arel, and improving ActiveRecord in general, serve to bolster this attitude and approach. That is, to improve the state of the defaults, provide an easy path for uptake, whilst now offering the alternatives cleaner means of tying into the Rails system. To address your side nodes... #1. A hat tip would have been nice, but I don't think too many folks were truly upset in the long run. #2. Meh. The only thing I really miss from DM is the declaration of attributes. Arel is pretty tight. Check out Mongoid. It's pretty slick. #3. Ex-Merb user too. AR does the trick sometimes, but I'm happy to have the freedom to use Mongoid, Sequel, etc.