DEV Community

# activerecord

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Understanding Active Record

Understanding Active Record

6
Comments
3 min read
Sanitizing SQL in Rails/ActiveRecord

Sanitizing SQL in Rails/ActiveRecord

7
Comments
3 min read
Rails find_each/ find_in_batches pitfalls

Rails find_each/ find_in_batches pitfalls

2
Comments
1 min read
ActiveRecord's New Takes a Block, Kid

ActiveRecord's New Takes a Block, Kid

7
Comments
4 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
Getting Started with Rails & TiDB

Getting Started with Rails & TiDB

6
Comments
3 min read
How to access joined data with ActiveRecord

How to access joined data with ActiveRecord

14
Comments
5 min read
Understanding multiple joins in ActiveRecord

Understanding multiple joins in ActiveRecord

18
Comments
5 min read
Phase 2

Phase 2

7
Comments
3 min read
Understanding ActiveRecord left outer joins

Understanding ActiveRecord left outer joins

10
Comments
5 min read
Understanding ActiveRecord inner joins

Understanding ActiveRecord inner joins

10
Comments
7 min read
Module 2 Sinatra Project for Flatiron School

Module 2 Sinatra Project for Flatiron School

6
Comments
3 min read
Design Patterns: Query Objects

Design Patterns: Query Objects

5
Comments
3 min read
Active Record Callbacks Introduction

Active Record Callbacks Introduction

4
Comments
2 min read
ActiveRecord Associations: The Beautiful and Complicated

ActiveRecord Associations: The Beautiful and Complicated

1
Comments
3 min read
A Few Methods for Returning Default Values when Creating ActiveRecord Objects

A Few Methods for Returning Default Values when Creating ActiveRecord Objects

6
Comments 2
7 min read
Immutable ActiveRecord

Immutable ActiveRecord

4
Comments
5 min read
Bulk Update: Active Record Vs. native SQL

Bulk Update: Active Record Vs. native SQL

11
Comments 1
5 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
Rails Intro::Mandalorian

Rails Intro::Mandalorian

7
Comments
10 min read
It's a Mad, Mad World

It's a Mad, Mad World

6
Comments
4 min read
Rails - Run Default Scope on All queries

Rails - Run Default Scope on All queries

5
Comments
1 min read
Battling RecordNotUnique in Rails

Battling RecordNotUnique in Rails

10
Comments 3
4 min read
Lakers < ActiveRecord::Base

Lakers < ActiveRecord::Base

26
Comments 9
9 min read
Overview of Active Record Associations

Overview of Active Record Associations

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

Why SQLite is simple to use!

6
Comments 2
2 min read
A Take on Empowering ActiveRecord

A Take on Empowering ActiveRecord

48
Comments 8
3 min read
Active Record Relations and Method Chaining

Active Record Relations and Method Chaining

6
Comments
2 min read
Understanding Active Record Callbacks

Understanding Active Record Callbacks

10
Comments
4 min read
Ruby Cursor Pagination (1)

Ruby Cursor Pagination (1)

11
Comments
3 min read
Making exceptions to ActiveRecord’s auto-pluralization

Making exceptions to ActiveRecord’s auto-pluralization

6
Comments
3 min read
Rails N + 2 queries

Rails N + 2 queries

32
Comments 6
7 min read
Rails signed IDs for ActiveRecord

Rails signed IDs for ActiveRecord

7
Comments 2
2 min read
My notes from Aaron Patterson's RailsConf 2020 keynote

My notes from Aaron Patterson's RailsConf 2020 keynote

4
Comments 1
1 min read
Can I use has_secure_token in ActiveRecord?

Can I use has_secure_token in ActiveRecord?

3
Comments
4 min read
Active Record find vs. find_by vs. where

Active Record find vs. find_by vs. where

18
Comments
4 min read
Beginner: navigation on a dynamic website.

Beginner: navigation on a dynamic website.

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

Rails N+1 query and Draper decorators

7
Comments 2
5 min read
Active Record Transactions in Ruby on Rails

Active Record Transactions in Ruby on Rails

5
Comments
2 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
Refactoring Personal Data out of a Devise Model

Refactoring Personal Data out of a Devise Model

7
Comments
4 min read
Rails Password Validation

Rails Password Validation

14
Comments
2 min read
Beginners guide to Active Record

Beginners guide to Active Record

24
Comments 1
5 min read
Immutable ActiveRecord Models

Immutable ActiveRecord Models

12
Comments
3 min read
Patterns to refactor thick ActiveRecord models

Patterns to refactor thick ActiveRecord models

7
Comments
2 min read
Creating a Basic Sinatra Application

Creating a Basic Sinatra Application

8
Comments
4 min read
Sinatra ToDo App

Sinatra ToDo App

9
Comments
3 min read
Uncovering tiny little magic in Rails

Uncovering tiny little magic in Rails

6
Comments 2
2 min read
How Associations Are Built In Rails

How Associations Are Built In Rails

9
Comments
3 min read
Parsimony with ActiveRecord callbacks

Parsimony with ActiveRecord callbacks

10
Comments 1
2 min read
Run your Rails migrations from the web browser

Run your Rails migrations from the web browser

9
Comments 1
2 min read
Easier database schema management with Ridgepole

Easier database schema management with Ridgepole

6
Comments
2 min read
Understanding Rails Eager-Loading

Understanding Rails Eager-Loading

59
Comments
6 min read
7 reasons why learning SQL is still important for Rails developers

7 reasons why learning SQL is still important for Rails developers

18
Comments 1
5 min read
Prevent SQL Injections

Prevent SQL Injections

17
Comments 4
5 min read
The good and bad of ActiveRecord callbacks

The good and bad of ActiveRecord callbacks

18
Comments 1
4 min read
Understanding Active Record Migrations

Understanding Active Record Migrations

5
Comments
6 min read
TIL: Using Different Database Connection with ActiveRecord Transactions

TIL: Using Different Database Connection with ActiveRecord Transactions

14
Comments 14
3 min read
Active Record, Sidekiq, pools and threads

Active Record, Sidekiq, pools and threads

54
Comments 3
5 min read
Power of ActiveRecord and when to stop using it

Power of ActiveRecord and when to stop using it

16
Comments 2
3 min read
loading...