[ruby-on-rails] Rails: Can't verify CSRF token authenticity when making a POST request