aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/admin/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/admin/user.rb')
-rw-r--r--activerecord/test/models/admin/user.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/admin/user.rb b/activerecord/test/models/admin/user.rb
index d0e628bd50..ad30039304 100644
--- a/activerecord/test/models/admin/user.rb
+++ b/activerecord/test/models/admin/user.rb
@@ -2,4 +2,6 @@ class Admin::User < ActiveRecord::Base
belongs_to :account
store :settings, :accessors => [ :color, :homepage ]
store :preferences, :accessors => [ :remember_login ]
+ store :json_data, :accessors => [ :height, :weight ], :coder => JSON
+ store :json_data_empty, :accessors => [ :is_a_good_guy ], :coder => JSON
end