Rails Model, View, Controller, and Helper: what goes where?

后端 未结 10 1003
不思量自难忘°
不思量自难忘° 2020-11-30 15:59

In Ruby on Rails Development (or MVC in general), what quick rule should I follow as to where to put logic.

Please answer in the affirmative - With Do put this h

10条回答
  •  一向
    一向 (楼主)
    2020-11-30 16:58

    The Rails way is to have skinny controllers and fat models.

提交回复
热议问题