diff options
author | Sharang Dashputre <sharang.d@gmail.com> | 2019-03-25 12:37:28 +0530 |
---|---|---|
committer | Sharang Dashputre <sharang.d@gmail.com> | 2019-03-25 12:37:28 +0530 |
commit | 2b205c8fa7bf9ed876b59c0e14c06696ce3fc6b7 (patch) | |
tree | 02c7c25b5228663d960e1f5a4bada07a918f39d8 /activerecord/lib | |
parent | 6a5c8b91998c56e50b5cc934d968947cd319f735 (diff) | |
download | rails-2b205c8fa7bf9ed876b59c0e14c06696ce3fc6b7.tar.gz rails-2b205c8fa7bf9ed876b59c0e14c06696ce3fc6b7.tar.bz2 rails-2b205c8fa7bf9ed876b59c0e14c06696ce3fc6b7.zip |
Format 'RETURNING' text in the docs [ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index ba03a3773a..7705cefa59 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -88,7 +88,7 @@ module ActiveRecord # (Postgres-only) An array of attributes to return for all successfully # inserted records, which by default is the primary key. # Pass <tt>returning: %w[ id name ]</tt> for both id and name - # or <tt>returning: false</tt> to omit the underlying RETURNING SQL + # or <tt>returning: false</tt> to omit the underlying <tt>RETURNING</tt> SQL # clause entirely. # # [:unique_by] @@ -157,7 +157,7 @@ module ActiveRecord # (Postgres-only) An array of attributes to return for all successfully # inserted records, which by default is the primary key. # Pass <tt>returning: %w[ id name ]</tt> for both id and name - # or <tt>returning: false</tt> to omit the underlying RETURNING SQL + # or <tt>returning: false</tt> to omit the underlying <tt>RETURNING</tt> SQL # clause entirely. # # ==== Examples @@ -205,7 +205,7 @@ module ActiveRecord # (Postgres-only) An array of attributes to return for all successfully # inserted records, which by default is the primary key. # Pass <tt>returning: %w[ id name ]</tt> for both id and name - # or <tt>returning: false</tt> to omit the underlying RETURNING SQL + # or <tt>returning: false</tt> to omit the underlying <tt>RETURNING</tt> SQL # clause entirely. # # [:unique_by] |