Skip to content

Commit 0d72302

Browse files
committed
Fix association name
1 parent f44f78e commit 0d72302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/dojo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Dojo < ApplicationRecord
44
NUM_OF_JAPAN_DOJOS = Dojo.count.to_s
55

66
has_one :dojo_event_service
7-
has_many :event_history
7+
has_many :event_histories
88

99
serialize :tags
1010
default_scope -> { order(order: :asc) }

0 commit comments

Comments
 (0)