aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/ship_part.rb
blob: 0a606db23995e3aba50f2b6ec2bc5c729bf4e411 (plain) (blame)
1
2
3
4
5
class ShipPart < ActiveRecord::Base
  belongs_to :ship

  validates_presence_of :name
end