- 31 10月, 2018 10 次提交
-
-
由 Ryuta Kamizono 提交于
Caused at #34196.
-
由 Gannon McGibbon 提交于
Update authorization.rb
-
由 Gannon McGibbon 提交于
Restore HashWithIndifferentAccess support to ActiveJob::Arguments.deserialize.
-
由 Rafael França 提交于
Fix example for database-specific locking clause
-
由 Gannon McGibbon 提交于
[ci skip]
-
由 Esquith Allen 提交于
-
由 Rafael França 提交于
Improve `enqueue_retry.active_job` message
-
由 Sean Griffin 提交于
b63701e2 moved the assignment before the query, but we need to capture our old id before assignment in case we are assigning the id.
-
由 Sean Griffin 提交于
Previosly, `update_columns` would just take whatever keys you gave it and tried to run the update query. Most likely this would result in an error from the database. However, if the column actually did exist, but was in `ignored_columns`, this would result in the method returning successfully when it should have raised, and an attribute that should not exist written to `@attributes`.
-
由 Gannon McGibbon 提交于
ActionController::API *does* support cookies, sessions
-
- 30 10月, 2018 9 次提交
-
-
由 Ryuta Kamizono 提交于
Restore `encoding: utf8mb4` in database.yml
-
由 Ryuta Kamizono 提交于
Avoid violating key constraints in fixture HABTM associations
-
由 Eileen M. Uchitelle 提交于
Add support for hash and url configs to be used in connected_to
-
由 Yasuo Honda 提交于
rails/rails#33853 and rails/rails#33929 removed `encoding: utf8mb4` from database.yml since at that time MySQL 5.1 is supported with the master branch. Since MySQL 5.1 has been dropped, we can restore `encoding: utf8mb4` in database.yml
-
由 Ryuta Kamizono 提交于
-
由 Akira Matsuda 提交于
or they would be listed in `action_methods`
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
- 29 10月, 2018 11 次提交
-
-
由 Ryuta Kamizono 提交于
Document exception from restrict_with_exception [ci skip]
-
由 James Le Cuirot 提交于
When loading fixtures, Ruby 1.9's hash key ordering means that HABTM join table rows are always loaded before the parent table rows, violating foreign key constraints that may be in place. This very simple change ensures that the parent table's key appears first in the hash. Violations may still occur if fixtures are loaded in the wrong order but those instances can be avoided unlike this one.
-
由 Malcolm Locke 提交于
-
由 Ryuta Kamizono 提交于
Update bug report templates
-
由 Ryuta Kamizono 提交于
Privatize and add # :nodoc: to constants
-
由 Xavier Noria 提交于
References #34253.
-
由 Robin Dupret 提交于
Fix grammar in changed? docs [ci skip]
-
由 Robin Dupret 提交于
Given that Bundler 1.10 was released back in 2015, we can assume that people are at least on this version or a higher one so there is no need to ask people to upgrade. Also, given that Rails 5.0 supports Ruby 2.2+ and given that this version come with Minitest 5.4.3 bundled, we don't need to ensure backward compatibility with Minitest 4.
-
由 Alberto Almagro 提交于
Both `UTC_OFFSET_WITH_COLON` and `UTC_OFFSET_WITHOUT_COLON` are only used within `ActiveSupport::TimeZone` and in my opinion they do not provide relevant information that should appear in the docs.
-
由 Xavier Noria 提交于
Fix autoloading issue with ActiveStorage::Downloader
-
- 28 10月, 2018 1 次提交
-
-
由 Jan Habermann 提交于
If you require `nokogiri` from `app/models/user.rb`, dependencies.rb does not mark `Nokogiri` as an autoloaded constant, as expected. But the logic to detect these non-autoloaded constants is incomplete. See the tests defined in the patch for some cases incorrectly handled.
-
- 27 10月, 2018 6 次提交
-
-
由 Olivier Lacan 提交于
We repeat the phrase "Release Notes" even though release note are listed under a... "Release Notes" category already. With this change, instead of repeating ourselves, we can give people a sense of the recency of each release by simply listing the month and year of each release. This is a follow-up to #34265 as suggested by @jeremy. [ci skip]
-
由 Ryuta Kamizono 提交于
Any type can be a primary key, so blank string is also valid value. Closes #26356.
-
由 Ryuta Kamizono 提交于
Use column definition with `primary_key: true` instead.
-
由 Ryuta Kamizono 提交于
Ignore empty condition on #construct_relation_for_exists
-
由 r7kamura 提交于
At https://github.com/rails/rails/commit/fc0e3354af7e7878bdd905a95ce4c1491113af9a, ```rb relation = relation.where(conditions) ``` was rewritten to: ```rb relation.where!(condition) ``` This change accidentally changed the result of `Topic.exists?({})` from true to false. To fix this regression, first I moved the blank check logic (`opts.blank?`) from `#where` to `#where!`, because I thought `#where!` should be identical to `#where`, except that instead of returning a new relation, it adds the condition to the existing relation. But on second thought after some discussion on https://github.com/rails/rails/pull/34329, I started to think that just fixing `#construct_relation_for_exists` is more preferable than changing `#where` and `#where!`.
-
由 Gannon McGibbon 提交于
Add support for hash and url configs in database hash of `ActiveRecord::Base.connected_to`.
-
- 26 10月, 2018 3 次提交
-
-
由 Eileen M. Uchitelle 提交于
Improve no-response file wording
-
由 Ryuta Kamizono 提交于
Implement AR#inspect using ParameterFilter
-
由 Ryuta Kamizono 提交于
Support default expression and expression indexes for MySQL
-