18 August 2023
Mistakes to avoid when working with Rails Migration
In this post, we'll take a comprehensive plunge into Rails migration.
17 August 2023
Intro to GraphqlRails
In this blog post, e'll delve into the unique philosophy of GraphqlRails, one that doesn't just view GraphQL as an isolated entity, but rather, seamlessly intertwines it with the familiar entities of models, controllers, and routes that form the backbone of every Ruby on Rails project.
17 August 2023
Introducing Line Range Filtering in Rails 7.1 Testing
In this blog post, we will explore the line range filtering feature and demonstrate how it can improve our testing workflow.
16 August 2023
How the Rails params hash works
Uncover the inner workings of Ruby on Rails with our dive into the Params hash—an essential component for handling HTTP requests. From query params to avoiding injection, this article will elevate your understanding of Rails, providing you with the tools to create more secure and efficient web applications.
16 August 2023
Object-Oriented Programming (OOP) with Ruby on Rails
In this article, we'll build a vending machine using the principles of OOP in Ruby on Rails.
16 August 2023
A demo of Rails and the OpenAI Chat API
This post will kick off a blogpost series of typical features, that can be built with the OpenAI API and Rails. It’s way more powerful to interact with the API directly than with ChatGPT and a lot of interesting features can be built with the API.
15 August 2023
Complementing exceptions - Introducing monads for error handling in ruby
In this article, we will delve into the implementation of this technique using the dry-monads gem.
15 August 2023
Empowering Ruby in the World of Machine Learning
In this post we'll talk about Ruby and Machine Learning.
13 August 2023
Using Zeitwerk Outside Rails
This article shows how to use the Zeitwerk gem to autoload classes and modules in a Ruby app that's not using Rails. We'll also learn how Rails configures Zeitwerk internally and introduce the concept of models in our no-rails Ruby web application.
11 August 2023
Rails has_one Nested Attributes Tweaking
In this blog post, the author explains has_one Nested Form Sending id Attribute
9 August 2023
Preview emails in Rails with letter_opener, MailCatcher and MailHog
In this article, the author will share everything he's learned about email previewing in Rails and show you how to quickly preview emails in your Ruby on Rails apps, using each of these methods (mailer previews, letter_opener, MailCatcher and MailHog)
9 August 2023
TailwindCSS on Rails 01: Responsive layout with sidebar
In this post, the author will cover the main aspects of using TailwindCSS when building a Rails app.
9 August 2023
You Don't Need Rails to Start Using Hotwire
Although Hotwire is closely tied to Ruby on Rails, you might be surprised to know that you don't really need Rails to learn, play, and experiment with Hotwire. In this article, we'll build a simple static site that uses Turbo Drive + Frames to make it responsive and use Streams to make it dynamic.
9 August 2023
Integrate ChatGPT with Rails 7: Step-by-Step Tutorial
A comprehensive guide to building a Ruby on Rails frontend that interfaces with OpenAI’s ChatGPT. Covering user management, conversation creation, and the ability to continue conversations at any time, this tutorial is tailored for both new and experienced developers eager to embrace the power of AI-driven communication.
8 August 2023
Safe redirects in Rails 7
Enforcing canonical URLs by redirecting to params is not safe and may raise an exception. Use strong params with allow_other_host: false for security.
7 August 2023
Ruby on Rails and the Power of MVC Architecture: a Comprehensive Guide
In the landscape of modern web development, few frameworks have had as profound an impact as Ruby on Rails (RoR). Powered by the elegance of Ruby and the efficiency of the Model-View-Controller (MVC) design pattern, Rails provides developers with tools to craft scalable and maintainable applications.
4 August 2023
Designing and Writing Prompts for AI: a Ruby Example
In this post, we’ll examine how to create effective AI prompts programmatically in Ruby.
3 August 2023
Advanced Usages of Devise for Rails
In this blog post, we'll explore more advanced usages of Devise, specifically the use of OmniAuth, API authentication, and Authtrail.
3 August 2023
Encrypting Sensitive Data in Rails 7 with Encrypted Attributes
Rails 7 has introduced a powerful feature to help developers protect sensitive data: encrypted attributes. This built-in functionality provides an additional layer of security that is both easy to implement and robust.
3 August 2023
Rails 7.1 enhances PostgreSQL enum functionality
In Ruby on Rails, PostgreSQL provides an extension for defining enumerations, which allows you to specify a set of possible values for a column. This is useful when limiting your model's allowed values for a particular attribute.
2 August 2023
Ruby News July 2023 Digest
Ruby News July 2023 Digest
29 July 2023
Build a simple scraper with Ruby
In this post, the author will illustrate how to scrape Wikipedia to fetch specific elements from a webpage.
28 July 2023
Integrate Replicate in Rails Application
Integrate Replicate in Rails application and effortlessly run various machine learning models in the cloud using Replicate.
28 July 2023
Using Concerns with Ruby On Rails
Rails Concerns are a great way to keep your code DRY by making it easy to share code across Modules and Classes. The post will be going through some of the in-and-outs of Concerns, why they’re useful and how to use them.