Random crash when using custom fields
|Assignee:||Jean-Philippe Lang||% Done:|
We (Planio) have seen several random crashes when using custom fields and have narrowed the problem to the usage of
super to access attribute setters and getters in ActiveRecord models. According the the
ActiveRecord docs, the preferred way to set and get a value from within a custom setter and getter is to use
Use #read/#write_attribute instead of #super when overwriting default accessors (#16319).
Patch by Felix Schäfer.