Fix issue with with CSRF in Rails