Read more

JSONP for Rails

Dominik Schöler
January 25, 2017Software engineer at makandra GmbH

The rack-contrib Show archive.org snapshot gem brings a JSONP middleware that just works™. Whenever a JSON request has a callback parameter, it will wrap the application's JSON response appropriately.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

The project is a bit dated, but the JSONP middleware is ok.

Posted by Dominik Schöler to makandra dev (2017-01-25 09:05)