I have a unique index on Channelnote.note.
In my controller, I go to save the Channelnote.
But, if the note portion already exists, it naturally throws an error.
How can I alleviate this, so that it only saves if the note is NOT
already in the table? Thanks, RVince
cnote = Channelnote.new
cnote.note = params[‘channelnotes’]
cnote.channel_id = @channel.id
cnote.associate_id = current_associate.id