mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
a00bed0c48
This breaks #6448, you should use :"module/class" as key for namespacing
[#6448 state:committed]
This reverts commit 8d30193b08
.
17 lines
263 B
Ruby
17 lines
263 B
Ruby
class Person
|
|
include ActiveModel::Validations
|
|
extend ActiveModel::Translation
|
|
|
|
attr_accessor :title, :karma, :salary, :gender
|
|
|
|
def condition_is_true
|
|
true
|
|
end
|
|
end
|
|
|
|
class Person::Gender
|
|
extend ActiveModel::Translation
|
|
end
|
|
|
|
class Child < Person
|
|
end
|