Browse files

Require Arel

  • Loading branch information...
1 parent 3b43d18 commit fdcd81970e1db2343de7d722e3c5548c6c1f27cd @miloops miloops committed Apr 23, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 activerecord/lib/active_record.rb
View
5 activerecord/lib/active_record.rb
@@ -21,6 +21,8 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#++
+
+
begin
require 'active_support'
rescue LoadError
@@ -32,6 +34,9 @@
end
require 'active_support/core/all'
+$:.unshift(File.dirname(__FILE__) + '/../../arel/lib')
+require 'arel'
+
module ActiveRecord
# TODO: Review explicit loads to see if they will automatically be handled by the initilizer.
def self.load_all!

0 comments on commit fdcd819

Please sign in to comment.