Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prefer find_by over dynamic finders in rdoc | Sam Ruby | 2013-04-02 | 1 | -1/+1 |
| | |||||
* | Remove :all from *args options in AbstractController.helper | Bryan Ricker | 2013-03-16 | 1 | -1/+1 |
| | |||||
* | Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" | Guillermo Iguaran | 2013-01-18 | 1 | -1/+1 |
| | | | | | This reverts commit 637a7d9d357a0f3f725b0548282ca8c5e7d4af4a, reversing changes made to 5937bd02dee112646469848d7fe8a8bfcef5b4c1. | ||||
* | User Rails 4 find_by | robertomiranda | 2013-01-18 | 1 | -1/+1 |
| | |||||
* | Revert "Fix incorrect adjustment 4c41e87e3ae548c44810b66437b2f0f6e73b2106" | Vijay Dev | 2012-12-21 | 1 | -1/+1 |
| | | | | | | | | This reverts commit e1f8ec59f2cc83f052b15233147aa2d6d8114a4d. Reason: seems bad styling [ci skip] | ||||
* | Fix incorrect adjustment 4c41e87e3ae548c44810b66437b2f0f6e73b2106 | kei | 2012-12-20 | 1 | -1/+1 |
| | |||||
* | Fix documentation style | kei | 2012-12-20 | 1 | -1/+1 |
| | |||||
* | Refactor helpers code in Action Pack a bit | Carlos Antonio da Silva | 2012-12-13 | 1 | -1/+1 |
| | | | | | | | | * Avoid calling class_eval when not needed * Remove helpers_path attr accessor, it's defined as a class attribute a few lines later * Avoid creating extra arrays when finding helpers, use flat_map and sort! * Remove not required refer variable when redirecting :back | ||||
* | Cleans and removes useless 'Examples' tag [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -2/+1 |
| | |||||
* | Fixed indendation | Ayrton De Craene | 2012-08-29 | 1 | -3/+3 |
| | |||||
* | i suck, fixing error message | Aaron Patterson | 2012-06-14 | 1 | -1/+1 |
| | |||||
* | Wrap up missing helper exceptions | Aaron Patterson | 2012-06-14 | 1 | -2/+10 |
| | | | | | | | The `path` method on missing helper errors is inconsistent with the implementation on LoadError in Ruby 2.0. Wrap up the missing helper exceptions so that the inconsistent behavior is mirrored in Ruby 2.0 (until we can figure out *why* it's inconsistent). | ||||
* | using hax to fix tests on Ruby 2.0 | Aaron Patterson | 2012-06-13 | 1 | -1/+6 |
| | |||||
* | Add annotaion for class_eval in AbstractController#helper_method [ci skip] | Edward Tsech | 2012-05-08 | 1 | -3/+3 |
| | |||||
* | Remove extra white spaces on ActionPack docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Move prefixes to view paths as they are now a lookup context dependency. | José Valim | 2011-05-04 | 1 | -2/+0 |
| | |||||
* | Make ActionController::Base.modules_for_helpers and ↵ | Piotr Sarnacki | 2011-04-25 | 1 | -11/+11 |
| | | | | ActionController::Base.all_helpers_from_path public methods | ||||
* | Ensure that inherited helper_methods are available after calling ↵ | Jesse Storimer | 2010-08-28 | 1 | -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é Valim | 2010-08-26 | 1 | -0/+7 |
| | | | | maintaing just the helper with the same name as the controller. | ||||
* | change rdoc to conform to api guidelines | Joost Baaij | 2010-08-25 | 1 | -6/+6 |
| | |||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 1 | -1/+0 |
| | | | | delegates to the config object, reducing the number of deprecations and add specific tests. | ||||
* | Each controller class has it's own view context subclass. This removes the ↵ | Carlhuda | 2010-03-18 | 1 | -9/+1 |
| | | | | need for ActionView::Base.for_controller | ||||
* | Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 ↵ | José Valim | 2010-02-26 | 1 | -3/+0 |
| | | | | status:resolved] | ||||
* | Update AP to start locking down a public API. This work is parallel to some ↵ | Yehuda Katz | 2010-02-16 | 1 | -2/+2 |
| | | | | docs I'm working on. | ||||
* | name.blank? -> anonymous? | Xavier Noria | 2010-02-14 | 1 | -1/+2 |
| | | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local> | ||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -4/+6 |
| | |||||
* | Fix some backward incompatible behavior on AM. | José Valim | 2010-01-30 | 1 | -1/+11 |
| | |||||
* | Rename the RenderingController module to just plain Rendering | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Remove ActionMailer helpers and rely on AbstractController one. | José Valim | 2009-11-01 | 1 | -11/+70 |
| | |||||
* | Experimental: Improve performance of ActionView by preventing method cache ↵ | Yehuda Katz | 2009-08-09 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | flushing due to runtime Kernel#extend: * The helper module adds a new _helper_serial property onto AbstractController subclasses * When #helper is used to add helpers to a class, the serial number is updated * An ActionView subclass is created and cached based on this serial number. * That subclass includes the helper module from the controller * Subsequent requests using the same controller with the same serial will result in reusing that subclass, rather than being forced to take an action (like include or extend) that will result in a global method cache flush on MRI and a flush of the entire AV class' cache on JRuby. * For now, this optimization is not applied to the RJS helpers, which results in a global method cache flush in MRI and a flush of the JavaScriptGenerator class in JRuby only when using RJS. * Since the effects are limited to using RJS, and would only affect JavaScriptGenerator in JRuby (as opposed to the entire view object), it seems worthwhile to apply this now. * This resulted in a significant performance improvement. I will have benchmarks in the next day or two that show the performance impact of the last several commits. * There is a small chance this could break existing code (although I'm not sure how). If that happens, please report it immediately. | ||||
* | Renamed presenter to renderer, added some documentation and defined its API. | José Valim | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | Move AbstractController to a top-level component | Yehuda Katz | 2009-08-06 | 1 | -0/+82 |