aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/mouse.rb
blob: 75a55c125db612511c7958e9db40f9985fae7687 (plain) (blame)
1
2
3
4
5
6
# frozen_string_literal: true

class Mouse < ActiveRecord::Base
  has_many :squeaks, autosave: true
  validates :name, presence: true
end