ROR scaffold is useful, but I always find myself removing the respond_to part in the generated controllers.
Is it possible to tell Rails not to generate that part?
不,没有一种跳过此方法。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.