Browse Source

[ruby/hanami] Rename DB namespace for Zeitwerk (#9279)

Fixes the following error:

    Zeitwerk::NameError: expected file /hanami/app/actions/db/index.rb
    to define constant HelloWorld::Actions::DB::Index, but didn't
Petrik de Heus 11 months ago
parent
commit
1f59d81758
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Ruby/hanami/app/actions/db/index.rb

+ 1 - 1
frameworks/Ruby/hanami/app/actions/db/index.rb

@@ -2,7 +2,7 @@
 
 
 module HelloWorld
 module HelloWorld
   module Actions
   module Actions
-    module Db
+    module DB
       class Index < HelloWorld::Action
       class Index < HelloWorld::Action
         QUERY_RANGE = 1..10_000    # range of IDs in the Fortune DB
         QUERY_RANGE = 1..10_000    # range of IDs in the Fortune DB
         include Deps["persistence.rom"]
         include Deps["persistence.rom"]