I try before but i get this message:

C:/work/aplicatie/app/controllers/comenzi_controller.rb:32: parse error, 
unexpected kRESCUE, expecting kEND
       rescue Mysql::Error => e
             ^
C:/work/aplicatie/app/controllers/comenzi_controller.rb:32: parse error, 
unexpected tASSOC
       rescue Mysql::Error => e
                             ^
C:/work/aplicatie/app/controllers/comenzi_controller.rb:43: parse error, 
unexpected kEND, expecting $

-- 
Posted via http://www.ruby-forum.com/.