Removing database.yml when using Mongoid in Rails 3.2

后端 未结 2 1271
梦如初夏
梦如初夏 2020-12-09 18:28

I just began a new rails project and wanted to use MongoidDB thru the Mongoid gem. Following the instructions on the Mongoid site, I added the following lines to my G

2条回答
  •  借酒劲吻你
    2020-12-09 18:58

    Maybe comment this two lines

    config/environments/development.rb:  
    
    # config.active_record.mass_assignment_sanitizer = :strict
    # config.active_record.auto_explain_threshold_in_seconds = 0.5
    

提交回复
热议问题