- 16 11月, 2017 8 次提交
-
-
由 yuuji.yaginuma 提交于
We generate master key on `rails new`. Therefore, if do not add master key to `.gitginore` on `rails new`as well, there is a possibility that the master key will be committed accidentally.
-
由 Jeremy Daer 提交于
-
由 Kasper Timm Hansen 提交于
-
-
由 Wojciech Wnętrzak 提交于
To edit/show encrypted file: ``` bin/rails encrypted:edit config/staging_tokens.yml.enc bin/rails encrypted:edit config/staging_tokens.yml.enc --key config/staging.key bin/rails encrypted:show config/staging_tokens.yml.enc ``` Also provides a backing Rails.application.encrypted API for Ruby access: ```ruby Rails.application.encrypted("config/staging_tokens.yml.enc").read Rails.application.encrypted("config/staging_tokens.yml.enc").config Rails.application.encrypted("config/staging_tokens.yml.enc", key: "config/staging.key") ```
-
由 Kasper Timm Hansen 提交于
Instead of stashing the values in constants.
-
由 Rafael França 提交于
Allow test_ignored_columns_not_included_in_SELECT column names case insensitive
-
由 Yasuo Honda 提交于
insensitive i.e. Oracle database identifier is UPPERCASE unlike other databases. ```ruby (byebug) query = Developer.all.to_sql "SELECT \"DEVELOPERS\".\"ID\", \"DEVELOPERS\".\"NAME\", \"DEVELOPERS\".\"SALARY\", \"DEVELOPERS\".\"FIRM_ID\", \"DEVELOPERS\".\"MENTOR_ID\", \"DEVELOPERS\".\"CREATED_AT\", \"DEVELOPERS\".\"UPDATED_AT\", \"DEVELOPERS\".\"CREATED_ON\", \"DEVELOPERS\".\"UPDATED_ON\" FROM \"DEVELOPERS\"" ```
-
- 15 11月, 2017 21 次提交
-
-
由 Andrew White 提交于
Handle `TZInfo::AmbiguousTime` errors
-
由 Matthew Draper 提交于
Fix the "International Date Line West" timezone
-
由 Andrew White 提交于
Make `ActiveSupport::TimeWithZone` match Ruby's handling of ambiguous times by choosing the later period, e.g. Ruby: ``` ENV["TZ"] = "Europe/Moscow" Time.local(2014, 10, 26, 1, 0, 0) # => 2014-10-26 01:00:00 +0300 ``` Before: ``` >> "2014-10-26 01:00:00".in_time_zone("Moscow") TZInfo::AmbiguousTime: 26/10/2014 01:00 is an ambiguous local time. ``` After: ``` >> "2014-10-26 01:00:00".in_time_zone("Moscow") => Sun, 26 Oct 2014 01:00:00 MSK +03:00 ``` Fixes #17395.
-
由 Akira Matsuda 提交于
-
由 Rafael França 提交于
Update configuring.md
-
由 yuuji.yaginuma 提交于
Related to 2e0fe592
-
由 Kelly Stannard 提交于
It was brought to my attention that the Rails guide suggests using filenames to ensure code load order, so I thought I would suggest a better alternative.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
`oldie = 'true'` to `tinyint(1)` column is invalid value for MySQL: ``` Mysql2::Error: Incorrect integer value: 'true' for column 'oldie' at row 1: update horses set oldie = 'true' ```
-
由 Ryuta Kamizono 提交于
-
由 Yuji Yaginuma 提交于
Update plugin_generator.rb
-
由 Rafael França 提交于
Fix activesupport/CHANGELOG.md [ci skip]
-
由 bogdanvlviv 提交于
-
由 Rafael França 提交于
Fix migration version in doc of #up_only
-
由 bogdanvlviv 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Performance improvements for add_method_to_attributes!
-
由 Rich 提交于
* Add a #populate method to migrations * Address rubocop issues * Rename to #up_only and use #execute in the examples intead of the model * Update CHANGELOG [Rich Daley & Rafael Mendonça França]
-
由 Ryuta Kamizono 提交于
CI against JRuby 9.1.14.0
-
由 Koichi ITO 提交于
JRuby 9.1.14.0 has been released and this version is available on Travis CI. http://jruby.org/2017/11/08/jruby-9-1-14-0
-
- 14 11月, 2017 11 次提交
-
-
由 George Claghorn 提交于
-
由 Ryuta Kamizono 提交于
Update `exists?` documentation [ci skip]
-
由 Eileen M. Uchitelle 提交于
Update layouts_and_rendering.md [ci skip]
-
由 Nikolai B 提交于
Make it clear that `exists?` can be chained onto a relation
-
由 Rob 提交于
-
由 Nikita Penzin 提交于
Ensure plugin_generator adds to new line in Gemfile, even if the Gemfile does not end with an empty line. [Lisa Ugray, Nikita Penzin]
-
由 Matthew Draper 提交于
Disallow raw SQL in dangerous AR methods
-
由 Jeremy Daer 提交于
Compression has long been available, but opt-in and at a 16kB threshold. It wasn't enabled by default due to CPU cost. Today it's cheap and typical cache data is eminently compressible, such as HTML or JSON fragments. Compression dramatically reduces Memcached/Redis mem usage, which means the same cache servers can store more data, which means higher hit rates. To disable compression, pass `compress: false` to the initializer.
-
由 Yuji Yaginuma 提交于
Currently the environment is not loaded in some db tasks. Therefore, if use encrypted secrets values in `database.yml`, `read_encrypted_secrets` will not be true, so the value can not be used correctly. To fix this, added `environment` as dependency of `load_config`. It also removes explicit `environment` dependencies that are no longer needed. Fixes #30717
-
由 Jeremy Daer 提交于
* Supports vanilla Redis, hiredis, and Redis::Distributed. * Supports Memcached-like sharding across Redises with Redis::Distributed. * Fault tolerant. If the Redis server is unavailable, no exceptions are raised. Cache fetches are treated as misses and writes are dropped. * Local cache. Hot in-memory primary cache within block/middleware scope. * `read_/write_multi` support for Redis mget/mset. Use Redis::Distributed 4.0.1+ for distributed mget support. * `delete_matched` support for Redis KEYS globs.
-
由 Matthew Draper 提交于
Cache regexps generated from acronym_regex
-