I wish you to reach the age of 100 and we’ll enjoy a free event 😁
Posts by Ventsislav Nikolov
This is the first thing I change from the generated code. The next is removing Current.
Recently, I’m experiencing this bug more often than the correct behavior 😭
Same with “Time.now” and “Time.current”. The basic rule to avoid time zone problems in Rails apps is to always “Time.current”, “Date.current” and other methods that use the configured zone like “1.month.ago”.
ITS HAPPENING
Firefox 127 shipped today making it the first browser to support Temporal - the new API for working with Dates, times, timezones + durations
TIL. Life changing.
Have you ever wished the browser would look at a background color and pick black or white for the text — whichever one provides more contrast?
Now, the `constrast-color()` function in CSS does just that.
webkit.org/blog/16929/c...
Two people singing on a stage at Balkan Ruby
Ruby caraoke with @bbatsov.bsky.social and @julialopez.dev at Balkan Ruby 🎤🎶😁
“Take notes, not side quests!” YES!!!
Unfortunately, Ruby doesn't have a standard or tool built-in for formatting 😕 It's unavoidable a person or community to choose something that doesn't match our own preference. At least we have the option `rails new --skip-rubocop`. Next step it may be make the formatter configurable.
TIL: You can use #ruby pattern matching on Time. Comes in handy if you have to check if there's an important conference happening today! 🤔
Using the shadcn/ui calendar component? You might want to update react-day-picker to v9 and date-fns to v4. It's not officially supported yet, but this article explains how to do it: date-picker.luca-felix.com
class ApplicationRecord < ActiveRecord::Base self.inheritance_column = :sti_type end
In every Rails project, I rename the STI column in ActiveRecord to `sti_type`. This simple change makes `type` available for attributes, enums, or methods.
This makes building interactive apps easier with better UX. I’ll share more thoughts soon! ⚡ #Rails #React #TypeScript #InertiaJS
Inertia.js lets me keep Rails as a monolith while using React + TypeScript for the UI—no need to split into separate backend & frontend apps!
Rails + React gives me access to two huge ecosystems. My biggest issue with Rails has always been the frontend.
I’m using Rails, Inertia.js, React & TypeScript for my new side project. First impressions? Pretty good! 🚀
Looking for my next job!
- Based in Berlin 🇩🇪, but also open to remote.
- I've been most excited about #ElixirLang lately, but also open to other tech stacks(I've worked with Clojure, Rust, JS/TS)
Some stuff I've worked on recently below👇. (And I'd appreciate a repost :))
I uploaded my screen recording from the recent Ruby Banitsa conf. It's pretty loose and informal!
We had a really fun conversation towards the end with @rstankov.bsky.social and @ventsi.bsky.social chiming in! Hope my mic picked it up 😂
www.youtube.com/watch?v=Md90...
Hell yeah!
I prefer to stay in the terminal in one app window. I'm using tmux + fzf to switch projects (tmux sessions) and tmuxinator to configure what tmux windows/panes to open when I start a project.
I know what stack I would use for my next side project.
Drop your lock screen
If you wanna pick up the beta of Network Programming in Elixir and Erlang it'd be a good time too. We're essentially only one chapter away from printtttttt
Room with number 404
Room not found