- 20 8月, 2018 10 次提交
-
-
由 bogdanvlviv 提交于
If the `:queue` option is specified, then only the job(s) enqueued to a specific queue will be performed. Example: ``` def test_perform_enqueued_jobs_with_queue perform_enqueued_jobs queue: :some_queue do MyJob.set(queue: :some_queue).perform_later(1, 2, 3) # will be performed HelloJob.set(queue: :other_queue).perform_later(1, 2, 3) # will not be performed end assert_performed_jobs 1 end ``` Follow up #33265 [bogdanvlviv & Jeremy Daer]
-
由 Kasper Timm Hansen 提交于
Commands generally prefer say to puts.
-
由 Ryuta Kamizono 提交于
Improve test case to test enum correctly
-
由 Kasper Timm Hansen 提交于
Move the initializers rake task to Rails::Command
-
由 Kasper Timm Hansen 提交于
activestorage: yarn build
-
由 Ryuta Kamizono 提交于
Fixes #33520.
-
由 Rich 提交于
without define the enum in class “SpecialBook”, any string status will be casted to integer 0. Then the test have no meaning. [Rich Chen]
-
由 Ryuta Kamizono 提交于
DRY in Active Record Query Interface [ci skip]
-
-
由 bogdanvlviv 提交于
The sentence "This is exactly the same as defining a class method ..." is not true, so #33653 fixed it, but added changes repeat what is explained a few lines below. We can remove this part since a user is able to get info about the difference between scopes and class methods below. Context https://github.com/rails/rails/pull/33653#discussion_r211105969. Reverts #33653, 97feb499.
-
- 19 8月, 2018 11 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Richard Schneeman 提交于
Explained difference between scope & class method
-
由 yuuji.yaginuma 提交于
Now requires version 1.11 or newer. Ref: bf5f41d9
-
由 George Claghorn 提交于
-
由 George Claghorn 提交于
This test no longer covers the behavior of ActiveStorage::PurgeJob. Attached blobs are ignored by ActiveStorage::Blob#purge as of 934fccd5, which includes an equivalent model test.
-
由 LemonAndroid 提交于
-
由 Ryuta Kamizono 提交于
If `foreign_keys` is fetched before alter table, it couldn't notice whether foreign keys are broken or not after alter table.
-
由 Ryuta Kamizono 提交于
To prevent style check in review like https://github.com/rails/rails/pull/33608#discussion_r211087605.
-
由 Javan Makhmali 提交于
Support multiple submit buttons in Active Storage forms
-
由 Chris Seelus 提交于
-
- 18 8月, 2018 4 次提交
-
-
由 yuuji.yaginuma 提交于
-
由 yuuji.yaginuma 提交于
Currently, the execution count increments after deserializes arguments. Therefore, if an error occurs with deserialize, it retries indefinitely. In order to prevent this, the count is moved before deserialize. Fixes #33344.
-
由 Richard Schneeman 提交于
[skip ci] Fix overlapping text in the guide
-
由 Arye Dov Eidelman 提交于
Fix a layout issue in the rails guides, where the navigation covers the main text, if the page is between 800 and 960 pixels wide. (issue #33406)
-
- 17 8月, 2018 7 次提交
-
-
由 yuuji.yaginuma 提交于
-
由 Ryuta Kamizono 提交于
Add note for custom mailer view paths in action mailer guide. [ci skip]
-
由 Zane 提交于
Adds stuff Fixes a typo Integrates changes Adds link to append_view_path in actionmailer guide.
-
由 Yuji Yaginuma 提交于
add missing indifferent_access require for #normalize_encode_params
-
由 Will Jordan 提交于
Fixes #33634.
-
由 Ryuta Kamizono 提交于
Update image_processing to the latest version
-
由 utilum 提交于
Version 1.6.0 includes https://github.com/janko-m/image_processing/commit/3a958bc419854703860fae606423bca3667a4127 which saves us a warning: shadowing outer local variable - options. I see it locally, but for some reason not on the CI.
-
- 16 8月, 2018 8 次提交
-
-
由 Annie-Claude Côté 提交于
* Invoke Rails::Command within the rake task * Adds test for calling initializers with 'bin/rake' * Adds deprecation warning to the rake task
-
由 Annie-Claude Côté 提交于
-
由 Annie-Claude Côté 提交于
-
由 Richard Schneeman 提交于
Harmonize shell commands in dev guide [ci skip]
-
由 Ryuta Kamizono 提交于
SQLite3 adapter `alter_table` method restores foreign keys
-
由 Ryuta Kamizono 提交于
Fix numericality validator not to be affected by custom getter
-
由 Anton Rieder 提交于
-
由 Ryuta Kamizono 提交于
Add example `perform_enqueued_jobs` without block to api docs [ci skip]
-