update to flickr screencast tutorial

I'm learning Rails and went through the flickr tutorial screencast at: http://media.rubyonrails.org/video/flickr-rails-ajax.mov

Couldn't get it to work with Rails 2.0 in Aptana, so made these changes to index.rhtml and am posting them in case they are useful to someone else.

<% form_remote_tag :url => {:action => 'search'},   :update => 'photos',   :complete => visual_effect(:blind_down, 'photos'),   :before => %(Element.show('spinner')),   :success => %(Element.hide('spinner')) do -%>

  <%= image_tag('spinner.gif', :id => 'spinner', :style => 'display: none') %>

Seems to be working, hope this is the "correct" way.


P.S. seems like many tutorials (all of those on http://www.rubyonrails.org/docs???) are for pre-2.0 and don't work. Anybody have pointers to newer tutorials? same problem with books - have a couple of $50 doorstops...

This blog tutorial is based on 2.0 and discusses the differences between scaffolding on 2.0 and previous versions. I found it really useful when trying to follow pre-2.0 tutorials and books.