Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 8, 2015
  1. @matthewd

    Soften the lock requirements when eager_load is disabled

    matthewd authored
    We don't need to fully disable concurrent requests: just ensure that
    loads are performed in isolation.
  2. @TheBlasfem
Commits on Jul 6, 2015
  1. @maurogeorge
Commits on Jun 18, 2015
  1. @zzak

    Merge pull request #20575 from prathamesh-sonpatki/doc-xml-disallowed…

    zzak authored
     Added documentation about passing custom disallowed types to Hash#from_xml [ci skip]
  2. @prathamesh-sonpatki
Commits on Jun 16, 2015
  1. @tenderlove @rafaelfranca

    enforce a depth limit on XML documents

    tenderlove authored rafaelfranca committed
    XML documents that are too deep can cause an stack overflow, which in
    turn will cause a potential DoS attack.
  2. @rafaelfranca

    Escape HTML entities in JSON keys

    rafaelfranca authored
    Fixes CVE-2015-3226
Commits on Jun 14, 2015
  1. @repinel

    Fix the message verifier encoding issue

    repinel authored
    verifier ='secret')
    verifier.verify("\xff") # => ArgumentError: invalid byte sequence in UTF-8
Commits on Jun 12, 2015
  1. @tenderlove

    Merge pull request #18365 from pocke/fix_datatime_compare

    tenderlove authored
    DateTime#<=> return nil when compare to the invalid String as Time.
  2. @rafaelfranca

    Merge pull request #20494 from knovoselic/active_support_concern_clas…

    rafaelfranca authored
    [ActiveSupport] Fix for #20489 - ActiveSupport::Concern#class_methods affects parent classes
  3. @knovoselic
Commits on Jun 11, 2015
  1. @senny

    inline test runner check into `as/testing/autorun.rb`.

    senny authored
    This makes it possible to easily get the runner working with existing
    setups that rely on `active_support/testing/autorun.rb`.
Commits on Jun 10, 2015
  1. @repinel
Commits on Jun 9, 2015
  1. @repinel

    Use block variable instead of global

    repinel authored
    Benchmark.ips do |x|"$&") {
        "foo".gsub(/f/) { $&.hex }
      }"block var") {
        "foo".gsub(/f/) { |match| match.hex }
    Calculating -------------------------------------
                      $&    23.271k i/100ms
               block var    24.804k i/100ms
                      $&    321.981k (± 7.4%) i/s -      1.606M
               block var    324.949k (± 9.2%) i/s -      1.612M
Commits on Jun 8, 2015
  1. @senny

    Merge pull request #19571 from kaspth/improve-runner-integration

    senny authored
    Improve Test Runner's Minitest integration.
Commits on Jun 7, 2015
  1. @robin850

    A few documentation tweaks [ci skip]

    robin850 authored
    [Robin Dupret & Shunsuke Aida]
Commits on Jun 5, 2015
  1. @kaspth

    Merge pull request #20443 from teoljungberg/thoughtbot-capitalization

    kaspth authored
    [ci skip] Fix `thoughtbot` capitalization
  2. @teoljungberg
Commits on Jun 4, 2015
  1. @jimmycuadra

    Require active_support/duration.

    jimmycuadra authored
    ActiveSupport::TimeWithZone references `ActiveSupport::Duration` but
    does not require it, which can result in a `LoadError` when required
    directly without requiring a component less granular like
    `active_support/time`, where the autoload for `ActiveSupport::Duration`
    is set up.
  2. @kaspth

    Improve test runner's Minitest integration.

    kaspth authored
    This also adds free mix and matching of directories, files and lines filters.
    Like so:
    bin/rails test models/post_test.rb test/integration models/person_test.rb:26
    You can also mix in a traditional Minitest filter:
    bin/rails test test/integration -n /check_it_out/
Commits on Jun 2, 2015
  1. @rafaelfranca

    Merge pull request #20410 from schneems/schneems/boo-global-vars

    rafaelfranca authored
    Use block variable instead of global
  2. @schneems

    Use block variable instead of global

    schneems authored
    require 'benchmark/ips'
    Benchmark.ips do |x|"$&") {
        "foo".sub(/f/) { $&.upcase }
      }"block var") {
        "foo".sub(/f/) {|match| match.upcase }
    Calculating -------------------------------------
                      $&    48.658k i/100ms
               block var    49.666k i/100ms
                      $&    873.156k (± 9.3%) i/s -      4.331M
               block var    969.744k (± 9.2%) i/s -      4.818M
    It's faster, and gets rid of a few "magic" global variables
Commits on Jun 1, 2015
  1. @rafaelfranca

    Merge pull request #20362 from kddeisz/enumerable_pluck

    rafaelfranca authored
    Allow Enumerable#pluck to take a splat.
  2. @rafaelfranca

    Merge pull request #20138 from tgxworld/deprecated_assert_template

    rafaelfranca authored
    Deprecate `assert_template` and `assigns()`.
  3. @nkondratyev

    Fix a range of values for parameters of the Time#change

    nkondratyev authored
    Passing 999999000 < `:nsec` < 999999999 and 999999 < `:usec` < 1000000
    to change a time with utc_offset doesn't throw an `ArgumentError`.
Commits on May 30, 2015
  1. @tgxworld
Commits on May 29, 2015
  1. @repinel
  2. @kddeisz

    Allow Enumerable#pluck to take a splat.

    kddeisz authored
    This allows easier integration with ActiveRecord, such that
    AR#pluck will now use Enumerable#pluck if the relation is loaded,
    without needing to hit the database.
  3. @rafaelfranca

    Merge pull request #19878 from pabloh/replace_alias_chains_with_prepend

    rafaelfranca authored
    Replace use of alias chains with prepend at core_ext/date and core_ext/time
  4. @kddeisz

    Add Enumerable#pluck.

    kddeisz authored
    Allows fetching the same values from arrays as from ActiveRecord associations.
Commits on May 27, 2015
  1. @meinac
Commits on May 26, 2015
  1. @claudiob

    Merge pull request #20297 from gouravtiwari/patch-9

    claudiob authored
    Added multibyte slice! example to doc [ci skip]
  2. @rafaelfranca

    Merge pull request #20208 from gaurish/raise_on_missing_ordered_options

    rafaelfranca authored
    Add bang version to OrderedOptions
  3. @meinac
  4. @senny

    Merge pull request #16938 from akshay-vishnoi/remove-deprication

    senny authored
    Remove `.superclass_delegating_accessor`.
Something went wrong with that request. Please try again.