Writing to the development log in Rails.
logger.debug WHAT_TO_OUTPUT ***** I think this syntax only works in controllers and outside of a controller you have to use…
Achieving Developer Excellence with Automated Testing
logger.debug WHAT_TO_OUTPUT ***** I think this syntax only works in controllers and outside of a controller you have to use…
A method defined on a model that ends with = is an assignment method, so when ActiveRecord is trying to…
When running Passenger (module for running Rails on Apache), the console log (output from puts) goes into the apache error…
<h1>CUCUMBER FIRST STEPS</h1> Much of the online documentation for Cucumber dives right in. Here are some pointers for those very…
when running tests, I’m getting an error: undefined method `use_transactional_fixtures=` for Test::Unit::testCase:Class (NoMethodError) This happens if you generated your tests…
Under almost all circumstances, you can just go to “About this Mac” or use the system profiler. However, very rarely…
First, isntall MySQL package installer from http://dev.mysql.com/downloads/mysql/5.1.html#downloads DON’T DOWNLOAD THE 64-BIT VERSION!!! You must download the 32-bit version even if…
Some handy information about working with those less-than-percent sign things that appear in Emulated Ruby, or .rhtml files. example what…
Some great shortcuts for script generation. I always try to start by building scaffold for any new entity, then remove…
Passenger is a great thing because it makes Rails apps able to be deployed on Apache. The installation is pretty…