Displaying 1 result from an estimated 1 matches for "convert_sd_ticket_to_incid".
2008 Sep 25
1
question about exception
Hi
In the controller I have the function
def convert_sd_ticket_to_incident
ServiceDeskTicket.close_ticket(sd_id,created_by_id,modified_by_id)
Incident.convert_sd_ticket_to_incident(sd_id,created_by_id,modified_by_id)
end
Now in the ServiceDeskTicket model
def self.close_ticket(sd_id,created_by,modified_by)
begin
ActiveRecord::Base.transaction...