Ruby on Rails 2.3.8 Released
weblog.rubyonrails.org
weblog.rubyonrails.org
And the Rails Tutorial book (http://www.railstutorial.org/)
has again been updated:
s/2\.3\.6/2\.3\.7/
I hope this doesn't start happening every day. :-)
Turns out that was wishful thinking: s/2\.3\.7/2\.3\.8/
Get it while it's hot: http://www.railstutorial.org/bookOne thing though. Although it's great that you keep versions updated, perhaps you should mention that Heroku only supports rails version up to 2.3.5? As a total beginner, it took me a few hours to realize why I got strange errors when deploying...
Another reader mentioned the Heroku issue as well; sorry it caused confusion. I'll check it out and get back to you. If it continues to be a problem, I suggest moving back to 2.3.5 for now.
Update: It works if you add an explicit gem requirement to RAILS_ROOT/.gems:
rails --version 2.3.8
My hope is that Rails 2.3.8 will Just Work™ on Heroku at some point; I have an email in to them to see if they expect this to be the case.For reference, this is where I checked the versions: http://installed-gems.heroku.com/ But I guess all you RoR-gurus know that :)
EDIT: Also, http://blog.heroku.com/archives/2010/5/25/rails_2_3_6_depend...
(Without meaning to sound callous to folks who have been reduced to firefighting this week: with sane practices on applying updated libraries to production, it happens to other people.)
Just 2 days ago, a new version of authlogic was released that accidentally broke 2.3.5 compatibility. And that's a respected and widely used gem. It happens. Also, many gems are starting to deliberately break rals 2.3 compatibility - their newer versions are rails 3 only. Not to mention that gem authors sometimes deprecate and then obsolete some interfaces. So if you're not fixing your versions yet, and you don't have "sane practices" for updating them, it's time to start.
If you've got sane library management processes, you're pretty much safe, but that's a huge amount of wasted effort - everybody has to figure it out for themselves. Right now, it's downright dangerous relying on upstream gems directly unless you know exactly what you're doing, and a distribution layer would let everyone share a common knowledge about which gem versions go well together.
It would also give a handy insertion point for backporting security fixes, which currently doesn't happen very often.
2.3.8 (May 24, 2010)
* HTML safety: fix compatibility without the optional rails_xss plugin.
2.3.7 (May 24, 2010)
* HTML safety: fix compatibility with the optional rails_xss plugin. [Nathan Weizenbaum, Santiago Pastorino]