Skip to content
Snippets Groups Projects
  1. Mar 19, 2020
  2. Mar 18, 2020
  3. Feb 26, 2020
  4. Feb 20, 2020
  5. Jan 20, 2020
  6. Jul 12, 2019
  7. May 20, 2019
  8. Dec 14, 2018
  9. Sep 11, 2018
  10. Jun 13, 2018
    • blackst0ne's avatar
      [Rails5] Pass class references instead of strings to middleware builder · 1499b02f
      blackst0ne authored
      It fixes Rails 5.0 deprecation flooding like:
      
      ```
      DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
      them to actual class references.  For example:
      
        "::Gitlab::Middleware::ReadOnly" => Gitlab::Middleware::ReadOnly
      
       (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
      DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
      them to actual class references.  For example:
      
        "ActionDispatch::Static" => ActionDispatch::Static
      
       (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
      DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
      them to actual class references.  For example:
      
        "Gitlab::Testing::RequestBlockerMiddleware" => Gitlab::Testing::RequestBlockerMiddleware
      
       (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
      DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
      them to actual class references.  For example:
      
        "ActionDispatch::Static" => ActionDispatch::Static
      
       (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
      DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
      them to actual class references.  For example:
      
        "Gitlab::Testing::RequestInspectorMiddleware" => Gitlab::Testing::RequestInspectorMiddleware
      
       (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
      ```
      1499b02f
  11. Mar 21, 2018
  12. Oct 23, 2017
  13. Oct 03, 2017
  14. Jul 20, 2017
  15. Jul 18, 2017
  16. Apr 14, 2017
    • Stan Hu's avatar
      Turn on caching of classes in Knapsack specs · 00dd2ba9
      Stan Hu authored
      Enabling caching of classes slows start-up time because all controllers
      are loaded at initialization, but it reduces memory and load because files
      are not reloaded with every request. For example, caching is not necessary
      for loading database migrations but useful for handling Knapsack specs.
      
      Addresses gitlab-org/gitlab-ee#2162
      00dd2ba9
  17. Mar 22, 2017
  18. Jul 21, 2016
  19. Jun 03, 2016
  20. May 13, 2016
  21. Apr 05, 2016
  22. Mar 02, 2016
  23. Nov 30, 2015
  24. Nov 26, 2015
  25. Nov 25, 2015
  26. Nov 16, 2015
  27. Oct 22, 2015
  28. Feb 12, 2015
  29. Jun 26, 2014
  30. Dec 10, 2013
  31. Nov 18, 2012
  32. Sep 26, 2012
  33. Oct 13, 2011
  34. Oct 08, 2011
Loading