阅读背景:

Rails简单常量和选择选项

来源:互联网 

I have a simple constant called "subjects" in my model Inquire.rb and I like to know if there is a simple way to use the position in the Ruby array rather than making a hash from it with ids or some more complicated array.I have a simple constant called "subjects" in m




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

分享到: