ActiveRecord serialize using JSON instead of YAML

In Rails 3.1 you can just

class Form < ActiveRecord::Base
  serialize :column, JSON
end

Leave a Comment