ruby 来自http://guides.rubyonrails.org/getting_started.html

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ruby 来自http://guides.rubyonrails.org/getting_started.html相关的知识,希望对你有一定的参考价值。

posts

$ rake routes
    posts GET    /posts(.:format)          posts#index
          POST   /posts(.:format)          posts#create
 new_post GET    /posts/new(.:format)      posts#new
edit_post GET    /posts/:id/edit(.:format) posts#edit
     post GET    /posts/:id(.:format)      posts#show
          PATCH  /posts/:id(.:format)      posts#update
          PUT    /posts/:id(.:format)      posts#update
          DELETE /posts/:id(.:format)      posts#destroy
     root        /                         welcome#index

以上是关于ruby 来自http://guides.rubyonrails.org/getting_started.html的主要内容,如果未能解决你的问题,请参考以下文章