Sha256: 472c2089d5f04f13d9eabd7a9057aed09da923780e71770b14f2612df65bf3c9

Contents?: true

Size: 497 Bytes

Versions: 3

Compression:

Stored size: 497 Bytes

Contents

class Record < ActiveRecord::Base
  
  belongs_to :belongs_to, :dependent => :delete
  
  has_one :has_one, :dependent => :destroy
  
  has_many :has_manies, :dependent => :delete_all
  
  has_many :has_many_through_throughs, :dependent => :destroy
  has_many :has_many_throughs, :dependent => :destroy, :through => :has_many_through_throughs
  
  has_one :has_one_through_through, :dependent => :destroy
  has_one :has_one_through, :dependent => :destroy, :through => :has_one_through_through
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
acts_as_archive-0.4.1 spec/fixtures/models/record.rb
rylwin-acts_as_archive-0.4.0 spec/fixtures/models/record.rb
acts_as_archive-0.4.0 spec/fixtures/models/record.rb