- 19 4月, 2019 12 次提交
-
-
由 Ryuta Kamizono 提交于
This follows #35595.
-
由 Ryuta Kamizono 提交于
This partly reverts 8ca3c286. `.is_a?(GeneratedAttributeMethodsBuilder)` doesn't make sense to me, the module class's `new` creates just an instance of the module class itself.
-
由 Yuji Yaginuma 提交于
Help command for visible commands should be hidden
-
由 akinomaeni 提交于
``` $ rails --help > tmp/before $ bundle update rails ... $ rails --help > tmp/after $ diff -u tmp/before tmp/after --- tmp/before 2019-04-19 00:12:08.000000000 -0700 +++ tmp/after 2019-04-19 00:14:55.000000000 -0700 @@ -52,7 +52,6 @@ db:version destroy dev:cache - dev:help encrypted:edit encrypted:show initializers ```
-
由 yuuji.yaginuma 提交于
The trix moved to a peer dependency since 11b73c40. So that does not include in `yarn.lock`.
-
由 Steven Harman 提交于
There are four ways to pass the redis option, but only three were documented. This is now consistent with implementation. [ci skip]
-
由 Ryuta Kamizono 提交于
Preserve html_safe? status on ActiveSupport::SafeBuffer#*
-
由 r7kamura 提交于
-
由 Eileen M. Uchitelle 提交于
Catch exceptions raised in `parallelize_setup` and ensure tests fail when they occur
-
由 Eileen M. Uchitelle 提交于
Ensure active record can load without Railties
-
由 Aric Walker 提交于
Resolves https://github.com/rails/rails/issues/35835 If an exception occurs during `parallelize_setup` make sure to catch that exception and apply it to the result of each successive test run. This results in marking all of the tests as failed to bring attention to the issue & ensure it is addressed before proceeding.
-
由 eileencodes 提交于
When I added the rake tasks for multiple databases I accidentally made it so you couldn't use Active Record without Railties. Since getting the database configuration depends on being able to load Railties (there is no other way to read and parse the yaml file and load it) I've decided that using multiple databases outside of Rails is a no-op. I've changed the code here to return if Rails isn't defined. Then I changed the other tasks to use `ActiveRecord::Tasks::DatabaseTasks.env` instead of `Rails.env`. The multi-db tasks can keep using `Rails.env` because they'll only be generated if we're using Rails and not just Active Record.
-
- 18 4月, 2019 7 次提交
-
-
由 Ryuta Kamizono 提交于
Update Rake to the latest version
-
由 utilum 提交于
Fixes railties ApplicationTests failures in Ruby 2.7. Rake 12.3.2 includes a [Fix for test fails caused by 2.6 warnings](https://github.com/ruby/rake/pull/297). Upadting prevents failures of: - `RakeTests::RakeMigrationsTest#test_migration_status_when_schema_migrations_table_is_not_present` - `RakeDbsTest#test_db:structure:dump_does_not_dump_schema_information_when_no_migrations_are_used` - `BinSetupTest#test_bin_setup_output` See [failures log](https://gist.githubusercontent.com/utilum/30e081cc38b5d90e18be8cede6385b10/raw/2b89e568977d4f1fe010726a9a561c10e59c8df8/tests.log). ruby 2.7.0dev (2019-04-18 trunk 67602) [x86_64-linux]
-
由 George Claghorn 提交于
Mention more ActiveStorage hooks in Active Support Instrumentation guide [ci skip]
-
由 Kasper Timm Hansen 提交于
Describe how to silence the deprecation warning about empty I18n fall…
-
由 Kasper Timm Hansen 提交于
Fix typo in test description from generages -> generates
-
由 Younes SERRAJ 提交于
Hooks added: - `service_download_chunk.active_storage` - `service_update_metadata.active_storage` - `preview.active_storage`
-
由 Abhay Nikam 提交于
-
- 17 4月, 2019 21 次提交
-
-
由 Ryuta Kamizono 提交于
Add documentations to concern methods [ci skip]
-
由 Ryuta Kamizono 提交于
Removed unused require for active_support/deprecation
-
由 Prathamesh Sonpatki 提交于
- Unused since https://github.com/rails/rails/commit/a91ea1d51048342d13f
-
由 okuramasafumi 提交于
-
由 Ryuta Kamizono 提交于
Fix dirty tracking after rollback.
-
由 Ryuta Kamizono 提交于
-
由 Jeremy Daer 提交于
Various fixes in ActiveSupport::Notifications::Event
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
Guide updated in line with changes in rails commands [skip ci]
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
Signed-off-by: NKasper Timm Hansen <kaspth@gmail.com>
-
由 David Stosik 提交于
`bin/setup` and `bin/update` are currently almost the same file. The only thing that keeps them apart is that one is running `bin/rails db:setup` and the other `bin/rails db:migrate`. I'm suggesting here that they should be a unique script, which needs to be idempotent. - New to a project, need to get started? `bin/setup` - Need to install new dependencies that were added recently? `bin/setup`. Before deprecating `bin/update`, I'm suggesting we just have it call `bin/setup`.
-
由 Kasper Timm Hansen 提交于
Signed-off-by: NKasper Timm Hansen <kaspth@gmail.com>
-
由 Kasper Timm Hansen 提交于
Signed-off-by: NKasper Timm Hansen <kaspth@gmail.com>
-
由 Lachlan Sylvester 提交于
Cache versioning enables the same cache key to be reused when the object being cached changes by moving the volatile part of the cache key out of the cache key and into a version that is embedded in the cache entry. This is already occurring when the object being cached is an `ActiveRecord::Base`, but when caching an `ActiveRecord::Relation` we are currently still putting the volatile information (max updated at and count) as part of the cache key. This PR moves the volatile part of the relations `cache_key` into the `cache_version` to support recycling cache keys for `ActiveRecord::Relation`s.
-
由 Mauri Mustonen 提交于
-
由 Rafael França 提交于
Merge pull request #35997 from tjoyal/Rails/MailersController/do-not-leak-I18n-global-setting-changes [Rails::MailersController] Do not leak I18n global setting changes
-
由 Kasper Timm Hansen 提交于
Squash warning: possibly useless use of a constant in void context
-
由 Thierry Joyal 提交于
-
由 utilum 提交于
in void context
-