aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_postgresql.md
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-11-24 15:12:45 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-11-24 17:33:16 +0530
commit312b345b45cc6cbbd832c789ac14f261da66c80f (patch)
treef968a6724a19a704e920739e781f2d00c08acd3a /guides/source/active_record_postgresql.md
parent8556ab505a0a91efb529039b653984ab2b466a7e (diff)
downloadrails-312b345b45cc6cbbd832c789ac14f261da66c80f.tar.gz
rails-312b345b45cc6cbbd832c789ac14f261da66c80f.tar.bz2
rails-312b345b45cc6cbbd832c789ac14f261da66c80f.zip
Followup of UUID default extension in the docs [ci skip]
- Mentioned clearly that for PostgreSQL < 9.4, you need to pass the default option with "uuid_generate_v4()" - Also updated PostgreSQL Active Record guide with this change. - https://github.com/rails/rails/pull/25395#r66877078
Diffstat (limited to 'guides/source/active_record_postgresql.md')
-rw-r--r--guides/source/active_record_postgresql.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md
index d7e35490ef..58af2f82b3 100644
--- a/guides/source/active_record_postgresql.md
+++ b/guides/source/active_record_postgresql.md
@@ -422,7 +422,7 @@ device = Device.create
device.id # => "814865cd-5a1d-4771-9306-4268f188fe9e"
```
-NOTE: `uuid_generate_v4()` (from `uuid-ossp`) is assumed if no `:default` option was
+NOTE: `gen_random_uuid()` (from `pgcrypto`) is assumed if no `:default` option was
passed to `create_table`.
Full Text Search