Permalink
Browse files

Removes `.present?` call - probably an activesupport core_ext additio…

…n (something not present here)
  • Loading branch information...
ramontayag committed Mar 25, 2012
1 parent e5e8802 commit 9c3e050cec635575f8c1d69b11ff0b80bc50b0c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vimeo/o_embed.rb
View
@@ -5,7 +5,7 @@ class OEmbed
def self.get_info(video_id, params=nil)
query_url = "/oembed.json?url=http%3A//vimeo.com/#{video_id}"
- query_url += "&"+params.to_query if params.present?
+ query_url += "&"+params.to_query if params
get(query_url)
end
end

0 comments on commit 9c3e050

Please sign in to comment.