Rails4 - request method specified // rescue unknown action fix

Hello,

I made some minor updates for Rails4 compat, but I didn't test it for Rails3 yet. Maybe you could pull it into its own branch?

Regards