Hi,

I am new to rails, and I was struggling on getting this code to work
on rails 3.0.4 and I found out that I need to use the link_to thing
but I am unsure on how to write it for the code below:

<div id="seats">
<%= render :partial=>"seat_list", :locals=>{:seats=>@flight.seats } %>
</div>
<%= link_to_remote(
   "Refresh seats",
   :url=>"/flights/#{@flight.id}/seats",
   :method=>"get",
   :update=>"seats") %>

what can I DOOOOOO?????

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to