La forma más sencilla de validar una URL en Rails con ActiveModel es usando URI.
URI
validates :url, presence: true, format: {with: URI::regexp(%w(http https))}