mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
5 lines
89 B
Ruby
5 lines
89 B
Ruby
class ShipPart < ActiveRecord::Base
|
|
belongs_to :ship
|
|
|
|
validates_presence_of :name
|
|
end |