aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/person.rb
blob: 86e8d73bbb8a1a82138bcac3a5eb9950a73d51b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
class Person
  include ActiveModel::Validations
  extend  ActiveModel::Translation

  attr_accessor :title, :karma, :salary, :genre, :password

  def condition_is_true
    true
  end
end

class Child < Person
end