FYI, here's what's new specifically for ActiveRecord 4, relevant for those of us who are using other frameworks (Sinatra, Padrino) that leverage Rails components:
This is a really nice and handy guide, thanks! On a side note, having coded in many languages, I'm still a little at a loss for words that code breaking with new versions is tolerated.
Several of my talented friends spend too much time precariously managing their old Ruby codebases. I hope it keeps improving to make life easier.
Code breaking for patches and security enhancements is widely viewed as unacceptable, but this is the first occasion I've seen someone accept to breaking changes in a major release. Neither Rails 2 nor Rails 3 were fundamentally broken, and there's nothing stopping you from keeping an application on those releases.
This is a question of taste really. Do you favour continuous improvement or stability? Personally I prefer the continuous refinement approach that rails takes. It's definitely not for everyone though.
As bad as breaking changes sound, keeping historical baggage isn't ideal as well. I don't know about your friends, but if this is all that has changed, it would be a simple migration provided you already are on 3.2.
Great summary here, love the 3.2/4.0 side by side examples. I wondered why it hadn't mentioned the new background queue API though, only to find that's been pushed back out of 4.0 now. Just wanted to mention here incase anyone else hadn't seen that that has been taken out.
I didn't include queues, live streaming, and other features because unfortunately they are not available as a separate gems.
I tried to cover all the things that are possible now (via gems or simple code change).
Maybe in a future post I'll cover all the new things in Rails 4. But as it's still on development I prefer to wait until a beta or release candidate.
Awesome! I've seen a lot of little coverage on some of these topics but this is about as comprehensive as I think we'll find without any sort of release notes.
[+] [-] danso|13 years ago|reply
http://blog.remarkablelabs.com/2012/12/what-s-new-in-active-...
The official edgenotes has sections for all the Active components:
http://edgeguides.rubyonrails.org/4_0_release_notes.html
[+] [-] mgkimsal|13 years ago|reply
[+] [-] j45|13 years ago|reply
Several of my talented friends spend too much time precariously managing their old Ruby codebases. I hope it keeps improving to make life easier.
[+] [-] nickbarnwell|13 years ago|reply
[+] [-] ollysb|13 years ago|reply
[+] [-] irahul|13 years ago|reply
[+] [-] michaelmartin|13 years ago|reply
[+] [-] ejpastorino|13 years ago|reply
I didn't include queues, live streaming, and other features because unfortunately they are not available as a separate gems.
I tried to cover all the things that are possible now (via gems or simple code change). Maybe in a future post I'll cover all the new things in Rails 4. But as it's still on development I prefer to wait until a beta or release candidate.
[+] [-] phsr|13 years ago|reply
[+] [-] viseztrance|13 years ago|reply
[+] [-] holgersindbaek|13 years ago|reply
[+] [-] joevandyk|13 years ago|reply
[+] [-] rustc|13 years ago|reply
Excellent post BTW.
[+] [-] kawsper|13 years ago|reply
# Bundle edge Rails instead:
gem 'rails', :git => 'git://github.com/rails/rails.git'
[+] [-] sergiotapia|13 years ago|reply
Does anybody know how this technique affects SEO?
[+] [-] nachteilig|13 years ago|reply
[+] [-] kmf|13 years ago|reply
[+] [-] hayksaakian|13 years ago|reply
The removal of 'match' in routes is a little saddening....
I'm not sure how I feel about the concerns abstraction.
[+] [-] nachteilig|13 years ago|reply
[+] [-] bejar37|13 years ago|reply