- 31 5月, 2017 3 次提交
-
-
由 Koichi ITO 提交于
-
由 Matthew Draper 提交于
Support PostgreSQL 10 `pg_sequence`
-
由 Yasuo Honda 提交于
Another fix for #28780 based on discussions at #28789 - In PostgreSQL 10 each sequence does not know its `min_value`. A new system catalog `pg_sequence` shows it as `seqmin`. Refer https://github.com/postgres/postgres/commit/1753b1b027035029c2a2a1649065762fafbf63f3 - `setval` 3rd argument needs to set to `false` only when the table has no rows to avoid `nextval(<sequence_name>)` returns `2` where `1` is expected. - `min_value` is only necessary when the table has no rows. It used to be necessary since the 3rd argument of `setval` is always `false`.
-
- 30 5月, 2017 27 次提交
-
-
由 Rafael França 提交于
Remove requirement on mathn
-
由 Guillermo Iguaran 提交于
Replace therubyracer with mini_racer
-
由 Sam 提交于
-
由 Robin Dupret 提交于
The test using mathn was first introduced in f1d91790 to check that the `distance_of_time_in_words` properly doesn't use the `Fixnum#/` method by explicitly requiring this library as it redefines this method. Given that `mathn` has been gemified in Ruby 2.5 and is deprecated since version 2.2, we can certainly safely assume that people will most-likely not require this library in their application. However, to make sure that we don't regress, let's add a test similar to the one before f1d91790.
-
由 Shota Iguchi 提交于
-
由 Matthew Draper 提交于
The assert_same above obviously guarantees this will pass, but this seems less likely to be deleted just because the implementation changed.
-
由 Matthew Draper 提交于
Fix association with extension issues
-
由 Rafael França 提交于
Deserialize a raw value from the database in `changed_in_place?` for `AbstractJson`
-
由 Rafael França 提交于
Fix UUID column with `null: true` and `default: nil`
-
由 Rafael França 提交于
Do not use UTF8 in test SecretsCommandTest#test_edit_secrets
-
由 Rafael França 提交于
Bump RuboCop to 0.49.1
-
由 Ryuta Kamizono 提交于
`quote_default_expression` can be passed nil value when `null: true` and `default: nil`. This addressed in that case. Fixes #29222.
-
由 Jon Moss 提交于
[ci skip]
-
由 Pavel Valena 提交于
-
由 Jon Moss 提交于
[ci skip]
-
由 Jon Moss 提交于
[ci skip]
-
由 Jon Moss 提交于
[ci skip]
-
由 Koichi ITO 提交于
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Kasper Timm Hansen 提交于
Pass params __FILE__ and __LINE__ + 1 if class_eval with <<
-
由 Ryuta Kamizono 提交于
Structured type values sometimes caused representation problems (keys sort order, spaces, etc). A raw value from the database should be deserialized (normalized) to prevent the problems.
-
由 Ryuta Kamizono 提交于
As @matthewd's suggestion, if `klass` has no default scope, it will more faster.
-
由 Guillermo Iguaran 提交于
Check for jQuery ajax
-
由 bogdanvlviv 提交于
-
由 Guillermo Iguaran 提交于
`rename_table` should rename primary key index name
-
由 David Heinemeier Hansson 提交于
* Allow a default value to be declared for class_attribute * Convert to using class_attribute default rather than explicit setter * Removed instance_accessor option by mistake * False is a valid default value * Documentation
-
- 29 5月, 2017 10 次提交
-
-
由 Eileen M. Uchitelle 提交于
round before calculating exponent in number_to_human_converter
-
由 David Heinemeier Hansson 提交于
Doh. We are doing this on secrets:setup. Revert "Ignore the encrypted secrets key file that is created by rails secrets:setup" This reverts commit 75500476.
-
由 Eileen M. Uchitelle 提交于
[ci skip] Add elm option of webpack to generator description
-
由 Matthew Draper 提交于
List assert_{,no_}changes in the testing guide
-
由 Matthew Draper 提交于
Remove a redundant test assertion
-
由 David Heinemeier Hansson 提交于
-
由 Ryoji Yoshioka 提交于
-
由 Koichi ITO 提交于
-
由 Genadi Samokovarov 提交于
This lists the `assert_changes` and `assert_no_changes` methods in the guides. [ci skip]
-
由 Yaw Boakye 提交于
Formerly, `rename_table` only renamed primary key index name if the column's data type was sequential (serial, etc in PostgreSQL). The problem with that is tables whose primary keys had other data types (e.g. UUID) maintained the old primary key name. So for example, if the `cats` table has a UUID primary key, and the table is renamed to `felines`, the primary key index will still be called `cats_pkey` instead of `felines_pkey`. This PR corrects it.
-