Every week you will be treated to a new Drifting Ruby episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well.
…
continue reading
Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This is the full resoluti ...
…
continue reading
Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This version is for mobil ...
…
continue reading
In this episode, we look at creating an entire infrastructure (proxy, load balancer, app servers, worker servers, database server, and a storage server) on our own hardware use Kamal to provision and deploy our Ruby on Rails application.Kirjoittanut Dave Kimura
…
continue reading
In this episode we look at deploying a Rails 8 beta application to a Digital Ocean droplet. We'll also look at a scenario of deploying Action Cable broadcasts and another with recurring background jobs.Kirjoittanut Dave Kimura
…
continue reading
1
Dependent Fields with Hotwire
20:10
20:10
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
20:10
Large forms can be overwhelming to fill out, especially if not all of the fields are required. In this episode, we'll look at creating a stimulus controller to conditionally display fields based on the input of another field.Kirjoittanut Dave Kimura
…
continue reading
In this episode, we will upload a CSV file but need to pass it into a background job. This can prove to be difficult based on the hosting infrastructure so we'll explore some mechanisms to work around them. We'll also look to optimize Solid Queue to handle the large number of jobs.Kirjoittanut Dave Kimura
…
continue reading
1
Tracking Writebook Changes
15:10
15:10
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
15:10
In this episode, we look at setting up a mechanism to track the changes from an externally developed product. We'll also discuss branching strategies and how to develop your own features on top of Writebook.Kirjoittanut Dave Kimura
…
continue reading
In this episode, we tackle the issue of slow-loading dropdowns with a high volume of options by implementing an asynchronous select using the Hotwire Combobox library.Kirjoittanut Dave Kimura
…
continue reading
In this episode, we look at various tricks in Ruby on Rails as well as some other neat tricks.Kirjoittanut Dave Kimura
…
continue reading
In this episode, we'll look at setting up a fresh Windows 11 environment for Ruby on Rails development. We'll be looking at a few different tricks that makes managing a Windows environment much easier.Kirjoittanut Dave Kimura
…
continue reading
Ever wonder how you could add audio to interactions on a website. In this episode, we'll explore adding sounds whenever someone clicks on a link or button.Kirjoittanut Dave Kimura
…
continue reading
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.Kirjoittanut Dave Kimura
…
continue reading
ZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS. Here you will learn the basics of the grid system, navigation, tooltips and more.Kirjoittanut Ryan Bates
…
continue reading
ZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS. Here you will learn the basics of the grid system, navigation, tooltips and more.Kirjoittanut Ryan Bates
…
continue reading
1
#415 Upgrading to Rails 4
12:44
12:44
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
12:44
With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4.Kirjoittanut Ryan Bates
…
continue reading
1
#415 Upgrading to Rails 4
12:44
12:44
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
12:44
With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4.Kirjoittanut Ryan Bates
…
continue reading
Rails commands, such as generators, migrations, and tests, have a tendency to be slow because they need to load the Rails app each time. Here I show three tools to make this faster: Zeus, Spring, and Commands.Kirjoittanut Ryan Bates
…
continue reading
Rails commands, such as generators, migrations, and tests, have a tendency to be slow because they need to load the Rails app each time. Here I show three tools to make this faster: Zeus, Spring, and Commands.Kirjoittanut Ryan Bates
…
continue reading
1
#409 Active Model Serializers
10:58
10:58
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
10:58
The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output.Kirjoittanut Ryan Bates
…
continue reading
1
#409 Active Model Serializers
10:58
10:58
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
10:58
The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output.Kirjoittanut Ryan Bates
…
continue reading
Learn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual way to trigger activities.Kirjoittanut Ryan Bates
…
continue reading
Learn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual way to trigger activities.Kirjoittanut Ryan Bates
…
continue reading
Here we take a look at two tools to aid us in development: Better Errors which makes it easier than ever to debug exceptions, and RailsPanel, a Chrome extension to see Rails requests.Kirjoittanut Ryan Bates
…
continue reading
Here we take a look at two tools to aid us in development: Better Errors which makes it easier than ever to debug exceptions, and RailsPanel, a Chrome extension to see Rails requests.Kirjoittanut Ryan Bates
…
continue reading
1
#400 What's New in Rails 4
20:23
20:23
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
20:23
Rails 4.0 is still unfinished, but it is shaping up to become a great release. Here I show how to setup a new Rails 4.0 (edge) application and walk through many of its new features.Kirjoittanut Ryan Bates
…
continue reading
1
#400 What's New in Rails 4
20:23
20:23
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
20:23
Rails 4.0 is still unfinished, but it is shaping up to become a great release. Here I show how to setup a new Rails 4.0 (edge) application and walk through many of its new features.Kirjoittanut Ryan Bates
…
continue reading
1
#396 Importing CSV and Excel
10:19
10:19
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
10:19
Allow users to import records into the database by uploading a CSV or Excel document. Here I show how to use Roo to parse these files and present a solution for validations.Kirjoittanut Ryan Bates
…
continue reading
1
#396 Importing CSV and Excel
10:19
10:19
Toista myöhemmin
Toista myöhemmin
Listat
Tykkää
Tykätty
10:19
Allow users to import records into the database by uploading a CSV or Excel document. Here I show how to use Roo to parse these files and present a solution for validations.Kirjoittanut Ryan Bates
…
continue reading
Instead of presenting a sign up form to the user, consider creating a temporary guest record so the user can try out the application without filling in their information up front. They can then become a permanent member afterwards.Kirjoittanut Ryan Bates
…
continue reading
Instead of presenting a sign up form to the user, consider creating a temporary guest record so the user can try out the application without filling in their information up front. They can then become a permanent member afterwards.Kirjoittanut Ryan Bates
…
continue reading
Turbolinks can make your Rails app feel faster by using JavaScript to replace the page content when clicking a link. It will be default in new Rails 4.0 applications, but here I show how to use it in Rails 3 and mention some of the gotchas.Kirjoittanut Ryan Bates
…
continue reading
Turbolinks can make your Rails app feel faster by using JavaScript to replace the page content when clicking a link. It will be default in new Rails 4.0 applications, but here I show how to use it in Rails 3 and mention some of the gotchas.Kirjoittanut Ryan Bates
…
continue reading
The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire. But watch out for the gotchas!Kirjoittanut Ryan Bates
…
continue reading
The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire. But watch out for the gotchas!Kirjoittanut Ryan Bates
…
continue reading
RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch.Kirjoittanut Ryan Bates
…
continue reading
RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch.Kirjoittanut Ryan Bates
…
continue reading
There are several gems to help implement tags in a Rails app. Here I show you how to integrate acts-as-taggable-on and then show how to do it from scratch.Kirjoittanut Ryan Bates
…
continue reading
There are several gems to help implement tags in a Rails app. Here I show you how to integrate acts-as-taggable-on and then show how to do it from scratch.Kirjoittanut Ryan Bates
…
continue reading
FnordMetric allows you to chart events in real time. This is great for keeping track of user activity in your Rails app as demonstrated in this episode.Kirjoittanut Ryan Bates
…
continue reading
FnordMetric allows you to chart events in real time. This is great for keeping track of user activity in your Rails app as demonstrated in this episode.Kirjoittanut Ryan Bates
…
continue reading
JRuby is a polished and stable Ruby implementation. Here I show the basics of setting it up and executing Java from within Ruby. I also see how it compares with MRI at running threads.Kirjoittanut Ryan Bates
…
continue reading
JRuby is a polished and stable Ruby implementation. Here I show the basics of setting it up and executing Java from within Ruby. I also see how it compares with MRI at running threads.Kirjoittanut Ryan Bates
…
continue reading
Learn how to do extensive image manipulation with the ImageMagick commands. Also learn how RMagick can be used in combination with CarrierWave to process uploaded images.Kirjoittanut Ryan Bates
…
continue reading
Learn how to do extensive image manipulation with the ImageMagick commands. Also learn how RMagick can be used in combination with CarrierWave to process uploaded images.Kirjoittanut Ryan Bates
…
continue reading
Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notification alerts are supported.Kirjoittanut Ryan Bates
…
continue reading
Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notification alerts are supported.Kirjoittanut Ryan Bates
…
continue reading
Ransack allows you to easily build complex search forms. It also helps in adding sortable links and building a dynamic advanced search page.Kirjoittanut Ryan Bates
…
continue reading
Ransack allows you to easily build complex search forms. It also helps in adding sortable links and building a dynamic advanced search page.Kirjoittanut Ryan Bates
…
continue reading
MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code.Kirjoittanut Ryan Bates
…
continue reading
MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code.Kirjoittanut Ryan Bates
…
continue reading
Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with memory compared to Resque.Kirjoittanut Ryan Bates
…
continue reading
Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with memory compared to Resque.Kirjoittanut Ryan Bates
…
continue reading