Skip to content

Commit 8d88cb6

Browse files
authored
Merge pull request #300 from cuchi/master
Fix code highlighting issues
2 parents 5ffda82 + 281ca95 commit 8d88cb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -657,15 +657,15 @@ end
657657
Order callback declarations in the order in which they will be executed.
658658
For reference, see https://guides.rubyonrails.org/active_record_callbacks.html#available-callbacks[Available Callbacks].
659659

660-
[source,Ruby]
660+
[source,ruby]
661661
----
662-
#bad
662+
# bad
663663
class Person
664664
after_commit :after_commit_callback
665665
before_validation :before_validation_callback
666666
end
667667
668-
#good
668+
# good
669669
class Person
670670
before_validation :before_validation_callback
671671
after_commit :after_commit_callback
@@ -978,7 +978,7 @@ User.pick(:name)
978978

979979
Favor the use of `ids` over `pluck(:id)`.
980980

981-
[source,Ruby]
981+
[source,ruby]
982982
----
983983
# bad
984984
User.pluck(:id)

0 commit comments

Comments
 (0)