solnic / virtus

[DISCONTINUED ] Attributes on Steroids for Plain Old Ruby Objects
MIT License
3.77k stars 229 forks source link

add readme for overriding setters #279

Closed hendricius closed 10 years ago

hendricius commented 10 years ago

Just a small change in the Readme I couldn't figure out initially and wasted some minutes. Hope this helps others.

Previously opened a ticket: https://github.com/solnic/virtus/issues/278

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 54db3ce41d0017f84e2ed6cc426a2d2ff466b5a1 on hendricius:master into 92b533526fa92ddd5b064dd0c3e5f3206f578a16 on solnic:master.

solnic commented 10 years ago

Thanks. I'm not sure why this was a problem for you though. Did anything indicate that using self[name]= would be a solution?

hendricius commented 10 years ago

Nope, I was expecting this behaviour coming form Rails. But that was kinda wrong.

cheers

solnic commented 10 years ago

@hendricius ah ok thanks. It's not the first time it happened :)