Sha256: bb1369a6e6d6c5fc3acc226b6cb81effc99c9e46c30c1c97b8d0417d3ba5d234

Contents?: true

Size: 363 Bytes

Versions: 3

Compression:

Stored size: 363 Bytes

Contents

class Hole < ActiveRecord::Base
  # muskrats are permanent
  has_many :muskrats, :dependent => :destroy
  # moles are not permanent
  has_many :moles, :dependent => :destroy
  
  has_one :location, :dependent => :destroy
  has_one :unused_model, :dependent => :destroy
  has_one :difficulty, :dependent => :destroy
  has_many :comments, :dependent => :destroy
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
permanent_records-2.1.2 test/hole.rb
permanent_records-2.1.1 test/hole.rb
permanent_records-2.1.0 test/hole.rb