aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2015-08-08 10:47:04 +0100
committerAbdelkader Boudih <terminale@gmail.com>2015-08-08 10:47:04 +0100
commite7007e384c2ccfda3228c1ccdb1331e89fb17f4d (patch)
tree62c1754d2c048161864b55fad53e4cfd659839a5
parent64b5c849a071e7cd2c244258f2fb43850df53cb7 (diff)
parentc0747e2f39a1c040c50e63fb41e23dfa6e30f2fc (diff)
downloadrails-e7007e384c2ccfda3228c1ccdb1331e89fb17f4d.tar.gz
rails-e7007e384c2ccfda3228c1ccdb1331e89fb17f4d.tar.bz2
rails-e7007e384c2ccfda3228c1ccdb1331e89fb17f4d.zip
Merge pull request #21170 from y-yagi/fix_uuid_example
use uuid method to define the UUID type [ci skip]
-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 fe112a4708..9d495dfacb 100644
--- a/guides/source/active_record_postgresql.md
+++ b/guides/source/active_record_postgresql.md
@@ -252,7 +252,7 @@ extension to use uuid.
```ruby
# db/migrate/20131220144913_create_revisions.rb
create_table :revisions do |t|
- t.column :identifier, :uuid
+ t.uuid :identifier
end
# app/models/revision.rb