aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAlexey Markov <piton4eg@mail.ru>2015-08-27 23:16:44 +0300
committerAlexey Markov <piton4eg@mail.ru>2015-08-27 23:16:44 +0300
commit0c85705f38788f5d1ef2768206c724b21ac996d6 (patch)
treeb73a116e6903f4ff06f78553dbcf118871c6560b /guides
parent53265e88067084855753522256b86568fdad5b0c (diff)
downloadrails-0c85705f38788f5d1ef2768206c724b21ac996d6.tar.gz
rails-0c85705f38788f5d1ef2768206c724b21ac996d6.tar.bz2
rails-0c85705f38788f5d1ef2768206c724b21ac996d6.zip
Fix Configuring Active Record [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index df9704830e..d63317433d 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -267,8 +267,8 @@ All these configuration options are delegated to the `I18n` library.
* `config.active_record.logger` accepts a logger conforming to the interface of Log4r or the default Ruby Logger class, which is then passed on to any new database connections made. You can retrieve this logger by calling `logger` on either an Active Record model class or an Active Record model instance. Set to `nil` to disable logging.
* `config.active_record.primary_key_prefix_type` lets you adjust the naming for primary key columns. By default, Rails assumes that primary key columns are named `id` (and this configuration option doesn't need to be set.) There are two other choices:
-** `:table_name` would make the primary key for the Customer class `customerid`
-** `:table_name_with_underscore` would make the primary key for the Customer class `customer_id`
+ * `:table_name` would make the primary key for the Customer class `customerid`
+ * `:table_name_with_underscore` would make the primary key for the Customer class `customer_id`
* `config.active_record.table_name_prefix` lets you set a global string to be prepended to table names. If you set this to `northwest_`, then the Customer class will look for `northwest_customers` as its table. The default is an empty string.