ConnectionSpecification is now in the ConnectionAdapters module
ActiveRecord::Result now has an empty? method
switched to rails 1.9 hash syntax
updated AciveRecord syntax
updating deprecated AR syntax