- 15 9月, 2020 3 次提交
-
-
由 Jason Schweier 提交于
Co-Authored-By: NBob Whitelock <bob.whitelock1@gmail.com> Co-Authored-By: NRafael França <rafael@franca.dev> Co-Authored-By: NKapilSachdev <kapilsachdev03@gmail.com>
-
由 Ryuta Kamizono 提交于
-
由 Akira Matsuda 提交于
-
- 14 9月, 2020 5 次提交
-
-
由 Eileen M. Uchitelle 提交于
Merge pull request #40219 from eileencodes/ensure-connects_to-is-always-called-on-base-or-abstract-classes Ensure `connects_to` can only be called on base or abstract classes
-
由 eileencodes 提交于
`connectes_to` should only be called on `ActiveRecord::Base` or abstract classes. This is recommended in the documentation but until now was not enforced by the code. It's unsafe to open too many connections to mysql (and probably other databases), so it's safest to have 1 class for the connection and subclass from that. Co-authored-by: NJohn Crepezzi <john.crepezzi@gmail.com>
-
由 Ryuta Kamizono 提交于
This reverts commit 55d9e494, reversing changes made to 03e987cd. Legacy mysql adapter is already removed in #22642.
-
由 Ryuta Kamizono 提交于
Translate Mysql2 errors in Mysql2Adapter#quote_string (take 2)
-
由 Eugene Kenny 提交于
It will always be a hash since ee51b51b.
-
- 13 9月, 2020 3 次提交
-
-
由 Kasper Timm Hansen 提交于
Remove unused @cache_hit Hash assignment
-
由 Santiago Bartesaghi 提交于
* Public services don’t respect `:disposition`, `:filename`, or `:content_type`. * `:expires_in` is optional.
-
- 11 9月, 2020 2 次提交
-
-
由 Eileen M. Uchitelle 提交于
Rename Error#detail method as details
-
由 lulalala 提交于
Plural is more expected.
-
- 10 9月, 2020 7 次提交
-
-
由 Jean Boussier 提交于
-
由 Jean Boussier 提交于
Revert "Revert "Raise ConnectionNotEstablished rather than StatementInvalid in Mysql2Adapter#quote_string"" This reverts commit 6f92c40d.
-
由 Ryuta Kamizono 提交于
Update Minitest to allow installation with Ruby 3.
-
由 Jonathan Hefner 提交于
Prior to this commit, when a translation key indicated that the translation text was HTML, the value returned by `I18n.translate` would always be marked as `html_safe`. However, the value returned by `I18n.translate` could be an untrusted value directly from `options[:default]`. This commit ensures values directly from `options[:default]` are not marked as `html_safe`.
-
由 Jonathan Hefner 提交于
Prior to this commit, when a translation key indicated that the translation text was HTML, the value returned by `I18n.translate` would always be marked as `html_safe`. However, the value returned by `I18n.translate` could be an untrusted value directly from `options[:default]`. This commit ensures values directly from `options[:default]` are not marked as `html_safe`.
-
由 Jonathan Hefner 提交于
Prior to this commit, when a translation key indicated that the translation text was HTML, the value returned by `I18n.translate` would always be marked as `html_safe`. However, the value returned by `I18n.translate` could be an untrusted value directly from `options[:default]`. This commit ensures values directly from `options[:default]` are not marked as `html_safe`.
-
- 09 9月, 2020 5 次提交
-
-
由 Ryuta Kamizono 提交于
-
https://github.com/rails/rails/pull/40178#issuecomment-688222844由 Ryuta Kamizono 提交于
It is a common use case especially for MySQL users.
-
由 Ryuta Kamizono 提交于
Revert #40178
-
由 John Hawthorn 提交于
Use a unique controller class per ActionView::TestCase
-
由 KapilSachdev 提交于
This reverts commit b8ab1f89, reversing changes made to 73ae5655.
-
- 08 9月, 2020 8 次提交
-
-
由 Eugene Kenny 提交于
Properly support `reverse_order` on relations with `nulls_first` or `nulls_last` calls
-
由 Kevin Deisz 提交于
If you're using the `nulls_first` or `nulls_last` functionality with an explicit ordering, then previously it wasn't properly handling calls to `#reverse` (called through `reverse_order`). This commit changes the behavior to match what would be expected.
-
由 Eugene Kenny 提交于
It's faster on Ruby 2.7+ since it avoids rehashing the keys.
-
由 Eugene Kenny 提交于
These methods are PostgreSQL-specific, and all supported versions of PostgreSQL support validating constraints.
-
由 Eugene Kenny 提交于
Add support for `NOT VALID` check constraints in PostgreSQL
-
由 Alex Robbin 提交于
Active Record already supports adding `NOT VALID` foreign key constraints in PostgreSQL, but back in #31323 when check constraint support was initially added, the ability to add a check constraint and validate it separately was not included. This adds that functionality!
-
由 Eugene Kenny 提交于
Anchor BacktraceCleaner gem filter regexp
-
由 Jonathan Hefner 提交于
This ensures the default gem filter does not affect backtrace lines that have a subpath incidentally matching a gem path. Fixes #40196.
-
- 07 9月, 2020 5 次提交
-
-
由 Muhammad Usman 提交于
Closes #40187.
-
由 Eugene Kenny 提交于
Update Gemfile.lock with rubocop-packaging
-
由 Eugene Kenny 提交于
Load Rails tasks for each new Rake::Application
-
由 Jonathan Hefner 提交于
Follow-up to #40185.
-
由 Jonathan Hefner 提交于
Follow-up to #40143. Rails Rake tasks are loaded for each new `Rake::Application` instance via `Rails.application.load_tasks`. However, under the hood, `Rails.application.load_tasks` used `require` instead of `load`, which caused Rails tasks to be loaded for only the first `Rake::Application` instance. This commit changes the relevant `require` to `load`. Fixes #40184.
-
- 06 9月, 2020 2 次提交
-
-
由 Ryuta Kamizono 提交于
Update RuboCop to v0.90
-
由 Utkarsh Gupta 提交于
Signed-off-by: NUtkarsh Gupta <utkarsh@debian.org>
-