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.
On Feb 28, 3:06 pm, LukeG
<lgill...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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.
>
> -luke
>
> P.S. seems like many tutorials (all of those
onhttp://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...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---