X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/80427b3e5e5ebeecbc0a57a1549a2a33e0c92199..dce0f1639e9ac0c4d79182725b2996ad85c4d279:/app/models/friendship.rb?ds=sidebyside diff --git a/app/models/friendship.rb b/app/models/friendship.rb index 27b25aee1..476821b47 100644 --- a/app/models/friendship.rb +++ b/app/models/friendship.rb @@ -17,7 +17,7 @@ # friends_user_id_fkey (user_id => users.id) # -class Friendship < ActiveRecord::Base +class Friendship < ApplicationRecord self.table_name = "friends" belongs_to :befriender, :class_name => "User", :foreign_key => :user_id