cbeer/rubydora — Issue #10: Rubydora marks an attribute as changed when the value is set to the same as is saved.
Author: jcoyne
Created: 2012-01-20 17:37:26+00:00
State: open

(rdb:1) p o.datastreams['stuff'].changes
{}
(rdb:1) p o.datastreams['properties'].changes
{}
(rdb:1) p o.datastreams['properties'].controlGroup
"X"
(rdb:1) p o.datastreams['properties'].controlGroup = 'X'
"X"
(rdb:1) p o.datastreams['properties'].changes
{"controlGroup"=>["X", "X"]}

This is in rubydora 0.4.0