how would you do this in active record
SELECT max(draw) FROM draws
cheers
dion
how would you do this in active record
SELECT max(draw) FROM draws
cheers
dion
SELECT max(draw) FROM draws
Draw.maximum(:draw)
awesome
cheers guy
found it under
ActiveRecord::Calculations::ClassMethods