I have an action like
flash[:notice] = 'Please fill fields marked with *'
redirect_to :action => 'create_ticket_ui'
#Now create a new sd ticket
end #transaction end
end #begin end
rescue #here is the problem
end #outer if else end
My problem is when I start typing rescue as above IDE shows Syntax
error.Could you please help me to solve this? What I tried is to get the
error in transaction rescued Already inside the model also I have placed
the code in transaction begin end block and re raised any exception from
Thanks in advance