mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
This breaks #6448, you should use :"module/class" as key for namespacing
[#6448 state:committed]
This reverts commit 8d14fa8959.
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
|