Sha256: 8a4cb2155d8d6e06942bd49b3477a7c6cf30bb244f9b6e81ccba2aaef812b43c

Contents?: true

Size: 384 Bytes

Versions: 5

Compression:

Stored size: 384 Bytes

Contents

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_event-0.3.5 app/models/place.rb
enju_event-0.3.4 app/models/place.rb
enju_event-0.3.3 app/models/place.rb
enju_event-0.4.0.beta.2 app/models/place.rb
enju_event-0.4.0.beta.1 app/models/place.rb