search for: temp_id

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

Did you mean: temp_i
2006 Mar 22
3
Parent-Child Tables Help
...edirect_to :controller => ''AdminConsole'', :action => ''index'') redirect_to :action => ''index'' end def list @cars = Car.find :all render :layout => false end def new @car = Car.new if request.xhr? @temp_id = Time.new.to_i @headers[''car-id''] = @temp_id @headers[''Content-Type''] = ''text/html; charset=utf-8'' render :layout => false # If you want to send an error message: # render :inline => "Error text goes h...