aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/admin/user.rb
blob: ad30039304bb709a7868cc520b9262fbb70e3a85 (plain) (blame)
1
2
3
4
5
6
7
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