Posts by Taeir
I'm afraid this is not really a use case that was envisioned and that Codidact has no support for this. But actually the problem in doing this at all is that SO for teams (to my knowledge) does not...
In general: if you are seeing that message you have not configured your instance to be in production mode. The warning is there because certain protections and checks are not enabled in development...
Assuming you set it to production mode in the documentation, I think it's mostly fine. As far as I know the following features don't work in the docker setup: Redis data is not stored outside of...
How is caching done in QPixel? Note: this answer is based on my understanding of the code after setting up a self-hosted instance. Caching happens in QPixel in multiple locations. The primary one...
I've added a much more detailed server set up guide for setting up self-hosted instances aimed at system administrators. You can find it on the codidact wiki at https://github.com/codidact/qpixel/w...
To delete anything that cannot be deleted through the interface (if you really want it gone), I would recommend doing it in the rails console. Rails has support to indicate what to do with associat...
Disclaimer: I use rbenv rather than rvm for installing ruby and have not tested the suggested setup locally. Rather than install bundler via apt, install it via rubygems such that it uses your rvm...
I believe that rvm has a mechanism where it will automatically switch to the correct ruby version based on the lockfile. So if the lockfile of an application were to say: ruby '3.1', rvm will dete...
Rails has a whole validation logic for showing nice errors whenever things are not valid. What you are adding an error to is the tags "field" of "Post" (in app/models/post.rb you will see a has_man...
I do not really know why rails db:schema:load stopped giving output, but it still does create all the tables as intended. The seeding of categories did indeed break due to rails being more strict o...