阅读背景:

Ruby on Rails - 对于评论评级字段,将十进制数字迭代

来源:互联网 

I have a Review model which allows for a '1-10' rating system on products. In my form view, here is how I did the field to spit out a dropdown of 1-10...I have a Review model which allows for a '1-10'




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: