aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-04-22 16:48:58 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-04-22 16:48:58 -0700
commit6fee981fa4ea2654f825c58b58327fc15fddf3a6 (patch)
tree1e6f5b94f25e72258cde8aee63fa9f12ba7d476e /activerecord/lib
parentab321268f86d9013cbd4ecd0b5f46e7b05ec55a9 (diff)
downloadrails-6fee981fa4ea2654f825c58b58327fc15fddf3a6.tar.gz
rails-6fee981fa4ea2654f825c58b58327fc15fddf3a6.tar.bz2
rails-6fee981fa4ea2654f825c58b58327fc15fddf3a6.zip
Opt in to JSON
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/serializers/json_serializer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/serializers/json_serializer.rb b/activerecord/lib/active_record/serializers/json_serializer.rb
index 1fd65ed006..c709c3f1eb 100644
--- a/activerecord/lib/active_record/serializers/json_serializer.rb
+++ b/activerecord/lib/active_record/serializers/json_serializer.rb
@@ -1,3 +1,5 @@
+require 'active_support/json'
+
module ActiveRecord #:nodoc:
module Serialization
def self.included(base)