Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I've been very interested lately in how I can use AI to take care of tasks for me.
-
If you're finding AstroVim is lagging on very large files, it is possible the source of the problem is vim-illuminate.
-
This took me a while to figure out.
-
I recently wrote a post over on the PlanetScale blog sharing how we make schema changes for our own Rails app.
-
High traffic websites often use database replicas to scale out their reads.
-
This took me too long to figure out.
-
I recently had the chance to work on building webhooks for PlanetScale.
-
Here's an easy trick I reach for when wanting to add simple rate limiting to an endpoint. def special_endpoint model = Model.find(params[:id]) cache_key = "rate_limit:mymodel:#{model.id}" # If the key exists, we rate limit if Rails.cache.fetch(ca…
-
I feel inspired to talk more about “testing a private method” (gasp!).
-
If you are debugging this Flash message error. undefined local variable or method `flash' for And you are currently using an API only Rails controller, but still want to use flash messages in your app because you are redirecting to a normal controller.
-
Recently I was working on a Rails API and I wanted to stop Rails from setting it's _session cookie for API requests.
-
Fly has a graphql API available.
-
Here's a Ruby example of how to set a GitHub Actions secret using Octokit in Ruby.
-
New post over on the PlanetScale blog.
-
If you're in a tech lead role and struggling.