提交 72af0bbc 编写于 作者: R Ryuta Kamizono

Fix typos

上级 ed5f2c61
......@@ -4,7 +4,7 @@
meant it had its own copy of `@assertions`. This prevented the assertions
from being correctly counted and reported.
Child sessions now have their `attr_accessor` overriden to delegate to the
Child sessions now have their `attr_accessor` overridden to delegate to the
root session.
Fixes #32142
......
......@@ -34,7 +34,7 @@
*Jeff Emminger*, *Gannon McGibbon*
* A database URL can now contain a querystring value that contains an equal sign. This is needed to support passing PostgresSQL `options`.
* A database URL can now contain a querystring value that contains an equal sign. This is needed to support passing PostgreSQL `options`.
*Joshua Flanagan*
......
......@@ -75,7 +75,7 @@
now able to modify `autoload_paths`, `autoload_once_paths`, and
`eager_load_paths`.
As a consequence, applications cannnot autoload within those files. Before, they technnically could, but changes in autoloaded classes or modules had no effect anyway in the configuration because reloading does not reboot.
As a consequence, applications cannot autoload within those files. Before, they technnically could, but changes in autoloaded classes or modules had no effect anyway in the configuration because reloading does not reboot.
Ways to use application code in these files:
......
......@@ -1991,7 +1991,7 @@ class D < C
assert_nil Rails.application.config.my_custom_config
end
test "config_for shared config is overriden" do
test "config_for shared config is overridden" do
set_custom_config <<~RUBY
shared:
foo: :from_shared
......@@ -2274,7 +2274,7 @@ class ::DummySerializer < ActiveJob::Serializers::ObjectSerializer; end
assert_equal :lax, Rails.application.config.action_dispatch.cookies_same_site_protection
end
test "Rails.application.config.action_dispatch.cookies_same_site_protection is :lax can be overriden" do
test "Rails.application.config.action_dispatch.cookies_same_site_protection is :lax can be overridden" do
app_file "config/environments/production.rb", <<~RUBY
Rails.application.configure do
config.action_dispatch.cookies_same_site_protection = :strict
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册