Path to this page:
Subject: CVS commit: pkgsrc/databases/ruby-activerecord31
From: Takahiro Kambe
Date: 2013-02-12 15:21:05
Message id: 20130212142105.6EDD0175DD@cvs.netbsd.org
Log Message:
Update ruby-activerecord31 to 3.1.11.
## Rails 3.1.11 (unreleased) ##
* Quote numeric values being compared to non-numeric columns. Otherwise,
in some database, the string column values will be coerced to a numeric
allowing 0, 0.0 or false to match any string starting with a non-digit.
Example:
App.where(apikey: 0) # => SELECT * FROM users WHERE apikey = '0'
*Dylan Smith*
Files: