- 26 11月, 2014 2 次提交
-
-
由 Yves Senn 提交于
This reverts deprecations added in #13528. The task is brought back for two reasons: 1. Give plugins a way to hook into the test database initialization process 2. Give the user a way to force a test database synchronization While `test:prepare` is still a dependency of every test task, `db:test:prepare` no longer hooks into it. This means that `test:prepare` runs before the schema is synchronized. Plugins, which insert data can now hook into `db:test:prepare`. The automatic schema maintenance can't detect when a migration is rolled-back, modified and reapplied. In this case the user has to fall back to `db:test:prepare` to force the synchronization to happen.
-
由 Yves Senn 提交于
[Rafael Mendonça França & Yves Senn] This require caused the `active_record.set_configs` initializer to run immediately, before `config/initializers`. This means that setting any configuration on `Rails.application.config.active_record` inside of an initializer had no effects when rails was loaded through `rake`. Introduced by #6518 /cc @rafaelfranca
-
- 25 11月, 2014 38 次提交
-
-
由 Santiago Pastorino 提交于
Don't center the routes table on routing errors
-
由 Yves Senn 提交于
The tests to verify our testing setup used `RAILS_ENV=development` to execute the tests. Let's keep it as close to a real-world setup as possible.
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 JONBRWN 提交于
Closes #17615 #17616 when script_name is nil in the options hash, script_name is set to nil. options = {script_name: nil} script_name = options.delete(:script_name) {‘’} # => nil Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
Closes #17756 [Godfrey Chan, Zachary Scott]
-
由 Godfrey Chan 提交于
This removes the unwanted deprecation warnings in the tests
-
由 Godfrey Chan 提交于
This is a follow-up to 116de073. That change was for two reasons: 1) speed up the tests by reducing the amount of log lines 2) avoid a deprecation warning from a6de6f50. This setting need to be on the basic app too, otherwise the deprecation warning will show up on other unrelated test cases.
-
由 Godfrey Chan 提交于
Fix out of range error message
-
由 Ryuta Kamizono 提交于
-
由 Godfrey Chan 提交于
Always default the log_level to :info for Railties
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
Add a CHANGELOG entry for #16622 and a6de6f50 [ci skip]
-
由 Xavier Noria 提交于
-
由 Sean Griffin 提交于
Add release note for #17743 [ci skip]
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Rafael Mendonça França 提交于
Refs #17684: Enhances rdoc for ActiveJob assert_performed assertions
-
It will set proper queue_adapter state required by assert_performed_jobs assertions. Also the block version of assert_performed_jobs will make sure this state is respected. Fixes #17684
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
-
由 Melanie Gilman 提交于
Fixes https://github.com/rails/rails/issues/16958 [Byron Bischoff & Melanie Gilman]
-
由 Rafael Mendonça França 提交于
Follow up to #17646.
-
由 Guo Xiang Tan 提交于
-
由 Guo Xiang Tan 提交于
-
由 Guo Xiang Tan 提交于
-
由 Guo Xiang Tan 提交于
-