How to configure Ruby on Rails with no database?

前端 未结 6 1911
情歌与酒
情歌与酒 2020-11-30 19:27

It would be convenient to use Ruby on Rails for a small website project that has no current need for a database. I know I could create an empty database in MySQL and go fro

6条回答
  •  隐瞒了意图╮
    2020-11-30 20:06

    Uncomment this line in the environment.rb file:

    config.frameworks -= [ :active_record, :active_resource, :action_mailer]
    

提交回复
热议问题