search for: trouble_tickets

Displaying 1 result from an estimated 1 matches for "trouble_tickets".

Did you mean: trouble_ticket
2007 Sep 28
2
form action url example
Hi, I have the following example: it ''should have a form with an action attribute'' do response.should have_tag( "form[action=?]", ''/users/1/machines/1/trouble_tickets'') end for a form like so: <% form_for( :trouble_ticket, :url => { :action => ''create'', :user_id => @machine.current_owner, :machine_id => @machine } ) do |f| %> ... Now this fails. The way it will pass is to ch...