This stuff is awesome. I've realised that we need to do our parameter filtering in the controller however.

rather than params[:motion] this should be permitted_params.motion