Displaying 1 result from an estimated 1 matches for "xvcmbray2caj".
2013 Feb 20
2
ActiveRecord callback chain exception?
I''m creating an ActiveRecord object A and want to update object B during
the process even if the creation of object A is rolled back due to a
before_create callback returning false.
Is there a way for me to do this?
It seems that once you''re in the ActiveRecord callback chain your DB
updates will be rolled back unless the entire callback chain returns
true.
Another way to look