aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* s/ERb/ERB/Akira Matsuda2013-01-021-1/+1
|
* Hash Syntax to 1.9 related changesAvnerCohen2012-10-291-1/+1
|
* Add ActionView::Base.default_formatsPiotr Sarnacki2012-08-281-0/+3
| | | | | | | | default_formats array is used by LookupContext in order to allow rendering templates when :formats option is not passed. Previously it was always set to Mime::SET, which created dependency on Action Pack. In order to remove this dependency, Mime::SET is used only if ActionController is loaded.
* Remove comment about getting rid of old AV::Base.new behaviorPiotr Sarnacki2012-08-281-2/+0
| | | | | | | | | I've talked to José Valim, who added this comment, and there is no need to remove old API. It's good to have a simple way to instantiate ActionView::Base, by just passing view paths as a first argument, instead of constructing LookupContext and then the Renderer. [ci skip]
* load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
|
* removing the AV::Base.helpers class attribute as it is not needed.Nick Sutterer2012-06-291-1/+0
|
* remove AV.prepare and move all helper-related logic into the controller. ↵Nick Sutterer2012-06-291-16/+0
| | | | | | this decouples the view since it no longer knows about routes internals. this is a result of an ongoing discussion at https://github.com/rails/rails/pull/6826.
* Move require to where it's neededSantiago Pastorino2012-05-111-0/+1
|
* Remove unnecessary in HTML 5 type attribute with default valueAndrey A.I. Sitnik2012-04-051-1/+1
|
* minor elsif/else typo fixTieg Zaharia2012-04-031-1/+1
|
* Make controller namespace partial prefix optionalGrant Hutchins2012-03-281-0/+6
| | | | | | | config.action_view.prefix_partial_path_with_controller_namespace This allows you to choose to render @post using /posts/_post.erb instead of /admin/posts/_post.erb inside Admin::PostsController.
* uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-241-2/+0
| | | | the update action of resources
* Add config.default_method_for_update to support PATCHDavid Lee2012-02-221-0/+2
| | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
* Remove delegation to ActionController::BaseRafael Mendonça França2012-01-181-1/+0
|
* ActionView now has its own loggerRafael Mendonça França2012-01-181-0/+1
|
* Remove deprecated and not used methodCarlos Antonio da Silva2012-01-121-6/+0
|
* Merge pull request #4117 from lest/remove-deprecatedJosé Valim2012-01-051-1/+0
|\ | | | | remove status_code from AD::ShowExceptions and useless requires
| * remove status_code from AD::ShowExceptions and useless requiresSergey Nartimov2011-12-211-1/+0
| |
* | Use Kernel#Array instead of Array.wrap in view_pathsRafael Mendonça França2012-01-051-2/+1
|/
* Use do end for multiline block.Uģis Ozols2011-12-051-2/+2
|
* .rhtml and .rxml was removed in Rails 3.Uģis Ozols2011-12-051-2/+2
|
* Improve examples: use each instead of for...inGabe Berke-Williams2011-08-311-1/+1
|
* deprecating process_view_pathsAaron Patterson2011-08-091-0/+2
|
* config should always be an AS::InheritableOptions object. Closes #1992Santiago Pastorino2011-07-081-1/+1
|
* Follow code conventions on docsSebastian Martinez2011-05-101-5/+5
|
* More AV::Base cleanup.José Valim2011-05-041-28/+29
|
* no @controller dependency in Renderers.Nick Sutterer2011-05-041-2/+3
|
* Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats).José Valim2011-05-011-6/+3
|
* Streaming docs.José Valim2011-05-011-1/+0
|
* Remove view dependency from AV::Renderer.José Valim2011-05-011-8/+15
|
* More cleanup and moving responsibilities around.José Valim2011-05-011-10/+9
|
* Remove more dependencies from the view.José Valim2011-05-011-5/+1
|
* Remove dependency from _template.José Valim2011-05-011-1/+2
|
* Start abstracting the renderer.José Valim2011-05-011-1/+4
|
* Output a redirect to the 500 page if something happens when streaming.José Valim2011-04-191-0/+6
| | | | | | Currently, we output: "><script type="text/javascript">window.location = "/500.html"</script></html>
* The magic medicine worked.José Valim2011-04-161-1/+1
|
* Yo dawg, I heard you like streaming. So I put a fiber, inside a block, ↵José Valim2011-04-161-46/+1
| | | | inside a body, so you can stream.
* Initial work on fibered layout.José Valim2011-04-161-6/+47
|
* removes RJS documentation from AV::BaseXavier Noria2011-04-131-25/+1
|
* removes debug_rjs from ActionView::BaseXavier Noria2011-04-131-5/+0
|
* s/ERb/ERB/gAkira Matsuda2011-04-031-5/+5
| | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-291-1/+1
|\
| * for ... in => each ... doAkira Matsuda2010-12-251-1/+1
| |
* | all tests passartemave2010-12-261-2/+2
|/
* Bring back config.action_view.cache_template_loading [#5847 state:resolved]Piotr Sarnacki2010-12-161-0/+8
|
* make it clear that recompilation happens only inNeeraj Singh2010-11-271-2/+2
| | | | development mode
* render :once should consider the current controller prefix.José Valim2010-10-141-0/+4
|
* Clean up unused methods from AV::Base and pass in the template object on ↵José Valim2010-10-101-16/+13
| | | | rendering.
* Clean up the house before moving in the new furniture.José Valim2010-10-101-3/+6
| | | | This commit moves all the template rendering logic that was hanging around AV::Base to renderer objects.