Editing a serialized hash with a Rails form

I used the "serialize" class method on one of my models to save a hash
in my database. It works fine, but now I would like an easy way to edit
the hash with a form.

I tried to make some googling, but I didn't find anything about it.

How is this done easily?