Configuring CORS - D4uS1/ez-on-rails GitHub Wiki
Configuring CORS
If you want to access the api actions using external clients you need to configure CORS entries. Ez-on-rails uses rack-cors for this purpose.
The ezapp generator created a file config/initializer/cors.rb with outcommented suggestions about cors entries. You can just use them by replacing the entries with your domains.