aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
Commit message (Collapse)AuthorAgeFilesLines
* Implicit actions named not_implemented can be renderedSantiago Pastorino2011-04-021-0/+2
|
* Make action_method? public and change implicit rendering to override it instead.José Valim2011-03-301-15/+18
|
* Pass the proper method_name instead of hardcoding to action_name.José Valim2011-03-291-1/+1
| | | | | | Conflicts: actionpack/lib/action_controller/metal/implicit_render.rb
* Fix filter :only and :except with implicit actionsAndrew White2011-03-231-1/+1
| | | | | | | The method_name argument is "default_render" for implicit actions so use the action_name attribute to determine which callbacks to run. [#5673 state:resolved]
* Change ActionView::ViewPathSet to ActionView::PathSetManuel Meurer2011-03-131-4/+4
|
* 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]
* process_action accepts multiple args, even with Callbacks.Nick Sutterer2010-12-291-1/+1
|
* 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-262-6/+14
|
* Rewording existing commentNeeraj Singh2010-11-301-4/+3
|
* Rewording existing commentNeeraj Singh2010-11-291-6/+3
|
* 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
|
* Remove inline comment.José Valim2010-11-111-17/+17
|
* Make after_filter halt when before_filter renders or redirects [#5648 ↵Marcelo Giorgi2010-11-111-0/+2
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* 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.
* Fix a few bugs when trying to use Head standalonewycats2010-10-101-0/+1
|
* 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
|
* oops, missed a uniqAaron Patterson2010-09-291-1/+1
|
* dry up action_methodsAaron Patterson2010-09-291-4/+4
|
* no need to call e.classAaron Patterson2010-09-291-1/+1
|
* Fix a small typo (ht: masterkain)José Valim2010-09-291-1/+1
|
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-293-5/+2
| | | | everyone calls super as expected.
* Define @_layout if it is not defined.Emilio Tagua2010-09-281-0/+1
|
* Avoid more uninitialized variable warnings.Emilio Tagua2010-09-281-1/+1
|
* Refactor ActionMailer to not use hide_actionsPiotr Sarnacki2010-09-031-0/+28
|
* Move ActionController::Railties::RoutesHelpers and ↵Piotr Sarnacki2010-09-031-0/+18
| | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers
* 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)
* Ensure that inherited helper_methods are available after calling ↵Jesse Storimer2010-08-281-1/+11
| | | | | | clear_helpers [#5348 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add clear_helpers as a way to clean up all helpers added to this controller, ↵José Valim2010-08-261-0/+7
| | | | maintaing just the helper with the same name as the controller.
* fixed capitalizationJoost Baaij2010-08-251-8/+8
|
* change rdoc to conform to api guidelinesJoost Baaij2010-08-255-57/+60
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* Reload action_methods in AbstractController after defining new method.Piotr Sarnacki2010-08-041-0/+12
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Also move asset_path to AbstractController.José Valim2010-07-241-1/+1
|
* Move config_accessor :asset_host from ActionController::Base to ↵Jeroen van Dijk and Josh Kalderimis2010-07-241-1/+1
| | | | | | | | AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option
* Unify routes naming by renaming router to routesPiotr Sarnacki2010-07-021-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* ActiveRecord and ActionPack now use the new descendants implementation.José Valim2010-06-191-11/+2
|
* Missing method error doesn't specify which controller it is missing from ↵Alan Harper2010-06-101-1/+1
| | | | | | | | | [#4436 state:resolved] The error page shown when the method you are requesting on a controller doesn't specify which controller the method is missing from Signed-off-by: José Valim <jose.valim@gmail.com>
* class_attribute is not a direct replacement of class_inheritable_*.José Valim2010-06-101-1/+2
| | | | | | 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.
* Missed the extractionDavid Heinemeier Hansson2010-06-031-0/+9
|
* Changes made while working on upgrading cells to Rails 3wycats2010-06-032-0/+2
|
* Minor typo fix in callbacks.rb of abstract_controllerRohit Arondekar2010-06-031-1/+1
|
* refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-201-3/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>