README.md in ros-apartment-2.7.2 vs README.md in ros-apartment-2.8.0

- old
+ new

@@ -592,9 +592,19 @@ end end end ``` +## Running rails console without a connection to the database + +By default, once apartment starts, it establishes a connection to the database. It is possible to +disable this initial connection, by running with `APARTMENT_DISABLE_INIT` set to something: + +```shell +$ APARTMENT_DISABLE_INIT=true DATABASE_URL=postgresql://localhost:1234/buk_development bin/rails runner 'puts 1' +# 1 +``` + ## Contributing * In both `spec/dummy/config` and `spec/config`, you will see `database.yml.sample` files * Copy them into the same directory but with the name `database.yml` * Edit them to fit your own settings