1. 01 2月, 2018 2 次提交
  2. 31 1月, 2018 1 次提交
  3. 30 1月, 2018 2 次提交
  4. 26 1月, 2018 4 次提交
  5. 22 1月, 2018 1 次提交
  6. 20 1月, 2018 1 次提交
  7. 18 1月, 2018 1 次提交
    • K
      Enable autocorrect for `Lint/EndAlignment` cop · 5ac6ec54
      Koichi ITO 提交于
      ### Summary
      
      This PR changes .rubocop.yml.
      
      Regarding the code using `if ... else ... end`, I think the coding style
      that Rails expects is as follows.
      
      ```ruby
      var = if cond
        a
      else
        b
      end
      ```
      
      However, the current .rubocop.yml setting does not offense for the
      following code.
      
      ```ruby
      var = if cond
              a
            else
              b
            end
      ```
      
      I think that the above code expects offense to be warned.
      Moreover, the layout by autocorrect is unnatural.
      
      ```ruby
      var = if cond
        a
            else
              b
            end
      ```
      
      This PR adds a setting to .rubocop.yml to make an offense warning and
      autocorrect as expected by the coding style.
      And this change also fixes `case ... when ... end` together.
      
      Also this PR itself is an example that arranges the layout using
      `rubocop -a`.
      
      ### Other Information
      
      Autocorrect of `Lint/EndAlignment` cop is `false` by default.
      https://github.com/bbatsov/rubocop/blob/v0.51.0/config/default.yml#L1443
      
      This PR changes this value to `true`.
      
      Also this PR has changed it together as it is necessary to enable
      `Layout/ElseAlignment` cop to make this behavior.
      5ac6ec54
  8. 16 1月, 2018 1 次提交
  9. 12 1月, 2018 1 次提交
  10. 09 1月, 2018 1 次提交
  11. 08 1月, 2018 1 次提交
  12. 05 1月, 2018 1 次提交
  13. 31 12月, 2017 1 次提交
  14. 30 12月, 2017 1 次提交
  15. 29 12月, 2017 1 次提交
  16. 22 12月, 2017 1 次提交
    • C
      Help if Active Storage tables are missing · e32eda6a
      Claudio B 提交于
      When a user tries to create a new attachment or blog and the matching table is missing from the database
      (`active_storage_attachments` and `active_storage_blobs` by default), an informative error is displayed
      that invites users to run the `active_storage:install` task.
      e32eda6a
  17. 19 12月, 2017 1 次提交
  18. 17 12月, 2017 2 次提交
  19. 15 12月, 2017 3 次提交
  20. 14 12月, 2017 1 次提交
  21. 13 12月, 2017 1 次提交
  22. 12 12月, 2017 1 次提交
  23. 10 12月, 2017 2 次提交
  24. 08 12月, 2017 1 次提交
  25. 07 12月, 2017 1 次提交
  26. 06 12月, 2017 1 次提交
  27. 05 12月, 2017 2 次提交
  28. 04 12月, 2017 1 次提交
  29. 01 12月, 2017 1 次提交
  30. 29 11月, 2017 1 次提交
    • E
      Make screenshots default to "simple" format · 9d6e288e
      eileencodes 提交于
      Not everyone uses iTerm2 and whereas Terminal.app on a mac just ignores
      that and outputs the path, other terminals like those on Ubuntu do not.
      A friendlier default is one that works by default.
      
      Closes #31159
      Closes #30957
      9d6e288e