- 18 5月, 2016 3 次提交
-
-
由 Aaron Patterson 提交于
Using locals will cause layouts to be cached multiple times in the template cache. This commit removes locals from consideration when looking up the layout.
-
由 Mateusz Konieczny 提交于
* Update documentation about Safari 4 supporting http only cookie - Source: www.greebo.net/2009/06/09/httponly-in-safari-40-release/ via http://stackoverflow.com/questions/528405/which-browsers-do-support-httponly-cookies
-
由 Aaron Patterson 提交于
-
- 17 5月, 2016 13 次提交
-
-
由 Jon Moss 提交于
Fix security guide capitalization errors
-
由 Vipul A M 提交于
Add Attributes API to release notes [ci skip]
-
由 Jon Moss 提交于
Would have submitted to docrails, but this guide was just changed today, and docrails doesn't have the most updated version
😬 cc @vipulnsward [ci skip] -
由 Jon Moss 提交于
`md5` --> `MD5`
-
由 Vipul A M 提交于
Update the Rails security guide [ci skip]
-
由 Jon Moss 提交于
[ci skip]
-
由 Kasper Timm Hansen 提交于
Leftover from an earlier commit, chose to fix because I was just down in this file.
-
由 Kasper Timm Hansen 提交于
Per request digest caches were added before we had hooks into different units of work that Rails performs. As such the most reliable way to prevent stale cache digests was with a middleware. The middleware prevented staleness in Action Controller requests. However, the executor is superior because it should also prevent staleness when running just Active Job jobs or broadcasting through Action Cable's server.
-
由 Ralin Chimev 提交于
Bring up-to-date the information about the session id in the Sessions section. The guide currently says that the session id is a md5 hash while the implementation uses a random hex string. Fixes #25032. [ci skip]
-
由 Kasper Timm Hansen 提交于
Forward ActiveRecord::Relation#count to Enumerable#count if block given
-
由 Sean Griffin 提交于
Introduce Date#all_day
-
由 Sean Griffin 提交于
Keep previous state around for nested calls to #suppress
-
由 Jahfer Husain 提交于
If a call to #suppress from the same class occurred inside another #suppress block, the suppression state would be set to false before the outer block completes. This change keeps the previous state around in memory and unwinds it as the blocks exit.
-
- 16 5月, 2016 4 次提交
-
-
由 Sean Griffin 提交于
Fix bug in JSON deserialization when column default is an empty string
-
由 Sean Griffin 提交于
Rails 5.1 point type should not raise exception if empty string is provided as input
-
由 Jeremy Daer 提交于
Follows the same pattern as controllers and jobs. Exceptions raised in delivery jobs (enqueued by `#deliver_later`) are also delegated to the mailer's rescue_from handlers, so you can handle the DeserializationError raised by delivery jobs: ```ruby class MyMailer < ApplicationMailer rescue_from ActiveJob::DeserializationError do … end ``` ActiveSupport::Rescuable polish: * Add the `rescue_with_handler` class method so exceptions may be handled at the class level without requiring an instance. * Rationalize `exception.cause` handling. If no handler matches the exception, fall back to the handler that matches its cause. * Handle exceptions raised elsewhere. Pass `object: …` to execute the `rescue_from` handler (e.g. a method call or a block to instance_exec) against a different object. Defaults to `self`.
-
由 Rafael França 提交于
Add some assertions for BigDecimal#to_s
-
- 15 5月, 2016 6 次提交
-
-
由 bUg 提交于
-
由 Yosuke Kabuto 提交于
-
由 Yosuke Kabuto 提交于
-
由 Xavier Noria 提交于
Conventionally envs are ordered development -> test -> production.
-
由 Xavier Noria 提交于
Add Action Cable guide to list
-
由 Xavier Noria 提交于
-
- 14 5月, 2016 8 次提交
-
-
由 Eileen M. Uchitelle 提交于
Document and test ActionDispatch server_port
-
由 Vijay Dev 提交于
Conflicts: guides/source/configuring.md
-
由 Rafael França 提交于
Perfomance fix for ActiveSupport Enumerable#index_by
-
由 lvl0nax 提交于
Calculating ------------------------------------- before 34.731k i/100ms after 48.206k i/100ms ------------------------------------------------- before 508.451k (± 1.2%) i/s - 2.570M after 720.068k (± 0.9%) i/s - 3.615M Comparison: after: 720067.6 i/s before: 508451.1 i/s - 1.42x slower
-
由 Rafael França 提交于
Add missing space and newline for clarity
-
由 Eileen M. Uchitelle 提交于
Add notes on cosmetic patches to contributing guidelines
-
由 Joe Masilotti 提交于
-
由 Vipul A M 提交于
Add output snippet from `ActionController::API.ancestors - ActionController::Metal.ancestors` command for api apps. [ci skip]
-
- 13 5月, 2016 6 次提交
-
-
由 Jon Moss 提交于
This effectively publishes the "Action Cable Overview" guide. If we don't think this is ready for the prime time, we can mark it as a "work in progress" guide. [ci skip]
-
由 Kang-Kyu Lee 提交于
-
由 Sean Griffin 提交于
The error message that we give today makes this error difficult to debug if you receive it. I have no clue why we're printing the object ID of the class (the commit doesn't give context), but I've left it as it was deliberate.
-
由 Richard Schneeman 提交于
Rename test method
-
由 Molchanov Andrey 提交于
-
由 Tom Kadwill 提交于
-