aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-06-24 09:38:27 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-06-24 09:38:27 +0900
commitee708cf402ac9ad8bba4ad4808c01266433883a5 (patch)
tree32c7364de9ebcdea7e5d68d87f39f87890a43f5c /activerecord/lib
parent308bcc2d561b2f1f5abaf244ddde7f767b0c0a1e (diff)
downloadrails-ee708cf402ac9ad8bba4ad4808c01266433883a5.tar.gz
rails-ee708cf402ac9ad8bba4ad4808c01266433883a5.tar.bz2
rails-ee708cf402ac9ad8bba4ad4808c01266433883a5.zip
Fix formatting of `primary_key` [ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb
index 6047217fcd..206b855a18 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb
@@ -13,10 +13,10 @@ module ActiveRecord
# t.timestamps
# end
#
- # By default, this will use the +gen_random_uuid()+ function from the
+ # By default, this will use the <tt>gen_random_uuid()</tt> function from the
# +pgcrypto+ extension. As that extension is only available in
# PostgreSQL 9.4+, for earlier versions an explicit default can be set
- # to use +uuid_generate_v4()+ from the +uuid-ossp+ extension instead:
+ # to use <tt>uuid_generate_v4()</tt> from the +uuid-ossp+ extension instead:
#
# create_table :stuffs, id: false do |t|
# t.primary_key :id, :uuid, default: "uuid_generate_v4()"