ruby - How to represent serialized fields in ActiveRecord::Base in ActiveRecord:Migration (Rails 2.3.16) -
i'm new in rails. read rencently how serialize array of string example store in database.
class fle < activerecord::base serialze :etat_fle end
but don't know how represent serialized field in corresponding activerecord::migration have idea ?
store text
. if table created -
add_column :table, :column, :text
Comments
Post a Comment