Articles of interest for Ruby on Rails
Displaying articles 326 - 350 of 5374 in totalArticle Sources
-
Deeper Dive into StimulusJS
In this episode, we look at combining Rails UJS, nested routes, scopes and StimulusJS. A deep dive from the beginning to completion of multiple select boxes changing based on their selections.
Published:
-
Nested Comment Threads in Rails - Part 2
Implementing polymorphic, reusable comments across models and limiting the nesting allowed for nested comment threads
Published:
-
Safely Running Shell Commands
We may come across a need to run shell commands and Ruby has some built in methods which appear safe, but can introduce major security risks.
Published:
-
Nested Comment Threads in Rails - Part 1
How to build nested comments and threads in Ruby on Rails
Published:
-
Database, Model and Scopes
In this episode, we take a look at some tips and tricks around the database schema and model scopes.
Published:
-
How to Add Pagination with Pagy
Pagy is 29x faster at pagination in their benchmarks which makes it an ultra fast and lightweight pagination library
Published:
-
Rails Presenters
Separating view logic from bloated models can help maintain the model in the long run.
Published:
-
Auto-detect User Time Zones in Rails
Use the jstz Javascript timezone library to help auto-detect and set the user's time zone in your Rails apps
Published:
-
ActiveRecord Callbacks
Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become harder to maintain over time. It is better to extract the responsibility and separate the logic.
Published:
-
Stripe Signed Webhooks
Stripe webhooks are now required to be signed with your secret webhook key. We'll show you how to set them up in your Rails app today.
Published:
-
State Machines with AASM
State Machines are useful for tracking the state of an object. With AASM, we take a dive into how states can transition as well as modifying states and interacting with them.
Published:
-
User Referral Program From Scratch
How to build a custom Rails referral or affiliate program from scratch
Published:
-
Rails API Documentation
In this episode, we look at creating an interactive documentation for a Rails API.
Published:
-
Affiliate & Referrals Programs with Stripe & Rewardful
Easily add an affiliate or referral program to your Rails application using Stripe and Rewardful
Published:
-
Improving Partial Loading Performance
N+1 queries can make an application slow. Having queries called within views can also slow down an app as well as making it less extendable.
Published:
-
Batching Backgrounds Jobs with Sidekiq
Sidekiq Pro or sidekiq-batch lets you run a set of background jobs in parallel and then a callback once they're finished. This is perfect for building more advanced workflows for your background jobs in Rails.
Published:
-
Creating PDF files with WickedPDF
Easily create PDF files within your Rails Application with Wicked PDF.
Published:
-
Sending Webhooks with Exponential Backoff
Sending Webhooks in Rails is easy, but what happens when the request fails? You'll need to implement retries and exponential backoff so you don't DoS their service
Published:
-
iOS Authentication with a Rails API
In this episode, we look at creating an iOS Application which will communicate with the Rails API application from the previous episode.
Published:
-
React Native with Rails OAuth API Authentication Part 3
Learn how to build a React Native application to connect to your Rails API using OAuth for authentication
Published:
-
Rails API Versioning
Using the URI or Accept Headers, we can version our API to prevent breaking changes to our end users. In this episode, we look at versioning our RESTful API.
Published:
-
React Native with Rails OAuth API Authentication Part 2
Learn how to build a React Native application to connect to your Rails API using OAuth for authentication
Published:
-
Observer Patterns
The Observer pattern (also known as publish/subscribe) provides a simple mechanism for one object to inform a set of interested third-party objects when its state changes.
Published:
-
React Native with Rails OAuth API Authentication Part 1
Learn how to build a React Native application to connect to your Rails API using OAuth for authentication
Published:
-
Editors
One question that I get asked most often is what editor, theme and extensions am I using for my editor. In this episode, we take a look at the different extensions and settings that I use.
Published: