Browsing "Learning Rails"
Understanding Gemfile Dependencies
I really struggled with this while learning Rails. In the Gemfile, I thought you could have groupings of Gems that [...]
Easy inline if-then-else for Rails
Instead of something bloated like: name = "-" if !User.name.nil? name = User.name end You can do it all in [...]
Installing Rails or Rails Gems without Ri and RDOC documentation
use the –no-ri –no-rdoc switches, like rails install –no-ri –no-rdoc
Installing the MySQL Gem in Lion
I kept getting weird permissions errors trying to install the MySQL gem for Ruby 1.9.2. The issue is that I [...]
Archives
- January 2012
- December 2011
- November 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2010
- December 2009
- September 2009
- August 2009
- April 2009
- February 2009
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- March 2007
- January 2007
- December 2006
- October 2006
- August 2006


