Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Dave Grijalva's latest activity

Thursday, April 16 2009
2503 validates_uniqueness_of is horribly inefficient in mysql was created in Ruby on Rails
  • Dave Grijalva
    Dave Grijalva created the ticket at 12:09 AM

    mysql is case insensitive by default. for case insensitive comparisions, the following is efficient.

    WHERE users.username = 'myUsername'

    validates_uniqueness_of...