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.

This project is archived and is in readonly mode.

validates_uniqueness_of: wrong default in doc

#498

activerecord/CHANGELOG says:

"Change validates_uniqueness_of :case_sensitive option default back to true (from [9160]). Love your database columns, don't LOWER them. [rick]"

but the documentations states:

":case_sensitive - Looks for an exact match. Ignored by non-text columns (false by default)."

The default is true

Reported by Patrick Gruban · June 27th, 2008 @ 10:32 AM

State: duplicate
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Tarmo Tänav
    Tarmo Tänav
    • Tag changed from 2.1, activerecord, doc to 2.1, activerecord

    Thank you for the report, but closing in favor of #883 validates_uniqueness_of is case_sensitive by default

    September 18th, 2008 @ 07:12 AM

  2. Frederick Cheung
    Frederick Cheung
    • State changed from new to duplicate

    December 14th, 2008 @ 02:12 PM