Return Data, Not ActiveRecord Objects
Why returning plain data instead of models made some of my Rails code simpler, faster and easier to test.
Why returning plain data instead of models made some of my Rails code simpler, faster and easier to test.
Years ago I added Elasticsearch to a Rails app and search got faster. I credited the search engine. Looking back, I’m not sure that was the lesson. Here is h...
When an Emacs package needs an API token, the easy path is to introduce a custom variable and let users store the secret in their configuration. shpaste take...
Elixir is a dynamic language that doesn’t force you to type everything, but that doesn’t mean types don’t matter. In this post, we explore the state of typin...
Ever wanted to create real-time, interactive apps but dreaded diving into complex JavaScript frameworks? Phoenix LiveView is your secret weapon. I’ll show yo...