Displaying 1 result from an estimated 1 matches for "system_without_build".
2011 Nov 24
0
legacy MTI schema
...:foreign_key=>:id,
:dependent=>:destroy,
:autosave=>:true
delegate :manufacturer,
:manufacturer=,
:serial_number,
:serial_number=,
:installation_date,
: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="Autom...