Sha256: d369f34919f6c0b8b5fab1cff80673b47bc1044d5399fb5c90c701d220981967

Contents?: true

Size: 301 Bytes

Versions: 5

Compression:

Stored size: 301 Bytes

Contents

class CabooseRets::SavedProperty < ActiveRecord::Base
  self.table_name = "rets_saved_properties"
  
  belongs_to :user, :class_name => 'Caboose::User'
  attr_accessible :user_id, :mls_number

  def property
    return CabooseRets::Property.where(:mls_number => self.mls_number).first     
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
caboose-rets-0.1.142 app/models/caboose_rets/saved_property.rb
caboose-rets-0.1.141 app/models/caboose_rets/saved_property.rb
caboose-rets-0.1.140 app/models/caboose_rets/saved_property.rb
caboose-rets-0.1.139 app/models/caboose_rets/saved_property.rb
caboose-rets-0.1.138 app/models/caboose_rets/saved_property.rb