- 29 1月, 2018 17 次提交
-
-
由 Daniel Colson 提交于
With #31615 `type_for_attribute` accepts either a symbol as well as a string. `has_attribute?` and `attribute_alias` also accept either. Since these methods call `to_s` on the argument, we no longer need to do that at the call site.
-
由 yuuji.yaginuma 提交于
This suppresses `Timeout::Error` exceptions. Ref: https://travis-ci.org/rails/rails/jobs/334622442#L1089-L1110
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
This reverts commit 755f7b58, reversing changes made to 35db4603. Originally `mapping: %w(balance amount)` is correct mapping example. Closes #31346. [Ryuta Kamizono & bogdanvlviv] [ci skip]
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Allow type_for_attribute(:symbol)
-
由 George Claghorn 提交于
Added tests for ActiveStorage::Blob#image? and ActiveStorage::Blob#video?
-
由 Ryuta Kamizono 提交于
Follow up of #31724. If `composed_of` objects have multiple mappings, array predicate handler can not correctly handle the expanded condition. We need to handle it like polymorphic association objects.
-
由 Shuhei Kitagawa 提交于
-
由 Richard Schneeman 提交于
Remove joke in security guide [ci skip]
-
由 Daniel Colson 提交于
I think this is a joke, although not a great one. It's mildly unprofessional, so I think we should get rid of it.
-
由 Ryuta Kamizono 提交于
Fix not expanded problem when passing an Array object as argument to the where method using composed_of column.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Define `supports_foreign_tables?` in AbstractAdapter
-
由 Ryuta Kamizono 提交于
Remove out-of-date references to jQuery [ci skip]
-
由 Daniel Colson 提交于
Fixes #31703
-
- 28 1月, 2018 3 次提交
-
-
由 Yasuo Honda 提交于
-
由 yuuji.yaginuma 提交于
This was changed with 5d7b70f4 and 428939be.
-
由 yuuji.yaginuma 提交于
Because we use `credentials` in an example of configuration files, but `credentials` can not be used unless it is 1.8.0 or later. Ref: 9d65ac30
-
- 27 1月, 2018 7 次提交
-
-
由 Shuhei Kitagawa 提交于
-
由 Guillermo Iguaran 提交于
Relax minitest versions
-
由 Daniel Colson 提交于
We locked Minitest to 5.11.1 in #31799 because 5.11.2 included a breaking change. The change was fixed in 5.11.3, so we no longer need to lock in the version.
-
由 George Claghorn 提交于
-
由 Rafael França 提交于
Fix infinite loop when unloading autoloaded modules
-
由 Rafael França 提交于
Fix example migrations in Associations guide
-
由 Rafael França 提交于
Use respond_to test helpers
-
- 26 1月, 2018 13 次提交
-
-
由 Robert Mosolgo 提交于
-
由 Robert Mosolgo 提交于
Add failing test for infinite loop when unloading autoloaded modules when an error occured during the load.
-
由 Daniel Colson 提交于
-
由 Daniel Colson 提交于
-
由 Daniel Colson 提交于
-
由 Daniel Colson 提交于
-
由 Daniel Colson 提交于
-
由 Ryan Lue 提交于
-
由 Ryuta Kamizono 提交于
Since #29504, mysql2 adapter lost ability to insert zero value on primary key due to enforce `NO_AUTO_VALUE_ON_ZERO` disabled. That is for using `DEFAULT` on auto increment column, but we can use `NULL` instead in that case.
-
由 Ryuta Kamizono 提交于
Lock Minitest 5.11.1
-
由 Yasuo Honda 提交于
To workaround `undefined method `error?' for` reported at https://travis-ci.org/rails/rails/jobs/333456146
-
由 orekyuu 提交于
Fix not expanded problem when passing an Array object as argument to the where method using composed_of column. Fixes #31723 ``` david_balance = customers(:david).balance Customer.where(balance: [david_balance]).to_sql # Before: WHERE `customers`.`balance` = NULL # After : WHERE `customers`.`balance` = 50 ```
-
由 Ryuta Kamizono 提交于
Update note on MySQL index order support [ci skip]
-