Actions
Patch #16319
closedRandom crash when using custom fields
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Description
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 read_attribute
and write_attribute
.
Files
Actions