質問編集履歴

1

fix

2022/01/25 22:45

投稿

thesnowman
thesnowman

スコア154

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  # これならDBアクセスを減らせる?
18
18
  def self.latest_version
19
- @latest_version ||= Policy.maximum(:version)
19
+ @latest_version ||= maximum(:version)
20
20
  end
21
21
 
22
22
  end