module ActiveRecord::Calculations

def minimum(column_name)

Person.minimum(:age) # => 7

#calculate for examples with options.
with the same data type of the column, or +nil+ if there's no row. See
Calculates the minimum value on a given column. The value is returned
def minimum(column_name)
  calculate(:minimum, column_name)
end