diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-22 16:48:58 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-22 16:48:58 -0700 |
commit | 6fee981fa4ea2654f825c58b58327fc15fddf3a6 (patch) | |
tree | 1e6f5b94f25e72258cde8aee63fa9f12ba7d476e /activerecord | |
parent | ab321268f86d9013cbd4ecd0b5f46e7b05ec55a9 (diff) | |
download | rails-6fee981fa4ea2654f825c58b58327fc15fddf3a6.tar.gz rails-6fee981fa4ea2654f825c58b58327fc15fddf3a6.tar.bz2 rails-6fee981fa4ea2654f825c58b58327fc15fddf3a6.zip |
Opt in to JSON
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/serializers/json_serializer.rb | 2 |
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) |