diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-22 16:41:06 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-22 16:42:14 -0700 |
commit | f5d720fb96f2e085acc4ed17f63272c4d38e567e (patch) | |
tree | 01d83252d6fe6f090668a860a7f22912c657a600 /activesupport/lib/active_support/core_ext | |
parent | ab321268f86d9013cbd4ecd0b5f46e7b05ec55a9 (diff) | |
download | rails-f5d720fb96f2e085acc4ed17f63272c4d38e567e.tar.gz rails-f5d720fb96f2e085acc4ed17f63272c4d38e567e.tar.bz2 rails-f5d720fb96f2e085acc4ed17f63272c4d38e567e.zip |
Opt in to Dependencies
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r-- | activesupport/lib/active_support/core_ext/class/delegating_attributes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb b/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb index da798c67e7..b0784d8416 100644 --- a/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +++ b/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/blank' + class Class def superclass_delegating_reader(*names) class_name_to_stop_searching_on = superclass.name.blank? ? "Object" : superclass.name |