Sha256: d58ed58a50ab5c40d448eca3b418ae814cf1d782972d018227cbdae5a5413e31

Contents?: true

Size: 146 Bytes

Versions: 20

Compression:

Stored size: 146 Bytes

Contents

class Hack < ActiveRecord::Base
  has_many :comments, :as => :person
  
  has_one :first_comment, :as => :person, :class_name => "Comment"
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
composite_primary_keys-12.0.2 test/fixtures/hack.rb
composite_primary_keys-11.3.1 test/fixtures/hack.rb
composite_primary_keys-8.1.8 test/fixtures/hack.rb
composite_primary_keys-12.0.1 test/fixtures/hack.rb
composite_primary_keys-12.0.0 test/fixtures/hack.rb
composite_primary_keys-12.0.0.rc5 test/fixtures/hack.rb
composite_primary_keys-12.0.0.rc4 test/fixtures/hack.rb
composite_primary_keys-12.0.0.rc3 test/fixtures/hack.rb
composite_primary_keys-12.0.0.rc2 test/fixtures/hack.rb
composite_primary_keys-12.0.0.rc1 test/fixtures/hack.rb
composite_primary_keys-8.1.7 test/fixtures/hack.rb
composite_primary_keys-11.2.0 test/fixtures/hack.rb
composite_primary_keys-11.1.0 test/fixtures/hack.rb
composite_primary_keys-11.0.3 test/fixtures/hack.rb
composite_primary_keys-11.0.2 test/fixtures/hack.rb
composite_primary_keys-10.0.5 test/fixtures/hack.rb
composite_primary_keys-9.0.10 test/fixtures/hack.rb
composite_primary_keys-11.0.1 test/fixtures/hack.rb
composite_primary_keys-11.0.0 test/fixtures/hack.rb
composite_primary_keys-10.0.4 test/fixtures/hack.rb