How do you override the class name in the form_for helper? August 22, 2023 by Tarik Try this: form_for @order, :html => {:class => "foo"}