Sha256: 104eb4d44fac689ab8ca37dfb1ad9d5ff1ab5340cc50d62a128b7425384ba8b4
Contents?: true
Size: 212 Bytes
Versions: 20
Compression:
Stored size: 212 Bytes
Contents
class Relationship < ActiveRecord::Base belongs_to :follower, class_name: "User" belongs_to :followed, class_name: "User" validates :follower_id, presence: true validates :followed_id, presence: true end
Version data entries
20 entries across 20 versions & 2 rubygems