<%= form_remote_tag :update => "credit_card_table", :url => { :action => :add_credit_card, :id => @user }, :failure => 'alert("ERROR")', :html => { :id => 'credit_card_form' } %>
which checks the validation of a credit card number, adds it to the list if all is good, or pops up an error box if it is not. When it is not valid, the error box comes up but then in the field that I am updating i get:
Template is missing Missing template ./script/../config/../app/views/enroll/add_credit_card.rhtml
I'm not sure if this is going to help, but what I ended up doing is have a switch - true if the credit cards was added to the list and false if it was not. Then, in my partial I have a bit of codes that say if !@valid popup an alert box, but either way, the list of credit cards gets redisplayed.
And for the record Shandy is a he. No hard feelings, I get that alot. A strange name is what you get when you have hippie parents I guess. Could be worse. Good luck,
~S