aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Clean up the config object in ActionPack. Create config_accessor which just ↵José Valim2010-04-224-36/+5
| | | | delegates to the config object, reducing the number of deprecations and add specific tests.
* Revert "Avoid deprecation warnings and potential TypeErrors [#4404 ↵Carl Lerche2010-04-162-3/+3
| | | | | | | state:resolved]" Revert "protected instance variables added to the deprecated config accessor This reverts commit 4bce5ba600596b5e7afec9b097866ac259c5940a and 0ee2d3c89a893f0c53924cbb756c7e9be616eb8f.
* Avoid deprecation warnings and potential TypeErrors [#4404 state:resolved]Nicolas Sanguinetti2010-04-152-3/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 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-182-0/+7
|
* Each controller class has it's own view context subclass. This removes the ↵Carlhuda2010-03-182-13/+25
| | | | need for ActionView::Base.for_controller
* Return a valid Rack response from bare ActionController::MetalCarlhuda2010-03-181-13/+1
|
* Make render :partial, :layout consistent between AC and AVCarlhuda2010-03-181-6/+0
|
* All tests pass without memoizing view_contextCarlhuda2010-03-181-3/+13
|