sometimes an example is easier:
```ruby
ignored_parameters = [:puppetclass_ids, :config_group_ids]
@obj.attributes = params['host'].except!(ignored_parameters)
...
@obj.attributes = params['hostgroup'].except!(ignored_parameters)
```