Changing the format parameter to avoid problems with newer versions of G...

...rails that use the format parameter to send the format of the request (html, json, xml, etc). From now on it will be used the parameter f instead of format