bay6 / union

rubyist community to help each other learn and improve
9 stars 8 forks source link

可以用Inherited Resources将controllers的代码简化 #168

Closed kaku87 closed 11 years ago

kaku87 commented 11 years ago

目前controller的代码都是基本的restful生成的代码,用Inherited Resources可以将这些代码全部干掉,focus在业务上

songjiayang commented 11 years ago

正解,加入

gem 'inherited_resources' 

是如此清爽。。

kaku87 commented 11 years ago

@songjiayang 再握个手

vincent178 commented 11 years ago

https://github.com/bay6/union/pull/175

kaku87 commented 11 years ago

@vincent178 速度啊,我还想刷点儿分儿来着,被你抢了,哈哈

vincent178 commented 11 years ago

哈哈,我也要刷分啊,不然我得分榜老三位置就保不住了