aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/configurable.rb
Commit message (Collapse)AuthorAgeFilesLines
* correct line numbers for reader and writer methodsbenolee2012-06-241-6/+6
|
* add instance_accessor option to ActiveSupport::Configurable#config_accessorFrancesco Rodriguez2012-06-051-5/+52
| | | | | | | | | | Changes: * Add `instance_accessor` option to opt out of the instance writer and instance reader methods. * Raises a NameError if the name of the attribute is not valid. * Update documentation and tests. * Add CHANGELOG entry in activesupport.
* remove unused requiresSergey Nartimov2012-01-181-2/+0
|
* Fix configurable cristalization and tests.José Valim2011-06-291-2/+2
|
* Move variables to underscore format, update protected instance variables list.José Valim2011-05-061-6/+9
|
* removes Examples headers introduced in 9b96de6Xavier Noria2011-03-061-10/+4
| | | | | | | Example headers are discouraged in the API guidelines. Code just flows with the text. They may be good in places where there's a lot of stuff and structure may add clarity
* Some style changessuchasurge2011-03-061-0/+6
|
* Make ActiveSupport::Configurable work with modulesOriol Gual and Josep M. Bach2011-02-281-1/+1
| | | | | | [#6486 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add comment for config_accessor methodNeeraj Singh2010-11-301-0/+12
|
* Call it compile_methods! and do the same on AM.José Valim2010-09-271-3/+3
|
* Try to use Hash's native #[] for speed.thedarkone2010-09-271-1/+1
|
* Make InheritableOptions's constructor more flexible.thedarkone2010-09-271-1/+1
|
* Compile ActionController::Base.config's methods to avoid method_missing ↵thedarkone2010-09-271-2/+22
| | | | overhead.
* Revert "Add example label to activesupport/configurable"Xavier Noria2010-08-151-2/+0
| | | | | | This reverts commit f480b2cea69247239f6fc2ad171b231595cc08c6. Reason: API guidelines discourage this, see http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#example-code
* Revert "Add example label to active_support/configurable"Xavier Noria2010-08-151-0/+1
| | | | | | This reverts commit 693f770afe0e14fc1b4658ef51910d993e67dd07. Reason: to be able to revert f480b2cea69247239f6fc2ad171b231595cc08c6
* Add example label to active_support/configurableJosep M. Bach2010-08-151-1/+0
|
* Add example label to activesupport/configurableJosep M. Bach2010-08-151-0/+2
|
* Documented active_support/configurableJosep M. Bach2010-08-151-1/+20
|
* Ensure @config is not a reserved instance variable in controllers. [#5342 ↵José Valim2010-08-111-2/+2
| | | | state:resolved]
* Clean up the config object in ActionPack. Create config_accessor which just ↵José Valim2010-04-221-18/+19
| | | | delegates to the config object, reducing the number of deprecations and add specific tests.
* Start adding configuration to ActionView instead of using constants.Yehuda Katz2009-10-141-0/+35
By using config rather than hardcoded constants, we can evolve the configuration system over time (we'd just need to update the config method with more robust capabilities and all consumers would get the capabilities with no code changes)