Any rails developer here?

Discussion in 'Programming' started by heroic, Jul 25, 2010.

  1. #1
    Hi,

    I am new to using rails and i am kind of stuck with the rescue from Exceptions part. I need to catch an exception when i add a duplicate entry to a table where unique columns are defined. For some reason in my code an exception is not being raised.
     
    heroic, Jul 25, 2010 IP