1. 19 5月, 2016 2 次提交
  2. 18 5月, 2016 6 次提交
  3. 17 5月, 2016 14 次提交
  4. 16 5月, 2016 4 次提交
    • S
      Merge pull request #23810 from xijo/fix_json_coder_when_mysql_strict_is_disabled · aa7ded6a
      Sean Griffin 提交于
      Fix bug in JSON deserialization when column default is an empty string
      aa7ded6a
    • S
      Merge pull request #25023 from slbug/patch-1 · e9cf2008
      Sean Griffin 提交于
      Rails 5.1 point type should not raise exception if empty string is provided as input
      e9cf2008
    • J
      Action Mailer: Declarative exception handling with `rescue_from`. · e35b98e6
      Jeremy Daer 提交于
      Follows the same pattern as controllers and jobs. Exceptions raised in
      delivery jobs (enqueued by `#deliver_later`) are also delegated to the
      mailer's rescue_from handlers, so you can handle the DeserializationError
      raised by delivery jobs:
      
      ```ruby
      class MyMailer < ApplicationMailer
        rescue_from ActiveJob::DeserializationError do
          …
        end
      ```
      
      ActiveSupport::Rescuable polish:
      * Add the `rescue_with_handler` class method so exceptions may be
        handled at the class level without requiring an instance.
      * Rationalize `exception.cause` handling. If no handler matches the
        exception, fall back to the handler that matches its cause.
      * Handle exceptions raised elsewhere. Pass `object: …` to execute
        the `rescue_from` handler (e.g. a method call or a block to
        instance_exec) against a different object. Defaults to `self`.
      e35b98e6
    • R
      Merge pull request #25022 from ysksn/master · 6810847f
      Rafael França 提交于
      Add some assertions for BigDecimal#to_s
      6810847f
  5. 15 5月, 2016 6 次提交
  6. 14 5月, 2016 8 次提交