aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_json_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add changelog entry for jsonp mimetype change, fix failing testCarlos Antonio da Silva2012-04-291-1/+1
| | | | Fix failing test: Mime::JS generates "text/javascript"
* Merge pull request #2321 from omjokine/masterJosé Valim2012-04-291-1/+1
|\ | | | | JSONP should use mimetype application/javascript
| * fixed test case test_render_json_with_callback to use content_type ↵Olli Jokinen2011-07-281-1/+1
| | | | | | | | application/javascript
* | Moving to logger methods to ActiveSupport LoggerKarunakar (Ruby)2011-12-241-1/+2
| |
* | Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-48/+0
| |
* | Rely solely on active_model_serializer and remove the fancy constant lookup.José Valim2011-11-231-1/+15
| |
* | Initial commit of serializer supportJose and Yehuda2011-10-151-0/+34
|/
* render_to_string must ensure that response_bodyNeeraj Singh2011-01-251-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 Carrion2010-09-271-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é Valim2010-04-221-0/+18
| | | | tests for it.
* Cleanup render callstack and make render(:json => {}, :status => 401) work ↵José Valim2010-02-241-0/+10
| | | | again.
* Namespace TestControllers inside their test case classJoshua Peek2009-09-191-27/+31
|
* Ported over render :file tests.Yehuda Katz + Carl Lerche2009-05-131-0/+80