Rails 1.2: Release Candidate 1

It's been almost eight months since the last major release of Rails
introduced RJS, respond_to, eager loading, and much more. It's about
time we introduced the latest batch of big ideas we've been polishing
in the interim.

Since this is a major new release and we've gotten so much incredible
uptake even since 1.1, we're feeling the need to certify that things
work as well as they can out the gates. Thus, this release candidate to
fret out any regressions or major issues with the new features.

See the full story:
http://weblog.rubyonrails.org/2006/11/23/rails-1-2-release-candidate-1

[The following is because ~30 people have rated my posts, on Google
Groups, at an _average_ of 4 out of 5 stars, and I'm hell-bent on
bringing that rating down by any means necessary...]

DHH wrote:

See the full story:
http://weblog.rubyonrails.org/2006/11/23/rails-1-2-release-candidate-1

To upgrade, I probably just

  gem install rails

bang enter for a while, then bounce the server(s), right?

(Yes, it's just a development installation... Yes, I might
--install-dependencies, too;)

DHH wrote:

> See the full story:
> http://weblog.rubyonrails.org/2006/11/23/rails-1-2-release-candidate-1

To upgrade, I probably just

gem install rails --source http://gems.rubyonrails.org --include-dependencies

then bounce the server(s), right?

No reconfiguring to point to the next gem, right?

Always nice to see progress. Congratulations!

Is there a web page available that lists the deprecated functions (“freshman 15”) referenced in the announcement?

thanks,
andy

Some of them can be found here:
[

http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails](http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails)

http://nubyonrails.topfunky.com/articles/2006/08/31/deprecated-plugin-find-old-rails-code

http://weblog.rubyonrails.org/2006/04/28/associations-arent-dependent-true-anymore/

Here’s a few more:

'start_form_tag' - start_form_tag is deprecated. Use <% form_tag ... do %>...<% end %>
'end_form_tag' - end_form_tag is deprecated. Use <% form_tag ... do %>...<% end %>
':post => true' - Passing :post as a link modifier is deprecated. Use :method => :post instead.

'link_to_image' - link_to_image is deprecated. Use link_to(image_tag(...), url)
'link_image_to' - link_image_to is deprecated. Use link_to(image_tag(...), url) 

Use Topfunky’s deprecated plugin to find and remove all instances of deprecated code in your apps (see above).
His plugin doesn’t have everything that’s currently deprecated, but
it’s very easy to add additional snippets to search for. Have fun!

Great info! Thanks Scott.

-andy

Tom, please remember that this is a release candidate and not the
final release for rails 1.2. Thus, I'm sure that the core team will
tweak and optimize rails 1.2 for the final release. Just be patient
and report bugs so that they can be dealt with now rather than later.

Good luck,

-Conrad