Articles of interest for Ruby on Rails
Displaying articles 226 - 250 of 5374 in totalArticle Sources
-
SweetAlerts in Rails 6
Sometimes adding a javascript library can be difficult because either it's not a straightforward process or some of the blog articles are either outdated or don't work properly. In this episode, we look at adding SweetAlerts into a Rails 6 application with Webpacker.
Published:
-
How to use AMP with Ruby on Rails
Learn how to add support for Accelerated Mobile Pages (AMP) from Google to Ruby on Rails in this tutorial
Published:
-
Can you nest @media and @support queries?
Yes, you can, and it doesn’t really matter in what order. A CSS preprocessor is not required. It works in regular CSS.This works:And so does this, the reverse nesting of the above:
Published:
-
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.
Published:
-
Ruby's Array() and Array.wrap
Learn how to remove conditionals and make your code simpler and more reliable using Ruby and ActiveSupport's Array wrap methods
Published:
-
SOLID - Liskov Substitution Principle
In this episode, we look at the Liskov Substitution Principle. If S is a subtype of T, then objects of type T may be replaced with objects of type S without altering any of the desirable properties of the program.
Published:
-
SOLID - Open/Closed Principle
Open/Closed principle states "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification"; that is, such an entity can allow its behaviour to be extended without modifying its code.
Published:
-
How to use Twilio Markup Language (TwiML) in Rails
Reply to inbound SMS and phone calls using TwiML to create XML responses to Twilio conversations
Published:
-
SOLID - Single Responsibility Principle
A class should only have a single responsibility, that is, only changes to one part of the software's specification should be able to affect the specification of the class.
Published:
-
Inbound SMS in Rails with Twilio
Receiving inbound SMS in Rails with Twilio is very similar to handling inbound emails with Action Mailbox
Published:
-
Introduction to Dragon Ruby
Dragon Ruby is toolchain that allows developers the ability to build apps and games in Ruby.
Published:
-
How to send SMS Messages in Rails with Twilio
Sending SMS or Text Messages in Ruby on Rails is really easy using an API like Twilio
Published:
-
ViewComponent in Rails
The ViewComponent library will provide a new way for creating reusable and testable view components.
Published:
-
Amazon Cloudfront CDN for Rails Asset Pipeline & Webpacker
A CDN can distribute assets globally and allow more parallel downloads. This equates to performance benefits for users anywhere in the world
Published:
-
Thredded Forum
Thredded is a Rails 4.2+ forum/messageboard engine. Its goal is to be as simple and feature rich as possible.
Published:
-
Teaching at Bootcamps with Ed Toro
Ed Toro speaks to his experience at bootcamps from a teacher's perspective. We gain a different perspective of what bootcamps are like. Ed shares valuable information whether you're considering getting into coding or currently at a bootcamp.
Published:
-
Building a product in under 10 minutes with Jumpstart Pro
Jumpstart Pro is finally out today! We'll take a look at out to build a subscription content business with it in under 10 minutes
Published:
-
Environment Specific Encrypted Credentials in Rails 5.2
A more simplief and better retake of Episode #123 where we look at the upcoming Rails 6 changes with encrypted credentials and how to apply it to a Rails 5.2 application.
Published:
-
Persistent Referral Links with Devise
In this episode we create a referral system with permanent links. Users can sign up with referral links which tracks the relationship between the referer and the person referred.
Published:
-
Notifications for ActionText User Mentions
When you at-mention a user, you typically want to send email or other types of notifications to alert that user they were mentioned. In this episode, we'll look into ActionText Content to see how we can extract the user mention attachments and do that.
Published:
-
Inline Editing Records
Using Rails UJS, we create an interactive row editing solution without using any kind of Javascript frameworks.
Published:
-
How to save ActionMailbox inbound HTML emails and attachments with ActionText and ActiveStorage
In this episode, we will walk through how you can save the contents of inbound HTML emails from ActionMailbox using ActionText and attachments using ActiveStorage
Published:
-
Prioritizing
You’re faced with a lot of decisions in everyday work. There are multiple tasks calling for your focus, and you can burn daylight or even burn out trying to decide what comes first. There’s a phenomenon called decision fatigue. There have been many studies that you can make poor choices when you’re not able to decide what is most important that can lead to things like impaired judgement and even purchase decisions.So how can you figure out … Read article “Prioritizing”
Published:
-
Realtime Client Updates from Background Jobs with Stimulus
Using RailsUJS, ActiveJob, ActionCable and Stimulus, we create a realtime feedback for background jobs running to provide a better user experience.
Published:
-
Saving Individual Attributes with StimulusJS
In this episode, we take a look at recreating a feature on Zoom's setting page where clicking a check box automatically saves the changed setting.
Published: