Forum: Ruby on Rails submit_form for Ajax via xhr

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Phlip (Guest)
on 2007-01-03 17:12
(Received via mailing list)
Railsters:

The assert_select system has a submit_form method that reads your
current page's form, and submits all its fields with their data. This
works great for Test Driven Development because it tests your current
page's form and your controller's action at the same time.

Is there a submit_form that calls xhr, to submit a FORM thru Ajax? How
easy would that be to add?

--
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!
This topic is locked and can not be replied to.