阅读背景:

从Ruby中的对象检索类名

来源:互联网 

I am trying to retrieve the class name of an object. When I tried using the const_get, i am getting the entire model's table structure. So I used the following code.I am trying to retrieve the class name of an ob




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

分享到: