2010 04-24-cerealize
-
Upload
lin-jen-shin -
Category
Documents
-
view
700 -
download
0
Transcript of 2010 04-24-cerealize
![Page 1: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/1.jpg)
Serialize out of the Cerealize Box
a drop-in replacement for ActiveRecord's serialize
cblue.tw
![Page 9: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/9.jpg)
class Cat < ActiveRecord::Base include Cerealize serialize :can, Hashend
cblue.tw
![Page 10: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/10.jpg)
class Cat < ActiveRecord::Base include Cerealize cerealize :can, Hashend
cblue.tw
![Page 16: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/16.jpg)
class Cat < ActiveRecord::Base include Cerealize cerealize :can, Hash, :encoding => :marshalend
cblue.tw
![Page 17: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/17.jpg)
class Cat < ActiveRecord::Base include Cerealize cerealize :can, Hash, :encoding => :yamlend
cblue.tw
![Page 18: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/18.jpg)
class Cat < ActiveRecord::Base include Cerealize cerealize :can, Hash, :encoding => :json #futureend
cblue.tw
![Page 20: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/20.jpg)
script/plugin installTry it Today!
git://github.com/cardinalblue/cerealize.git
cblue.tw
![Page 21: 2010 04-24-cerealize](https://reader033.fdocuments.us/reader033/viewer/2022060109/5551ea8fb4c90501638b51ca/html5/thumbnails/21.jpg)
WANTED!!Contribution
http://github.com/cardinalblue/cerealize
cblue.tw