madeintandem / hstore_accessor

Adds typed hstore-backed field support to ActiveRecord models.
MIT License
242 stars 47 forks source link

don't serialize nil #4

Closed koriroys closed 10 years ago

koriroys commented 11 years ago

I set the two tests that array type should return an empty array and hash type should return an empty hash to "pending", with the thinking that if you explicitly set something to nil, it should come back as nil.

issue #3 @thegrubbsian