aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Compile ActionController::Base.config's methods to avoid method_missing ↵thedarkone2010-09-271-2/+1
| | | | overhead.
* Tiny fixes to rdocAlexey Mahotkin2010-09-161-1/+1
|
* Removing RJS hackThiago Pradi2010-09-021-5/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove NonConcattingString.José Valim2010-08-291-3/+0
|
* Unify routes naming by renaming router to routesPiotr Sarnacki2010-07-021-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-0/+1
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* In ActionView::TestCase::Behavior, assign variables right beforeDavid Chelimsky2010-06-231-1/+5
| | | | | | | | | | | rendering the view. - Previously, _assigns were locked down the first time _view was referenced. [#4931 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Adds title and description where needed.Rizwan Reza2010-06-161-4/+6
|
* removes spurious .rb in requireXavier Noria2010-06-121-1/+1
|
* adds missing require for having ActiveSupport::InheritableOptions definedXavier Noria2010-06-111-0/+1
|
* Remove punctuate_body! No code in lib was using it and it had no documentation.José Valim2010-06-101-6/+0
|
* class_attribute is not a direct replacement of class_inheritable_*.José Valim2010-06-101-10/+7
| | | | | | If you are setting a hash or an array in class_attribute or you need to freeze it, to ensure people won't modify it in place or you need to dup it on inheritance.
* Make AP test suite green once again and speed up performance in layouts ↵José Valim2010-06-071-1/+1
| | | | lookup for some cases.
* Optimize LookupContextwycats2010-06-041-0/+1
|
* Base options cant live in lazy loaded helpers as they then wont be available ↵David Heinemeier Hansson2010-05-311-0/+4
| | | | to set for config
* Avoid instance variable @output_buffer not initializedSantiago Pastorino2010-05-191-1/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Only run load hooks once a file has been fully loaded.Nathan Weizenbaum2010-04-271-2/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* revises some <%= in rdocXavier Noria2010-04-051-1/+2
|
* Refactored url_for in AV to have its own instances of the helpers instead of ↵wycats2010-04-031-1/+6
| | | | proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-291-1/+1
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-2/+2
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Eliminate an error from an implicit dependency on AV::Basewycats2010-03-191-21/+0
|
* Each controller class has it's own view context subclass. This removes the ↵Carlhuda2010-03-181-32/+0
| | | | need for ActionView::Base.for_controller
* All tests pass without memoizing view_contextCarlhuda2010-03-181-2/+0
|