aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make Mime::TEXT default format in AbstractControllerŁukasz Strzałkowski2013-09-031-0/+1
| |
* | Move skeleton methods from AV to AbsCŁukasz Strzałkowski2013-09-031-7/+19
| | | | | | | | | | | | | | | | | | | | The methods: * #render_to_body * #render_to_string * #_normalize_render Haven't had anything specyfic to ActionView. This was common code which should belong to AbstractController
* | Return to using protected_instance_variables in AVŁukasz Strzałkowski2013-09-021-5/+6
| |
* | Revert "Port all remaining self.protected_instance_variables to class methods"Łukasz Strzałkowski2013-09-022-10/+11
| | | | | | | | This reverts commit 7de994fa215e9f4c2856d85034bc4dd7b65d0c01.
* | Port all remaining self.protected_instance_variables to class methodsŁukasz Strzałkowski2013-08-292-11/+10
| |
* | Add #rendered_format method to controllersŁukasz Strzałkowski2013-08-251-0/+5
| |
* | Improve AV::Rendering docsŁukasz Strzałkowski2013-08-251-0/+3
| |
* | Code formatting & typo fixesŁukasz Strzałkowski2013-08-251-1/+1
| |
* | Remove abstract_controller load hooksŁukasz Strzałkowski2013-08-251-2/+0
| |
* | Move protected_instance_variables & view_assigns to AbstractControllerŁukasz Strzałkowski2013-08-251-1/+20
| |
* | Create AbstractController::Rendering interfaceŁukasz Strzałkowski2013-08-251-0/+50
| | | | | | | | This interface should be use when implementing renderers.
* | Revert "Rename abstract_controller/rendering. to errors.rb"Łukasz Strzałkowski2013-08-251-0/+0
| | | | | | | | This reverts commit 6fe91ec5008838338e54ab8570f7c95ee0cdd8e8.
* | Rename abstract_controller/rendering. to errors.rbŁukasz Strzałkowski2013-08-251-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łkowski2013-08-251-0/+2
| |
* | Move rendering from AP to AVŁukasz Strzałkowski2013-08-252-610/+0
| |
* | Move view_paths from AP to AVŁukasz Strzałkowski2013-08-251-96/+0
| |
* | Execute conditional procs on controller filters only for current action.Nicholas Jakobsen2013-08-101-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 Senn2013-07-121-15/+18
| |
* | Show real LoadError on helpers requirePiotr Niełacny2013-07-101-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 Singh2013-07-021-1/+1
| |
* | deprecating string based terminatorsAaron Patterson2013-05-141-1/+3
| |
* | Avoid leak into controller's action_methodsprintercu2013-04-181-0/+1
| |
* | Prefer find_by over dynamic finders in rdocSam Ruby2013-04-021-1/+1
| |
* | Fix typos in AP: "overriden" => "overridden"Carlos Antonio da Silva2013-03-301-1/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-302-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 sentenceTatsuro Baba2013-03-181-1/+1
| | |
| * | Remove :all from *args options in AbstractController.helperBryan Ricker2013-03-161-1/+1
| | |
* | | Fixed grammarAnupam Choudhury2013-03-281-1/+1
| | |
* | | Merge pull request #8458 from ↵Rafael Mendonça França2013-03-271-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 casesChris Nicola2013-03-271-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 trrobertomiranda2013-03-051-1/+1
| | |
* | | Improve docs for AbsC::RenderingJosé Valim2013-02-271-3/+11
|/ /
* | Review #translate docs [ci skip]Carlos Antonio da Silva2013-01-201-8/+7
| |
* | Add documentation for abstract controller #translate and #localize method.Jens Bissinger2013-01-201-0/+10
| |
* | delegate to :class rather than 'self.class'Gosha Arinich2013-01-061-1/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-211-1/+1
|\
| * Revert "Fix incorrect adjustment 4c41e87e3ae548c44810b66437b2f0f6e73b2106"Vijay Dev2012-12-211-1/+1
| | | | | | | | | | | | | | | | This reverts commit e1f8ec59f2cc83f052b15233147aa2d6d8114a4d. Reason: seems bad styling [ci skip]
| * Fix incorrect adjustment 4c41e87e3ae548c44810b66437b2f0f6e73b2106kei2012-12-201-1/+1
| |
| * Fix documentation stylekei2012-12-201-1/+1
| |
* | Make conditional_layout? private and update documentationAndrew White2012-12-171-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 bitCarlos Antonio da Silva2012-12-131-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 Rodriguez2012-12-071-3/+3
|
* Rename all action callbacks from *_filter to *_actionDavid Heinemeier Hansson2012-12-071-64/+86
|
* Cleans and removes useless 'Examples' tag [ci skip]Alvaro Pereyra2012-12-011-2/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-171-3/+3
|\ | | | | | | | | Conflicts: actionpack/lib/action_dispatch/routing/redirection.rb
| * Hash Syntax to 1.9 converisonAvnerCohen2012-11-071-3/+3
| |
* | Removing duplication in callback normalization.Steve Klabnik2012-11-091-7/+8
|/ | | | These two things were 100% identical.
* cleanup, remove trailing whitespace within actionpackYves Senn2012-10-271-1/+1
|
* fix uninitialized ivar warningsAaron Patterson2012-10-251-0/+10
|
* Merge branch 'master' into asset-path-helperJoshua Peek2012-10-151-2/+4
|\ | | | | | | | | Conflicts: railties/test/application/configuration_test.rb