Rails 3.0.8.rc2

Hey folks! I've pushed 3.0.8.rc2.

I want to give a big thanks to Philip Arndt and Robert Pankowecki for reporting regressions in 3.0.8.rc1! We've fixed the regressions, so I pushed an rc2.

To see the diffs for this rc, check out [the commit list on github](https://github.com/rails/rails/compare/v3.0.8.rc1...v3.0.8.rc2).

Since we've released a new release candidate, I'll target the final release for June 1. If you find regressions between v3.0.7 and v3.0.8.rc2, please let me know and we'll do another rc!

Thanks everyone!

  $ curl 'http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/383777’ | ruby -n -e'print $_.gsub(/rc1/, "rc2")'

Another regression: https://github.com/rails/rails/pull/1362 ( broke with https://github.com/rails/rails/commit/9f5ab9a9ff3c9efe4126cf00dc69e777160f554b - was partially fixed for rc2 in https://github.com/rails/rails/commit/179a8a46f91f71c2b0a7d306abbfc4259b61e717 ). Happens for hb:t with :source/:as set.

Another regression (hb:t with :as/:source): https://github.com/rails/rails/pull/1362#issuecomment-1251822

A similar case was fixed for rc2 in https://github.com/rails/rails/commit/179a8a46f91f71c2b0a7d306abbfc4259b61e717

P.S. I hope this message wasn’t posted twice. Google Groups upgraded itself after posting…

This https://github.com/rails/rails/issues/1322 is not fixed in 3.0.8.rc2 :frowning: I'm still getting the same error.

Robert Pankowecki

Crap. Any way you can get a sample application to me that will reproduce the error? I can't seem to reproduce it, so I'm flying blind. :frowning:

Thanks. I've merged this in to 3-0-8. I'll release another RC once we get the other bug fixed up.

Reproducing the exception

  1. create a new Rails app

  2. Gemfile:

gem ‘rake’, ‘~> 0.9.0’

gem ‘rails’, ‘3.0.8.rc2’

gem ‘sqlite3’

gem ‘calendar_date_select’, :git => “git://github.com/paneq/calendar_date_select.git”

  1. bundle install

  2. bundle exec rake -T

The fix

https://github.com/rails/rails/commit/57958cb7b924c00ce6761bd0fc75aae304e7380b was close to fixing it. Slight modification in https://github.com/rails/rails/pull/1397 (the 11 characters aren’t even worth the merge). Runs smoothly now.

Current 3-0-8 branch works fine for me now :slight_smile:

Robert Pankowecki

Does this yaml syntax work with newest rails and ruby 1.9.2-p180

test:   <<: *development   database: gavdihrpif_test   min_messages: warning

??

It seems to me that attributes are not overwritten.

Robert Pankowecki

I found out that although the bug for this was submitted 4 months ago it was fixed only 6 days ago in ruby 1.9.2 .

For the reference: http://redmine.ruby-lang.org/issues/show/4357

Robert Pankowecki