jemnotesversion 2 / featuring this entry or see all/search

Feb 1
The syntax for serialize in rails is
serialize attr_name, class_name=Object
thus, you can’t chain serialize :attr_1, :attr_2 like you can with attr_reader :attr_1, :attr_2—you’ll get some bad errors.