debugging rails (or any server side scripting?) is pain in the ass. and for a while i thought printf style of debugging is impossible, until recently i realised this most primitive form of debugging is possible. here it is:
RAILS_DEFAULT_LOGGER.warn("########### printf close :p ")
No comments:
Post a Comment