- 05 4月, 2016 17 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Eileen M. Uchitelle 提交于
Extend `ActionController::TestCase` deprecation warning
-
由 प्रथमेश Sonpatki 提交于
Update documentation based on the new changes for strong & weak ETags.
-
由 Santosh Wadghule 提交于
- Update info for weak ETag - Add info for strong ETag - Add examples for strong and weak ETags - Display difference between generated strong and weak ETags strings.
-
由 Rafael França 提交于
Allow passing record being validated to error message generator
-
由 Prathamesh Sonpatki 提交于
- Pass object to I18n helper so that when calling message proc, it will pass that object as argument to the proc and we can generate custom error messages based on current record being validated. - Based on https://github.com/rails/rails/issues/856. [Łukasz Bandzarewicz, Prathamesh Sonpatki]
-
由 Rafael França 提交于
Guides changes, follow up of #24401 [ci skip]
-
由 Vipul A M 提交于
[ci skip]
-
由 Rafael França 提交于
Fix marshal with autoloading for nested class/module
-
由 Rafael Mendonça França 提交于
`number_to_phone` formats number with regexp
-
由 Ryan McCuaig 提交于
-
由 Rafael França 提交于
Use `QUOTED_TRUE` and `QUOTED_FALSE` instead of magic strings
-
由 yui-knk 提交于
Because we define `QUOTED_TRUE` as `"1"` and `QUOTED_FALSE` as `"0"`. And add test cases to ensure this commit does not break current behavior even if the value of `attributes_before_type_cast` is false.
-
由 Rafael França 提交于
[ci skip] Fix variable name
-
由 Arthur Vieira 提交于
-
由 Andrew White 提交于
Fixes #24239
-
由 Santiago Pastorino 提交于
Added 'config.' to deprecation warning
-
- 04 4月, 2016 9 次提交
-
-
由 Ryan T. Hosford 提交于
- skip calling helper_method if it's not there: if we don't have helpers, we needn't define one. - tests that an api controller can include and use ActionController::Cookies
-
由 Andrew White 提交于
enhance ActiveRecord#substitute_values to loop values just once
-
由 Siim Liiser 提交于
Previously `String#to_time` returned the midnight of the current date in some cases where there was no relavant information in the string. Now the method returns `nil` instead in those cases. Fixes #22958.
-
由 Andrew White 提交于
The native DateTime#<=> implementation can be used to compare instances with numeric values being considered as astronomical julian day numbers so we should call that instead of returning nil. Fixes #24228.
-
由 Andrew White 提交于
If the test run was interrupted in some way then it left temporary directories inside of test causing the git worktree to be in a dirty state. By overriding the run method we can use the block form of Dir.mktmpdir to ensure that the directories are cleaned up no matter which way the test run is exited.
-
由 Andrew White 提交于
The constant reference A::B used to trigger autoloading causes a warning to be logged about the possible use of :: in a void context so assign it to the _ variable to prevent the warnings from being triggered.
-
由 Kasper Timm Hansen 提交于
Update Rails 5.0 release notes
-
由 Vijay Dev 提交于
-
由 Prathamesh Sonpatki 提交于
- Removed entry for # Template Collection from release notes. - Remove duplicate entry for caching Action mailer views. - Remove duplicate entry for left_outer_joins.
-
- 03 4月, 2016 4 次提交
-
-
由 Jeremy Daer 提交于
Grammar fixes based on pass over ETag doc changes
-
由 Arthur Nogueira Neves 提交于
remove deprecated `datetime_field` from guide [ci skip]
-
由 yuuji.yaginuma 提交于
`datetime_field` was deprecated in 316811b4
-
由 Vipul A M 提交于
[ci skip]
-
- 02 4月, 2016 6 次提交
-
-
由 Arthur Nogueira Neves 提交于
Remove not needed including
-
由 Pan GaoYong 提交于
By default, this method formats US number. This commit extends its functionality to format number for other countries with a custom regular expression. number_to_phone(18812345678, pattern: /(\d{3})(\d{4})(\d{4})/) # => 188-1234-5678 The output phone number is divided into three groups, so the regexp should also match three groups of numbers.
-
由 Vipul A M 提交于
Grammer fix in comment: capitalize first word in sentence [ci skip].
-
由 utilum 提交于
-
由 yui-knk 提交于
Because `DateTime` inherits `Date` and `Date` includes `DateAndTime::Zones`, `DateTime` not need to include `DateAndTime::Zones` again.
-
由 Jeremy Daer 提交于
Strong ETag validators
-
- 01 4月, 2016 4 次提交
-
-
由 Arun Agrawal 提交于
Fixes broken link in 'Ruby on Rails 2.2 Release Notes'
-
由 Javier Vidal 提交于
-
由 Jeremy Daer 提交于
* Introduce `Response#strong_etag=` and `#weak_etag=` and analogous options for `fresh_when` and `stale?`. `Response#etag=` sets a weak ETag. Strong ETags are desirable when you're serving byte-for-byte identical responses that support Range requests, like PDFs or videos (typically done by reproxying the response from a backend storage service). Also desirable when fronted by some CDNs that support strong ETags only, like Akamai. * No longer strips quotes (`"`) from ETag values before comparing them. Quotes are significant, part of the ETag. A quoted ETag and an unquoted one are not the same entity. * Support `If-None-Match: *`. Rarely useful for GET requests; meant to provide some optimistic concurrency control for PUT requests.
-
由 Kasper Timm Hansen 提交于
sanitiser helper may be remove in 5.1, update doc [ci skip]
-