app/models/caboose_rets/property.rb in caboose-rets-0.1.151 vs app/models/caboose_rets/property.rb in caboose-rets-0.1.152

- old
+ new

@@ -1,7 +1,7 @@ class CabooseRets::Property <ActiveRecord::Base self.table_name = "rets_properties" - attr_accessible :id, :matrix_unique_id, :mls_number, :alternate_link + # attr_accessible :id, :matrix_unique_id, :mls_number, :alternate_link geocoded_by :full_address def url() return "/properties/#{self.mls_number}/details" end def images() return CabooseRets::Media.where(:media_mui => self.matrix_unique_id, :media_type => 'Photo').reorder(:media_order).all end