aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/person.rb
blob: 53ac68055f9aa3a20f5a1615bf6587ae70f767f8 (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

  def condition_is_true
    true
  end
end

class Child < Person
end