DEV Community

# activerecord

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
TIL .order_values

TIL .order_values

Comments
1 min read
Why We Adopted a Synchronous API for the New TypeScript ORM

Why We Adopted a Synchronous API for the New TypeScript ORM

1
Comments
6 min read
TIL custom order with .in_order_of

TIL custom order with .in_order_of

4
Comments
1 min read
Work with :through associations made easy

Work with :through associations made easy

3
Comments
2 min read
Introduction to "Accel Record": A TypeScript ORM Using the Active Record Pattern

Introduction to "Accel Record": A TypeScript ORM Using the Active Record Pattern

3
Comments
5 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 🚀

18
Comments 1
16 min read
Rails ActiveRecord count, size and length, map and pluck

Rails ActiveRecord count, size and length, map and pluck

5
Comments 1
2 min read
Scope vs Class Methods

Scope vs Class Methods

2
Comments
2 min read
Understanding Rails Callbacks & Common Pitfalls

Understanding Rails Callbacks & Common Pitfalls

Comments
4 min read
Query Like a Pro: Active Record for Database Queries

Query Like a Pro: Active Record for Database Queries

1
Comments
4 min read
Ruby's range literals and their effect on Rails Active Record queries

Ruby's range literals and their effect on Rails Active Record queries

3
Comments
4 min read
Boolean Validator for Rails

Boolean Validator for Rails

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

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

11
Comments 1
3 min read
Mastering ActiveRecord Associations in Ruby: A Comprehensive Guide

Mastering ActiveRecord Associations in Ruby: A Comprehensive Guide

1
Comments 2
6 min read
Handling associated records when an object is deleted

Handling associated records when an object is deleted

5
Comments
3 min read
Active Record Querying Methods

Active Record Querying Methods

2
Comments
3 min read
Basics of Active Record Validations

Basics of Active Record Validations

2
Comments
4 min read
Make your Ruby on Rails app 80x faster with SQL

Make your Ruby on Rails app 80x faster with SQL

1
Comments
9 min read
Sinatra/Active Record Full CRUD

Sinatra/Active Record Full CRUD

1
Comments
4 min read
Server Take the Wheel: Bridging the Mental Gap Between Front-End and Full-Stack WebDev

Server Take the Wheel: Bridging the Mental Gap Between Front-End and Full-Stack WebDev

Comments
5 min read
Creating and Using Migrations in Ruby/Sinatra/ActiveRecord

Creating and Using Migrations in Ruby/Sinatra/ActiveRecord

1
Comments
3 min read
Active Record Validations

Active Record Validations

Comments
5 min read
Sinatra and Active Records to Perform CURD Actions

Sinatra and Active Records to Perform CURD Actions

Comments
4 min read
Database Views & Rails Active Record: defining new Model classes out of views

Database Views & Rails Active Record: defining new Model classes out of views

8
Comments 2
14 min read
Otimizando consultas no banco de dados com o Rails

Otimizando consultas no banco de dados com o Rails

4
Comments
3 min read
Enforcing Unique Constraints Across Multiple Columns in Ruby on Rails

Enforcing Unique Constraints Across Multiple Columns in Ruby on Rails

Comments 2
3 min read
Preloading associations on an Array of Objects

Preloading associations on an Array of Objects

9
Comments
3 min read
Quick Start guide to creating a table using Active Record

Quick Start guide to creating a table using Active Record

4
Comments
5 min read
Phase 3 - Updating and Dropping Databases using Active Record

Phase 3 - Updating and Dropping Databases using Active Record

3
Comments
2 min read
History Tracking With Postgres

History Tracking With Postgres

11
Comments 2
10 min read
pluck vs. select

pluck vs. select

1
Comments
2 min read
Getting started with ActiveRecord

Getting started with ActiveRecord

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
ActiveRecord vs. Ecto - querying the database

ActiveRecord vs. Ecto - querying the database

8
Comments 1
6 min read
The surpising behaviour of Rails' default_scope method

The surpising behaviour of Rails' default_scope method

1
Comments
1 min read
Ruby on Rails ActiveRecord Callbacks

Ruby on Rails ActiveRecord Callbacks

15
Comments
4 min read
Ruby on Rails ActiveRecord Validations

Ruby on Rails ActiveRecord Validations

17
Comments
4 min read
Relationship Advice... for Tables

Relationship Advice... for Tables

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

The very basics of Active Record Validations

11
Comments
5 min read
Understanding The Magic of ActiveRecord

Understanding The Magic of ActiveRecord

8
Comments
3 min read
Active Record Associations: Simplified

Active Record Associations: Simplified

6
Comments
3 min read
Understanding ActiveRecord Nested Transactions

Understanding ActiveRecord Nested Transactions

9
Comments 2
4 min read
Modular Models in Ruby on Rails

Modular Models in Ruby on Rails

9
Comments 4
2 min read
Utilizando Scopes em Ruby on Rails

Utilizando Scopes em Ruby on Rails

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

Building a Rails API to Track Student Progress

9
Comments
4 min read
Optimizing Active Record queries

Optimizing Active Record queries

42
Comments 1
11 min read
Optimización de queries en Rails

Optimización de queries en Rails

20
Comments 1
12 min read
A Basic guide to Active Record Commands

A Basic guide to Active Record Commands

5
Comments
2 min read
ActiveRecord Dependent Options

ActiveRecord Dependent Options

12
Comments
5 min read
SQL undercover

SQL undercover

2
Comments
2 min read
Cheat Sheet: ActiveRecord QueryMethods

Cheat Sheet: ActiveRecord QueryMethods

6
Comments
2 min read
Rails SQL Views made easy ;)

Rails SQL Views made easy ;)

7
Comments 1
1 min read
Polymorphic joins in Active Record

Polymorphic joins in Active Record

23
Comments 4
3 min read
Sinatra: Accessing Data and Methods with {include:}

Sinatra: Accessing Data and Methods with {include:}

2
Comments
3 min read
Group with ranges for ActiveRecord

Group with ranges for ActiveRecord

7
Comments
2 min read
Track and fix excessive Active Record instantiation

Track and fix excessive Active Record instantiation

25
Comments
5 min read
A Bit of Advanced ActiveRecord Querying - With Benchmarks

A Bit of Advanced ActiveRecord Querying - With Benchmarks

19
Comments 2
9 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
Pagination in Rails from scratch (no gems)

Pagination in Rails from scratch (no gems)

5
Comments
5 min read
Ruby Single Table Inherency (STI)

Ruby Single Table Inherency (STI)

6
Comments 2
1 min read
loading...