Permalink
Switch branches/tags
Commits on Oct 19, 2016
  1. Merge pull request #26825 from orhantoy/fix-doc-code-indentation

    maclover7 committed Oct 19, 2016
    [ci skip] Fix indentation of code examples
  2. Fix indentation of code examples

    orhantoy committed Oct 19, 2016
    This commit fixes the generated HTML of the two code examples.
  3. Merge pull request #26821 from y-yagi/update_doc_about_change_column_…

    prathamesh-sonpatki committed Oct 19, 2016
    …default
    
    update doc about `change_column_default` [ci skip]
  4. update doc about `change_column_default` [ci skip]

    y-yagi committed Oct 19, 2016
    Follow up to #20018.
Commits on Oct 17, 2016
  1. Merge pull request #26809 from alexcameron89/contributing_guide_typo

    maclover7 committed Oct 17, 2016
    [ci skip] Fix typo in Guides: Contributing
Commits on Oct 16, 2016
  1. Merge pull request #26800 from prathamesh-sonpatki/bump-bundler

    guilleiguaran committed Oct 16, 2016
    Bump bundler version in the before_install hook of travis
  2. Bump bundler version in the before_install hook of travis

    prathamesh-sonpatki committed Oct 16, 2016
    - We were running into issues with old bundler versions on 4.2
      builds. So we bumped the bundler version on 4-2-stable branch in
      rails#26592.
    - This commit applies same change to master as per discussion in
      rails#26592 (comment).
Commits on Oct 15, 2016
  1. Merge pull request #26786 from codeodor/patch-1

    eileencodes committed Oct 15, 2016
    Allow any key in Renderer environment hash
  2. Copy-edit the documentation

    rafaelfranca committed Oct 15, 2016
    [ci skip]
  3. Merge pull request #26793 from zachaysan/master

    rafaelfranca committed Oct 15, 2016
    Make `process` a non-private method and update documentation.
  4. Merge pull request #26598 from rutaka-n/raise_record_not_found_with_c…

    eileencodes committed Oct 15, 2016
    …orrect_params
    
    initialize errors with name of class and other params
  5. Pull request for ticket 26769 (#26770)

    rmarone committed with eileencodes Oct 15, 2016
    * Clarify the default behavior of log_formatter
    
    Updates language to remove reference to production.rb and fix quoting
  6. Allow any key in Renderer environment hash

    codeodor committed Oct 13, 2016
    When rendering arbitrary templates, it is helpful to not overwrite `env` keys with nil if they don't match any found in the `RACK_KEY_TRANSLATION`
    
    This allows the developer to set the environment to exactly what is needed for rendering.
  7. Merge pull request #26792 from rails/benchmark-template

    chancancode committed Oct 15, 2016
    Introduce a benchmark template
  8. Introduce a benchmark template [ci skip]

    chancancode committed Oct 15, 2016
    This replaces boilerplate in the “benchmark your code” section of the
    contributors’ guide with an executable template. I also amended the text
    to encourage best practices and codified it in the template.
    
    For now this is only good for relatively self-contained changes that can
    be inlined into a simple script. In the future, this can be expanded to
    cover how to measure the difference between two commits.
    
    The output looks like this:
    
    ```
    ==================================== Empty =====================================
    
    Warming up --------------------------------------
                  blank?   225.963k i/100ms
             fast_blank?   238.147k i/100ms
    Calculating -------------------------------------
                  blank?      8.825M (± 6.4%) i/s -     44.063M in   5.014824s
             fast_blank?      9.311M (± 6.3%) i/s -     46.439M in   5.009153s
    
    Comparison:
             fast_blank?:  9310694.8 i/s
                  blank?:  8824801.7 i/s - same-ish: difference falls within error
    
    
    ================================= Single Space =================================
    
    Warming up --------------------------------------
                  blank?    56.581k i/100ms
             fast_blank?   232.774k i/100ms
    Calculating -------------------------------------
                  blank?    813.985k (±16.7%) i/s -      4.017M in   5.076576s
             fast_blank?      9.547M (± 5.2%) i/s -     47.719M in   5.013204s
    
    Comparison:
             fast_blank?:  9547414.0 i/s
                  blank?:   813985.0 i/s - 11.73x  slower
    
    
    ================================== Two Spaces ==================================
    
    Warming up --------------------------------------
                  blank?    58.265k i/100ms
             fast_blank?   244.056k i/100ms
    Calculating -------------------------------------
                  blank?    823.343k (±16.2%) i/s -      4.020M in   5.014213s
             fast_blank?      9.484M (± 4.9%) i/s -     47.347M in   5.005339s
    
    Comparison:
             fast_blank?:  9484021.6 i/s
                  blank?:   823343.1 i/s - 11.52x  slower
    
    
    =============================== Mixed Whitspaces ===============================
    
    Warming up --------------------------------------
                  blank?    53.919k i/100ms
             fast_blank?   237.103k i/100ms
    Calculating -------------------------------------
                  blank?    763.435k (±16.8%) i/s -      3.720M in   5.018029s
             fast_blank?      9.672M (± 5.8%) i/s -     48.369M in   5.019356s
    
    Comparison:
             fast_blank?:  9672467.2 i/s
                  blank?:   763435.4 i/s - 12.67x  slower
    
    
    =============================== Very Long String ===============================
    
    Warming up --------------------------------------
                  blank?    34.037k i/100ms
             fast_blank?   240.366k i/100ms
    Calculating -------------------------------------
                  blank?    409.731k (± 8.9%) i/s -      2.042M in   5.028235s
             fast_blank?      9.794M (± 4.3%) i/s -     49.035M in   5.016328s
    
    Comparison:
             fast_blank?:  9794225.2 i/s
                  blank?:   409731.4 i/s - 23.90x  slower
    ```
  9. Merge pull request #26784 from kamipo/quote_table_name_properly

    rafaelfranca committed Oct 15, 2016
    Quote table name properly
  10. Merge pull request #26785 from yahonda/diag26774

    rafaelfranca committed Oct 15, 2016
    Support index.length for MySQL 8.0.0-dmr
  11. Merge pull request #26788 from Jesus/master

    rafaelfranca committed Oct 15, 2016
    Use built-in #transform_values when available.
Commits on Oct 14, 2016
  1. Use built-in #transform_values when available.

    Jesus committed Sep 15, 2016
    The methods Hash#transform_values and Hash#transform_values! have been
    implemented in Ruby and they'll be available as part of the standard
    library.
    
    Here's the link to the discussion in Ruby's issue tracker:
    https://bugs.ruby-lang.org/issues/12512
    
    These methods are implemented in C so they're expected to perform
    better.
  2. Merge pull request #26787 from y-yagi/add_missing_closing_tag

    maclover7 committed Oct 14, 2016
    add missing closing tag [ci skip]
  3. add missing closing tag [ci skip]

    y-yagi committed Oct 14, 2016
Commits on Oct 13, 2016
  1. Support index.length for MySQL 8.0.0-dmr

    yahonda committed Oct 13, 2016
    MySQL 8.0.0-dmr `SUB_PART` column of `information_schema.statistics`
    changed to varbinary(12), which is bigint(3) in MySQL 5.6.
    
    Addresses #26774
  2. Quote table name properly

    kamipo committed Oct 13, 2016
    If does not quote table name properly, invalid SQL is generated.
  3. Merge pull request #26779 from javiercr/patch-1

    guilleiguaran committed Oct 13, 2016
    Clarify default adapter in ActionCable guide  [ci skip]
  4. Suggested edits

    javiercr committed Oct 13, 2016
  5. Improve Action Cable Overview guide

    javiercr committed Oct 13, 2016
    The default adapter in development & test environments is not `redis` but `async`.
Commits on Oct 11, 2016
  1. Merge pull request #26765 from claudiob/follow-26518

    claudiob committed Oct 11, 2016
    Docs: `tag` only accept attribute names as symbols
  2. Merge pull request #26768 from alexcameron89/actionpack_changelog

    rafaelfranca committed Oct 11, 2016
    [ci skip] fix typo in Actionpack Changelog
  3. Merge pull request #26767 from kamipo/fix_warning

    rafaelfranca committed Oct 11, 2016
    Fix `warning: ambiguous first argument`
  4. Fix `warning: ambiguous first argument`

    kamipo committed Oct 11, 2016
    ```
    test/cases/adapters/postgresql/case_insensitive_test.rb:12: warning: ambiguous first argument; put parentheses or a space even after `/' operator
    test/cases/adapters/postgresql/case_insensitive_test.rb:16: warning: ambiguous first argument; put parentheses or a space even after `/' operator
    test/cases/adapters/postgresql/case_insensitive_test.rb:20: warning: ambiguous first argument; put parentheses or a space even after `/' operator
    test/cases/adapters/postgresql/case_insensitive_test.rb:24: warning: ambiguous first argument; put parentheses or a space even after `/' operator
    ```