You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a jruby or rails bug. After updating my gems to Rails 4.0.4 and re-running my integration tests, I intermittently see errors like the ones below. It seems to be related to my before_validation callbacks in my ActiveRecord models.
Downgrading to Rails 4.0.3 fixes the error.
Undefined method _run__1942824238__validation__callbacks for class 'User' (NameError)
undefined method `_validation_callbacks' for #<Class:0x56275160> (NoMethodError)
@atambo is correct, this is really a Rails issue - whether they guarantee thread-safety with validations.
likely not the AR model is not designed for sharing models between threads, you've just been 'lucky'.
Not sure if this is a jruby or rails bug. After updating my gems to Rails 4.0.4 and re-running my integration tests, I intermittently see errors like the ones below. It seems to be related to my before_validation callbacks in my ActiveRecord models.
Downgrading to Rails 4.0.3 fixes the error.
The text was updated successfully, but these errors were encountered: