Sha256: ecf8c0149e765ac682a906c8953d145222febf37d18ae936247b821b1b00b585
Contents?: true
Size: 263 Bytes
Versions: 3
Compression:
Stored size: 263 Bytes
Contents
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
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
activejob-lock-0.0.2 | rails/activemodel/test/models/person.rb |
activejob-lock-0.0.1 | rails/activemodel/test/models/person.rb |
mass_assignment_with_multiple_roles-0.0.1 | test/models/person.rb |