Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Spelling/typo/grammatical fixes [ci skip] | karanarora | 2015-05-23 | 1 | -1/+1 |
| | | | | | | | | | | spelling fix [ci skip] example to be consistent [ci skip] grammatical fix typo fixes [ci skip] | ||||
* | Tiny documentation edits [ci skip] | Robin Dupret | 2015-03-03 | 1 | -1/+1 |
| | |||||
* | [ci skip] Add documentation for Helpers#all_helpers_from_path | Anton Davydov | 2015-03-03 | 1 | -0/+4 |
| | |||||
* | pass app config to controller helper proxy | Tima Maslyuchenko | 2013-10-24 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | After this fix application config become available when calling helper outisde of view config/application.rb #... config.asset_host = 'http://mycdn.com' #... Somewhere else ActionController::Base.helpers.asset_path('fallback.png') # => http://mycdn.com/assets/fallback.png | ||||
* | Improve documentation for controller how to get included helpers [ci skip] | Paul Nikitochkin | 2013-07-30 | 1 | -1/+1 |
| | | | | Closes #11671 | ||||
* | Remove unecessary variable call, `#sort!` always returns an array | Agis Anastasopoulos | 2013-04-07 | 1 | -1/+0 |
| | |||||
* | Bring back helpers_path attr accessor | Carlos Antonio da Silva | 2012-12-13 | 1 | -1/+1 |
| | | | | | This is apparently used by the railtie to setup the app helpers paths correctly between initializers. I'll need to check it further. | ||||
* | Refactor helpers code in Action Pack a bit | Carlos Antonio da Silva | 2012-12-13 | 1 | -5/+4 |
| | | | | | | | | * 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 | ||||
* | load active_support/core_ext/class/attribute in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 |
| | |||||
* | Fix sorting of helpers from different paths | Piotr Sarnacki | 2012-05-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | When more than one directory for helpers is provided to a controller, it should preserver the order of directories. Given 2 paths: MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"] helpers from dir1 should be loaded first. Before this commit, all helpers were mixed and then sorted alphabetically, which essentially would require to rename helpers to get desired order. This is a problem especially for engines, where you would like to be able to predict accurately which engine helpers will load first. (closes #6496) | ||||
* | Removing ==Examples and last blank lines of docs from actionpack | Francesco Rodriguez | 2012-05-15 | 1 | -1/+0 |
| | |||||
* | Simplify helpers handling. Ensure Metal can run AC hooks. | José Valim | 2012-03-15 | 1 | -0/+1 |
| | |||||
* | Use Kernel#Array in ActionController::Helpers | Rafael Mendonça França | 2012-01-05 | 1 | -2/+1 |
| | |||||
* | Remove unecessary config_accessors. | José Valim | 2011-12-24 | 1 | -1/+1 |
| | |||||
* | fix helpers behavior description | Alexey Vakhov | 2011-09-03 | 1 | -3/+6 |
| | |||||
* | find(:all) => all | Akira Matsuda | 2011-07-08 | 1 | -1/+1 |
| | |||||
* | Make ActionController::Base.modules_for_helpers and ↵ | Piotr Sarnacki | 2011-04-25 | 1 | -26/+26 |
| | | | | ActionController::Base.all_helpers_from_path public methods | ||||
* | Add config.action_controller.include_all_helpers, by default it is set to true. | Piotr Sarnacki | 2010-11-18 | 1 | -1/+2 |
| | | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false. | ||||
* | Remove more warnings shadowing outer local variable. | Emilio Tagua | 2010-09-27 | 1 | -3/+3 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove more warnings shadowing outer local variable. | Emilio Tagua | 2010-09-27 | 1 | -3/+3 |
| | |||||
* | Cleanup deprecation warnings in Action Controller | Carlos Antonio da Silva | 2010-09-06 | 1 | -11/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Include application's helpers and router helpers by default, but include ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -1/+5 |
| | | | | engine's ones for controllers inside isolated namespace | ||||
* | cleanup of ActionController::Metal inline documentation | Joost Baaij | 2010-08-26 | 1 | -13/+11 |
| | |||||
* | Fix setting helpers_path to a string or pathname | Jeremy Kemper | 2010-07-07 | 1 | -2/+3 |
| | |||||
* | Use caller for helpers_dir deprecation warnings | Jeremy Kemper | 2010-06-28 | 1 | -2/+2 |
| | |||||
* | Ruby 1.9: helper path may be a pathname, so convert to a string before ↵ | Jeremy Kemper | 2010-05-16 | 1 | -1/+1 |
| | | | | quoting for regexp | ||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 1 | -2/+2 |
| | | | | delegates to the config object, reducing the number of deprecations and add specific tests. | ||||
* | revises some <%= in rdoc | Xavier Noria | 2010-04-05 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -1/+3 |
| | |||||
* | Bring helpers_dir deprecation back. | José Valim | 2010-01-30 | 1 | -0/+2 |
| | |||||
* | Fix some backward incompatible behavior on AM. | José Valim | 2010-01-30 | 1 | -15/+0 |
| | |||||
* | AC railtie should configure helpers path. | José Valim | 2010-01-26 | 1 | -3/+2 |
| | |||||
* | Keep ActionController::Base.helpers_dir around for a bit longer | Joshua Peek | 2010-01-26 | 1 | -37/+33 |
| | |||||
* | Add a deprecation for helpers_dir. | José Valim | 2010-01-25 | 1 | -0/+12 |
| | |||||
* | Fix failing tests after merge. | José Valim | 2010-01-24 | 1 | -0/+1 |
| | |||||
* | Ensure helpers work from configured path. | José Valim | 2010-01-24 | 1 | -8/+10 |
| | |||||
* | Get rid of initializers global and create i18n railtie. | José Valim | 2010-01-23 | 1 | -0/+2 |
| | |||||
* | Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵ | Yehuda Katz | 2010-01-19 | 1 | -1/+1 |
| | | | | nil!) | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Remove ActionMailer helpers and rely on AbstractController one. | José Valim | 2009-11-01 | 1 | -65/+4 |
| | |||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -1/+1 |
| | | | | application's object root) | ||||
* | Rename /base to /metal and make base.rb and metal.rb top-level to reflect ↵ | Yehuda Katz | 2009-08-06 | 1 | -0/+176 |
their module locations |