19 Dec 2010
Richard Huang
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.
Read More
Tags
convention
comment
16 Aug 2010
Yincan
override the to_s to make the method sensible instead of "display_name", "format_name"..
Read More
Tags
naming
convention
15 Aug 2010
Richard Huang
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.
Read More
Tags
plugin
performance
css sprite
convention
assets