Thanks for the quick response, Steve. The rails.js file is in the
public/javascripts and it can be seen in the source of my page:

<script src="/javascripts/rails.js?1285525822"
type="text/javascript"></script>

The link that is generated by the call to link_to is:

<a
href="/events/4?remote=true&amp;method=delete&amp;confirm=Are+you+sure%3F&amp;url=http%3A%2F%2Flocalhost%3A3000%2Fevents%2F4%2Fexpenses%2F6">delete</a>

Which mentions remote=true, but doesn't appear to make any reference to
javascript.

I made a successful Ajax call in the prior part of the tutorial, only
this time with the following syntax:

<%= form_for [...@event, @expense], :remote => true do |f| -%>

-- 
Posted via http://www.ruby-forum.com/.

-- 
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