Skip to content
Snippets Groups Projects
  1. Feb 20, 2020
  2. Jan 20, 2020
  3. Jul 12, 2019
  4. May 20, 2019
  5. Dec 14, 2018
  6. Sep 11, 2018
  7. 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
  8. Mar 21, 2018
  9. Oct 23, 2017
  10. Oct 03, 2017
  11. Jul 20, 2017
  12. Jul 18, 2017
  13. 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
  14. Mar 22, 2017
  15. Jul 21, 2016
  16. Jun 03, 2016
  17. May 13, 2016
  18. Apr 05, 2016
  19. Mar 02, 2016
  20. Nov 30, 2015
  21. Nov 26, 2015
  22. Nov 25, 2015
  23. Nov 16, 2015
  24. Oct 22, 2015
  25. Feb 12, 2015
  26. Jun 26, 2014
  27. Dec 10, 2013
  28. Nov 18, 2012
  29. Sep 26, 2012
  30. Oct 13, 2011
  31. Oct 08, 2011
Loading