aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/rendering.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing requires in Action MailerPrem Sichanugrist2011-04-131-0/+1
| | | | | | This made the isolated test failed on CI server. Signed-off-by: Xavier Noria <fxn@hashref.com>
* render_to_string must ensure that response_bodyNeeraj Singh2011-01-251-1/+1
| | | | | | | | is nil [ #5875 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵José Valim2011-01-191-4/+5
| | | | state:resolved]
* Speed up template inheritance and remove template inheritance optionwycats2010-12-261-16/+17
|
* #948 make template inheritance optionalartemave2010-12-261-4/+12
|
* #948 template_inheritanceartemave2010-12-261-4/+12
|
* Avoid range object creationSantiago Pastorino2010-11-201-1/+1
|
* Fix indentationSantiago Pastorino2010-11-191-1/+1
|
* Don't merge just directly add to the action to the :partial keySantiago Pastorino2010-11-191-1/+1
|
* Useless assignationSantiago Pastorino2010-11-191-1/+1
|
* Allow generated url helpers to be overriden [#5243 state:resolved]Andrew White2010-10-261-5/+5
|
* Add support to render :once.José Valim2010-10-101-1/+1
| | | | This will be used internally by sprockets to ensure requires are executed just once.
* render :template => 'foo/bar.json' now works as it should.José Valim2010-10-071-1/+0
|
* Make collection rendering faster.José Valim2010-10-071-1/+1
|
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-291-1/+1
| | | | everyone calls super as expected.
* Avoid more uninitialized variable warnings.Emilio Tagua2010-09-281-1/+1
|
* Add mounted_helpers to routesPiotr Sarnacki2010-09-031-0/+1
| | | | | | | | | | | | | | | | mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post)
* Unify routes naming by renaming router to routesPiotr Sarnacki2010-07-021-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Changes made while working on upgrading cells to Rails 3wycats2010-06-021-0/+1
|
* Fix ActionMailer test broken in 99d54599215c2a8cea7e57f609e8e578043d71b2José Valim2010-04-121-2/+1
|
* render_to_string should have the identical signature as renderwycats2010-04-041-9/+8
|
* Well that was a bustwycats2010-03-181-1/+5
|
* We seem to have removed the URL helpers from ActionView subclasses...wycats2010-03-181-0/+6
|
* Each controller class has it's own view context subclass. This removes the ↵Carlhuda2010-03-181-4/+24
| | | | need for ActionView::Base.for_controller
* Return a valid Rack response from bare ActionController::MetalCarlhuda2010-03-181-13/+1
|
* All tests pass without memoizing view_contextCarlhuda2010-03-181-3/+13
|
* Ensure json is loaded before using responders.José Valim2010-03-171-1/+0
|
* Remove unneeded AV::Base and AV::Template monkey-patchesCarlhuda2010-03-171-0/+1
|
* Finish cleaning up rendering stack from views and move assigns evaluation to ↵José Valim2010-03-121-8/+8
| | | | controller (so plugins and/or controllers can overwrite just one method).
* Optimize and clean up how details key get expired.José Valim2010-03-101-0/+28
|
* Clean up the API required from ActionView::Template.José Valim2010-03-091-1/+1
|
* Clean LookupContext API.José Valim2010-03-081-1/+1
|
* Move details to lookup_context and make resolvers use the cache key.José Valim2010-03-081-10/+0
|
* Move ViewPaths module to its own file.José Valim2010-03-081-70/+1
|
* Speed up performance in resolvers by adding fallbacks just when required.José Valim2010-03-081-10/+4
|
* Rename Template::Lookup to LookupContext.José Valim2010-03-081-24/+11
|
* Finally moved the find template logic to the views.José Valim2010-03-081-134/+98
|
* More refactoring. Split _normalize_args and _normalize_options concerns.José Valim2010-03-081-4/+8
|
* Move layout lookup to views.José Valim2010-03-081-3/+5
|
* Added template lookup responsible to hold all information used in template ↵José Valim2010-03-071-20/+22
| | | | lookup.
* Merge _details_defaults and details_for_renderCarlhuda2010-03-011-2/+2
|
* Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 ↵José Valim2010-02-261-3/+1
| | | | status:resolved]
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-241-3/+7
|
* Update AP to start locking down a public API. This work is parallel to some ↵Yehuda Katz2010-02-161-1/+1
| | | | docs I'm working on.
* Convert to class_attributeJeremy Kemper2010-02-011-7/+11
|
* Added :format and :locale options to render.José Valim2010-01-291-1/+10
|
* Fix rendering of layouts.José Valim2010-01-291-1/+2
|
* Move double render check out of AbstractController.José Valim and Mikel Lindsaar2010-01-231-4/+0
|
* Ensure strings given to render with slash are rendered relative to the ↵José Valim2010-01-221-12/+25
| | | | configured _prefix.
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-1/+1
|