aboutsummaryrefslogtreecommitdiffstats
path: root/guides/.document
diff options
context:
space:
mode:
authorMichael D.W. Prendergast <michaelp777@gmail.com>2014-12-23 19:32:49 -0500
committerMichael D.W. Prendergast <michaelp777@gmail.com>2014-12-23 19:32:49 -0500
commitc9d86d4148783df4885a9fa4f623fdf6c3079282 (patch)
treeba835cfa2a1233a428a14153e04be9d6d98997ac /guides/.document
parente35432689e43ffb833a39a2c3dde28e11fabaa8e (diff)
downloadrails-c9d86d4148783df4885a9fa4f623fdf6c3079282.tar.gz
rails-c9d86d4148783df4885a9fa4f623fdf6c3079282.tar.bz2
rails-c9d86d4148783df4885a9fa4f623fdf6c3079282.zip
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.
Diffstat (limited to 'guides/.document')
0 files changed, 0 insertions, 0 deletions