aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/tuning_peg.rb
blob: 1252d6dc1d58b422cf3959a036887ae3e6b1fcf9 (plain) (blame)
1
2
3
4
class TuningPeg < ActiveRecord::Base
  belongs_to :guitar
  validates_numericality_of :pitch
end