Change the reference to rails in the 'sync' docs to reflect Rails 4

Hello,

This is just a small update to the docs to make the example Rails update handler in the sync docs reflect the current style of rails controllers.  In essence params can no longer be passed to update_attributes directly, it causes an error.