Alias recieved_points to received_points

to avoid a change of the db schema for now
This commit is contained in:
Thor77 2018-12-11 14:49:02 +01:00
parent 5076197f78
commit 2f828542ef
1 changed files with 3 additions and 0 deletions

View File

@ -3,4 +3,7 @@
class GroupScore < ApplicationRecord class GroupScore < ApplicationRecord
belongs_to :team belongs_to :team
belongs_to :group belongs_to :group
# :)
alias_attribute :received_points, :recieved_points
end end