Require Arel

This commit is contained in:
Emilio Tagua 2009-04-23 13:54:00 -03:00
parent 3b43d1801e
commit fdcd81970e

@ -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!