Skip to content
Commits on May 17, 2016
  1. @maclover7

    Merge pull request #25039 from maclover7/jm-capitalization-2

    Fix security guide capitalization errors
    maclover7 committed May 17, 2016
Commits on May 16, 2016
  1. @vipulnsward

    Add Attributes API to release notes [ci skip]

    Add Attributes API to release notes [ci skip]
    vipulnsward committed May 17, 2016
  2. @maclover7

    Fix security guide capitalization errors

    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]
    maclover7 committed May 16, 2016
  3. @maclover7

    Merge pull request #25036 from maclover7/jm-capitalization

    `md5` --> `MD5`
    maclover7 committed May 16, 2016
  4. @vipulnsward

    Update the Rails security guide [ci skip]

    Update the Rails security guide [ci skip]
    vipulnsward committed May 17, 2016
  5. @maclover7

    `md5` --> `MD5`

    [ci skip]
    maclover7 committed May 16, 2016
  6. @kaspth

    Remove extranous spaces from assignment.

    Leftover from an earlier commit, chose to fix because I was
    just down in this file.
    kaspth committed May 16, 2016
  7. @kaspth

    Replace middleware with executor callback.

    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.
    kaspth committed May 16, 2016
  8. @ralinc

    Update the Rails security guide

    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]
    ralinc committed May 16, 2016
  9. @kaspth

    Merge pull request #24203 from sferik/count_with_block

    Forward ActiveRecord::Relation#count to Enumerable#count if block given
    kaspth committed May 16, 2016
  10. @sgrif

    Merge pull request #24930 from henrik/date-all-day

    Introduce Date#all_day
    sgrif committed May 16, 2016
  11. @sgrif

    Merge pull request #25009 from jahfer/suppressor-keep-state

    Keep previous state around for nested calls to #suppress
    sgrif committed May 16, 2016
  12. @jahfer

    Keep state around for nested calls to #suppress

    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.
    jahfer committed May 13, 2016
  13. @sgrif

    Merge pull request #23810 from xijo/fix_json_coder_when_mysql_strict_…

    …is_disabled
    
    Fix bug in JSON deserialization when column default is an empty string
    sgrif committed May 16, 2016
  14. @sgrif

    Merge pull request #25023 from slbug/patch-1

    Rails 5.1 point type should not raise exception if empty string is provided as input
    sgrif committed May 16, 2016
  15. Action Mailer: Declarative exception handling with `rescue_from`.

    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`.
    committed May 13, 2016
Commits on May 15, 2016
  1. @rafaelfranca

    Merge pull request #25022 from ysksn/master

    Add some assertions for BigDecimal#to_s
    rafaelfranca committed May 15, 2016
  2. @slbug

    Rails 5.1 point type should not raise exception if empty string is pr…

    …ovided as value
    slbug committed with slbug May 15, 2016
  3. @ysksn

    Remove unnecessary constant

    ysksn committed May 15, 2016
  4. @ysksn
Commits on May 14, 2016
  1. @fxn

    reorder env keys in the generated config/cable.yml

    Conventionally envs are ordered development -> test -> production.
    fxn committed May 15, 2016
  2. @fxn

    Merge pull request #25002 from maclover7/jm-add-actioncable-guide

    Add Action Cable guide to list
    fxn committed May 14, 2016
  3. @fxn
  4. @eileencodes

    Merge pull request #24992 from tomkadwill/test_and_comment_server_por…

    …t_rebased
    
    Document and test ActionDispatch server_port
    eileencodes committed May 14, 2016
  5. @vijaydev

    Merge branch 'master' of github.com:rails/docrails

    Conflicts:
    	guides/source/configuring.md
    vijaydev committed May 14, 2016
  6. @rafaelfranca

    Merge pull request #25008 from lvl0nax/as_enumarable_index_by_refacto…

    …ring
    
    Perfomance fix for ActiveSupport Enumerable#index_by
    rafaelfranca committed May 14, 2016
  7. @lvl0nax

    Perfomance fix for Enumerable#index_by

    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
    lvl0nax committed May 13, 2016
  8. @rafaelfranca

    Merge pull request #25003 from kangkyu/missing_line

    Add missing space and newline for clarity
    rafaelfranca committed May 14, 2016
Commits on May 13, 2016
  1. @eileencodes

    Merge pull request #25015 from joemasilotti/patch-1

    Add notes on cosmetic patches to contributing guidelines
    eileencodes committed May 13, 2016
  2. @joemasilotti
  3. @vipulnsward

    Add output snippet from `ActionController::API.ancestors - ActionCont…

    …roller::Metal.ancestors` command for api apps.
    
    [ci skip]
    vipulnsward committed May 13, 2016
  4. @maclover7

    Add Action Cable guide to list

    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]
    maclover7 committed May 12, 2016
  5. @kangkyu
  6. @sgrif

    Give more context from `AssociationMismatchError`

    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.
    sgrif committed May 12, 2016
Commits on May 12, 2016
  1. @schneems

    Merge pull request #25001 from Neodelf/typos

    Rename test method
    schneems committed May 12, 2016
Something went wrong with that request. Please try again.