摘要: 控制器class CourseSurveysController Module(没"",不是字符串)'Test::Unit'.constantize # => Test::Unit(没"",不是字符串)class Person PersonPerson.model_name.class ... 阅读全文
posted @ 2015-02-04 14:46 tardis 阅读(319) 评论(0) 推荐(0) 编辑