Sha256: 575053673a577c33f2a415bfbdbd765436ca253bad7672f84db05a4e8429e3a3
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
class Hole < ActiveRecord::Base # Because when we're destroying a mole hole we're obviously using high explosives. belongs_to :dirt, :dependent => :destroy # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
permanent_records-2.3.0 | test/hole.rb |