Ken Collins
Software Engineer · Not a member
Ken Collins's latest activity
Wednesday, February 09 2011
-
Ken Collins created the ticket at 4:17 PMThe v3.0.4 limit regression and security fix here [1] should allow for ARel's SQL literal values to pass thru sanitization intact. This patch just adds a few li...
Thursday, February 03 2011
-
Ken Collins commented at 9:35 PMFYI, this test is below mine and is even visible in the patch. It outlines the nil question of yours.
def test_should_return_nil_as_average assert_nil Numeri... -
Ken Collins commented at 9:12 PMI had a test that directly tested the method but that it would have been discouraged. It looked something like this.
expected_value = 3 column = Account.column... -
Ken Collins commented at 8:15 PMOK, uploaded a new patch. Test added, used the respond_to? method. All tests passed in mysql/postgresql/sqlite.
Also, will this make it into the v3.0.4 release?
-
Ken Collins commented at 7:49 PMTrying this right now. Just got to figure out the right stub point. For instance.
def test_should_return_integer_average_if_db_returns_such Account.connectio... -
Ken Collins commented at 6:58 PMSpecifically SQL Server. Details on return type here.
http://msdn.microsoft.com/en-us/library/ms177677.aspxRe the code style, I do like your line better and te...
-
Ken Collins created the ticket at 2:59 AMSome databases return integer values for AVG. Allow that value to pass through vs raising an Fixnum#to_d no method error.
Friday, October 29 2010
-
Ken Collins commented at 3:12 PMLink to ticket #5887
https://rails.lighthouseapp.com/projects/8994/tickets/5887 -
Ken Collins commented at 3:12 PMCan anyone run the tests for ActiveRecord under 1.9.2? I can not, and created ticket 5887. I verified that this patch does somewhat speed up my app's testing un...