Skip to content

Commit

Permalink
Merge pull request #183 from hypermkt/fix-comment
Browse files Browse the repository at this point in the history
Fix #force_update block comment
  • Loading branch information
hypermkt authored Dec 23, 2024
2 parents d231d1a + 2bf7f71 commit 143bbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ Timecop.freeze("2019/1/10") {
}

Timecop.freeze("2019/1/20") {
# #force_update のでは自身を受け取る
# #force_update のブロック内で自身を受け取る
# このブロック内であれば履歴を生成せずにレコードの変更が行われる
employee.force_update { |employee|
employee.update(name: "Tom")
Expand Down

0 comments on commit 143bbd2

Please sign in to comment.