It is a sample application to article http://blog.jetthoughts.com/2010/12/22/allow-multiple-access-control-requests-for-rails/