Saving *args to database

You can use Marshal.dump/Marshal.load to serialize objects. ActiveRecord also has the serialize method:

class Foo < ActiveRecord::Base    serialize :bar end

upon saving bar will be serialized using yaml. Some objects (eg procs) can't be dumped.

Fred