diff --git a/test/dummy/app/models/animal.rb b/test/dummy/app/models/animal.rb index 99415b05..18c97312 100644 --- a/test/dummy/app/models/animal.rb +++ b/test/dummy/app/models/animal.rb @@ -1,4 +1,4 @@ class Animal < ActiveRecord::Base has_paper_trail - set_inheritance_column 'species' + self.inheritance_column = 'species' end