解决方法
直线从导轨docs:
class User < ActiveRecord::Base serialize :preferences end user = User.create(:preferences => { "background" => "black","display" => large }) User.find(user.id).preferences # => { "background" => "black","display" => large }