aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/person.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/models/person.rb')
-rw-r--r--activemodel/test/models/person.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/activemodel/test/models/person.rb b/activemodel/test/models/person.rb
index d98420f900..c83d768379 100644
--- a/activemodel/test/models/person.rb
+++ b/activemodel/test/models/person.rb
@@ -1,5 +1,9 @@
class Person
include ActiveModel::Validations
+ extend ActiveModel::Translation
- attr_accessor :title, :karma
+ attr_accessor :title, :karma, :salary
+end
+
+class Child < Person
end