Changeset 8250
- Timestamp:
- 12/01/07 23:12:49 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/lib/active_record/validations.rb
r8208 r8250 596 596 # attribute (that maps to a column). When the record is updated, the same check is made but disregarding the record itself. 597 597 # 598 # Because this check is performed outside the database there is still a chance that duplicate values 599 # will be inserted in two parrallel transactions. To guarantee against this you should create a 600 # unique index on the field. See +create_index+ for more information. 601 # 598 602 # Configuration options: 599 603 # * <tt>message</tt> - Specifies a custom error message (default is: "has already been taken")