- 10 7月, 2017 8 次提交
-
-
由 प्रथमेश Sonpatki 提交于
-
由 Kasper Timm Hansen 提交于
Make sidekiq and resque integration tests work in CI
-
由 yuuji.yaginuma 提交于
Since f55ecc6a, the integration test of sidekiq and resque is not working in CI. https://travis-ci.org/rails/rails/jobs/251783876 Because f55ecc6a required a password to access redis. Therefore, handling by passing passwords when connecting to redis.
-
由 Matthew Draper 提交于
Use frozen-string-literal in ActiveJob
-
由 Kir Shatrov 提交于
-
由 Kasper Timm Hansen 提交于
[ci skip] Updated language on validations.
-
由 Kasper Timm Hansen 提交于
Update MessageEncryptor example to use dynamic key length
-
由 Daniel Castro 提交于
-
- 09 7月, 2017 19 次提交
-
-
由 Bart de Water 提交于
-
由 Kasper Timm Hansen 提交于
Treat secrets as binary
-
由 Kasper Timm Hansen 提交于
Load environment file in `dbconsole` command
-
由 Matthew Draper 提交于
Prepare AP and AR to be frozen string friendly
-
由 Matthew Draper 提交于
Use frozen-string-literal in ActiveSupport
-
由 Kir Shatrov 提交于
-
由 yuuji.yaginuma 提交于
Currently the environment file is not loaded in `dbconsole` command. Therefore, for example, if use encrypted secrets values in database.yml, `read_encrypted_secrets` will not be true, so the value can not be used correctly. Fixes #29717
-
由 yuuji.yaginuma 提交于
Until Rails 5.1.1 secrets was treated as binary inside Rails. https://github.com/rails/rails/blob/v5.1.1/railties/lib/rails/secrets.rb#L59 https://github.com/rails/rails/blob/v5.1.1/railties/lib/rails/secrets.rb#L63 However, it is treated as String in Rails 5.1.2(changed by 157db872). https://github.com/rails/rails/blob/v5.1.2/railties/lib/rails/secrets.rb#L104 https://github.com/rails/rails/blob/v5.1.2/railties/lib/rails/secrets.rb#L108 As a result, when upgrading from Rails 5.1.1 to 5.1.2, to write the value treated as binary using `File.write`, causing an error. In order to avoid `UndefinedConversionError`, fixed it to treat it as binary like 5.1.1. Fixes #29696
-
由 Matthew Draper 提交于
Don't allow uuids with orphan curly braces
-
由 Ryuta Kamizono 提交于
-
由 Matthew Draper 提交于
Skip query cache for in_batches and friends
-
由 Matthew Draper 提交于
Don't translate non-database exceptions.
-
由 Matthew Draper 提交于
Fix bug with long stream identifiers when using Postgres adapter
-
由 Matthew Draper 提交于
Improve the performance of writing attributes
-
由 Matthew Draper 提交于
Add `rails secrets:show` command
-
由 Matthew Draper 提交于
Do not update `secrets.yml.enc` when secretes do not change
-
由 Matthew Draper 提交于
Use `information_schema` to extract `generation_expression` for MariaDB
-
由 Matthew Draper 提交于
Fix default `CURRENT_TIMESTAMP` in schema dumping for MariaDB 10.2
-
由 Richard Schneeman 提交于
Clarify i18n guide for how pluralization rules work by default
-
- 08 7月, 2017 10 次提交
-
-
由 eileencodes 提交于
It's possible for developers toadd a custom driver and then call it using `driven_by`. Because we were only skipping `register` for `:rack_test` that meant any custom driver would attempt to be registered as well. The three listed here are special because Rails registers them with special options. If you're registering your own custom driver then you don't want to separately register that driver. Fixes #29688
-
由 Eileen M. Uchitelle 提交于
Update default app files in app_generator_test
-
由 Sage Ross 提交于
The guide misleadingly indicates that the I18n gem will apply the CLDR pluralization rules for each language. This is not the case; only the English algorithm, with support for :zero, :one, and :other, is available by default. Locale-specific pluralization rules require additional configuration and must be supplied by the application (or by another gem).
-
由 pdebelak 提交于
The uuid validation regex was allowing uuids to have a single leading curly brace or single trailing curly brace. Saving with such a uuid would cause Postgres to generate an exception even though the record seemed valid. With this change, the regex requires both a leading *and* a trailing curly brace or neither to be valid.
-
由 Rafael França 提交于
Add ActiveModel::Errors#merge!
-
由 Rafael Mendonça França 提交于
-
由 Jahfer Husain 提交于
ActiveModel::Errors#merge! allows ActiveModel::Errors to append errors from a separate ActiveModel::Errors instance onto their own. Example: person = Person.new person.errors.add(:name, :blank) errors = ActiveModel::Errors.new(Person.new) errors.add(:name, :invalid) person.errors.merge!(errors) puts person.errors.messages # => { name: ["can't be blank", "is invalid"] }
-
由 Dennis Taylor 提交于
-
由 Dennis Taylor 提交于
-
由 Dennis Taylor 提交于
-
- 07 7月, 2017 3 次提交
-
-
由 yuuji.yaginuma 提交于
Currently, if open a file with `secrets:edit` command, `secrets.yml.enc` will be changed even if its contents do not change. Therefore, even if only want to check secrets, the difference will come out. This is a little inconvenient. As a fix to the above problem, when content does not change, `secrets.yml.ecn` is fixed so that it is not changed.
-
由 Ryuta Kamizono 提交于
Since MariaDB 10.2, `CURRENT_TIMESTAMP` is shown as a function (`current_timestamp()`). Fix matching column default to address that case. Fixes #29698.
-
由 Ryuta Kamizono 提交于
Since MariaDB 10.2.5, `information_schema` supports Virtual Columns. Fixes #29670.
-