lib/attached/railtie.rb in attached-0.3.2 vs lib/attached/railtie.rb in attached-0.3.3
- old
+ new
@@ -9,10 +9,10 @@
end
initializer 'attached.initialize' do
ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.send :include, Attached
+ ActiveRecord::ConnectionAdapters::TableDefinition.send :include, Attached::Definition
end
end
-
end
end
\ No newline at end of file