I have a form with an input inside that I want to be able to submit by
itself (I want to let the user create new tags with this input and use
them
to tag the whole content that is posted by the rest of the form).
The ":with => “‘tag=’ + $F(‘new_tag’)” stuff like in observe_field does
not
work and I cannot specify the tag like “:tag = XXX” because its value is
unknown at render time. The user enters it so I have to use JavaScript
like
with observe_field.
The problem is that link_to_remote does not accept JavaScript.
So you need to cd into the directory that properly lists that location.
In this
case, since multipart_progress_test.rb is a new file, you can’t ls it
from that
location, but you can find the directory path
‘actionpack/test/controller’. So
you’d probably want to cd into my-rails-project/vendor/rails/.