Ruby 发表于 2016-07-30 | 阅读link_to的文档:1.Look in the source git clone http://github.com/rails/rails.git cd rails grep -rin ‘def link_to’2.Look at api.rubyonrails.org 搜索link_to3.dash中搜索