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.
[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…]
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.
'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!