lib/active_data.rb in active_data-1.1.0 vs lib/active_data.rb in active_data-1.1.1
- old
+ new
@@ -134,9 +134,11 @@
end
end
require 'active_data/base'
+ActiveData.base_class = ActiveData::Base
+
ActiveSupport.on_load :active_record do
require 'active_data/active_record/associations'
require 'active_data/active_record/nested_attributes'
include ActiveData::ActiveRecord::Associations