On Monday, July 18, 2016 at 1:54:58 PM UTC-7, Gina Helms wrote:
>
> I have a trigger that works fine in the database, but when the trigger is 
> fired via the application, I get an error: Sequel::NoExistingObject Attempt 
> to update object did not result in a single row modification. I have tried 
> adding SET NOCOUNT ON. The update statement that gets caught includes 
> update top (1), so it's not updating multiple rows even if the where clause 
> was bad. 
>
> Any thoughts?


You can disable the check:

ModelClass.require_modification = false

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to