mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7 lines
322 B
Ruby
7 lines
322 B
Ruby
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
|