Sha256: 36b8fac0987d916e6ac9385850b55f94b587141ae81b27ced0be25425565c5b5

Contents?: true

Size: 566 Bytes

Versions: 8

Compression:

Stored size: 566 Bytes

Contents

class CabooseRets::AgentMeta < ActiveRecord::Base
  self.table_name = "rets_agents_meta"
  belongs_to :agent, :foreign_key => 'matrix_unique_id', :primary_key => 'la_code'
  has_attached_file :image,
    :path => 'rets/agents/:la_code_:style.:extension',
    :styles => {
      :thumb => '100x150>',
      :large => '200x300>'
    }
  do_not_validate_attachment_file_type :image
  attr_accessible :id,
    :la_code         ,
    :hide            ,
    :bio             ,
    :contact_info    ,
    :assistant_to    ,
    :designation     ,
    :image_location

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
caboose-rets-0.1.26 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.25 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.24 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.23 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.22 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.21 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.20 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.19 app/models/caboose_rets/agent_meta.rb