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