Permalink
Browse files

add autoload :TransactionState to fix Marshal.load issues

  • Loading branch information...
1 parent 0fca7d6 commit 83689bec7737f7b03b1ba245c644071ed983349b @jasonayre jasonayre committed Nov 7, 2013
@@ -1,3 +1,8 @@
+* Fix `Uninitialized constant ActiveRecord::ConnectionAdapters::TransactionState error when trying to Marshall.load AR Result.
+ Adds autoload :TransactionState, fixes #12790
+
+ *Jason Ayre*
+
* `.unscope` now removes conditions specified in `default_scope`.
*Jon Leighton*
@@ -40,6 +40,7 @@ module ConnectionAdapters # :nodoc:
autoload :ClosedTransaction
autoload :RealTransaction
autoload :SavepointTransaction
+ autoload :TransactionState
end
# Active Record supports multiple database systems. AbstractAdapter and

0 comments on commit 83689be

Please sign in to comment.