diff options
author | Norman Clarke <norman@njclarke.com> | 2011-07-19 09:47:13 -0300 |
---|---|---|
committer | Norman Clarke <norman@njclarke.com> | 2011-07-19 09:56:02 -0300 |
commit | 9db2d10b1172504e252d192b5c177cb512463875 (patch) | |
tree | 2e3b5d1ba7590911699515b88225213503b12124 /activerecord/lib/active_record/schema.rb | |
parent | 73efb68dc9cbecaad81598d6653cb3bb1927a40d (diff) | |
download | rails-9db2d10b1172504e252d192b5c177cb512463875.tar.gz rails-9db2d10b1172504e252d192b5c177cb512463875.tar.bz2 rails-9db2d10b1172504e252d192b5c177cb512463875.zip |
Explicitly require Active Support dependencies
This fixes errors when using Active Record outside of Rails. In Rails,
these files are required by other classes that are always loaded, so
this error does not happen.
Without core_ext/module/delegation, a NoMethodError is raised because
`delegate` remains undefined.
Without core_ext/class/attribute_acessors, an ArgumentError is raised because
`delegate` does not receive a value for its :to option.
Diffstat (limited to 'activerecord/lib/active_record/schema.rb')
0 files changed, 0 insertions, 0 deletions