Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure multiline string is not accepted by the regexp | Rafael Mendonça França | 2013-12-19 | 1 | -1/+9 |
| | |||||
* | Fixed configurable.rb regular expression name check | Hincu Petru | 2013-12-19 | 1 | -0/+6 |
| | |||||
* | minor grammar fix | Zoltan Kiss | 2012-12-24 | 1 | -1/+1 |
| | |||||
* | set up config_accessor with a default value by block | Larry Lv | 2012-09-17 | 1 | -2/+14 |
| | | | | | | | | | | | | | | | | | | * ActiveSupport::Configurable should allow config_accessor to take default value by block, just like cattr_accessor. class User include ActiveSupport::Configurable config_accessor :hair_colors do [:brown, :black, :blonde, :red] end end User.hair_colors # => [:brown, :black, :blonde, :red] * remove trailing whitespaces in configurable.rb and its test file. * Update ActiveSupport CHANGELOG. | ||||
* | add instance_accessor option to ActiveSupport::Configurable#config_accessor | Francesco Rodriguez | 2012-06-05 | 1 | -4/+18 |
| | | | | | | | | | | 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. | ||||
* | Fix configurable cristalization and tests. | José Valim | 2011-06-29 | 1 | -6/+16 |
| | |||||
* | Move variables to underscore format, update protected instance variables list. | José Valim | 2011-05-06 | 1 | -0/+7 |
| | |||||
* | Make ActiveSupport::Configurable work with modules | Oriol Gual and Josep M. Bach | 2011-02-28 | 1 | -1/+7 |
| | | | | | | [#6486 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Call it compile_methods! and do the same on AM. | José Valim | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Compile ActionController::Base.config's methods to avoid method_missing ↵ | thedarkone | 2010-09-27 | 1 | -0/+18 |
| | | | | overhead. | ||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 1 | -0/+42 |
delegates to the config object, reducing the number of deprecations and add specific tests. |