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

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -