- 05 4月, 2016 1 次提交
-
-
由 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.
-
- 04 4月, 2016 8 次提交
-
-
由 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 5 次提交
-
-
由 Arthur Nogueira Neves 提交于
Remove not needed including
-
由 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 13 次提交
-
-
由 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]
-
由 Sean Griffin 提交于
This reverts commit 7b82e1c7. This would have removed the ability to reference a schema when using PG
-
由 Rafael França 提交于
Fix method String#upcase_first
-
由 Rafael França 提交于
Move `@quoted_{column|table}_names` cache up to the abstract adapter
-
由 Rafael França 提交于
Deprecate `datetime_field` and `datetime_field_tag` helpers.
-
由 Wojciech Wnętrzak 提交于
Datetime input type was removed from HTML specification. One can use `datetime_local_field` and `datetime_local_field_tag` instead.
-
由 Sean Griffin 提交于
When prepared statements are enabled, the statement cache caches the SQL directly, including the bind parameters. If a similar query is run later with prepared statements disabled, we need to use a separate cache instead of trying to share the same one. Fixes #24351
-
由 Sean Griffin 提交于
Dots have special meaning in most backends (e.g. everything except SQLite3), as well as most methods that work with table or column names. This isn't something that we ever explicitly supported, but there's at least one case of somebody using this (see #24367), so we'll go through a deprecation cycle as normal.
-
由 Sean Griffin 提交于
This issue occured because associations now call `where` directly, and a dot in the key name for `where` means nested tables. For this fix, we now pass the table name as a symbol, and do not attempt to expand symbols containing a dot. This is a temporary fix. I do not think we should support table names containing a dot, as it has a special meaning in most backends, as well as most APIs that involve table names. This commit does not include a test, as I am going to deprecate table names containing dots in the following commit. Fixes #24367
-
由 bogdanvlviv 提交于
-
- 31 3月, 2016 9 次提交
-
-
由 Rafael França 提交于
[ci skip] Parameters filter performs regular expression partial matching
-
由 Andrew Babichev 提交于
-
由 Jeremy Daer 提交于
Cable message encoding
-
由 Jeremy Daer 提交于
* Introduce a connection coder responsible for encoding Cable messages as WebSocket messages, defaulting to `ActiveSupport::JSON` and duck- typing to any object responding to `#encode` and `#decode`. * Consolidate encoding responsibility to the connection. No longer explicitly JSON-encode from channels or other sources. Pass Cable messages as Hashes to `#transmit` and rely on it to encode. * Introduce stream encoders responsible for decoding pubsub messages. Preserve the currently raw encoding, but make it easy to use JSON. Same duck type as the connection encoder. * Revert recent data normalization/quoting (#23649) which treated `identifier` and `data` values as nested JSON objects rather than as opaque JSON-encoded strings. That dealt us an awkward hand where we'd decode JSON strings… or not, but always encode as JSON. Embedding JSON object values directly is preferably, no extra JSON encoding, but that should be a purposeful protocol version change rather than ambiguously, inadvertently supporting multiple message formats.
-
由 Jeremy Daer 提交于
Cable: reconcile default worker pool size with low db conn pool size
-
由 Gaurav Sharma 提交于
using `rails-html-sanitizer` gem still Rails providing strip_tags, strip_links features. May be remove in 5.1
-
由 Jeremy Daer 提交于
Whack it down from 100 to 4. Large worker pools means large db connection counts. We aren't set up for that by default and most apps won't need it out of the box. We're better off tuning the default worker pool for low traffic, low resource consumption apps. Those who have higher traffic will scale up to meet demand.
-
由 Ryuta Kamizono 提交于
-
由 Sean Griffin 提交于
Make to private the visibility of `_quote` and `_type_cast`
-