- 30 5月, 2017 8 次提交
-
-
由 Ryuta Kamizono 提交于
`quote_default_expression` can be passed nil value when `null: true` and `default: nil`. This addressed in that case. Fixes #29222.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Kasper Timm Hansen 提交于
Pass params __FILE__ and __LINE__ + 1 if class_eval with <<
-
由 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 14 次提交
-
-
由 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.
-
由 Guillermo Iguaran 提交于
Merge pull request #29208 from kamipo/default_env_fall_back_to_default_env_when_rails_env_or_rack_env_is_empty_string `DEFAULT_ENV` falls back to `default_env` when `RAILS_ENV` or `RACK_ENV` is an empty string
-
由 Guillermo Iguaran 提交于
Deprecate passing arguments and block at the same time to `count` and `sum` in `ActiveRecord::Calculations`
-
由 Ryuta Kamizono 提交于
Deprecate passing arguments and block at the same time to `count` and `sum` in `ActiveRecord::Calculations` `select`, `count`, and `sum` in `Relation` are also `Enumerable` method that can be passed block. `select` with block already doesn't take arguments since 4fc3366d. This is follow up of that.
-
由 Matthew Draper 提交于
Remove a redundant test case of command_recorder_test
-
- 28 5月, 2017 18 次提交
-
-
由 Koichi ITO 提交于
-
由 Kasper Timm Hansen 提交于
Remove mentions of deprecated callbacks on ActionDispatch::Callbacks
-
由 Kasper Timm Hansen 提交于
Correctly set user_supplied_options when there is no whitespace in option specification
-
由 Kasper Timm Hansen 提交于
Fix server-generated JS response processing on IE9
-
由 Kasper Timm Hansen 提交于
Remove returning true in internal callbacks
-
由 Kasper Timm Hansen 提交于
AEAD encrypted cookies and sessions
-
由 Christoph Lupprich 提交于
ActionDispatch::Callbacks.to_prepare was removed in #27587 [ci skip]
-
由 Matthew Draper 提交于
Prevent extra `current_database` query for `encoding`/`collation`/`ctype`
-
由 Matthew Draper 提交于
Refactor enum to use `value` instead of `label` in the scope
-
由 Matthew Draper 提交于
Delegate `ast` and `locked` to `arel` explicitly
-
由 Ryuta Kamizono 提交于
-
由 Matthew Draper 提交于
Fix pluralization of uncountables when given a locale
-
由 Matthew Draper 提交于
Enable extending even if scope returns nil
-
由 Matthew Draper 提交于
Remove unused `Association#interpolate`
-
由 Kasper Timm Hansen 提交于
Bring back delayed_job to test list
-
由 yuuji.yaginuma 提交于
`delayed_job_active_record` 4.1.2 supports Rails 5.1. Ref: https://github.com/collectiveidea/delayed_job_active_record/pull/138
-
由 yuuji.yaginuma 提交于
-
由 Kasper Timm Hansen 提交于
If users added an attribute or otherwise changed a CurrentAttributes subclass they'd see exceptions on the next page load. Because `ActiveSupport::CurrentAttributes.current_instances` would keep references to the old instances from the previous request. We can fix this by clearing out the `current_attributes` before we unload constants. Then any change to the model can be autoloaded again since its slot isn't taken by an old instance. We'll still have to call reset before we clear so external collaborators, like Time.zone, won't linger with their current value throughout other code.
-