Nicolae Claudius
13 years ago
3 changed files with 3 additions and 1 deletions
@ -1,3 +1,4 @@
|
||||
class Domain < ActiveRecord::Base |
||||
set_inheritance_column { 'sti_type' } |
||||
has_many :records |
||||
end |
||||
|
@ -1,3 +1,4 @@
|
||||
class Record < ActiveRecord::Base |
||||
set_inheritance_column { 'sti_type' } |
||||
belongs_to :domain |
||||
end |
||||
|
Loading…
Reference in new issue