Grant Hollingworth
Not a member
Grant Hollingworth's latest activity
Wednesday, January 19 2011
2503
validates_uniqueness_of is horribly inefficient in mysql
was updated
in Ruby on Rails
-
- Tag set to patch
Here's a patch I've been using, rebased against the current HEAD. It adds a
case_insensitive_equality_operatormethod toActiveRecord::ConnectionAdapters::Datab...
Thursday, November 06 2008
1336
starttls for smtp makes gmail go
was created
in Ruby on Rails
-
Grant Hollingworth created the ticket at 4:18 AMGmail's SMTP server requires STARTTLS to be enabled. The action_mailer_tls plugin allows this by patching Net::SMTP. As of Ruby 1.8.7, Net::SMTP has this suppor...
Wednesday, June 11 2008
382
faster Hash#except
was updated
in Ruby on Rails
-
Grant Hollingworth commented at 4:49 AMOkay, updated benchmarks:
except: small hash, 100 000 times
user system total real
except_reject 1.250000 0.0100...
Tuesday, June 10 2008
382
faster Hash#except
was created
in Ruby on Rails
-
Grant Hollingworth created the ticket at 5:02 PMThe current version of Hash#except uses include?, which is incredibly slow for a long list of keys.
This patch is based on a similar one for Merb. The Merb ti...
Saturday, May 31 2008
286
[PATCH] fixed typo in Hash#except! doc
was created
in Ruby on Rails