Articles of interest for Ruby on Rails
Displaying articles 101 - 125 of 266 in totalArticle Sources
-
Creating a Ruby Domain Specific Language (DSL)
In this episode, we look at creating a DSL for HTML tables. Though a simple example, it opens a lot of possibilities for consistency and expandable in what can be done with a DSL.
Published:
-
Incoming Emails with Action Mailbox
Handling and routing incoming emails into your application can be a daunting task. In this episode, we take an early look into the upcoming Action Mailbox in Rails 6.0 which greatly simplifies the process.
Published:
-
Policy Manager with GDPR Rails
Using the gdpr_rails gem, we look at adding a policy manager to require users to accept age, terms, and privacy policies before signing up for an account.
Published:
-
Templating Ruby on Rails Applications
There is a lot of work that is done on new applications and a lot of the common code between new applications. In this episode, we look at using templates to speed up the initial process.
Published:
-
Creating a Simple Slack Bot
Slack is a great application to keep in contact with friends, coworkers and a community. With bots, its capabilities are endless. In this episode, learn how to create a Slack Bot to interact with.
Published:
-
Refactoring Models
Sometimes our models get so large that they become unmaintainable. In this episode, we look at how we can slim down the size of the models without losing functionality.
Published:
-
Development Decisions and Architecture
Decisions made during the development process can significantly affect how the production environment is architected. In this episode, we look at a few different scenarios and how the early decisions made in development affected the production infrastructure.
Published:
-
Activity Feed with Public Activity
Add an activity feed to your application with Public Activity.
Published:
-
Grab Bag of Ruby and Ruby on Rails Tricks
In this episode, we look at various tips and tricks.
Published:
-
Nested Comments from Scratch
Using polymorphic associations, we can have comments assigned to a post as well as comments assigned to other comments.
Published:
-
Friend Requests Views, Controllers, and Model Methods
Part II - In this episode, we create performant links for adding, accepting/rejecting and removing friends for our social media application.
Published:
-
Friend Requests From Scratch
Part I - In this episode, we create our authentication for users, default view for authenticated users, friendship model, associations and scopes for our social media application.
Published:
-
Service Objects for API Interactions with Twilio
In this episode, learn how to extract the interactions with an external API into a service object so that code is isolated and interchangeable.
Published:
-
Bundler and Binstubs
In this episode, we look at some lesser known bundler commands including binstubs.
Published:
-
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:
-
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:
-
Database, Model and Scopes
In this episode, we take a look at some tips and tricks around the database schema and model scopes.
Published:
-
Rails Presenters
Separating view logic from bloated models can help maintain the model in the long run.
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:
-
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:
-
Rails API Documentation
In this episode, we look at creating an interactive documentation for a Rails API.
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:
-
Creating PDF files with WickedPDF
Easily create PDF files within your Rails Application with Wicked PDF.
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:
-
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: