Journal

Tag: [rails]

Jun 16, 2025 - Finishing mochapi v0.4.0

Yesterday I tagged and release mochapi v0.4.0 I think this is the first verision that feels complete, no weird bugs for the moment and everything feels smooth.

Today I just deployed it to use it at my job and then another case that is not currently solvable showed up. So I will spend some times the next days working on that.

Overall the project is going good.

Mar 26, 2025 - Finishing mochapi 0.3.0

Haven’t write anything lately, been having trouble finding time to focus on my projects. I need to find the time, organize my time better, so I have more chunks of time to put some deep work.

Today I am finishing the next minor version for mochapi. Officially making the tool usable for the first use case. Right now we have to test and fix some of the appearance.

Mar 13, 2025 - Ruby constants and Rails loading

Tags: 

[rails]

Today I learnt about those annoying constant already initialized warning we usually got in rails applications, they don’t cause any issues, but they are as I said annoying…

Finally today got down to understand what was happening, and even I had an idea, I couldn’t just fix the issue since a feature of the web application was actually depending on the reloading of some files in the lib directory.

So what I did was just to activate eager loading in development and added the required files to eager_load_paths.

Jan 19, 2025 - Interesting Rails Routing

This week was kind of busy, not in the work side but just because life. So I haven’t been able to update this journal or work on my projects.

Today I was working on Mochapi, and when trying to change the way the endpoints are managed, found out some peculiarities about the rails routing and url helpers.

Jan 01, 2025 - First

Finally finished first working version of Mochapi. A couple of things that I learnt, turbo just added a prefetch feature that basically starts the action in the server when you hover over an element in the page. I found it annoying so I disabled it for now.

Another thing, forgot to disable the force ssl for the app. Without it, the app in prod will fail silently. Well not silently but it will not throw any message.

Anyways, started the year with the project working so I’m happy.