- 22 11月, 2017 3 次提交
-
-
由 willnet 提交于
-
由 George Claghorn 提交于
-
由 George Claghorn 提交于
-
- 21 11月, 2017 5 次提交
-
-
由 Yuji Yaginuma 提交于
FIX: `rack-test` 0.7.1 probably got yanked.
-
由 Guo Xiang Tan 提交于
-
由 yuuji.yaginuma 提交于
`em-hiredis` is unused since 48766e32
-
由 George Claghorn 提交于
Permit creating a record and attaching files in a single step. # Before: User.create!(user_params.except(:avatar)).tap do |user| user.avatar.attach(user_params[:avatar]) end # After: User.create!(user_params) [Yoshiyuki Hirano & George Claghorn]
-
由 Takumasa Ochi 提交于
Support `expires_in` in `ActiveSupport::Cache::MemCacheStore#increment` and `#decrement`. Closes #30716.
-
- 20 11月, 2017 10 次提交
-
-
由 George Claghorn 提交于
-
由 George Claghorn 提交于
Disable CSRF protection for ActiveStorage::DiskController#update. The local disk service is intended to imitate a third-party service like S3 or GCS, so we don't care where direct uploads originate: they’re authorized by signed tokens. Closes #30290. [Shinichi Maeshima & George Claghorn]
-
由 Vipul A M 提交于
Pass over Execution guide[ci skip]
-
由 Vipul A M 提交于
-
由 Matthew Draper 提交于
[ci skip] Added example for using headless_chrome with SystemTest
-
由 George Claghorn 提交于
Closes #31164.
-
由 Ryuta Kamizono 提交于
These extra `spawn` are called via `klass.all` and `klass.all` is called everywhere in the internal. Avoiding the extra `spawn` makes` klass.all` 30% faster for STI classes. https://gist.github.com/kamipo/684d03817a8115848cec8e8b079560b7 ``` Warming up -------------------------------------- fast relation 4.410k i/100ms slow relation 3.334k i/100ms Calculating ------------------------------------- fast relation 47.373k (± 5.2%) i/s - 238.140k in 5.041836s slow relation 35.757k (±15.9%) i/s - 176.702k in 5.104625s Comparison: fast relation: 47373.2 i/s slow relation: 35756.7 i/s - 1.32x slower ```
-
由 Ryuta Kamizono 提交于
`keys_to_names` is used only for `keys_to_names.keys`.
-
- 19 11月, 2017 2 次提交
-
-
由 yuuji.yaginuma 提交于
-
由 Pierre Hedkvist 提交于
-
- 18 11月, 2017 2 次提交
-
-
-
由 yuuji.yaginuma 提交于
Since fbd1e98c, Rails plugin does not run `bundle install` when generating. Therefore, `after_bundle` callback is not actually executed after `bundle`. Since there is a difference between the name and the actual behavior, I think that should be remove.
-
- 17 11月, 2017 8 次提交
-
-
由 Matthew Draper 提交于
Prevent deadlocks with load interlock and DB lock.
-
由 Matthew Draper 提交于
Switch to LIFO for the connection pool
-
由 Matthew Draper 提交于
Enable query cache on all connection pools
-
由 Matthew Draper 提交于
Document public hooks in AS::Reloader
-
由 Jeremy Daer 提交于
Move back to resque-scheduler mainline now that https://github.com/resque/resque-scheduler/pull/620 is merged
-
由 Ryuta Kamizono 提交于
Fix links [ci skip]
-
由 Yauheni Dakuka 提交于
-
由 Ryuta Kamizono 提交于
Currently `_create_record` and `_update_record` in `Persistence` are creating extra `unscoped` and calling `build_arel` in the relation. But `compile_insert` and `compile_update` can be done without those expensive operation for `SelectManager` creation. So I moved the implementation to `Persistence` to avoid creating extra relation and refactored to avoid calling `build_arel`. https://gist.github.com/kamipo/8ed73d760112cfa5f6263c9413633419 Before: ``` Warming up -------------------------------------- _update_record 150.000 i/100ms Calculating ------------------------------------- _update_record 1.548k (±12.3%) i/s - 7.650k in 5.042603s ``` After: ``` Warming up -------------------------------------- _update_record 201.000 i/100ms Calculating ------------------------------------- _update_record 2.002k (±12.8%) i/s - 9.849k in 5.027681s ``` 30% faster for STI classes.
-
- 16 11月, 2017 10 次提交
-
-
由 Matthew Draper 提交于
Start on a guide for the Executor & Load Interlock
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
由 Kasper Timm Hansen 提交于
Fixed example of `Rails.application.encrypted` method usage
-
由 Wojciech Wnętrzak 提交于
[ci skip]
-
由 yuuji.yaginuma 提交于
We generate master key on `rails new`. Therefore, if do not add master key to `.gitginore` on `rails new`as well, there is a possibility that the master key will be committed accidentally.
-
由 Jeremy Daer 提交于
-
由 Kasper Timm Hansen 提交于
-
-
由 Wojciech Wnętrzak 提交于
To edit/show encrypted file: ``` bin/rails encrypted:edit config/staging_tokens.yml.enc bin/rails encrypted:edit config/staging_tokens.yml.enc --key config/staging.key bin/rails encrypted:show config/staging_tokens.yml.enc ``` Also provides a backing Rails.application.encrypted API for Ruby access: ```ruby Rails.application.encrypted("config/staging_tokens.yml.enc").read Rails.application.encrypted("config/staging_tokens.yml.enc").config Rails.application.encrypted("config/staging_tokens.yml.enc", key: "config/staging.key") ```
-