I guess it doesn\t matter - to_hash already produces a new {} each time, just something that caught my eye - 

```ruby
to_hash.select{|attribute,value| self.respond_to?("#{attribute}=")}
```

might be a teeny bit easier (no double negative)