render:动作只是返回一个.erb模版redirect_to:动作能响应浏览器发送来的请求并带回参数展示数据。不知道总结得如何原链接:http://www.ruby-forum.com/topic/58962