./lib/ambition.rb in ambition-0.1.5 vs ./lib/ambition.rb in ambition-0.1.6
- old
+ new
@@ -1,14 +1,17 @@
-require 'rubygems'
-require 'active_record' unless defined? ActiveRecord
-require 'proc_to_ruby'
+unless defined? ActiveRecord
+ require 'rubygems'
+ require 'active_record'
+end
+require 'ambition/proc_to_ruby'
require 'ambition/processor'
require 'ambition/query'
require 'ambition/where'
require 'ambition/order'
require 'ambition/limit'
require 'ambition/count'
require 'ambition/enumerable'
+require 'ambition/database_statements'
module Ambition
include Where, Order, Limit, Enumerable, Count
attr_accessor :query_context