The neutrino method is good if you want to save the changed value back to the database every time you get an attribute. This is not recommended, as it will perform an additional database query each time you try to read the attribute, even if it has not changed.
(, ), :
def attr
return read_attribute(:attr).capitalize
end