diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-09-12 10:08:16 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-10-15 22:27:54 +0300 |
commit | 678e563da3e7cddca9501ec90cdd76ee399a62b1 (patch) | |
tree | e9463d1d603ace41a0270c8a987fb4b0a3bbc625 /actionview/Rakefile | |
parent | 99b2bf8db39846897f017129a41efcffa840dc68 (diff) | |
download | rails-678e563da3e7cddca9501ec90cdd76ee399a62b1.tar.gz rails-678e563da3e7cddca9501ec90cdd76ee399a62b1.tar.bz2 rails-678e563da3e7cddca9501ec90cdd76ee399a62b1.zip |
`ActiveRecord::Tasks::DatabaseTasks.load_schema` has always to establish database connection
When load schema from `structure.sql`, database connection isn't
established. `ActiveRecord::Tasks::DatabaseTasks.load_schema` has to
establish database connection since it executes
```
ActiveRecord::InternalMetadata.create_table
ActiveRecord::InternalMetadata[:environment] = environment
```
Diffstat (limited to 'actionview/Rakefile')
0 files changed, 0 insertions, 0 deletions