mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
7 lines
144 B
Ruby
7 lines
144 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Trip < ApplicationRecord
|
|
belongs_to :user
|
|
|
|
validates :name, :started_at, :ended_at, presence: true
|
|
end
|