That would be nice to have something like status_original, when you have an enum on a field called “status” to have an ability to get original data, 'cause now when I call .status I have enum name. So, there is an example:
class Some < ActiveRecord
enum :status, { cool: "There is really cold" }
end
record = Some.create
# BAD behaviour
record.status #=> "cool"
# GOOD behaviour
record.status #=> "There is really cold"
# OR
record.original_status #=> "There is really cold"