Notes Homepage Notes How to validate feed URL in Rails validates :feed_url, format: {with: /^(#{URI::regexp(%w(feed http https))})$/}