but it doesn't work. Anyone can help me out with that?
The keys of your hash are strings, not symbols. (be careful with an
instance variable called @attributes if this is in an instance method
- you would overwrite activerecord's instance variable of the same
name)
I actually don't get the OP's use of the hash method in this context:
It seems that it's just computing the hash, and the block passed is
just being silently ignored...
Heniz, using your code what's the output of @attributes.inspect and
@attributes.class.name?