Monday, March 9, 2009

HOW TO syntax highlight blogger : widget

For those who need syntax highlight in their blog, to several programming languages, can use the widget "Blogger Widget SyntaxHighlighter" and is powered by SyntaxHighlighter 1.5.1
Give it a try.

Saturday, March 7, 2009

Rails: Where to put our initialization stuff

In our applications we sometimes need to initialize global vars or rails predefined values. Whenever we want to do that, we just need to create files in the directory

config/initializers/

instead of messing with the environment.rb file.

Source: Ryan's Scraps: What's New in Edge Rails: Stop Littering In Your Environment File