Skip to content

Commit a27c9ee

Browse files
Merge pull request rails#41917 from jbampton/fix-ie-typos
chore: fix i.e. typos in Markdown and Ruby [ci-skip]
2 parents ee665e1 + 6cf394c commit a27c9ee

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

activerecord/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@
469469
470470
* Add option to run `default_scope` on all queries.
471471
472-
Previously, a `default_scope` would only run on select or insert queries. In some cases, like non-Rails tenant sharding solutions, it may be desirable to run `default_scope` on all queries in order to ensure queries are including a foreign key for the shard (ie `blog_id`).
472+
Previously, a `default_scope` would only run on select or insert queries. In some cases, like non-Rails tenant sharding solutions, it may be desirable to run `default_scope` on all queries in order to ensure queries are including a foreign key for the shard (i.e. `blog_id`).
473473
474474
Now applications can add an option to run on all queries including select, insert, delete, and update by adding an `all_queries` option to the default scope definition.
475475

activerecord/lib/active_record/database_configurations/url_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class DatabaseConfigurations
1919
#
2020
# ==== Options
2121
#
22-
# * <tt>:env_name</tt> - The Rails environment, ie "development".
22+
# * <tt>:env_name</tt> - The Rails environment, i.e. "development".
2323
# * <tt>:name</tt> - The db config name. In a standard two-tier
2424
# database configuration this will default to "primary". In a multiple
2525
# database three-tier database configuration this corresponds to the name

guides/source/active_record_multiple_databases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ the handler. Call `connection_handler.all_connection_pools` to use this. In most
415415
you'll want writing or reading pools with `connection_handler.connection_pool_list(:writing)` or
416416
`connection_handler.connection_pool_list(:reading)`.
417417
* If you turn off `legacy_connection_handling` in your application, any method that's unsupported
418-
will raise an error (ie `connection_handlers=`).
418+
will raise an error (i.e. `connection_handlers=`).
419419

420420
## Granular Database Connection Switching
421421

guides/source/api_app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ The following middlewares, used for session management, are excluded from API ap
344344
The trick to adding these back in is that, by default, they are passed `session_options`
345345
when added (including the session key), so you can't just add a `session_store.rb` initializer, add
346346
`use ActionDispatch::Session::CookieStore` and have sessions functioning as usual. (To be clear: sessions
347-
may work, but your session options will be ignored - i.e the session key will default to `_session_id`)
347+
may work, but your session options will be ignored - i.e. the session key will default to `_session_id`)
348348

349349
Instead of the initializer, you'll have to set the relevant options somewhere before your middleware is
350350
built (like `config/application.rb`) and pass them to your preferred middleware, like this:

0 commit comments

Comments
 (0)