Sha256: 93e5cb455c7811e944a4c83cd7ddb18d514b5c83d0c061ca4d01a5a652e28d13
Contents?: true
Size: 267 Bytes
Versions: 3
Compression:
Stored size: 267 Bytes
Contents
class Importfile < ActiveRecord::Base belongs_to :organization has_attached_file :avatar validates_attachment_content_type :avatar, :content_type => ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pshq_engine-0.1.6 | app/models/importfile.rb |
pshq_engine-0.1.5 | app/models/importfile.rb |
pshq_engine-0.0.1 | app/models/importfile.rb |