Why do I need to work harder to make my Rails application fit into a RESTful architecture?

后端 未结 6 609
有刺的猬
有刺的猬 2020-12-23 11:44

I started a Rails project recently and decided to use RESTful controllers. I created controllers for my key entities (such as Country) and added index, ne

6条回答
  •  礼貌的吻别
    2020-12-23 12:36

    In my opinion they may have gone a bit off the rails here. What happened to DRY?

    I'm just getting back into Rails not having done much development with it since beta and I'm still waiting for the light-bulb to come on here. I'm still giving it a chance but if it hasn't happened for me by the end of my current project I'll probably just drop-back to the old standard routes and define the methods as I actually need them for the next one.

提交回复
热议问题