Fred,
Thanks, that worked great.
I don't understand why the form is expecting anything after it has
submitted to the controller, i.e., I don't understand that a
remote_form_tag handles redirect_to calls. Maybe I don't get where RJS
is 'taking place'.
For the record the solution snippet sequence is as follows:
[controller action: case 1]
render :update do |page|
page.replace_html 'errors', :partial => "iod_errors"
end
[controller action: case 2]
render :update do |page|
page.redirect_to passed_validation_url
end
[form_remote_tag]
<% form_remote_tag :url=>create_iod_url do %>
--
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.