When using autocomplete in the console, I often see "_was
" postpended to my attributes. But I can't find any documentation or best practices for usage. What does it do and how should it be used?
Example: user.fname
has the method user.fname_was
Using source_location, I've tracked it down to: active_model/attribute_methods.rb", line 296 but there isn't anything specific.