1. 25 11月, 2014 1 次提交
    • S
      Document `String#html_safe` [ci skip] · 0349516d
      Sean Griffin 提交于
      It should be part of the documented public API, since we have an entire
      section of the guides dedicated to it. Documented in a way that
      addresses the concerns which kept it undocumented in the past.
      0349516d
  2. 10 11月, 2014 1 次提交
  3. 07 11月, 2014 1 次提交
  4. 06 11月, 2014 1 次提交
  5. 04 11月, 2014 3 次提交
  6. 29 10月, 2014 1 次提交
    • X
      edit pass over all warnings · e595d91a
      Xavier Noria 提交于
      This patch uniformizes warning messages. I used the most common style
      already present in the code base:
      
      * Capitalize the first word.
      
      * End the message with a full stop.
      
      * "Rails 5" instead of "Rails 5.0".
      
      * Backticks for method names and inline code.
      
      Also, converted a few long strings into the new heredoc convention.
      e595d91a
  7. 26 10月, 2014 1 次提交
  8. 25 10月, 2014 5 次提交
  9. 24 10月, 2014 1 次提交
  10. 23 10月, 2014 1 次提交
  11. 19 10月, 2014 1 次提交
  12. 10 10月, 2014 1 次提交
  13. 04 10月, 2014 1 次提交
  14. 25 9月, 2014 1 次提交
  15. 19 9月, 2014 1 次提交
  16. 18 9月, 2014 1 次提交
  17. 15 9月, 2014 1 次提交
  18. 14 9月, 2014 1 次提交
  19. 05 9月, 2014 1 次提交
  20. 04 9月, 2014 1 次提交
  21. 30 8月, 2014 4 次提交
  22. 20 8月, 2014 1 次提交
  23. 07 8月, 2014 1 次提交
  24. 05 8月, 2014 3 次提交
  25. 02 8月, 2014 2 次提交
  26. 31 7月, 2014 1 次提交
    • X
      Raise a descriptive error if non-positive integer passed to in_groups_of. · acac631c
      Xavier Shay 提交于
      This is more consistent than the current behaviour of raising a
      `ZeroDivisionError: divided by 0` error when 0 is given, which can be
      non-obvious especially if `in_groups_of` is part of a longer chain of
      methods.
      
      The negative case was ok - "ArgumentError: invalid slice size" - but
      this error is clearer still.
      acac631c
  27. 30 7月, 2014 1 次提交
  28. 29 7月, 2014 1 次提交
    • G
      Fixed a compatibility issue with the `Oj` gem · bf7fbe64
      Godfrey Chan 提交于
      `Time#as_json`, `Date#as_json` and `DateTime#as_json` incorrectly depends on a
      delegation that is set up in `active_support/json/encoding`. We cannot simply
      require that file in `core_ext/object/json` because it would cause a circular
      dependency problem (see #12203 for background). We should instead rely on AS's
      autoload to load that file for us on-demand.
      
      To trigger autoload correctly, we need to reference the `AS::JSON::Encoding`
      constant instead of using the delegated version.
      
      Fixes #16131.
      bf7fbe64