Sha256: 41969b15b1c793a24334eac29fa736b39f412071d30bfefbab64bce211bd6e98

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

module Msip
  module Concerns
    module Models
      module Tsitio
        extend ActiveSupport::Concern

        include Msip::Basica
        included do
          self.table_name = 'msip_tsitio'
          has_many :ubicacion, foreign_key: "id_tsitio", validate: true,
            class_name: 'Msip::Ubicacion'
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msip-2.2.0.alfa3 lib/msip/concerns/models/tsitio.rb
msip-2.2.0.alfa2 lib/msip/concerns/models/tsitio.rb
msip-2.2a2 lib/msip/concerns/models/tsitio.rb