Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add ActiveRecord::VERSION autoload

  • Loading branch information...
commit 953954302682e1ae2f56cfc2ed04debc737c206c 1 parent e4c0163
@jeremy jeremy authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  activerecord/lib/active_record.rb
View
2  activerecord/lib/active_record.rb
@@ -37,6 +37,8 @@ def self.load_all!
[Base, DynamicFinderMatch, ConnectionAdapters::AbstractAdapter]
end
+ autoload :VERSION, 'active_record/version'
+
autoload :ActiveRecordError, 'active_record/base'
autoload :ConnectionNotEstablished, 'active_record/base'
Please sign in to comment.
Something went wrong with that request. Please try again.