Forum: Ruby on Rails submit_form for Ajax via xhr

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

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  <-- NOT a blog!!
This topic is locked and can not be replied to.