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.
Monday, March 9, 2009
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
instead of messing with the environment.rb file.
Source: Ryan's Scraps: What's New in Edge Rails: Stop Littering In Your Environment File
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
Subscribe to:
Posts (Atom)