aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make ActionController::Base.modules_for_helpers and ↵Piotr Sarnacki2011-04-251-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 Sarnacki2010-11-181-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 Tagua2010-09-271-3/+3
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-3/+3
|
* Cleanup deprecation warnings in Action ControllerCarlos Antonio da Silva2010-09-061-11/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Include application's helpers and router helpers by default, but include ↵Piotr Sarnacki2010-09-031-1/+5
| | | | engine's ones for controllers inside isolated namespace
* cleanup of ActionController::Metal inline documentationJoost Baaij2010-08-261-13/+11
|
* Fix setting helpers_path to a string or pathnameJeremy Kemper2010-07-071-2/+3
|
* Use caller for helpers_dir deprecation warningsJeremy Kemper2010-06-281-2/+2
|
* Ruby 1.9: helper path may be a pathname, so convert to a string before ↵Jeremy Kemper2010-05-161-1/+1
| | | | quoting for regexp
* Clean up the config object in ActionPack. Create config_accessor which just ↵José Valim2010-04-221-2/+2
| | | | delegates to the config object, reducing the number of deprecations and add specific tests.
* revises some <%= in rdocXavier Noria2010-04-051-1/+1
|
* Update AP to start locking down a public API. This work is parallel to some ↵Yehuda Katz2010-02-161-2/+2
| | | | docs I'm working on.
* Convert to class_attributeJeremy Kemper2010-02-011-1/+3
|
* Bring helpers_dir deprecation back.José Valim2010-01-301-0/+2
|
* Fix some backward incompatible behavior on AM.José Valim2010-01-301-15/+0
|
* AC railtie should configure helpers path.José Valim2010-01-261-3/+2
|
* Keep ActionController::Base.helpers_dir around for a bit longerJoshua Peek2010-01-261-37/+33
|
* Add a deprecation for helpers_dir.José Valim2010-01-251-0/+12
|
* Fix failing tests after merge.José Valim2010-01-241-0/+1
|
* Ensure helpers work from configured path.José Valim2010-01-241-8/+10
|
* Get rid of initializers global and create i18n railtie.José Valim2010-01-231-0/+2
|
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-1/+1
| | | | nil!)
* Reorganize autoloads:Carlhuda2009-12-021-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é Valim2009-11-011-65/+4
|
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-1/+1
| | | | application's object root)
* Rename /base to /metal and make base.rb and metal.rb top-level to reflect ↵Yehuda Katz2009-08-061-0/+176
their module locations