Notes
Here's some of my notes, with the ones I modified recently on the top. Some of them are drafts, but in any case, I'm not sure about anything so don't take them seriously.
- Rails/Controllers.md (Draft) — Updated on 2024-11-29The controller is smart enough to know who to ask for information (to the models) and who to pass it to display it correctly (to the views), without doing the heavy lifting in any case. After an HTTP request is received, it goes through the router, who…
- OPS/VPS security basics.md (Draft) — Updated on 2024-11-29This is a short list of things to take into account to have some basic security in a VPS. Regular system updates - Use sudo apt update && sudo apt upgrade regularly to fetch and apply updates. - For kernel updates, use sudo apt full-upgrade to ensure…
- Rails/Routing.md (Draft) — Updated on 2024-11-29When an HTTP request arrives from the browser it needs to be matched to a controller action, depending on the HTTP verb (GET, POST, PUT, DELETE). If there's no match it will throw an error. It grabs the parameters and makes them available as params. The…
- Rails/Jobs.md (Draft) — Updated on 2024-11-29Jobs refers to a unit of work that is executed asynchronously, typically outside the scope of the main web request-response cycle. Jobs are essential for handling tasks that are time-consuming or not critical to be performed immediately, thereby improving…