a00bed0c48
This breaks #6448, you should use :"module/class" as key for namespacing [#6448 state:committed] This reverts commit 8d30193b08bd2321a7a78a1f481bd5e4d4d45557.
18 lines
263 B
Ruby
18 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
|