Re: [Rails] [RAILS]
Start by describing the problem. You need to explain what you're trying to do and what's not working.
On Sun, Feb 20, 2011 at 1:47 AM, Poojan <poojanshah2005@gmail.com> wrote:
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home