aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/renderers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fail informatively in #respond_with when no appropriate #api_behavior ↵Ben Woosley2013-08-171-0/+7
| | | | | | | | | | | | renderer is available. Currently if a user calls #respond_with(csvable), but has not csv renderer available, Responder will just run through the default render behavior twice, raising ActionView::MissingTemplate both times. This changes ActionController::Metal::Responder#api_behavior to check in advance whether there is a renderer available, and raise ActionController::MissingRenderer if not.
* Multiple changes to 1,9 hash syntaxAvnerCohen2012-10-271-3/+3
|
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
|
* Removing ==Examples and last blank lines of docs from actionpackFrancesco Rodriguez2012-05-151-1/+0
|
* Avoid calling content type multiple timesJosé Valim2012-04-291-4/+6
|
* Merge remote-tracking branch 'upstream/master'Olli Jokinen2011-12-011-11/+9
|\
| * Refactor to make renderers a SetJose and Yehuda2011-10-151-11/+9
| |
* | Change mimetype to Mime::JS if JSONP is usedOlli Jokinen2011-07-281-1/+4
|/
* Slightly reorganize rendering stack.José Valim2011-04-181-3/+3
|
* removes support for render :updateXavier Noria2011-04-131-8/+1
|
* add some docs for ActionController::RenderersGabriel Horner2011-02-101-0/+37
|
* If a user wants json output then try best to render json output. In such ↵Neeraj Singh2010-11-241-1/+1
| | | | | | | | cases prefer kind_of(String) over respond_to?(to_str) [#5841 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove unused constantSantiago Pastorino2010-11-221-2/+0
|
* Remove unneeded metaprogramming and method generation in favor of direct ↵Santiago Pastorino2010-11-221-24/+10
| | | | definition
* renderer calls object.to_json when rendering :json => object [#5655 ↵Diego Carrion2010-09-271-1/+1
| | | | | | 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-2/+2
| | | | tests for it.
* It should be possible to render :json with optionswycats2010-04-201-1/+1
|
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
|
* All tests pass without memoizing view_contextCarlhuda2010-03-181-1/+1
|
* Finish cleaning up rendering stack from views and move assigns evaluation to ↵José Valim2010-03-121-1/+2
| | | | controller (so plugins and/or controllers can overwrite just one method).
* Remove the renderer option from the hash.José Valim2010-02-241-1/+1
|
* Convert to class_attributeJeremy Kemper2010-02-011-3/+7
|
* Rename RenderOptions to RenderersDavid Heinemeier Hansson2009-12-201-0/+91