remiprev/her — pull request #21 by thomsbg (2012-08-09 14:38:17+00:00)
Title: Convert model objects into request parameters with a overrideable helper method

In order to implement some custom behavior for interacting with my API, I needed a hook to modify the request parameters sent when creating / updating my model.

In my case, I wanted to convert instances of a 'sub-model' to Rails' nested attribute parameter convention by changing `params[:child_models]` into `params[:child_models_attributes]`