pbruna/treequel — comment on commit 1bf15f2081a7e016704d06152aa5eb511cbd12d7
File: lib/treequel/model.rb line 273
By ged:

Ah, nice catch! I think, however, that the easiest way to fix this is to handle the case where the RHS is nil:

if value.nil?
@values.delete( attrtype.name.to_sym )
else
@values[ attrtype.name.to_sym ] = value
end