19 Dec 2010
Ruby/Rails provides a lot of magic codes, especially for metaprogramming, they are powerful, less codes to implement more functions, but they are not intuition, you should write good comment for your magic codes.
16 Aug 2010
override the to_s to make the method sensible instead of "display_name", "format_name"..
15 Aug 2010
Using css sprite can reduce a large number of http requests, so it makes the web page loaded much faster. It it painful to composite a lot of images manually, do it automatically.