has_many => apps, :through => :ubuntu
Maintain By:
Jin-Kang Cheng (
jk_dot_cheng_at_mygnus_dot_net
)
Pages
Home
About Me
Sponsorship
Nov 25, 2009
Ruby: Check if an URL is available
This little Ruby function will check if an URL is available (response code 200). It will return true if the return code is 200 (success), false if any other code is returned, such as 404 (not found.)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment