top | item 2943965

Rails 3.1 Gem Available

210 points| aaronbrethorst | 14 years ago |rubygems.org | reply

37 comments

order
[+] tenderlove|14 years ago|reply
Yes, I am very excited. I should have released during business hours with announcements prepared and whatnot, but I really wanted this code in people's hands. I hope that everyone enjoys this release!
[+] aaronbrethorst|14 years ago|reply
To reiterate what everyone is saying: thank you very much for all of your dedication and hard work.

Let me know if you ever make it around to Liberty or Poppy, I feel like I owe you at least a couple drinks.

[+] esmevane|14 years ago|reply
I understand your excitement. I've been watching your work on it! You deserve a nice, long vacation, man.

Thank you.

[+] lisperforlife|14 years ago|reply
Thanks for all the hard work. You guys are awesome. BTW, it is business hours in India. :-)
[+] tortilla|14 years ago|reply
Thanks for yours and everyone else's hard work. This release looks great. Been developing on the RCs the past month or so and appreciate the improvements.
[+] BenSchaechter|14 years ago|reply
tenderlove, I don't know you and probably never will -- but thanks for all your hard work. Seriously.
[+] nfm|14 years ago|reply
Thanks to Rails core and all the contributors for yet another killer release :)

If you're new to 3.1, the following resources will help you to get started:

Release notes:

http://guides.rubyonrails.org/3_1_release_notes.html

Asset pipeline:

http://guides.rubyonrails.org/asset_pipeline.html

http://railscasts.com/episodes/279-understanding-the-asset-p...

[+] ryanbigg|14 years ago|reply
Thanks for linking to the new Asset Pipeline guide. Richard Hulse, Mohammed El-Abid and me put a lot of work into that to try to help people understand how it works.

It's just a fantastic feeling to see something that I've worked on be helpful to so many people. Thank you.

[+] latortuga|14 years ago|reply
Thanks for the links. From reading the release notes, it looks like there's a lot of changes around the behavior of creating/updating/destroying through active record associations - other than the release notes is there anywhere else that has a good writeup of these changes?
[+] sc00ter|14 years ago|reply
Fantastic!

Any particular reasn to only list DHH under "Authors"? (I assume the plural means more are possible...)

Perhaps a link to http://contributors.rubyonrails.org/ ?

Interestingly DHH is only #2 contrubutor overall, and number 9 this year... (by number of commits; and no, that isn't a perfect measure of contribution)

[+] dmix|14 years ago|reply
I'm hesitant to give up on Jammit, but asset pipeline looks great.
[+] jashkenas|14 years ago|reply
The 3.1 asset pipeline is great stuff ... but if anyone currently using Jammit is leaning towards switching to the asset pipeline -- for any reason other than it's the default in Rails 3.1 -- I'd be curious to hear about why. I'd like to keep developing Jammit as an alternative approach, as there are differences in philosophy: explicit asset packages vs. in-file dependencies, for example.
[+] angryasian|14 years ago|reply
can anyone point me, where I can read a comparison on Jammit vs asset pipeline/sprocket or could you offer your opinions. thanks
[+] davidcuddeback|14 years ago|reply
Same here. I've been trying out the 3.1 RCs, and I think the asset pipeline has some potential, but I haven't found a replacement for Jammit's JST compilation. (Although I haven't looked very hard. I'm sure there's a solution out there.)
[+] speleding|14 years ago|reply
Here is something not in the release notes that people may want to watch out for: The format of the session has changed, the FlashHash class to be precise, so trying to load a browser session created on Rails 3.0 will give a marshal load error on 3.1 if it had anything in the flash.

This means you will want to change your SESSION_KEY variable to expire all sessions, otherwise users that are logged in while you upgrade can get stuck until they clear their cookies. (So I postponed the upgrade to the weekend...)

[+] eddanger|14 years ago|reply
The asset pipeline is s great evolution to this amazing framework. I'm looking forward to playing with this.
[+] nkeating|14 years ago|reply
Great update.. Asset Pipeline & Coffescript have quickly become indispensable.
[+] dkrich|14 years ago|reply
Thanks! Started learning 3.1 a few months ago and loved the asset pipeline, but had a few problems getting a particular piece to work. Will have to get back to using it soon.
[+] hankberg|14 years ago|reply
How come the identity map is disabled by default?
[+] ashleyw|14 years ago|reply
It doesn't track model associations, so can lead to odd behaviour if you don't know the pitfalls. Hopefully having to enable it manually means those who do enable it have read up and know what to expect.
[+] sebilasse|14 years ago|reply
Thanks for the great work. After every release I wonder what's next. Is there some sort of roadmap?
[+] dasil003|14 years ago|reply
This time it's no red herring like the nefarious 3.0.10 release!
[+] CoachRufus87|14 years ago|reply
You guys rock! Thanks for all the work y'all put in.
[+] jdelsman|14 years ago|reply
So happy! Thanks guys! Upgrading now ;)