search for: boobaz

Displaying 1 result from an estimated 1 matches for "boobaz".

Did you mean: foobaz
2011 Nov 22
4
A "strict Arel" mode for ActiveRecord to prevent SQL injection vulnerabilities
...end end end This appears to pretty much work as intended: * Basic (primary key) queries work (which are internally constructed into arel): ruby-1.9.2-p290 :002 > Customer.first Customer Load (0.4ms) SELECT `customers`.* FROM `customers` LIMIT 1 => #<Customer id: 3, name: "BooBaz", credit: "baz", created_at: "2011-10-26 22:01:36", updated_at: "2011-10-26 22:24:40"> ruby-1.9.2-p290 :021 > Customer.find(3) Customer Load (0.2ms) SELECT `customers`.* FROM `customers` WHERE `customers`.`id` = 3 LIMIT 1 => #<Customer id: 3, nam...