lib/mls/models/photo.rb in mls-0.7.1 vs lib/mls/models/photo.rb in mls-0.7.2

- old
+ new

@@ -9,10 +9,10 @@ property :file_content_type, String property :file_name, String property :file_size, Fixnum property :url_template, String property :caption, String - property :similar_subject_id, Fixnum, :serialize => false + property :subject_id, Fixnum def url(style=nil, protocol='http') result = "#{protocol}://#{MLS.image_host}/#{digest}.jpg" if style result = result + "?s=#{URI.escape(style)}"