mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9 lines
154 B
Ruby
9 lines
154 B
Ruby
class Person
|
|
include ActiveModel::Validations
|
|
extend ActiveModel::Translation
|
|
|
|
attr_accessor :title, :karma, :salary
|
|
end
|
|
|
|
class Child < Person
|
|
end
|