Sha256: a9f8100b2ea5792b8c9d2605ff78acd0d50529325d3be3f23ac6545bbeaf0301
Contents?: true
Size: 713 Bytes
Versions: 42
Compression:
Stored size: 713 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, :weight end
Version data entries
42 entries across 42 versions & 1 rubygems
Version | Path |
---|---|
caboose-rets-0.1.111 | app/models/caboose_rets/agent_meta.rb |
caboose-rets-0.1.110 | app/models/caboose_rets/agent_meta.rb |