mirror of
https://github.com/github/rails.git
synced 2026-01-09 22:58:09 -05:00
This breaks #6448, you should use :"module/class" as key for namespacing
[#6448 state:committed]
This reverts commit 8d30193b08.
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
|