aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-10-10 16:11:04 -0700
committerwycats <wycats@gmail.com>2010-10-10 16:12:04 -0700
commitcc8e386d08d83ca1ad0c5da863f588b4c4fbe62c (patch)
tree2079f657bb46369940c65b47e968e436ef4d134f /activerecord
parentde05e1c33ce13069025d1531e082adc5fe62e79a (diff)
downloadrails-cc8e386d08d83ca1ad0c5da863f588b4c4fbe62c.tar.gz
rails-cc8e386d08d83ca1ad0c5da863f588b4c4fbe62c.tar.bz2
rails-cc8e386d08d83ca1ad0c5da863f588b4c4fbe62c.zip
Always pull in version for frameworks (standardize autoload / require / none)
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb
index f692e5ac89..c80bce2849 100644
--- a/activerecord/lib/active_record.rb
+++ b/activerecord/lib/active_record.rb
@@ -33,12 +33,12 @@ require 'active_support/i18n'
require 'active_model'
require 'arel'
+require 'active_record/version'
+
module ActiveRecord
extend ActiveSupport::Autoload
eager_autoload do
- autoload :VERSION
-
autoload :ActiveRecordError, 'active_record/errors'
autoload :ConnectionNotEstablished, 'active_record/errors'