Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve AV::Rendering docs | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+3 |
| | |||||
* | Code formatting & typo fixes | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Remove abstract_controller load hooks | Łukasz Strzałkowski | 2013-08-25 | 1 | -2/+0 |
| | |||||
* | Move protected_instance_variables & view_assigns to AbstractController | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+20 |
| | |||||
* | Create AbstractController::Rendering interface | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+50 |
| | | | | This interface should be use when implementing renderers. | ||||
* | Revert "Rename abstract_controller/rendering. to errors.rb" | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+0 |
| | | | | This reverts commit 6fe91ec5008838338e54ab8570f7c95ee0cdd8e8. | ||||
* | Rename abstract_controller/rendering. to errors.rb | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+0 |
| | | | | Since all rendering stuff was extracted to AV, the only thing that left was single class with error so file name wasn't relevant anymore | ||||
* | Hook up AV::Rendering on AV intialization | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+2 |
| | |||||
* | Move rendering from AP to AV | Łukasz Strzałkowski | 2013-08-25 | 2 | -610/+0 |
| | |||||
* | Move view_paths from AP to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -96/+0 |
| | |||||
* | Execute conditional procs on controller filters only for current action. | Nicholas Jakobsen | 2013-08-10 | 1 | -1/+1 |
| | | | | | | :only and :except options for controller filters are now added before :if and :unless. This prevents running :if and :unless procs when not on the specified. Closes #11786. | ||||
* | move `MissingHelperError` out of the `ClassMethods` module. | Yves Senn | 2013-07-12 | 1 | -15/+18 |
| | |||||
* | Show real LoadError on helpers require | Piotr Niełacny | 2013-07-10 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When helper try to require missing file rails will throw exception about missing helper. # app/helpers/my_helper.rb require 'missing' module MyHelper end And when we try do load helper class ApplicationController helper :my end Rails will throw exception. This is wrong because there is a helper file. Missing helper file helpers/my_helper.rb Now when helper try to require non-existed file rails will throw proper exception. No such file to load -- missing | ||||
* | use extract_options! | Neeraj Singh | 2013-07-02 | 1 | -1/+1 |
| | |||||
* | deprecating string based terminators | Aaron Patterson | 2013-05-14 | 1 | -1/+3 |
| | |||||
* | Avoid leak into controller's action_methods | printercu | 2013-04-18 | 1 | -0/+1 |
| | |||||
* | Prefer find_by over dynamic finders in rdoc | Sam Ruby | 2013-04-02 | 1 | -1/+1 |
| | |||||
* | Fix typos in AP: "overriden" => "overridden" | Carlos Antonio da Silva | 2013-03-30 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-30 | 2 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip] | ||||
| * | Capitalize the first letter of sentence | Tatsuro Baba | 2013-03-18 | 1 | -1/+1 |
| | | |||||
| * | Remove :all from *args options in AbstractController.helper | Bryan Ricker | 2013-03-16 | 1 | -1/+1 |
| | | |||||
* | | Fixed grammar | Anupam Choudhury | 2013-03-28 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #8458 from ↵ | Rafael Mendonça França | 2013-03-27 | 1 | -5/+9 |
|\ \ | |/ |/| | | | | | | | | | | | | | lucisferre/improve-layout-override-fallback-behavior Provides standard layout lookup behavior for method and proc cases Conflicts: actionpack/CHANGELOG.md | ||||
| * | Provides standard layout lookup behavior for method and proc cases | Chris Nicola | 2013-03-27 | 1 | -5/+9 |
| | | | | | | | | | | | | | | When setting the layout either by referencing a method or supplying a Proc there is no way to fall back to the default lookup behavior if desired. This patch allows fallback to the layout lookup behavior when returning nil from the proc or method. | ||||
* | | change useless gsub to tr | robertomiranda | 2013-03-05 | 1 | -1/+1 |
| | | |||||
* | | Improve docs for AbsC::Rendering | José Valim | 2013-02-27 | 1 | -3/+11 |
|/ | |||||
* | Review #translate docs [ci skip] | Carlos Antonio da Silva | 2013-01-20 | 1 | -8/+7 |
| | |||||
* | Add documentation for abstract controller #translate and #localize method. | Jens Bissinger | 2013-01-20 | 1 | -0/+10 |
| | |||||
* | delegate to :class rather than 'self.class' | Gosha Arinich | 2013-01-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-12-21 | 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 |
| | | |||||
* | | Make conditional_layout? private and update documentation | Andrew White | 2012-12-17 | 1 | -15/+23 |
|/ | | | | | | | | | | | | | | | The conditional_layout? method is not for public use and doesn't actually do what the documentation suggested it does. It's actually used to determine whether or not to use the explicit layout definition defined in a controller or use the implicit layout definition. Also documentation was added for the action_has_layout? method which acts as a master switch for disabling the layout for the current action. This method was added so that action caching didn't depend on accessing layout internals but is also used by third-parties, most notably the [Hobo][1] application. [1]: https://github.com/hobo/hobo | ||||
* | 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 | ||||
* | fix prepend_before_filter documentation [ci skip] | Francesco Rodriguez | 2012-12-07 | 1 | -3/+3 |
| | |||||
* | Rename all action callbacks from *_filter to *_action | David Heinemeier Hansson | 2012-12-07 | 1 | -64/+86 |
| | |||||
* | Cleans and removes useless 'Examples' tag [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -2/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-11-17 | 1 | -3/+3 |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_dispatch/routing/redirection.rb | ||||
| * | Hash Syntax to 1.9 converison | AvnerCohen | 2012-11-07 | 1 | -3/+3 |
| | | |||||
* | | Removing duplication in callback normalization. | Steve Klabnik | 2012-11-09 | 1 | -7/+8 |
|/ | | | | These two things were 100% identical. | ||||
* | cleanup, remove trailing whitespace within actionpack | Yves Senn | 2012-10-27 | 1 | -1/+1 |
| | |||||
* | fix uninitialized ivar warnings | Aaron Patterson | 2012-10-25 | 1 | -0/+10 |
| | |||||
* | Merge branch 'master' into asset-path-helper | Joshua Peek | 2012-10-15 | 1 | -2/+4 |
|\ | | | | | | | | | Conflicts: railties/test/application/configuration_test.rb | ||||
| * | remove 'then' from conditional statement | Nihad Abbasov | 2012-10-14 | 1 | -2/+4 |
| | | |||||
* | | :fire: Rails asset id support | Joshua Peek | 2012-10-15 | 1 | -1/+1 |
|/ | |||||
* | Fixed indendation | Ayrton De Craene | 2012-08-29 | 1 | -3/+3 |
| | |||||
* | add lazy look up in abstract controller's translate method | Sergey Pchelincev | 2012-07-18 | 1 | -1/+7 |
| | |||||
* | Prevent conflict between mime types and Object methods | Mircea Pricop | 2012-07-06 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | Assuming the type ":touch", Collector.new was calling send(:touch), which instead of triggering method_missing and generating a new collector method, actually invoked the private method `touch` inherited from Object. By generating the method for each mime type as it is registered, the private methods on Object can never be reached by `send`, because the `Collector` will have them before `send` is called on it. To do this, a callback mechanism was added to Mime::Type This allows someone to add a callback for whenever a new mime type is registered. The callback then gets called with the new mime as a parameter. This is then used in AbstractController::Collector to generate new collector methods after each mime is registered. | ||||
* | remove AV.prepare and move all helper-related logic into the controller. ↵ | Nick Sutterer | 2012-06-29 | 1 | -3/+13 |
| | | | | | | this decouples the view since it no longer knows about routes internals. this is a result of an ongoing discussion at https://github.com/rails/rails/pull/6826. |