Ruby on rails path helpers

后端 未结 2 1664
暖寄归人
暖寄归人 2021-02-15 05:45

I know this is a minor issue, but why, if you use scaffolding in RoR, can you use lines like \'new_model name here_path\' in link tags, but without using scaffolding, I

2条回答
  •  灰色年华
    2021-02-15 06:38

    One way to check your routes and paths is to run:

    rake routes
    

    It outputs all your routes and paths.

提交回复
热议问题