Archive for May, 2006

Conditions as hash!

Sunday, May 21st, 2006

My very first full Rails patch!
http://dev.rubyonrails.org/ticket/5143 
Details below:
———–
This adds a third type accepted into the conditions of a find, and that is an hash of attribute/value pairs. The values passed in this way are delt with as equality functions with the SQL AND operator.For instance:
Person.find(:all,
:conditions => { :last_name => “Catlin”, :status => 1 },
:limit => 2)
Instead […]

BCTDot Post Part #1

Saturday, May 13th, 2006

David Crow is hung over.

What is this picture?

Friday, May 5th, 2006