摘要:
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 阅读全文