Dave Kimura's Avatar

Dave Kimura

@davekimura.bsky.social

Christian, Husband, Father and Rubyist, Screencaster of https://www.driftingruby.com, Creator of ActionAuth https://github.com/kobaltz/action_auth, Makes and loves 🍣

938 Followers  |  153 Following  |  55 Posts  |  Joined: 03.11.2024  |  1.9173

Latest posts by davekimura.bsky.social on Bluesky

Preview
Episode 521 - Model Context Protocol | Drifting Ruby Model Context Protocol (MCP) is an API interface for your applications that are formatted in a way that machine learning platforms can interact with them. They can be used to generate AI insights, per...

Episode #521 - Model Context Protocol

#ruby #rubyonrails #machinelearning #programming #code

www.driftingruby.com/episodes/mod...

03.08.2025 19:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 520 - Worker Limits | Drifting Ruby In this episode, we look at situations when an external API does not have a normal rate limit, but instead has concurrency limits. This can also apply to situations where you have limited resources on...

Episode #520 - Worker Limits

#ruby #rubyonrails #programming #code #background #jobs #solidqueue

www.driftingruby.com/episodes/wor...

28.07.2025 02:50 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 518 - Password Managers | Drifting Ruby In this episode, we're going to look at using password managers (1Password and Bitwarden) to pass secrets into Kamal for deploying our applications.

Episode #518 - Password Managers

#ruby #rubyonrails #programming #code #kamal #secrets

www.driftingruby.com/episodes/pas...

14.07.2025 03:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 517 - Dependent Select | Drifting Ruby In this episode, we look at using a Select javascript library and combined with StimulusJS to create dependent select fields.

Episode #517 - Dependent Select

#ruby #rubyonrails #programming #code #javascript #stimulusjs

www.driftingruby.com/episodes/dep...

07.07.2025 03:29 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 516 - Database Replica | Drifting Ruby In this episode, we'll look at database connection switching within a Rails application to switch between a primary and replica database. This has many benefits on applications which many many read an...

Episode #516 - Database Replica

#ruby #rubyonrails #programming #code #database

www.driftingruby.com/episodes/dat...

30.06.2025 02:04 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 515 - Log Bench | Drifting Ruby Tailing logs can be rather annoying in a development environment when looking for a specific request. In this episode, we're going to explore the Log Bench gem and the value it adds to our development...

Episode #515 - Log Bench

#ruby #rubyonrails #programming #code #development

www.driftingruby.com/episodes/log...

23.06.2025 02:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 514 - System Tests in Docker | Drifting Ruby Setting up system tests to run heedlessly in a docker container can be rather difficult. In this episode, we'll dockerize a Rails application and set up the application to run the system tests in the ...

Episode #514 - System Tests in Docker

#ruby #rubyonrails #programming #code #docker #systemtests

www.driftingruby.com/episodes/sys...

16.06.2025 03:45 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 513 - Kamal 2 in Github Actions | Drifting Ruby In this episode we take a look at Github Actions again, but with Kamal 2. Not too much has changed, but there are some differences in the approach on caching and a few other things that have changed s...

Episode #513 - Kamal 2 in Github Actions

#ruby #rubyonrails #programming #code #kamal #deployment

www.driftingruby.com/episodes/kam...

09.06.2025 02:53 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 512 - Marksmith | Drifting Ruby Easily add Markdown support to your Rails applications with Marksmith. This isn't a drop-in replacement to ActionText, but can be used with text or blob columns. Marksmith integrates easily with Activ...

Episode #512 - Marksmith

#ruby #rubyonrails #programming #code #wysiwyg #markdown

www.driftingruby.com/episodes/mar...

02.06.2025 04:07 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 511 - Printing | Drifting Ruby In this episode, we look at styling and implementing a print functionality to hide away content on our page that doesn't need to be printed. While small, this feature can make a big difference in how ...

Episode #511 - Printing

#ruby #rubyonrails #css #programming

www.driftingruby.com/episodes/pri...

26.05.2025 03:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 510 - Kamal Maintenance Mode | Drifting Ruby In Kamal 2.6.0, a new feature was released that allowed an app to switch between live mode and maintenance mode. In this episode, we'll explore the new feature and how it works.

Episode #510 - Kamal Maintenance Mode

#ruby #rubyonrails #programming #code #kamal #deployment

www.driftingruby.com/episodes/kam...

19.05.2025 03:08 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 508 - Scaffold Templates | Drifting Ruby In this episode, we explore using the scaffold generator and modifying the templates to simplify the creation of consistent, Tailwind CSS-styled views and controllers in a Rails application, saving ti...

Episode #508 - Scaffold Templates

#ruby #rubyonrails #programming #code

www.driftingruby.com/episodes/sca...

05.05.2025 10:58 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 507 - Application Templates | Drifting Ruby In this episode, we look at a metaprogramming technique combined with Rails functionality to reduce repetitive code. It's not always a great fit, but for applications or views where they share similar...

Episode #507 - Application Templates

#ruby #rubyonrails #programming #code #metaprogramming

www.driftingruby.com/episodes/app...

27.04.2025 16:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 506 - Dockerizing Rails | Drifting Ruby In this episode, we look at using Docker for our Rails environment. We'll explore some of the common problems and solutions with this development environment approach.

Episode #506 - Dockerizing Rails

#ruby #rubyonrails #programming #code #docker

www.driftingruby.com/episodes/doc...

21.04.2025 03:30 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 504 - Boolean vs Datetime | Drifting Ruby In this episode, we look at refactoring an existing application where it uses a boolean to determine if a post is published or unpublished. However, this feature has its limitations, so we change the ...

Episode #504 - Boolean vs Datetime

#ruby #rubyonrails #programming #code #businesslogic

www.driftingruby.com/episodes/boo...

07.04.2025 02:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 502 - Classification Models | Drifting Ruby Continuing from the previous episode, we look at removing the LLM in favor of a Classification Model. This will allow a more directed course of action for the Rails application to take based on the us...

Episode #502 - Classification Models

#ruby #rubyonrails #python #programming #code #machinelearning #classification

www.driftingruby.com/episodes/cla...

31.03.2025 03:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 500 - Confetti | Drifting Ruby In celebration of Episode #500, we'll be looking at adding confetti to our Rails application. While seemingly a bit silly, this can add a bit of flare to your application when used properly.

Episode #500 πŸŽ‰ - Confetti

#ruby #rubyonrails #programming #code #stimulusjs #javascript

www.driftingruby.com/episodes/con...

17.03.2025 03:43 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 499 - Embeddings | Drifting Ruby In this episode, we explore embeddings and how they improve search and recommendations by converting text into numerical vectors. We'll set up a Rails 8 app with PostgreSQL + PG Vector, generate embed...

Episode #499 - Embeddings

#ruby #rubyonrails #programming #code #machinelearning

www.driftingruby.com/episodes/emb...

10.03.2025 04:57 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

@getajobmike.ruby.social.ap.brid.gy πŸ‘‹ Congrats on the Sidekiq 8.0 release. Any reason for the Redis 7.2+ requirement? I ask because that isn't an option in AWS. The upgrade path from Redis 7.1 to Valkey 7.2+ isn't as simple as one would hope. It's a whole new cluster that has to be provisioned.

05.03.2025 20:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Episode 498 - Conditional Queue | Drifting Ruby In this episode we look at processing background jobs in a way that can conditionally send the work to be processed to different queues. This can be very powerful in situations where you need to proce...

Episode #498 - Conditional Queue

#ruby #rubyonrails #solidqueue #backgroundjobs #programming #code

www.driftingruby.com/episodes/con...

03.03.2025 04:22 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 497 - Development Approach | Drifting Ruby Working with 3rd party integrations can be time consuming, complicated and we can take many different approaches when creating a proof of concept. In this episode, we're going to look at creating a de...

Episode #497 - Development Approach

#ruby #rubyonrails #python #jupyter #programming #code

www.driftingruby.com/episodes/dev...

24.02.2025 02:53 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
"Choose Your Own Path" Remember those "Choose Your Own Adventure" books? I loved those as a kid. For those who don't know what they are, they're adventure books that are not meant to be read from front to back. Instead, you...

Remember those β€œChoose Your Own Adventure” books back in the day? I made a proof of concept with Rails. You can choose some pre-determined options or customize your own adventure. Here's of some of the techniques used to do this "AI generated" experience.

blog.driftingruby.com/choose-your-...

20.02.2025 04:04 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 496 - Frozen String Literal | Drifting Ruby In this episode, we're going to look at the magic comment frozen_literal_string and what it does. We're going to look at various behaviors and migration paths to prepare your application for future ve...

Episode #496 - Frozen String Literal

#ruby #rubyonrails #programming #code

www.driftingruby.com/episodes/fro...

17.02.2025 03:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 495 - Normalizes | Drifting Ruby In this episode, we'll have a look at various approaches to data consistency and why it could be important to normalize the data. We'll look at and old approach and a more current one along with the c...

Episode #495 - Normalizes

#ruby #rubyonrails #programming #code

www.driftingruby.com/episodes/nor...

10.02.2025 04:14 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Episode 494 - Outlets and Permanent Tags | Drifting Ruby In this episode, we'll explore how we can add a "global" music player that will persist across different pages. Our approach will be unobtrusive and implemented in a maintainable way.

Episode #494 - Outlets and Permanent Tags

#ruby #rubyonrails #programming #code #stimulusjs

www.driftingruby.com/episodes/out...

03.02.2025 05:41 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

E. All four of my kiddos have been home sick for the past few weeks.

❀️

29.01.2025 10:58 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

This would be in a rails controller response without the need for the websockets. Basically pass an array with the turbo_stream and it will update multiple spots on the page.

28.01.2025 13:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I had a chance to look at the issue. You can target multiple frames in a controller response

render turbo_stream: [
turbo_stream.append(dom_id(@foo), partial: "foo", locals: { foo: @foo}),
turbo_stream.replace(dom_id(@bar, "bar_new"), partial: "bar", locals: { bar: @bar })
]

28.01.2025 13:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Episode 493 - Password Strength | Drifting Ruby In this episode, we will use the Rails 8 authentication generator and add a stimulus controller to show the strength of a password when signing up for an account. This functionality will work with Dev...

Episode #493 - Password Strength

#ruby #rubyonrails #javascript #security #programming #code #stimulusjs #passwords

www.driftingruby.com/episodes/pas...

27.01.2025 04:19 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I haven’t looked at this yet but it should be accomplishable with frame targets

26.01.2025 23:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@davekimura is following 19 prominent accounts