serialize :column, JSON
realy faster then standart YAML serialize
class Some < ActiveRecord:Base
serialize :column_y # YAML slow
serialize :column_j, JSON # fast
end
Start bench and watch it code for details
serialize :column, JSON
realy faster then standart YAML serialize
class Some < ActiveRecord:Base
serialize :column_y # YAML slow
serialize :column_j, JSON # fast
end
Start bench and watch it code for details