it modifies the resources, but that should be fine, since its the ruby array of params.