Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop using deprecated `render :text` in test | Prem Sichanugrist | 2015-07-17 | 1 | -1/+1 |
| | | | | | | | | | This will silence deprecation warnings. Most of the test can be changed from `render :text` to render `:plain` or `render :body` right away. However, there are some tests that needed to be fixed by hand as they actually assert the default Content-Type returned from `render :body`. | ||||
* | Migrating xhr methods to keyword arguments syntax | Kir Shatrov | 2015-02-01 | 1 | -2/+2 |
| | | | | | | | | | | | | in `ActionController::TestCase` and `ActionDispatch::Integration` Old syntax: `xhr :get, :create, params: { id: 1 }` New syntax example: `get :create, params: { id: 1 }, xhr: true` | ||||
* | Address CVE-2014-4671 (JSONP Flash exploit) | Greg Campbell | 2014-07-09 | 1 | -1/+1 |
| | | | | | | Adds a comment before JSONP callbacks. See http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/ for more details on the exploit in question. | ||||
* | CSRF protection from cross-origin <script> tags | Jeremy Kemper | 2013-12-17 | 1 | -2/+2 |
| | | | | Thanks to @homakov for sounding the alarm about JSONP-style data leaking | ||||
* | Add changelog entry for jsonp mimetype change, fix failing test | Carlos Antonio da Silva | 2012-04-29 | 1 | -1/+1 |
| | | | | Fix failing test: Mime::JS generates "text/javascript" | ||||
* | Merge pull request #2321 from omjokine/master | José Valim | 2012-04-29 | 1 | -1/+1 |
|\ | | | | | JSONP should use mimetype application/javascript | ||||
| * | fixed test case test_render_json_with_callback to use content_type ↵ | Olli Jokinen | 2011-07-28 | 1 | -1/+1 |
| | | | | | | | | application/javascript | ||||
* | | Moving to logger methods to ActiveSupport Logger | Karunakar (Ruby) | 2011-12-24 | 1 | -1/+2 |
| | | |||||
* | | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 1 | -48/+0 |
| | | |||||
* | | Rely solely on active_model_serializer and remove the fancy constant lookup. | José Valim | 2011-11-23 | 1 | -1/+15 |
| | | |||||
* | | Initial commit of serializer support | Jose and Yehuda | 2011-10-15 | 1 | -0/+34 |
|/ | |||||
* | render_to_string must ensure that response_body | Neeraj Singh | 2011-01-25 | 1 | -0/+10 |
| | | | | | | | | is nil [ #5875 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | renderer calls object.to_json when rendering :json => object [#5655 ↵ | Diego Carrion | 2010-09-27 | 1 | -0/+13 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Always downstream given options in :json, :xml and :js renderers and add ↵ | José Valim | 2010-04-22 | 1 | -0/+18 |
| | | | | tests for it. | ||||
* | Cleanup render callstack and make render(:json => {}, :status => 401) work ↵ | José Valim | 2010-02-24 | 1 | -0/+10 |
| | | | | again. | ||||
* | Namespace TestControllers inside their test case class | Joshua Peek | 2009-09-19 | 1 | -27/+31 |
| | |||||
* | Ported over render :file tests. | Yehuda Katz + Carl Lerche | 2009-05-13 | 1 | -0/+80 |