aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #9208 from dylanahsmith/3-2-mysql-quote-numeric"Steve Klabnik2013-02-261-25/+0
| | | | This reverts commit 921a296a3390192a71abeec6d9a035cc6d1865c8.
* Fix test failure for ruby 1.8.Dylan Smith2013-02-081-1/+1
| | | | BigDecimal.new needs to take a string rather than an integer in ruby 1.8.
* active_record: Quote numeric values compared to string columns.Dylan Smith2013-02-071-0/+25
|
* * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * ↵Aaron Patterson2013-01-081-1/+15
| | | | dealing with empty hashes. Thanks Damien Mathieu
* Additional fix for CVE-2012-2661Ernie Miller2012-06-111-0/+6
| | | | | | | | While the patched PredicateBuilder in 3.1.5 prevents a user from specifying a table name using the `table.column` format, it doesn't protect against the nesting of hashes changing the table context in the next call to build_from_hash. This fix covers this case as well.
* predicate builder should not recurse for determining where columns.Aaron Patterson2012-05-301-0/+19
Thanks to Ben Murphy for reporting this CVE-2012-2661