I previously had:
serialize :params, JSON
But this would return the JSON and convert hash key symbols to strings. I want to reference the hash
use the built-in serialize method :
serialize
class Whatever < ActiveRecord::Base serialize :params, HashWithIndifferentAccess end
see ActiveRecord::Base docs on serialization for more info.