Apr 7
A few notes for rails:
- If you are using serialize, you can’t use the self[:attr] form. You must use self.attr. If necessary, use alias to make this happen.
- rake stats gives some interesting statistics about your rails project.
- Instead of read_attribute :name you can just use self[:name]. Similarly for write_attribute and []=.