阅读背景:

Rails中名为“class”的列的旧表

来源:互联网 

I've got a legacy table that my rails application shares with another application. It has a column called "class". The first time I reference any attribute in that model, I get an error. Subsequent references to attributes work. Is there a good workaround for this, or should I just go modify the other application that uses this table (ugh)?I've got a legacy table that my rails applicati




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

分享到: