FormattedURL The easiest way to get formatted URLs. Example: FormattedURL.url("http://www.youtube.com/watch?v=RchTlF4aKGs", :embed) # => "http://youtube.com/embed/RchTlF4aKGs"