José Valim
894bdbd53d
Move variables to underscore format, update protected instance variables list.
2011-05-06 14:57:25 +02:00
Xavier Noria
6ce844a3c1
removes Examples headers introduced in 9b96de6
...
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
2011-03-06 17:49:39 +01:00
suchasurge
9b96de6f3d
Some style changes
2011-03-06 10:26:24 +01:00
Oriol Gual and Josep M. Bach
f42562f97b
Make ActiveSupport::Configurable work with modules
...
[#6486 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-28 13:30:32 -02:00
Neeraj Singh
aa1ac1ca8c
Add comment for config_accessor method
2010-11-30 09:44:12 -05:00
José Valim
6067d16200
Call it compile_methods! and do the same on AM.
2010-09-27 20:43:56 +02:00
thedarkone
5a518487fe
Try to use Hash's native #[] for speed.
2010-09-27 17:45:58 +02:00
thedarkone
8cda132136
Make InheritableOptions's constructor more flexible.
2010-09-27 17:45:58 +02:00
thedarkone
918dc27345
Compile ActionController::Base.config's methods to avoid method_missing overhead.
2010-09-27 17:45:58 +02:00
Xavier Noria
3ba61ecb7f
Revert "Add example label to activesupport/configurable"
...
This reverts commit f480b2cea6
.
Reason: API guidelines discourage this, see http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#example-code
2010-08-15 02:22:38 +02:00
Xavier Noria
dd18840b79
Revert "Add example label to active_support/configurable"
...
This reverts commit 693f770afe
.
Reason: to be able to revert f480b2cea6
2010-08-15 02:22:38 +02:00
Josep M. Bach
e8ef58a697
Add example label to active_support/configurable
2010-08-15 02:22:38 +02:00
Josep M. Bach
664afe37dd
Add example label to activesupport/configurable
2010-08-15 02:22:38 +02:00
Josep M. Bach
c7adc96186
Documented active_support/configurable
2010-08-15 02:22:37 +02:00
José Valim
25f1e015c0
Ensure @config is not a reserved instance variable in controllers. [ #5342 state:resolved]
2010-08-11 10:26:07 -03:00
José Valim
4163ccec23
Clean up the config object in ActionPack. Create config_accessor which just delegates to the config object, reducing the number of deprecations and add specific tests.
2010-04-22 12:00:13 +02:00
Yehuda Katz
a41c6c35ca
Start adding configuration to ActionView instead of using constants.
...
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)
2009-10-14 13:36:41 -07:00