Skip to content

Commit d2a9a38

Browse files
committed
fixup! Make a good example even better
1 parent 9a8abd5 commit d2a9a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ When naming custom validation methods, adhere to the simple rules:
565565
# good
566566
validate :expiration_date_cannot_be_in_the_past
567567
validate :discount_cannot_be_greater_than_total_value
568-
validate :ensure_same_topic
568+
validate :ensure_same_topic_is_chosen
569569
570570
# also good - explicit prefix
571571
validate :validate_birthday_in_past

0 commit comments

Comments
 (0)