1. 01 10月, 2016 6 次提交
  2. 30 9月, 2016 4 次提交
    • M
      Merge pull request #26646 from matthewd/cable-buffer · 8356dcac
      Matthew Draper 提交于
      Buffer writes to the cable sockets
      8356dcac
    • M
      Merge pull request #26147 from matthewd/callback-backtrace · 4f2d1d6c
      Matthew Draper 提交于
      Callbacks: leave less lines in the backtrace
      4f2d1d6c
    • M
      Tighten the backtrace pollution from passing through callbacks · 871ca21f
      Matthew Draper 提交于
      Callbacks are everywhere, so it's better if we can avoid making a mess
      of the backtrace just because we've passed through a callback hook.
      
      I'm making no effort to the before/after invocations: those only affect
      backtraces while they're running. The calls that matter are the ones
      that remain on the call stack after run_callbacks yields: around
      callbacks, and internal book-keeping around the before/afters.
      871ca21f
    • S
      Don't skip in-memory insertion of associations when loaded in validate · 268a5bb0
      Sean Griffin 提交于
      This was caused by 6d0d83a3. While the
      bug it's trying to fix is handled if the association is loaded in an
      after_(create|save) callback, it doesn't handle any cases that load the
      association before the persistence takes place (validation, or before_*
      filters). Instead of caring about the timing of persistence, we can just
      ensure that we're not double adding the record instead.
      
      The test from that commit actually broke, but it was not because the bug
      has been re-introduced. It was because `Bulb` in our test suite is doing
      funky things that look like STI but isn't STI, so equality comparison
      didn't happen as the loaded model was of a different class.
      
      Fixes #26661.
      268a5bb0
  3. 29 9月, 2016 12 次提交
  4. 28 9月, 2016 4 次提交
  5. 27 9月, 2016 10 次提交
  6. 26 9月, 2016 4 次提交