- 16 6月, 2014 1 次提交
-
-
由 Mindaugas Mozūras 提交于
Slightly improves performance, for example, a simple benchmark: ```ruby require 'benchmark/ips' require 'set' SPECIAL_KEYS = %w[extras no-cache max-age public must-revalidate] SPECIAL_KEYS_SET = Set.new(SPECIAL_KEYS) directive = 'must-revalidate' Benchmark.ips do |x| x.report('array') { SPECIAL_KEYS.include?(directive) } x.report('set') { SPECIAL_KEYS_SET.include?(directive) } end ``` Output: ``` ------------------------------------- array 67926 i/100ms set 74054 i/100ms ------------------------------------- array 2318423.4 (±2.8%) i/s - 11615346 in 5.014899s set 3387981.8 (±4.7%) i/s - 16958366 in 5.019355s ```
-
- 15 6月, 2014 14 次提交
-
-
由 Yves Senn 提交于
Change the deprecation warning on `serialized_attributes`
-
由 Sean Griffin 提交于
to "without replacement"
-
由 Yves Senn 提交于
This was partially broken because `preview_interceptors=` just assigned the raw values, whithout going through `register_preview_interceptor`. Now the Action Mailer railtie takes care of the `preview_interceptors` option. This commit is a partial revert of: Revert "Merge pull request #15739 from y-yagi/correct_doc_for_action_mailer_base" This reverts commit a15704d7, reversing changes made to 1bd12a86. /cc @kuldeepaggarwal @y-yagi
-
由 Yves Senn 提交于
[ci skip] correct doc for `register_preview_interceptor`
-
由 Yves Senn 提交于
remove unnecessary calling of `I18n.backend.store_translations('empty', {})`
-
由 Kuldeep Aggarwal 提交于
Clean up I18n stored translations after test continuation with #15714
-
由 yuuji.yaginuma 提交于
-
由 Yves Senn 提交于
reload I18n as we are defining `:ts` locale in `test_number_to_human_with_custom_translation_scope`
-
由 Kuldeep Aggarwal 提交于
fix build- see https://travis-ci.org/rails/rails/jobs/27578159#L2913.
-
由 Zachary Scott 提交于
[ci skip] update wiki link for MVC in README
-
由 Aditya Kapoor 提交于
-
由 Zachary Scott 提交于
[ci-skip] correct wikipedia MVC link
-
由 Godfrey Chan 提交于
-
由 Aditya Kapoor 提交于
-
- 14 6月, 2014 25 次提交
-
-
由 Yves Senn 提交于
Deprecate `serialized_attributes` without replacement
-
由 Yves Senn 提交于
Clean up I18n stored translations after test.
-
由 Yves Senn 提交于
This application always gets out of sync and doesn't add much value. Closes #15721 /cc @rafaelfranca
-
由 Eileen M. Uchitelle 提交于
[ci skip] Update #has_secure_password docs
-
由 Akshay Vishnoi 提交于
-
由 Sean Griffin 提交于
We've stopped using it internally, in favor of polymorphism. So should you!
-
由 Godfrey Chan 提交于
Use `@existing_user` while updating existing user, fixing - ee4e86
-
由 Yves Senn 提交于
-
由 Akshay Vishnoi 提交于
-
由 Yves Senn 提交于
Avoid hard-coded value in test setup and teardown.
-
由 Zuhao Wan 提交于
-
由 Zuhao Wan 提交于
-
由 Matthew Draper 提交于
Make sure restoration always happen.
-
由 Zuhao Wan 提交于
-
由 Godfrey Chan 提交于
* Grouped the valid test cases in one place * Make the length of the generated password obvious * Removed two wrong (copy-and-pasted) test cases
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
SecurePassword - Validate password must be less than or equal to 72
-
由 Akshay Vishnoi 提交于
See #14591, Reason - BCrypt hash function can handle maximum 72 characters.
-
由 Matthew Draper 提交于
Fixes #15705.
-
由 Rafael Mendonça França 提交于
Remove `serialized?` from the type interface
-
由 Sean Griffin 提交于
-
由 Rafael Mendonça França 提交于
Fix request's path_info when a rack app mounted at '/'.
-
由 Rafael Mendonça França 提交于
Open extension point for defining options in build_through_record
-
由 Rafael Mendonça França 提交于
Remove unused `method_missing` definition
-
由 Zachary Scott 提交于
This fixes #15496
-