Sha256: e936d61f3b1257390bedd6083e36c937a53ad9fe383d62927ed52a6b2dbfcb93

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

# frozen_string_literal: true

# == Schema Information
#
# Table name: location_phones
#
#  id                  :integer          not null, primary key
#  company_location_id :integer
#  title_translations  :hstore           default({})
#  notes_translations  :hstore           default({})
#  phone               :string(255)
#  created_at          :datetime
#  updated_at          :datetime
#

class LocationPhone < ActiveRecord::Base
  validates :phone, presence: true
  translates :title, :notes

  belongs_to :company_location
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/models/location_phone.rb