rom-rb / rom-rails

Rails integration for Ruby Object Mapper
http://rom-rb.org
MIT License
159 stars 51 forks source link

Allow not to reload database on each requests #122

Closed alex-lairan closed 2 years ago

alex-lairan commented 3 years ago

When developing, file change causes ROM-Rails to rebuild the container, this leads to a database reload. It works well with a small database, but when you stack up more and more tables, it takes more and more time.

This allows to only load the database container at launch.

It's disabled by default.

Possible errors :