diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-10-29 00:18:43 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-10-29 00:18:43 +0000 |
commit | c708346688ee3cdd5583795ccd9b10590abd36b1 (patch) | |
tree | 52d87dcb213eef844ed0b4447d6cfbb0019d59f9 /activerecord | |
parent | df0765d8dc013ccd399d994109eaf39be4c24e81 (diff) | |
download | rails-c708346688ee3cdd5583795ccd9b10590abd36b1.tar.gz rails-c708346688ee3cdd5583795ccd9b10590abd36b1.tar.bz2 rails-c708346688ee3cdd5583795ccd9b10590abd36b1.zip |
Change JSON to encode %w(< > &) as 4 digit hex codes to be in compliance with the JSON spec. Closes #9975 [josh, chuyeow, tpope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/serialization_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/serialization_test.rb b/activerecord/test/serialization_test.rb index b3bdf6b43d..a8295da26a 100644 --- a/activerecord/test/serialization_test.rb +++ b/activerecord/test/serialization_test.rb @@ -11,7 +11,7 @@ class SerializationTest < Test::Unit::TestCase :avatar => 'binarydata', :created_at => Time.utc(2006, 8, 1), :awesome => false, - :preferences => { :gem => 'ruby' } + :preferences => { :gem => '<strong>ruby</strong>' } } @contact = Contact.new(@contact_attributes) |