Rails 3: Validate IP String

Viewed 12621

In Rails 3, is there a built in method for seeing if a string is a valid IP address?

If not, what is the easiest way to validate?

7 Answers
Related