1. 30 6月, 2013 2 次提交
    • N
      Do not invoke callbacks when delete_all is called · f319e4a9
      Neeraj Singh 提交于
      Method `delete_all` should not be invoking callbacks and this
      feature was deprecated in Rails 4.0. This is being removed.
      `delete_all` will continue to honor the `:dependent` option. However
      if `:dependent` value is `:destroy` then the default deletion
      strategy for that collection will be applied.
      
      User can also force a deletion strategy by passing parameter to
      `delete_all`. For example you can do `@post.comments.delete_all(:nullify)`
      f319e4a9
    • S
      Clean the code a bit · 4eedb392
      Santiago Pastorino 提交于
      4eedb392
  2. 29 6月, 2013 13 次提交
  3. 28 6月, 2013 25 次提交