python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Zeitwerk needs to reload every change
In development enviroment, when using zeitwerk, every change in ruby code needs to restart the server, because zeitwerk isn't loading classes defined in mygem. I have a gem, used by my company that us...
Roberto Furtado
Votes: 0
Answers: 1
Best place for Middlewares on Rails 6
I'm currently on Rais 6 and using middlewares. I've something working but I don't like it. How should I improve it?
Currently my middlewares are here:
app/middleware/my_middleware.rb
And on config/ap...
brcebn
Votes: 0
Answers: 1
Rails 6 + Zeitwerk, loading files without class
We are upgrading to Rails 6, and have done most of the work to make our application work with Zeitwerk.
We do have two files, which are query objects, existing under app/queries and we don't define a ...
MC Mowgli
Votes: 0
Answers: 1
uninitialized constant when reloading after enabling zeitwerk
Having some trouble working out the migration from Classic to Zeitwerk.
After enabling zeitwerk and running rails s, everything seems to work. Then after saving a .rb file and refreshing, I'm seeing a...
Roy Kolak
Votes: 0
Answers: 1