rails/activemodel/test/models/person.rb
Santiago Pastorino a00bed0c48 Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]"
This breaks #6448, you should use :"module/class" as key for namespacing
[#6448 state:committed]

This reverts commit 8d30193b08bd2321a7a78a1f481bd5e4d4d45557.
2011-02-27 21:30:03 -02:00

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