Permalink
Browse files

require json lib when serialization is loaded

  • Loading branch information...
1 parent 703fecb commit fffb1da3f22852c722dbc4436ec7c924435d29a5 @josh josh committed Nov 24, 2008
Showing with 3 additions and 1 deletion.
  1. +2 −0 activerecord/lib/active_record/serialization.rb
  2. +1 −1 activesupport/lib/active_support.rb
@@ -1,3 +1,5 @@
+require 'active_support/json'
+
module ActiveRecord #:nodoc:
module Serialization
class Serializer #:nodoc:
@@ -23,7 +23,7 @@
module ActiveSupport
def self.load_all!
- [Dependencies, Deprecation, Gzip, JSON, MessageVerifier, Multibyte, SecureRandom, TimeWithZone]
+ [Dependencies, Deprecation, Gzip, MessageVerifier, Multibyte, SecureRandom, TimeWithZone]
end
autoload :BacktraceCleaner, 'active_support/backtrace_cleaner'

0 comments on commit fffb1da

Please sign in to comment.