I'm not sure exactly what you're asking. Perhaps you want serialization of objects in text columns? Look at the docs for ActiveRecord::Base, or Google "activerecord serialize"
If we understand you correctly you should serialize args to a database field and desterilize it when needed. You could use json format for this serialization/destabilization purpose. Anyhow, what ever formats you choose stay a way from binary one.