lib/mls/models/listing.rb in mls-0.9.3 vs lib/mls/models/listing.rb in mls-0.9.4

- old
+ new

@@ -152,9 +152,10 @@ !!@rate end # TODO: remove /desk/mo conversions def rate(units='/sqft/mo') + return nil if !@rate price = if rate_units == '/sqft/mo' if units == '/sqft/mo' @rate elsif units == '/sqft/yr'