Skip to content

Commit

Permalink
Add to_s on cookie name
Browse files Browse the repository at this point in the history
  • Loading branch information
mmangino committed May 5, 2010
1 parent f00e373 commit bc3b2a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/facebooker/rails/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def fb_cookie_prefix
end

def fb_cookie_names
fb_cookie_names = cookies.keys.select{|k| k && k.starts_with?(fb_cookie_prefix)}
fb_cookie_names = cookies.keys.select{|k| k && k.to_s.starts_with?(fb_cookie_prefix)}
end

def secure_with_cookies!
Expand Down
2 changes: 1 addition & 1 deletion lib/facebooker/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Facebooker #:nodoc:
module VERSION #:nodoc:
MAJOR = 1
MINOR = 0
TINY = 68
TINY = 69

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down

0 comments on commit bc3b2a4

Please sign in to comment.