Skip to content

Commit d9d8d8a

Browse files
committed
Correct typos in activerecord changelog and querylogs docs [ci-skip]
1 parent e23e171 commit d9d8d8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activerecord/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
end
175175
```
176176

177-
Then register the config in an inializer:
177+
Then register the config in an initializer:
178178

179179
```ruby
180180
ActiveRecord::DatabaseConfigurations.register_db_config_handler do |env_name, name, url, config|

activerecord/lib/active_record/query_logs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def uncached_comment(connection)
136136
def escape_sql_comment(content)
137137
# Sanitize a string to appear within a SQL comment
138138
# For compatibility, this also surrounding "/*+", "/*", and "*/"
139-
# charcacters, possibly with single surrounding space.
139+
# characters, possibly with single surrounding space.
140140
# Then follows that by replacing any internal "*/" or "/ *" with
141141
# "* /" or "/ *"
142142
comment = content.to_s.dup

0 commit comments

Comments
 (0)