rubyonrails

cover image

Rails gives you the tools to build custom features that still feel native.

cover image

Learn how to add image uploads to a markdown field using the EasyMDE editor, Rails and Active Storage.

cover image

Sorting columns in custom order in Rails elegantly using inemorder/emof.

cover image

If someone tries to steal a penguin, how should you warn them?

cover image

With the release of Rails 8, asset management in Rails got faster and simpler with the new asset pipeline, Propshaft, which is not only simpler but also more aligned with modern Rails development needs compared to its predecessor, Sprockets.

cover image

As it turns out, OpenAI’s rate limits are a little more complicated than other APIs.

cover image

Need to catch N+1 queries without adding any extra dependencies to your project? Strict Loading makes it effortless, but your configurations need to be set up correctly to avoid unexpected behaviors.

cover image

The Marie Kondo for bits of HTML that spark joy but have no home.

cover image

Let's delve into advanced ActiveRecord queries, shining a spotlight on more complex joins, custom SQL, and strategic employment of database-specific features.

cover image

Heroku can quickly get expensive. Dig into this article to learn some concrete strategies to reduce your Heroku bill!

cover image

Transitioning the codebase from using environment variables to Rails Credentials for Zero-Downtime Deploys.

cover image

Discover why Rails 8.0 removed Rails::ConsoleMethods, learn the impact on your Rails console, and explore modern alternatives.

cover image

From bare metal to cloud VMs using Docker, deploy web apps anywhere with zero downtime.

cover image

Transitioning the codebase from using environment variables to Rails Credentials for Zero-Downtime Deploys.

cover image

Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic.

cover image

Since Kamal 2 can host multiple sites on the same server, I am consolidating my apps into larger hosts so I have less servers to worry about. Most of my apps are Rails apps, but I have a few static jekyll sites like this blog and I decided to look into how could I move this site to a server I host other Rails apps on.

cover image

A few best practices to keep in mind when getting started with Hotwire and Rails.

cover image

Nearest neighbor search for Rails.

cover image

Let's explore everything that Rails 8 has to offer.

cover image

Build fast, scalable PostgreSQL and Rails apps. Solve data growth, quality, and reliability challenges, for workloads from consumer Internet to enterprise SaaS.

cover image

Guidelines for Maintainable Tests

cover image

A conversation with the CTO and Co-founder of Clara, a recent thoughtbot client, about the strategy behind their decision to build their startup product with Rails and Hotwire.

cover image

Do a 'full fat install' of Ruby on Rails and see what's changed since its heyday of Web 2.0 — and how it has inspired modern frameworks.

cover image

In the second part of this two-part series, we'll use AppSignal to monitor the performance of our Ruby on Rails application.

cover image

Let's see how we can use Tailwind CSS in a Rails application and explore its utility-first approach.

Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire.

cover image

We unveil the toolbox of the Martian Rails engineer; we begin constructing a Gemfile from the universe of Martian gems that encapsulate our philosophy and soul.

cover image

In the first part of a two-part series, we'll introduce how to set up DigitalOcean and AppSignal for a Ruby on Rails application.

A guide to setting up a Ruby on Rails development environment on Ubuntu 24.04 Noble Numbat with Git, MySQL, and PostgreSQL

cover image

Want to setup React on your Rails 7 app but don’t know how do it? Read this post to explore options to consider when using React with Ruby on Rails.

cover image

Active Storage is a framework that handles file uploads, allowing you to store them as attachments...

cover image

Ruby’s garbage collector is designed to be adaptable, scaling from short Ruby scripts to running apps that serve millions of requests per second. While it’s designed to be adaptable, it may not work optimally for every use case. For this reason, Ruby’s garbage collector supports many parameters that can be used to tune it. However, the use of these parameters requires knowledge into how the garbage collector works on the inside. Learn how the Autotuner gem can analyze your app’s traffic and provide suggestions for tuning the garbage collector.

This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.

cover image

Heroku offers simple, flexible pricing to meet the needs of every app and every organization. Add data stores, cloud services, support, and more.

This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.

cover image

All of us rails developers have used generators before. Either it is when we run rails new or rails generate scaffold. These commands…

cover image

This article was originally written by Jeffery Morhous on the Honeybadger Developer Blog. In Ruby on...

cover image

Let's explore Strong Migrations, a gem that can help you maintain good practices with your database migrations in Ruby on Rails.

cover image

Let's compare some Active Record features to its lesser-known but powerful cousin, Sequel.

JavaScript is in the vogue now, but Ruby on Rails can become your startup’s secret competitive advantage.

cover image

Active Record and PostgreSQLThis guide covers PostgreSQL specific usage of Active Record.After reading this guide, you will know: How to use PostgreSQL's datatypes. How to use UUID primary keys. How to include non-key columns in indexes. How to use deferrable foreign keys. How to use unique constraints. How to implement exclusion constraints. How to implement full text search with PostgreSQL. How to back your Active Record models with database views.

cover image

In the first part of our series, we'll explore two Hotwire methods to make modals accessible in your Rails application.

cover image

Getting data *into* your database is easy, but querying large datasets is challenging—especially without the right indexes. Pavel Tkachenko teaches how to write performant SQL queries with EXPLAIN and ANALYZE.

cover image

In part six of our series, we'll use Litesearch, the last piece of the puzzle in LiteStack.

cover image

Learn how to authorize requests at the routing layer to improve security and ergonomics.

cover image

The ~/.railsrc file configures your Rails applications and lets you pre-configure the gems you want in all your Rails apps.

cover image

Work on Rails 8 is starting, so I dug through the official GitHub milestone to break down all the upcoming goodies for you. There's plenty coming, including Solid Queue, Solid Cache and Kamal becoming defaults, better support for PWAs, an official LSP, and more!

cover image

When working on large-scale projects, quickly creating test data or dummy data can be crucial. In...

cover image

In the first part of a two-part series, we'll introduce how to use the Action Policy gem for a Ruby on Rails blog application.

cover image

In the first part of this series, we'll set up an example Rails application and introduce the basics of LiteStack.

cover image

Now available in a beta, Rails 7.1 will generate all Dockerfiles needed for deployment, tuned for production use.

cover image

Let's dive into what RuboCop is, how it helps developers, how to use it, and some key practical use cases.

cover image

Learn how to improve the interface of your existing Active Record Models with this underutilized API.

cover image

Documentation and guides from the team at Fly.io.

cover image

This version of Rails has been years in the conceptual making. It’s the fulfillment of a vision to present a truly full-stack approach to web development that tackles both the front- and back-end challenges with equal vigor. An omakase menu that includes everything from the aperitif to the dessert.

Thanks to gems, it is easy to implement a search engine into Rails applications. Of course, you have to choose which gem to use. While there are countless options, four stand out as the best. You will be happy with any of these options.

cover image

In part one of this series on Devise, we'll cover the basics of the Devise gem.

cover image

Google login can provide a convenient and seamless authentication option for your users. In this...

cover image

A complete and concise overview to help you create custom Rails Generators and avoid the speed bumps that might otherwise slow you down.

cover image

Security should be one of the main areas of concern while developing a website application. To...

cover image

A helpful list of resources for people who are just getting started out with Rails.

cover image

Introduction In this article we will go over exception handling and validation in Rails....

cover image

In this blog, we'll explore how to use background jobs with Sidekiq in Rails 7 to handle long-running...

cover image

Let's look into three options for code loading in Ruby: using load, require, and autoload.

cover image

Stripe Connect provides a suite of tools and APIs that allow you to create, manage, and scale your...

cover image

Webpacker was retired for Rails 7. Let’s explore some options for replacing it when making an upgrade.

cover image

This article explains Rack, including both the protocol and the gem, as well as the concept of middleware.

cover image

In this post, we’ll learn about Rails sessions, including what is a session, why we need them, and why they're so important. I’ll also take you behind the scenes and show you how Rails implements sessions and where the `session` method actually comes from. Hint: it’s not in the Rails codebase.

cover image

Discover the Best Ruby gems to enhance your project and make development easier. From testing to deployment, these gems will streamline your workflow.

cover image

This post shows how you can use the notes command in Rails to search through your codebase for comments starting with a specific keyword. By default, it searches the codebase for FIXME, OPTIMIZE, and TODO comments, but you can also configure it to use custom keywords.

cover image

If you are a frequent user of Ruby on Rails, you know that building authentication and user...

cover image

Introduction Views and Common Table Expression or CTE are two important concept in...

cover image

Kamal (MRSK) deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use Kamal (MRSK) to provision and deploy our Rails application to the Virtual Machines.

cover image

Despite its strong opinions and powerful conventions, Rails is a highly flexible and configurable framework. If you don’t like something, there’s almost certainly a way to change it. This article provides a brief overview of configuring Rails applications and environments.

cover image

It's easy to get going with logging with Rails, but not so easy to master it. Discover how you can get the most from your logs.

cover image

How to add bootstrap in rails 7 Bootstrap is a popular CSS framework that can help you...

cover image

Although Hotwire is closely tied to Ruby on Rails, you don't really need Rails to learn, play, and experiment with Hotwire.

cover image

What is RailsEngine? A Rails engine is a self-contained piece of functionality that can be...

cover image

As a software developer, one of the best feelings has to be thinking up a great feature for your...

cover image

What is docker? and how to use it with ruby on rails applications? and benefits of using...

cover image

Let's take a look at what we can expect from the upcoming Rails 7.1 release.

Leaked OnlyFans photos and video of manny.codes

cover image

Rails 7 is now more flexible in terms of the front-end technologies we want to use for our projects. Webpacker has been retired and right now is not really recommended to use for new projects.

cover image

This guide demonstrates how to set up a local Ruby on Rails environment, create a simple view, and deploy it to Render.

cover image

Build and parse a programming language to extend your Rails application's functionality.

cover image

The Rails Instrumentation API provides a simple observer pattern and also allows you to benchmark a piece of code.

cover image

A PostgreSQL database is a robust and flexible choice for your Ruby on Rails application. In this tutorial, you will set up a Ruby on Rails development envir…

cover image

At Jane Street we use a pattern/library called “expect tests” thatmakes test-writing feel like a REPL session, or like exploratoryprogramming in a Jupyter no...

cover image

An in-depth look at threads vs processes in Ruby web applications, and when you should use each.

cover image

In this article, we'll learn Ruby on Rails and Hotwire by building a to-do list from scratch. It shows how to build single-page web applications using traditional web architecture (server-rendered HTML), without the complexity of modern JavaScript frameworks like React.

cover image

If you’re like me then you probably take Devise for granted because you’re too intimidated to roll your own authentication system. As powerful as Devise is, it’s not perfect. There are plenty of cases where I’ve reached for it only to end up constrained by its features and design, and wished I could customize it exactly to my liking.

cover image

Capistrano is a deployment automation tool built on Ruby, Rake, and SSH. It allows you to deploy your...

cover image

Running Rails from Docker for easy start to development - rails/docked

cover image

Generators are a powerful feature you can use to automate routine tasks in Rails—but do you know how to make your own? This article explores Rails generators in depth, including how to build a generator from scratch.

cover image

A subtle bug happens when validating the presence of boolean fields in Rails. Here’s how to find it before it hits production.

cover image

There are many new features and improvements in Rails 7.1 that can be useful for developers. Here are...

cover image

500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.

cover image

You can use Rails initializers to configure your application or external gems. In this post, we'll learn how they work.

cover image

In this blog, we will be using bcrypt for authentication in our rails backend. Password protection...

cover image

Check out some ways to scale your Ruby on Rails applications, including with caching and background workers.

cover image

Generators are a powerful feature you can use to automate routine tasks in Rails—but do you know how to make your own? This article explores Rails generators in depth, including how to build a generator from scratch.

cover image

In this video I will show you how to create a simple authentication system using Rails 7 and Devise Gem. Learn how to create a global navbar that has conditional logic for user authentication. Reference the code here ! https://github.com/swiftruby/devisefromscratch

cover image

I like to develop production projects and side projects as deployment-driven as possible. Over the years I had tons of projects on Heroku and I'm grateful for the experience 🙏 But if tons of projects are to come again, I don't see a point in paying 7$ bucks per side-project. Luckily

cover image

Background Using Ruby, Active Record, Sinatra, and a React frontend, I created a traveler...

cover image

Sensible semantic HTML styling out the box for Ruby on Rails applications - davidteren/simple_tails

cover image

Ensure your Rails application stays secure by following some best practices and habits.

cover image

Find out about the different JIT compilers for Ruby — YJIT, MJIT, and TenderJIT — and their benefits.

cover image

We've open sourced Trilogy, the database adapter we use to connect Ruby on Rails to MySQL-compatible database servers.

cover image

When rake tasks need to be part of a deployment, you could find yourself in a situation where the rake task was forgotten about or have to go through the process of shelling into the environment to execute the tasks. In this episode, we look at addressing these issues by creating a way to have rake tasks execute automatically.

cover image

Learn about Active Record and subqueries, views and materialized views, and domain types and composite types in Postgres and Ruby on Rails.

cover image

I’m working on a Rails backend app to serve as the API for my database.

cover image

Learn about the three main types of app architecture, then connect React with your monolith Ruby on Rails app.

Leaked OnlyFans photos and video of manny.codes

cover image

Learn the basics of Hotwire and how to use it in your Rails app.

cover image

How the principle of connascence will help us to move away from fixtures.

cover image

If you're finding performance bottlenecks with full-text search in your database, it may be time to switch to Elasticsearch. In this tutorial, Ianis introduces Elasticsearch and shows us how to implement an efficient ...

cover image

A common issue when writing tests for real-world software is how to deal with third-party dependencies. Let’s examine an old, but counter-intuitive principle.

cover image

Did you know that Rails has a ~/.railsrc file? Similar to your ~/.bashrc or ~/.zshrc file, you can...

cover image

In 2019 there are a myriad of options for mapping and geolocation services. Rails geocoder gem makes it easy to find your way around those services.

cover image

HTTP provides a method of client-side caching known as Conditional Get Requests. This style of caching allows a client to cache the content…

cover image

In this episode, we look at different authorization approaches from the most simple to more complex scenarios. https://www.driftingruby.com/episodes/roles-from-scratch This episode is sponsored by Honeybadger https://www.honeybadger.io/ ► Visit the Merchandise Store - https://www.railsstore.com/ ► Ruby on Rails Templates - https://www.rubidium.io ► Subscribe to Drifting Ruby at https://www.driftingruby.com/subscription/new

cover image

Find out how feature flags function in principle and get started with feature flags using the Flipper gem.

cover image

A collection of branches that transmit HTML over the wire. - thoughtbot/hotwire-example-template

cover image

Learn how you can implement polymorphism in your Rails application for cleaner code.

cover image

In this quick tutorial I will go over how I use Action Mailer in my Rails apps. A bonus if you have...

cover image

Over 2,600 members of the Rails community from 92 countries kindly contributed their thoughts on tools, frameworks, and workflows in their day to day development lives. From these responses we hope to get an understanding of where Rails stands as a framework in 2022.

cover image

In this markdown tutorial using rails app learn a step-by-step process to add Markdown support to the Rails app using Redcarpet and Coderay gems.

cover image

A guide to SQLite on Heroku - explaining why using SQLite on Heroku's ephemeral file system is a bad fit, and looking at alternatives.

cover image

Ruby on Rails is one of the most popular application stacks for developers looking to create sites and web apps. Using rbenv will provide you with a solid en…

cover image

Let's explore the basics of Rails generators and templates, then examine how to customize your Rails app with templates.

cover image

In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and single table inheritance.

Comparing the different ways to set attributes in ActiveRecord (Rails 7)

cover image

Check out these 5 tips to ensure your transactions are readable and well-designed in your Ruby on Rails app.

cover image

Looking for a Ruby on Rails job or hiring Rails developers? We can help you!

cover image

How to configure database connections in your Rails app

cover image

How my team redefined the way we store one of the polymorphic associations in the Shopify codebase. This post is the solution we wish we found when we were looking.

cover image

A tutorial to integrate a Javascript color picker library Pickr, with Ruby on Rails 6.0, StimulusJS, and Webpacker.

cover image

This article was originally written by Diogo Souza on the Honeybadger Developer Blog. In the third...

cover image

Documentation and guides from the team at Fly.io.

cover image

ActsAsTree -- Extends ActiveRecord to add simple support for organizing items into parent–children relationships. - amerine/acts_as_tree

Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

cover image

Adding new code to Rails controllers can slow your pages down. Here's how to make rendering your Rails pages faster.

cover image

This was originally posted on my blog Since Ruby on Rails is not the fastest web framework out th...

Are you dealing with an external API and not sure where to put that code? Using ActiveModel::Model module can be a clean way of doing so in a OO way. It's a model, but not connected to ActiveRecord/your DB. — Sebastien Auriault (@websebdev)

cover image

Svelte is slowly rising to fame these days and it’s getting more and more traction with new version 3 being released in April.

cover image

Creating and Customizing Rails Generators & TemplatesRails generators are an essential tool for improving your workflow. With this guide you will learn how to create generators and customize existing ones.After reading this guide, you will know: How to see which generators are available in your application. How to create a generator using templates. How Rails searches for generators before invoking them. How to customize your scaffold by overriding generator templates. How to customize your scaffold by overriding generators. How to use fallbacks to avoid overwriting a huge set of generators. How to create an application template.

Starting with Rails 6, Webpacker is the default JavaScript compiler. It means that all the JavaScript code will be handled by Webpacker instead of the old assets pipeline aka Sprockets. Webpacker is different from asset pipeline in terms of philosophy as well as implementation. In this blog post, we will

cover image

This article shows how to optimize a Full Text Search implementation with Rails and PostgreSQL, taking a single query from 130ms to 7ms.

cover image

I want to populate a new feature with dummy data, but don't want to use the db/seeds.rb file as it already has seeds other data irrelevant for this feature. To run the default seeds.rb file, you r...

cover image

Learnings and notes from a JavaScript developer trying out Ruby and Ruby on Rails 6 for the first time.

cover image

Discover lesser-known Rails 6 features that stay out of the spotlight but can bring a lot to your current applications.

cover image

Should you be concerned about Rails concerns?

My favourite part of Rails is clearly ActiveRecord’s scopes. Their expressiveness and their reusability is simply great.

What this feature is for The credentials feature is a way of storing secrets that you don’t want to keep in plaintext, like AWS credentials for example. (In fact, the one and only thing I keep in my main Rails project’s credentials are my Active Storage AWS credentials.) Why the credentials feature is difficult to […]

Ilya Bodrov continues the Authentication in Rails series by looking at the most popular authentication gem: Devise. Basic setup to using extensions.

cover image

The Rails helper excerpt can extract a chunk of text that matches a certain phrase, no matter where in the string it is.

cover image

News & blog about Learn Enough (including the Ruby on Rails Tutorial)

cover image

Motivation Rails rake tasks are commands that automate specific acti...

cover image

Welcome to the first post in our series about Ruby on Rails Patterns and Anti-patterns. In each of th...

cover image

Thanks to built-in scaffolding feature starting the project in Ruby on Rails is easy, but when you create your own scaffold generator, it's even easier!

cover image

Metaprogramming is an integral part of Ruby, more so than in any other language. This article explains the hows and whys.

cover image

You can either Collect Data or Create your Own Data

cover image

On November 5, 2021 (a Friday of course), we've deployed innocent-looking gem updates. Minor versions of Ruby on Rails, Ruby Sentry client, Ruby Slack client, http libraries, Puma, Devise, OmniAuth Ruby client, Mongoid, and a few test gems. However, something went very wrong. We saw odd Stripe errors on Airbrake.

cover image

In this demo application we will demonstrate that how you can upload documents using active records and convert preview of PDF pages as images. We have also used action cable to display progress of PDF pages to image conversion inside bootstrap modal. Though this is a simple and basic example but you can learn different concepts here from the code base. Here you can find the repository for this demo application: https://github.com/RaviSys/pdf-preview-demo Hope you enjoy learning this.

cover image

Implementing search in your Rails app can be vexing. Here's a great pattern to use that combines the best parts of ActiveRecord and Postgres.

cover image

I didn't much care for vanilla JavaScript prior to ES6. Through all of the 2000s, I chased different approaches to avoid writing too much of it. First there was RJS (Ruby-to-JavaScript). Then there was CoffeeScript. Both transpiling approaches that turned more enjoyable-to-write source code into the kind of JavaScript that browsers wou...

cover image

Let's dive into Bullet and find out how it can help you identify some database-related problems.

cover image

Good morning everyone, I've installed Ruby 3.0.2 via rbenv in order to test-drive a Rails 6.0 app. It seems like rbenv's Rails shiv is not working properly. $ rbenv install 3.0.2 Downloading ruby-3...

cover image

Think building a booking system is not your cup of tea? I bet, you will change your mind after...

cover image

Rbenv, RubyGems, and Bundler work together to give us a lot of control over our code's environment. If you know how they work, you'll be better prepared to troubleshoot any problems you encounter. In this article, Ol...

cover image

Webpacker is the default JavaScript compiler for Rails 6 applications. Which means that all the...

Overview Influenced by the experiences I’ve had last over many years of building and maintaining Rails applications, combined with my experiences using other technologies, I’ve developed some ways of structuring Rails applications that have worked out pretty well for me. Some of my organizational tactics follow conventional wisdom, like keeping controllers thin. Other of my […]

cover image

While building applications in Rails it’s very common to have to add a new model after you’ve already set up a DB and added some seed data…

cover image

I just upgraded to ubuntu 20.10 and when I tried to work with rails app that was working perfectly fine earlier started to show this error. LoadError: libffi.so.7: cannot open shared object file: N...

cover image

Article was originally published here : https://bootrails.com/blog/rails-webpacker-full-setup Webpac...

cover image

A quick overview of how to use polymorphic associations in rails

cover image

Ruby on Rails is a web framework that contains many libraries you’d need to create and deploy a successful web application. We often take for granted the ability to run rails new to create a fully functional web application with tons of built-in features.

cover image

This article was originally posted on my blog. Sometimes an array of data needs to be submitted in a...

cover image

Rails 7 adds ActiveRecord methods `#sole` and `#find_sole_by` to uniquely match only one record in a database.

cover image

Premium video courses for software developers. Real apps. Real code. Really good stuff!

cover image

News & blog about Learn Enough (including the Ruby on Rails Tutorial)

cover image

Kointoto situs judi togel online, slot gacor, dan live casino idnlive terbaik di Indonesia. 1 ID untuk semua permainan dengan deposit minimal Rp 10rb.

cover image

Ruby 3.0 is a lot faster than Ruby 2.0, with both incremental tuning and interesting new disruptive changes. 'Three times faster' is hard to define...

cover image

Performance Action Pack consists of tools and techniques to efficiently audit and optimize your Ruby on Rails application.

cover image

Use the Rails highlight helper to wrap search result matches in tags.

cover image

News & blog about Learn Enough (including the Ruby on Rails Tutorial)

cover image

News & blog about Learn Enough (including the Ruby on Rails Tutorial)

cover image

33 votes, 56 comments. Heroku is easy to use and has a good marketplace. They make it really easy to deploy and to purchase additional resources. I…

cover image

In this article, I will be discussing how to quickly setup a NoSQL database MongoDB with your brand new Rails 6 app. I am using Ubuntu…

cover image

An article by Noah Gibbs about Ruby 3's performance for a Rails application. Ruby 3.0.0-preview1 was a tiny bit slower than 2.7. The release 3.0 is...

cover image

Rails 6.1 has added support for switching connections for one database instead of all databases

cover image

Kointoto situs judi togel online, slot gacor, dan live casino idnlive terbaik di Indonesia. 1 ID untuk semua permainan dengan deposit minimal Rp 10rb.

cover image

Becoming the owner of a legacy Rails app can mean inheriting a project bogged down with tech debt, bugs, and sketchy documentation. Here's how to survive.

cover image

Why are we doing this? One of my favorite way to sharpen my skills with different framewor...

In order to install Ruby and Rails on Ubuntu 18.04, first I had to completely wipe my first, abortive attempt. That proved to be harder than expected. So, in order to save others the effort I had to

cover image

I'm creating a new rails application according to "Getting Started with Rails". The application starts normally in step 4.1. But when i create my first controller, i have a webpack error. I'm new in

cover image

Introduction A simple search form is great, but one with advanced search options can have...

cover image

Whoever first said that "the fastest code is no code" must have really liked memoization. After all, memoization speeds up your application by running less code. In this article, Jonathan Miles introduces us to memoiz...

cover image

Rails 6.1 series | Rails 6.1 adds --minimal support to create bare minimum app

cover image

Flexible authentication solution for Rails with Warden. - heartcombo/devise

cover image

Rails Application TemplatesApplication templates are simple Ruby files containing DSL for adding gems, initializers, etc. to your freshly created Rails project or an existing Rails project.After reading this guide, you will know: How to use templates to generate/customize Rails applications. How to write your own reusable application templates using the Rails template API.

cover image

Ruby on Rails deployment using Ansible - with Lets Encrypt, Sidekiq, PostgreSQL, nginx & puma - EmailThis/ansible-rails

cover image

A new Rails 6 application will install both Webpacker and Sprockets by default. Don't they solve the same problem? This article dives into why Sprockets lives on even though webpack has surpassed most of its features ...

cover image

When I landed on this new job position at EBANX one of my very first tasks was to get the top 10 issues of a Ruby on Rails app used all…

cover image

I am trying to create postgres databases for development and tests. I'm using: OSX Yosemite Rails version: 4.2.0 git version: 2.2.2 psql version: 9.4.0 ruby version: 2.1.0p0 HomeBrew version: 0.9.5

cover image

Rails [5.2 introduced Active Storage](https://guides.rubyonrails.org/active_storage_overview.html) as a way of managing attaching and saving files to Active Record models. This guide will cover how to use Active Storage on Heroku.

cover image

The only guide that you'll ever need to make your Ruby on Rails application faster and more scalable.

cover image

I work with several Rails apps, some on Rails 3.2/Ruby 2.0, and some one Rails 2.3/Ruby 1.8.7. What they have in common is that, as they've grown and added more dependencies/gems, they take longer...

cover image

UUID also known as GUID is an alternative primary key type for SQL databases. It offers some non-obvious advantages compared to standard integer-based keys. Rails 6 release fresh out of beta introduces a new feature in ActiveRecord that makes working with UUID primary keys more straightforward. In this tutorial, we will dive deep into UUIDs with all their cons and pros.

The RailsApps open source project offers starter applications and tutorials for Rails developers.

The administration framework for business critical Ruby on Rails applications.

cover image

Learn the secrets of Rails deployment and everything it takes to successfully run your application in the wild.

cover image

The first post on a series to get you ready to develop and deploy production-grade workloads in AWS.

cover image

Rails 6 is finally here, featuring major improvements and clever new features that should make development easier and faster than ever. Check out what these new features mean for you!

To showcase using ActionCable in a Rails app with React

cover image

Rails Composer. The Rails generator on steroids for starter apps. - RailsApps/rails-composer

cover image

A story of failure getting consistent headless feature tests, to trying again with many different ways to make rspec work, then converting to Rails system tests in Rails 5.1.

Have you ever wondered what the secret_key_base value is and how it’s used in a Rails application? This configuration value was introduced…

cover image

To give back to our community of developers, we looked at our database of thousands of projects and found the top 10 errors in Ruby on Rails projects. We’re going to show you what causes them and how to prevent them from happening. If you avoid these "gotchas," it'll make you a better developer. Because […]

cover image

An ActiveRecord plugin for managing lists.

cover image

Base application for Ruby on Rails 6 projects. Built to minimize the time spent writing boilerplate code and performing repetitive setup tasks. - GitHub - brunofacca/zen-rails-base-app: Base app...