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

Version Path
rails_magic_renamer-2.0.0.pre.alpha spec/support/sample_app_rails_4/app/models/relationship.rb
active_mocker-1.4.2 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.4.1 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.3.2 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.3.1 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.3 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.4 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.3 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.11 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.10 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.9 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.8 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.7 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.6 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.5 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.4 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.3 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.2 sample_app_rails_4/app/models/relationship.rb
active_mocker-1.2.pre.1 sample_app_rails_4/app/models/relationship.rb