DEV Community

# activerecord

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Understanding Rails Eager-Loading

Understanding Rails Eager-Loading

59
Comments
6 min read
A Take on Empowering ActiveRecord

A Take on Empowering ActiveRecord

48
Comments 8
3 min read
Optimizing Active Record queries

Optimizing Active Record queries

38
Comments 1
11 min read
Rails N + 2 queries

Rails N + 2 queries

32
Comments 6
7 min read
Lakers < ActiveRecord::Base

Lakers < ActiveRecord::Base

26
Comments 9
9 min read
Track and fix excessive Active Record instantiation

Track and fix excessive Active Record instantiation

25
Comments
5 min read
Beginners guide to Active Record

Beginners guide to Active Record

24
Comments 1
5 min read
How to Speed Up Load Times In A Rails App - What I Wish I Knew Four Months Ago

How to Speed Up Load Times In A Rails App - What I Wish I Knew Four Months Ago

24
Comments 3
3 min read
Polymorphic joins in Active Record

Polymorphic joins in Active Record

20
Comments 4
3 min read
A Bit of Advanced ActiveRecord Querying - With Benchmarks

A Bit of Advanced ActiveRecord Querying - With Benchmarks

19
Comments 2
9 min read
Optimización de queries en Rails

Optimización de queries en Rails

19
Comments 1
12 min read
Active Record find vs. find_by vs. where

Active Record find vs. find_by vs. where

18
Comments
4 min read
Understanding multiple joins in ActiveRecord

Understanding multiple joins in ActiveRecord

18
Comments
5 min read
Active Record Associations Setup Guide

Active Record Associations Setup Guide

18
Comments 2
6 min read
[pt-BR] Guia Prático: Explorando o Poder da Gem ActiveRecord no Ruby - Sem Framework 🚀

[pt-BR] Guia Prático: Explorando o Poder da Gem ActiveRecord no Ruby - Sem Framework 🚀

17
Comments 1
16 min read
Ruby on Rails ActiveRecord Validations

Ruby on Rails ActiveRecord Validations

16
Comments
4 min read
Rails Password Validation

Rails Password Validation

14
Comments
2 min read
How to access joined data with ActiveRecord

How to access joined data with ActiveRecord

14
Comments
5 min read
Immutable ActiveRecord Models

Immutable ActiveRecord Models

12
Comments
3 min read
Ruby on Rails ActiveRecord Callbacks

Ruby on Rails ActiveRecord Callbacks

12
Comments
4 min read
The very basics of Active Record Validations

The very basics of Active Record Validations

11
Comments
5 min read
empty? any? present? blank? wat?

empty? any? present? blank? wat?

11
Comments
1 min read
Ruby Cursor Pagination (1)

Ruby Cursor Pagination (1)

11
Comments
3 min read
History Tracking With Postgres

History Tracking With Postgres

11
Comments 2
10 min read
Bulk Update: Active Record Vs. native SQL

Bulk Update: Active Record Vs. native SQL

11
Comments 1
5 min read
Understanding ActiveRecord left outer joins

Understanding ActiveRecord left outer joins

10
Comments
5 min read
ActiveRecord Dependent Options

ActiveRecord Dependent Options

10
Comments
5 min read
Parsimony with ActiveRecord callbacks

Parsimony with ActiveRecord callbacks

10
Comments 1
2 min read
Understanding ActiveRecord inner joins

Understanding ActiveRecord inner joins

10
Comments
7 min read
Understanding Active Record Callbacks

Understanding Active Record Callbacks

10
Comments
4 min read
Battling RecordNotUnique in Rails

Battling RecordNotUnique in Rails

10
Comments 3
4 min read
Run your Rails migrations from the web browser

Run your Rails migrations from the web browser

9
Comments 1
2 min read
Entendendo e Resolvendo o Problema N+1 com Ruby on Rails

Entendendo e Resolvendo o Problema N+1 com Ruby on Rails

9
Comments 1
3 min read
Resolving the ActionController::InvalidAuthenticityToken Error in a Rails/React App

Resolving the ActionController::InvalidAuthenticityToken Error in a Rails/React App

9
Comments 1
3 min read
Building a Rails API to Track Student Progress

Building a Rails API to Track Student Progress

9
Comments
4 min read
Modular Models in Ruby on Rails

Modular Models in Ruby on Rails

9
Comments 4
2 min read
Sinatra ToDo App

Sinatra ToDo App

9
Comments
3 min read
Update jsonb Columns Using The Rails Active Record Native Methods

Update jsonb Columns Using The Rails Active Record Native Methods

8
Comments 2
1 min read
Creating a Basic Sinatra Application

Creating a Basic Sinatra Application

8
Comments
4 min read
(Not always) Cool methods to be careful when working with rails

(Not always) Cool methods to be careful when working with rails

8
Comments
4 min read
Preloading associations on an Array of Objects

Preloading associations on an Array of Objects

8
Comments
3 min read
Understanding The Magic of ActiveRecord

Understanding The Magic of ActiveRecord

8
Comments
3 min read
Beginner: navigation on a dynamic website.

Beginner: navigation on a dynamic website.

8
Comments
2 min read
Relationship Advice... for Tables

Relationship Advice... for Tables

8
Comments
4 min read
Refactoring Personal Data out of a Devise Model

Refactoring Personal Data out of a Devise Model

7
Comments
4 min read
Phase 2

Phase 2

7
Comments
3 min read
Sanitizing SQL in Rails/ActiveRecord

Sanitizing SQL in Rails/ActiveRecord

7
Comments
3 min read
ActiveRecord's New Takes a Block, Kid

ActiveRecord's New Takes a Block, Kid

7
Comments
4 min read
Utilizando Scopes em Ruby on Rails

Utilizando Scopes em Ruby on Rails

7
Comments
3 min read
ActiveRecord vs. Ecto - querying the database

ActiveRecord vs. Ecto - querying the database

7
Comments 1
6 min read
Rails signed IDs for ActiveRecord

Rails signed IDs for ActiveRecord

7
Comments 2
2 min read
Group with ranges for ActiveRecord

Group with ranges for ActiveRecord

7
Comments
2 min read
Rails Intro::Mandalorian

Rails Intro::Mandalorian

7
Comments
10 min read
Patterns to refactor thick ActiveRecord models

Patterns to refactor thick ActiveRecord models

7
Comments
2 min read
Rails N+1 query and Draper decorators

Rails N+1 query and Draper decorators

7
Comments 2
5 min read
Fixing N+1 queries when using validates_associated with has_many

Fixing N+1 queries when using validates_associated with has_many

7
Comments
4 min read
Getting Started with Rails & TiDB

Getting Started with Rails & TiDB

6
Comments
3 min read
Why SQLite is simple to use!

Why SQLite is simple to use!

6
Comments 2
2 min read
Active Record Relations and Method Chaining

Active Record Relations and Method Chaining

6
Comments
2 min read
Understanding Active Record

Understanding Active Record

6
Comments
3 min read
loading...