Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

not to_s but to_i

  • Loading branch information...
commit 363a9ebe2848732afd57c97f2132ad8f06faf6eb 1 parent 5df0aed
@nov nov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/fb_graph/ad_group.rb
View
2  lib/fb_graph/ad_group.rb
@@ -29,7 +29,7 @@ def set_attrs(attributes)
end
# max_bid is string only when reloaded for some reason..
- self.max_bid = max_bid.try(:to_s)
+ self.max_bid = max_bid.try(:to_i)
%w(start_time end_time updated_time).each do |field|
if val = attributes[field.to_sym]
Please sign in to comment.
Something went wrong with that request. Please try again.