I think there's a misunderstand of what the preflight_request test method does.  You really want to create a new route with ''':methods => :any''' in the test.ru file.