1. 21 10月, 2016 15 次提交
  2. 20 10月, 2016 6 次提交
  3. 19 10月, 2016 2 次提交
  4. 18 10月, 2016 2 次提交
  5. 17 10月, 2016 3 次提交
  6. 15 10月, 2016 12 次提交
    • E
      Merge pull request #26786 from codeodor/patch-1 · 28ce091f
      Eileen M. Uchitelle 提交于
      Allow any key in Renderer environment hash
      28ce091f
    • R
      Copy-edit the documentation · 10781f30
      Rafael Mendonça França 提交于
      [ci skip]
      10781f30
    • R
      Merge pull request #26793 from zachaysan/master · da840cd8
      Rafael França 提交于
      Make `process` a non-private method and update documentation.
      da840cd8
    • E
      Merge pull request #26598 from rutaka-n/raise_record_not_found_with_correct_params · d80611d3
      Eileen M. Uchitelle 提交于
      initialize errors with name of class and other params
      d80611d3
    • R
      Pull request for ticket 26769 (#26770) · be6990bf
      rmarone 提交于
      * Clarify the default behavior of log_formatter
      
      Updates language to remove reference to production.rb and fix quoting
      be6990bf
    • Z
      1f979184
    • S
      Allow any key in Renderer environment hash · 6fccd7b6
      Sammy Larbi 提交于
      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.
      6fccd7b6
    • G
      Merge pull request #26792 from rails/benchmark-template · 0bf90fad
      Godfrey Chan 提交于
      Introduce a benchmark template
      0bf90fad
    • G
      Introduce a benchmark template [ci skip] · f2f9b886
      Godfrey Chan 提交于
      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
      ```
      f2f9b886
    • R
      Merge pull request #26784 from kamipo/quote_table_name_properly · 77ed6b78
      Rafael França 提交于
      Quote table name properly
      77ed6b78
    • R
      bd8b50d2
    • R
      Merge pull request #26785 from yahonda/diag26774 · 8e069007
      Rafael França 提交于
      Support index.length for MySQL 8.0.0-dmr
      8e069007