Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
class Intervention < ActiveRecord::Base
|
||||
class Intervention < ApplicationRecord
|
||||
|
||||
has_many :user_exercise_interventions
|
||||
has_many :users, through: :user_exercise_interventions, source_type: "ExternalUser"
|
||||
has_many :users, through: :user_exercise_interventions, source_type: 'ExternalUser'
|
||||
|
||||
def to_s
|
||||
name
|
||||
|
Reference in New Issue
Block a user