Skip to content
Browse files

remove nils from lists of smses given to construct a price estimate.

  • Loading branch information...
1 parent 66cf51f commit 026aaaae3461c475fd49b2a653b352ed10e1bcce Willa committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/crowdring/ask.rb
View
2 lib/crowdring/ask.rb
@@ -72,7 +72,7 @@ def initial_price_estimate(ringers=Ringer.all, sms_number)
text && OutgoingSMS.new(from: sms_number, to: ringer, text: text)
end
- PriceEstimate.new(smss)
+ PriceEstimate.new(smss.compact)
end
end

0 comments on commit 026aaaa

Please sign in to comment.
Something went wrong with that request. Please try again.