Frederick Cheung
Member of 1 project: Ruby on Rails
Frederick Cheung's latest activity
Friday, May 15 2009
-
Frederick Cheung commented at 1:43 PMAh, I'm with you now, it's not actually checking whether foo exists when handling respond_to 'deliver_foo'
Tuesday, May 12 2009
-
Frederick Cheung commented at 8:00 PMCool, I've been bitten by this one (also with new relic and a databaseless app). Not someone with a checkout of rails handy, but isn't removing the ActiveRecord...
-
Frederick Cheung commented at 2:44 PMWell I don't thing rails is doing this on purpose - it's basically doing
foos << Foo.find(ids)and find uniques the ids (ie it's not the association code...
-
Frederick Cheung commented at 9:00 AMYou will occasionally get duplicate values but that happened with the old hash too and is inevitable (pigeon hole principal etc.)
Monday, May 11 2009
-
Frederick Cheung commented at 10:46 PMI'm assuming no-one actually cares what the actual value of Fixture.identify('foo') is, as long as it doesn't change across test runs - I don't think changing t...
-
Frederick Cheung commented at 6:34 PMPart of the problem is that the integer overflows, and according to the c standard an overflowing signed integer has undefined behaviour, so this may be harder ...
-
Frederick Cheung commented at 4:25 PMYou're going to get a lot of collisions like that eg
'foo'.sum == 'oof'.sum
If we truly need fixture identifiers that persist across runs, i think that taking t...
-
Frederick Cheung commented at 4:19 PMWell in the brief experiment I did stuff from lib is reloaded between requests (at least by default).
-
Frederick Cheung commented at 2:24 PMIn development mode your source is reloaded before every request (but the initializer isn't re-run) so you lose the fact that the value has been set.
-
Frederick Cheung commented at 2:39 PMbeen there, done that got the tshirt (there was also a thread on the core list a while back proposing that select => 'foo.*' be the default). find default :sele...