Skip to content

Commit

Permalink
Replace backticks with RDoc markup [ci-skip]
Browse files Browse the repository at this point in the history
Follow-up to #50482.

RDoc does not support backticks the way that Markdown does.  Instead,
inline code must be wrapped with `+` or `<tt>`.
  • Loading branch information
jonathanhefner committed Jan 7, 2024
1 parent e0ae038 commit ecb1d66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/relation.rb
Expand Up @@ -300,8 +300,8 @@ def find_or_initialize_by(attributes, &block)
# Note that this method actually runs the queries, since the results of some
# are needed by the next ones when eager loading is going on.
#
# To run EXPLAIN on queries created by `first`, `pluck` and `count`, call
# these methods on `explain`:
# To run EXPLAIN on queries created by +first+, +pluck+ and +count+, call
# these methods on +explain+:
#
# User.all.explain.count
# # EXPLAIN SELECT COUNT(*) FROM `users`
Expand Down

0 comments on commit ecb1d66

Please sign in to comment.