formatting
This commit is contained in:
parent
a1f911086b
commit
daa042630d
|
|
@ -1,10 +1,10 @@
|
|||
module JamRuby
|
||||
class FriendRequest < ActiveRecord::Base
|
||||
class FriendRequest < ActiveRecord::Base
|
||||
|
||||
self.primary_key = 'id'
|
||||
self.primary_key = 'id'
|
||||
|
||||
belongs_to :user
|
||||
belongs_to :friend, :class_name => "JamRuby::User"
|
||||
belongs_to :user
|
||||
belongs_to :friend, :class_name => "JamRuby::User"
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
module JamRuby
|
||||
class Friendship < ActiveRecord::Base
|
||||
class Friendship < ActiveRecord::Base
|
||||
|
||||
self.primary_key = 'id'
|
||||
self.primary_key = 'id'
|
||||
|
||||
belongs_to :user
|
||||
belongs_to :friend, :class_name => "JamRuby::User"
|
||||
belongs_to :user
|
||||
belongs_to :friend, :class_name => "JamRuby::User"
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue