rubyonrails

263 bookmarks · page 2 of 6
2024-02-29 · guides.rubyonrails.org

Active Record and PostgreSQL — Ruby on Rails Guides

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…

2024-01-12 · writesoftwarewell.com

The Rails Config File

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

2024-01-11 · railsnotes.xyz

Here's what's coming in Rails 8

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!

2023-07-24 · rubyonrails.org

Rails 7.0: Fulfilling a vision

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…

2023-03-31 · akshaykhot.com

Sessions in Rails: Everything You Need to Know

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…

2023-03-07 · driftingruby.com

Episode 391 - Deploying with MRSK | Drifting Ruby

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…

2023-03-04 · akshaykhot.com

Configuring Rails Environments

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.

2023-01-16 · reinteractive.com

Starting Rails 7 for Front-End Development

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.