Don't feel attached to your code
Don’t take it personal when someone criticizes your work. It’s not personal(in most cases) and it’s not that deep. I have spent so much time on a feature or a problem, and then in 5 minutes it is ...
Don’t take it personal when someone criticizes your work. It’s not personal(in most cases) and it’s not that deep. I have spent so much time on a feature or a problem, and then in 5 minutes it is ...
After updating my Gemfile to fix a Rails boot error, Sidekiq scheduled jobs silently stopped running despite the process and queues looking healthy. The root cause turned out to be a gem incompatibility that crashed Sidekiq’s scheduler thread on boot, reinforcing the importance of reading errors before changing everything else.
A real-life case on why you should never trust the user and always check what they input
Learn why using a datetime instead of a boolean in your Rails models gives you more useful data for almost no extra cost.
Error Rails doesn’t work. We get a require: cannot load such file -- rails/cli (LoadError) > rails <internal:/usr/share/rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require...
Discover how to define custom daisyui themes with your own color pallet and how to use it in your Ruby on Rails application.
How to manage and access Rails credentials safely in your application
Commenting out code We had some old functionality - webhook endpoints, that we stopped using. The question came up: should we delete them or just comment out the routes because we may want to use t...
Never send sensitive information in plain text - use a one-time secret link instead.
I have been working with Rails for over a year now, but I still can’t write tests (or maybe I don’t want to). I think they are a hassle and slow you down, but actually it helps immensly. A situati...