Drifting Ruby (driftingruby)

Drifting Ruby

driftingruby

Geek Repo

Ruby Screencasts

Home Page:https://www.driftingruby.com

Github PK Tool:Github PK Tool

Drifting Ruby's repositories

042-fullcalendar

Learn how to incorporate FullCalendar into your Ruby on Rails application with listing and creating events. Using unobtrusive javascript, we can create a fast interactive calendar.

template

Base template for "all" Drifting Ruby episodes

Language:HTMLStargazers:18Issues:2Issues:0

191-inline-editing-records

Using Rails UJS, we create an interactive row editing solution without using any kind of Javascript frameworks.

445-streaming-llm-responses

In this episode, we look at running a self hosted Large Language Model (LLM) and consuming it with a Rails application. We will use a background to make API requests to the LLM and then stream the responses in real-time to the browser.

Language:RubyStargazers:5Issues:0Issues:0

317-error-tracking-from-scratch

In this episode, we look at creating a middleware to track errors to publish to another error "from scratch" error monitoring application.

Language:RubyStargazers:3Issues:2Issues:0

335-hotwire-modals

In this episode, we look at creating an unobtrusive and efficient way to launch Bootstrap modals using Turbo and Stimulus.

395-transcribing-with-artificial-intelligence

In this episode, we look at creating an audio transcription service which allows files uploaded from Active Storage to be transcribed with Artificial Intelligence. However, there are a lot of considerations around the approach from both a performance and thread safety perspectives.

Language:RubyStargazers:3Issues:3Issues:0

201-working-with-large-data

When database tables get large, things can slow down significantly. In this episode, we look at a few things which helps keep databases performant and the client side responsive.

Language:RubyStargazers:2Issues:2Issues:0

236-google-maps-api-with-stimulusjs

Add unobtrusive maps to your application using StimulusJS to tie in Google Maps Javascript API and Places API.

Language:RubyStargazers:2Issues:2Issues:0

249-soft-delete-with-discard

Soft deletes for ActiveRecord done right.

Language:RubyStargazers:2Issues:2Issues:0

326-dabbling-with-turbo

In this episode, we explore some of the new features with Turbo and interactions that we can do with little or no javascript.

Language:RubyStargazers:2Issues:1Issues:0

378-stimulus-outlets-api

Outlets let you reference Stimulus controller instances and their controller element from within another Stimulus Controller by using CSS selectors. In this episode, we look at a simple example and then refactoring some older code where we used some workarounds to communicate with other stimulus controllers.

Language:RubyStargazers:2Issues:1Issues:0

382-custom-turbo-stream-actions

With the release of Turbo 7.2, we gained the ability to create custom actions in Turbo. This allows us to trigger functions on the client side that would have been difficult or cumbersome to do in the past. In this episode, we look at setting up custom actions and how to use them.

Language:RubyStargazers:2Issues:1Issues:0

427-detect-spam-with-ai

We can create a small python service that uses a Large Language Model (LLM) to detect if a message is spam or not. Using this service, we can tie it into our Rails application so that any comment created will be evaluated for being spam or not. We explore a few different routes on handling any messages flagged as spam.

Language:RubyStargazers:2Issues:1Issues:0

223-like-relationships-and-global-id

In this episode we create a Like/Unlike system where users can like posts and use Global ID to obfuscate IDs.

Language:RubyStargazers:1Issues:2Issues:0

408-broadcasting-progress-from-background-jobs

In a previous episode, we had created a custom ActionCable channel to assist in broadcasting updates from a background job. With the introduction of Turbo, we can simplify this process as we look at a few different approaches in displaying a progress bar with real time updates from background jobs.

Language:RubyStargazers:1Issues:1Issues:0

413-pdf-reader

When previewing PDF files that were uploaded through Active Storage, we can only get a simple image of the first page. In this episode, we'll look at taking the uploaded PDFs and interacting with them.

Language:RubyStargazers:1Issues:1Issues:0
Language:RubyStargazers:1Issues:1Issues:0
Language:RubyStargazers:1Issues:1Issues:0

205-push-notifications-with-actioncable

In this episode, we look into using Push Notifications within our Rails application and then using ActionCable to broadcast Push Notifications to the user.

Language:RubyStargazers:0Issues:2Issues:0

227-emojis-from-scratch

In this episode, we look at attaching emojis to our comments model, allowing them to fill in some emotional cues.

Language:RubyStargazers:0Issues:2Issues:0

231-syntax-highlighting-with-action-text

Set up Action Text with client side Syntax Highlighting using Highlight.js.

Language:RubyStargazers:0Issues:2Issues:0

245-tracking-changes-on-action-text

Without using any gems, we look at tracking changes within Action Text. It seems like a simple thing, but challenges arise through several layers of abstraction due to the flexibility that Action Text provides.

Language:RubyStargazers:0Issues:2Issues:0

322-speeding-up-requests

In this episode, we look at several issues around pagination and different kinds of querying that could affect performance when working with large datasets.

Language:RubyStargazers:0Issues:1Issues:0
Language:RubyStargazers:0Issues:1Issues:0

369-hotwire-introduction

Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them.

Language:RubyStargazers:0Issues:1Issues:0
Language:RubyStargazers:0Issues:1Issues:0

417-system-tests

In this episode, we look at adding system tests in our application to test our Stimulus Controllers. We'll also look at how to DRY up some of the tests and how to run them in a headless environment.

Language:RubyStargazers:0Issues:1Issues:0
Language:HTMLStargazers:0Issues:1Issues:0