dewski/json_builder — Issue #12: error while JSONP callbacks
Author: ywencn
Created: 2011-12-05 07:21:42+00:00
State: open

I ran the dummy app in spec/dummy and i add callback=? to the params, then i got

ActionView::Template::Error (387: unexpected token at 's({"id": 1, "name": "Garrett Bjerkhoel", "email": "me@garrettbjerkhoel.com", "url": "/users/1", "help": "yes", "created_at": "2011-11-29T19:50:32Z", "updated_at": "2011-11-29T19:50:32Z", "deep": s({"included_helper": "yes", "node": "yes", "url": "/"})}), s({"id": 2, "name": "Jake Bellacera", "email": "jake@jakebellacera.com", "url": "/users/2", "help": "yes", "created_at": "2011-11-29T19:50:58Z", "updated_at": "2011-11-29T19:50:58Z", "deep": s({"included_helper": "yes", "node": "yes", "url": "/"})})]'):