Attr_accessor with history