Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 15
  1. Automating with Cursor commands

    I've been very interested lately in how I can use AI to take care of tasks for me.

  2. AstroVim slow on large files

    If you're finding AstroVim is lagging on very large files, it is possible the source of the problem is vim-illuminate.

  3. This took me a while to figure out.

  4. I recently wrote a post over on the PlanetScale blog sharing how we make schema changes for our own Rails app.

  5. High traffic websites often use database replicas to scale out their reads.

  6. This took me too long to figure out.

  7. Building a webhooks service

    I recently had the chance to work on building webhooks for PlanetScale.

  8. 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…

  9. I feel inspired to talk more about “testing a private method” (gasp!).

  10. 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.

  11. Recently I was working on a Rails API and I wanted to stop Rails from setting it's _session cookie for API requests.

  12. Fly has a graphql API available.

  13. Here's a Ruby example of how to set a GitHub Actions secret using Octokit in Ruby.

  14. New post over on the PlanetScale blog.

  15. How to tech lead and survive

    If you're in a tech lead role and struggling.