Validates_coordinates_format_of is a project mainly written in Ruby, it's free.
Active Record validators for longitudes and latitude