摘要: Active Record迁移到mongoid1. 修改文件:config/application.rbrequire 'rails/all' 修改为require "action_controller/railtie"require "action_mailer/railtie"require "active_resource/railtie"require "rails/test_unit/railtie"注释 config.active_record.whitelist_attributes 阅读全文
posted @ 2013-01-11 15:54 scige 阅读(334) 评论(0) 推荐(0) 编辑