Can I then shove b into the database through activerecord? I’ve been
trying that and it doesn’t seem to work. All other fields are working:
ActiveRecord has the concept of serializers. In your model you can
write:
serialize(:request, JSON)
request here being your database column.
Now it’ll automatically serialize the JSON data you give it. It’ll call dump on it before saving it, and loading it with load before handing
it JSON blob to you.