link_to
signature looks as follows:
link_to(body, url_options = {}, html_options = {})
So, POST would look like (lets say you want to POST user's data):
link_to "Link text", some_path(:foo => "bar", :baz => "quux"), user: @user, :method => :post
User's data can be retrieved in the controller using params[:user]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…