Sha256: 3b4f5ee793acd4fcd2d2695e70ce6db00647355be60f1ec46bf1b0c9575112db

Contents?: true

Size: 385 Bytes

Versions: 13

Compression:

Stored size: 385 Bytes

Contents

class Place < ActiveRecord::Base
  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

13 entries across 13 versions & 1 rubygems

Version Path
enju_event-0.3.2 app/models/place.rb
enju_event-0.3.1 app/models/place.rb
enju_event-0.3.0 app/models/place.rb
enju_event-0.3.0.rc.1 app/models/place.rb
enju_event-0.3.0.beta.1 app/models/place.rb
enju_event-0.2.3 app/models/place.rb
enju_event-0.2.2 app/models/place.rb
enju_event-0.2.1 app/models/place.rb
enju_event-0.2.0 app/models/place.rb
enju_event-0.2.0.beta.4 app/models/place.rb
enju_event-0.2.0.beta.3 app/models/place.rb
enju_event-0.2.0.beta.2 app/models/place.rb
enju_event-0.2.0.beta.1 app/models/place.rb