Browse Source

sti & typo fix

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
1051ee0767
  1. 1
      app/models/domain.rb
  2. 1
      app/models/record.rb
  3. 2
      app/views/fragments/_bottom.html.erb

1
app/models/domain.rb

@ -1,3 +1,4 @@
class Domain < ActiveRecord::Base
set_inheritance_column { 'sti_type' }
has_many :records
end

1
app/models/record.rb

@ -1,3 +1,4 @@
class Record < ActiveRecord::Base
set_inheritance_column { 'sti_type' }
belongs_to :domain
end

2
app/views/fragments/_bottom.html.erb

@ -1,5 +1,5 @@
<div id="footer">
<div class="block">
<p>Copyright &copy; <%= Time.now.year %> Nicolae Claudis</p>
<p>Copyright &copy; <%= Time.now.year %> Nicolae Claudius</p>
</div>
</div>
Loading…
Cancel
Save