1. 04 1月, 2015 3 次提交
  2. 03 1月, 2015 3 次提交
  3. 02 1月, 2015 1 次提交
  4. 31 12月, 2014 1 次提交
  5. 30 12月, 2014 1 次提交
  6. 29 12月, 2014 2 次提交
    • R
      54ec0cbf
    • V
      When trying to access a character on a string buffer object via `:[]`, if the... · 98367466
      Vipul A M 提交于
      When trying to access a character on a string buffer object via `:[]`, if the object being accessed currently returns `html_safe?` as true,
      we used to set  `@html_safe` variable as true on new object created. When doing something like
      
      x = 'Hello'.html_safe
      x[/a/, 1]
      
      would throw an error on ruby 2.2, since when nothign gets matched nil is returned by the code and it tries to set   `@html_safe` value to true,
      which would error since starting 2.2 nil is frozen.
      
      This change adds a safety net to avoid setting `@html_safe = true` on frozen objects.
      
      Fixes #18235
      98367466
  7. 25 12月, 2014 1 次提交
  8. 22 12月, 2014 1 次提交
  9. 18 12月, 2014 4 次提交
    • C
      Add docs for Numeric time-related methods · 4c0ef770
      claudiob 提交于
      Add docs for `minutes`, `hours`, `days`, `weeks` and `fortnights`.
      Fix docs for `in_milliseconds`.
      
      [ci skip]
      4c0ef770
    • C
      Replace `#=>` with `# =>` [ci skip] · 23c8f691
      claudiob 提交于
      @rafaelfranca suggested in f7c7bcd9 that code examples should display
      the result after  `# =>` and not after `#=>`.
      
      This commit replaces *all* the occurrences of `#=>` in the code documentation
      (mostly added by me 😭) with the suggested `# =>`.
      23c8f691
    • C
      Add docs for Numeric#*_bytes methods · 78789b7a
      claudiob 提交于
      Add docs for `kilobytes`, `megabytes`, `gigabytes`, `terabytes`,
      `petabytes` and `exabytes`. Fix docs for `bytes`.
      
      [ci skip]
      78789b7a
    • C
      Add docs for Time#find_zone · a4069cdb
      claudiob 提交于
      Also improves docs for `Time#find_zone!`
      
      [ci skip]
      a4069cdb
  10. 12 12月, 2014 1 次提交
  11. 05 12月, 2014 1 次提交
  12. 29 11月, 2014 2 次提交
  13. 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
  14. 10 11月, 2014 1 次提交
  15. 07 11月, 2014 1 次提交
  16. 06 11月, 2014 1 次提交
  17. 04 11月, 2014 3 次提交
  18. 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
  19. 26 10月, 2014 1 次提交
  20. 25 10月, 2014 5 次提交
  21. 24 10月, 2014 1 次提交
  22. 23 10月, 2014 1 次提交
  23. 19 10月, 2014 1 次提交
  24. 10 10月, 2014 1 次提交
  25. 04 10月, 2014 1 次提交