diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-04-23 13:54:00 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-04-23 13:54:00 -0300 |
commit | fdcd81970e1db2343de7d722e3c5548c6c1f27cd (patch) | |
tree | 275520f9fb401c4c2e4e931d3ab607495fb6a019 /activerecord | |
parent | 3b43d1801e99407c244445dfaf3bcdb6a06ef57b (diff) | |
download | rails-fdcd81970e1db2343de7d722e3c5548c6c1f27cd.tar.gz rails-fdcd81970e1db2343de7d722e3c5548c6c1f27cd.tar.bz2 rails-fdcd81970e1db2343de7d722e3c5548c6c1f27cd.zip |
Require Arel
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb index 500a90d6cb..f5a7829a73 100644 --- a/activerecord/lib/active_record.rb +++ b/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 @@ rescue LoadError 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! |