Three ways to invoke a method in ruby
There are three ways to invoke a method. Most of the time you’ll probably only need #1, but #2 and…
Achieving Developer Excellence with Automated Testing
There are three ways to invoke a method. Most of the time you’ll probably only need #1, but #2 and…
Reads a file line by line into an array my_stuff my_stuff = [] file = File.new(“config/random_categories.txt”, “r”) while (line =…
Note that when setting the Rails environment you have to pass it differently in different cases. For rake, set RAILS_ENV=…
WARNING: These instructions are for Facebook version 1 (not Facebooker2). Since last year, I have moved toward using a different…
This is a work in progress. Rails Version Release month 2.0.0 Dec 2007 2.0.1 Dec 2007 2.0.2 Dec 2007 2.1.0…
strftime() turns a Date or DateTime into nicely formatted output. The following table shows the code you can use to…
The is the very bare-bones basics of git. First, I am staring by assuming that someone else has already setup…
If you are getting this error after a Rails 2.3.3 update undefined method `rewind’ for #<TCPSocket:0x3631e58> Try updating your version…
A few CSS techniques used by the pros.
Getting RSS feeds to work right; Firefox error message “This XML file does not appear to have any style information…