Displaying 1 result from an estimated 1 matches for "foolift".
Did you mean:
foojit
2011 Nov 24
0
legacy MTI schema
...,
:installation_date, :to=>:system
alias system_without_build system
def system
system_without_build || build_system
end
end
In the client code :
lifter = Lifter.new
lifter.id=1327
lifter.installation_date= Date.parse("7/8/2010")
lifter.manufacturer="FooLift"
lifter.serial_number="1324AA"
lifter.drive="Automatic"
lifter.max_weight=1200
lifter.save!
performs this wrong (in id) INSERTS:
INSERT INTO `systems`
(`installation_date`, `manufacturer`, `serial_number`)
VALUES (?, ?, ?)
[
["installation_date", Sun...