Sha256: ffefe2021ae9a5bc34e246ee9a4671a05766af646da542e3357121d3948826c1

Contents?: true

Size: 700 Bytes

Versions: 66

Compression:

Stored size: 700 Bytes

Contents

class CabooseRets::AgentMeta < ActiveRecord::Base
  self.table_name = "rets_agents_meta"
  belongs_to :agent, :foreign_key => 'mls_id', :primary_key => 'la_code'
  has_attached_file :image,
    :path => 'rets/agent_meta/:id_:style.:extension',
    :default_url => "https://cabooseit.s3.amazonaws.com/assets/shared/default_profile.png",
    :styles => {
      :thumb => '300x300>',
      :medium => '600x600>',
      :large => '900x900>'
    }
  do_not_validate_attachment_file_type :image
  attr_accessible :id,
    :la_code         ,
    :hide            ,
    :bio             ,
    :contact_info    ,
    :assistant_to    ,
    :designation     ,
    :image_location  ,
    :accepts_listings

end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
caboose-rets-0.1.109 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.108 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.107 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.106 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.105 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.104 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.103 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.102 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.101 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.100 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.99 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.98 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.97 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.96 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.95 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.94 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.93 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.92 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.91 app/models/caboose_rets/agent_meta.rb
caboose-rets-0.1.90 app/models/caboose_rets/agent_meta.rb