ActionView::Helpers::UrlHelper
Inherits ActionView::Helpers::TagHelper
Instance methods
button_to "/x" do ... end — html opts go to the submit <button> (type="submit" appended after user opts, as in Rails); the form tag keeps class → method → action insertion order. method: get switches the form method and drops the _method input.
link_to "/x" do ... end — block content passes through raw (compose markup with safe helpers inside the block).