Sha256: 65b43e03c7d3dec4fb04c9498d19f89798e531a50d12b6b5aef3bc695187e5a2

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

class Place < ApplicationRecord
  has_many :events
  validates :term, presence: true
end

# == Schema Information
#
# Table name: places
#
#  id         :bigint           not null, primary key
#  term       :string
#  city       :text
#  country_id :bigint
#  latitude   :float
#  longitude  :float
#  created_at :datetime         not null
#  updated_at :datetime         not null
#

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_event-0.4.0.rc.1 app/models/place.rb