• M
    Clarify that query methods have a custom definition of whether a numeric value... · c9d86d41
    Michael D.W. Prendergast 提交于
    Clarify that query methods have a custom definition of whether a numeric value is present. [ci skip]
    
    The way Active Record query methods handle numeric values is a special case, and is not part of Rails's standard definition of present. This update attempts to make this more clear in the docs, so that people don't expect Object#present? to return false if used on a number that is zero.
    c9d86d41
base.rb 14.0 KB