aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_validations.md
diff options
context:
space:
mode:
authorRonak Jangir <ronakjangir47@gmail.com>2015-05-20 13:56:58 +0530
committerRonak Jangir <ronakjangir47@gmail.com>2015-05-20 14:00:31 +0530
commit76fbfe9e6c7bf9e61f7b9d14a033f50ac4ff2b5e (patch)
tree8d5485ff249953243a512fb11198fbc186bcdc91 /guides/source/active_record_validations.md
parent07f1a503ace4b728b6e295af3fc69c1dc1ed18cc (diff)
downloadrails-76fbfe9e6c7bf9e61f7b9d14a033f50ac4ff2b5e.tar.gz
rails-76fbfe9e6c7bf9e61f7b9d14a033f50ac4ff2b5e.tar.bz2
rails-76fbfe9e6c7bf9e61f7b9d14a033f50ac4ff2b5e.zip
Updated postgresql documentation link to use latest version [ci skip]
Diffstat (limited to 'guides/source/active_record_validations.md')
-rw-r--r--guides/source/active_record_validations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md
index 60f0f0f0b7..a89f865200 100644
--- a/guides/source/active_record_validations.md
+++ b/guides/source/active_record_validations.md
@@ -627,7 +627,7 @@ class Holiday < ActiveRecord::Base
message: "should happen once per year" }
end
```
-Should you wish to create a database constraint to prevent possible violations of a uniqueness validation using the `:scope` option, you must create a unique index on both columns in your database. See [the MySQL manual](http://dev.mysql.com/doc/refman/5.6/en/multiple-column-indexes.html) for more details about multiple column indexes or [the PostgreSQL manual](http://www.postgresql.org/docs/9.4/static/ddl-constraints.html) for examples of unique constraints that refer to a group of columns.
+Should you wish to create a database constraint to prevent possible violations of a uniqueness validation using the `:scope` option, you must create a unique index on both columns in your database. See [the MySQL manual](http://dev.mysql.com/doc/refman/5.6/en/multiple-column-indexes.html) for more details about multiple column indexes or [the PostgreSQL manual](http://www.postgresql.org/docs/current/static/ddl-constraints.html) for examples of unique constraints that refer to a group of columns.
There is also a `:case_sensitive` option that you can use to define whether the
uniqueness constraint will be case sensitive or not. This option defaults to