DEV Community

loading...

# activerecord

👋 Sign in for the ability sort posts by top and latest.
Bulk update: Active Record Vs. raw SQL - a performance analysis

Bulk update: Active Record Vs. raw SQL - a performance analysis

Reactions 3
5 min read
Rails Intro::Mandalorian

Rails Intro::Mandalorian

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

It's a Mad, Mad World

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

Rails - Run Default Scope on All queries

Reactions 5
1 min read
Battling RecordNotUnique in Rails

Battling RecordNotUnique in Rails

Reactions 7
4 min read
Lakers < ActiveRecord::Base

Lakers < ActiveRecord::Base

Reactions 26 Comments 8
9 min read
Some things you should know about eager loading in ActiveRecord

Some things you should know about eager loading in ActiveRecord

Reactions 15 Comments 2
9 min read
Overview of Active Record Associations

Overview of Active Record Associations

Reactions 6
6 min read
Understanding Active Record Callbacks

Understanding Active Record Callbacks

Reactions 8
4 min read
A Take on Empowering ActiveRecord

A Take on Empowering ActiveRecord

Reactions 49 Comments 8
3 min read
Ruby Cursor Pagination (1)

Ruby Cursor Pagination (1)

Reactions 9
3 min read
Rails N + 2 queries

Rails N + 2 queries

Reactions 32 Comments 6
7 min read
Can I use has_secure_token in ActiveRecord?

Can I use has_secure_token in ActiveRecord?

Reactions 3
4 min read
Beginner: navigation on a dynamic website.

Beginner: navigation on a dynamic website.

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

Rails N+1 query and Draper decorators

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

Active Record Transactions in Ruby on Rails

Reactions 12
2 min read
Refactoring Personal Data out of a Devise Model

Refactoring Personal Data out of a Devise Model

Reactions 6
4 min read
Beginners guide to Active Record

Beginners guide to Active Record

Reactions 22
5 min read
Immutable ActiveRecord Models

Immutable ActiveRecord Models

Reactions 8
3 min read
Creating a Basic Sinatra Application

Creating a Basic Sinatra Application

Reactions 9
4 min read
Sinatra ToDo App

Sinatra ToDo App

Reactions 9
3 min read
Understanding Rails Eager-Loading

Understanding Rails Eager-Loading

Reactions 54
6 min read
Prevent SQL Injections

Prevent SQL Injections

Reactions 17 Comments 4
5 min read
Understanding Active Record Migrations

Understanding Active Record Migrations

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

TIL: Using Different Database Connection with ActiveRecord Transactions

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

Active Record, Sidekiq, pools and threads

Reactions 45 Comments 3
5 min read
Clean Validations with Custom Contexts

Clean Validations with Custom Contexts

Reactions 10 Comments 2
2 min read
Postgres enums with Rails

Postgres enums with Rails

Reactions 54 Comments 11
4 min read
Rails: increment counter cache and return value

Rails: increment counter cache and return value

Reactions 23 Comments 4
1 min read
Smarter Rails Services with Active Model Modules

Smarter Rails Services with Active Model Modules

Reactions 202 Comments 26
11 min read
touch triggers other touches

touch triggers other touches

Reactions 8
1 min read
Composable Query Builders in Rails with Arel

Composable Query Builders in Rails with Arel

Reactions 13 Comments 3
10 min read
How to isolate complex queries in an object oriented fashion

How to isolate complex queries in an object oriented fashion

Reactions 12
1 min read
Why SQLite is simple to use!

Why SQLite is simple to use!

Reactions 6 Comments 1
2 min read
Making exceptions to ActiveRecord’s auto-pluralization

Making exceptions to ActiveRecord’s auto-pluralization

Reactions 6
3 min read
Active Record Associations Setup Guide

Active Record Associations Setup Guide

Reactions 18 Comments 2
6 min read
My notes from Aaron Patterson's RailsConf 2020 keynote

My notes from Aaron Patterson's RailsConf 2020 keynote

Reactions 4 Comments 1
1 min read
Active Record find vs. find_by vs. where

Active Record find vs. find_by vs. where

Reactions 7
4 min read
Using Rails's Attributes API to serialize Value Objects

Using Rails's Attributes API to serialize Value Objects

Reactions 6
4 min read
Setting Up a Many-to-Many Relationship Using Activerecord: A Guide for the Perplexed

Setting Up a Many-to-Many Relationship Using Activerecord: A Guide for the Perplexed

Reactions 4
3 min read
Update jsonb Columns Using The Rails Active Record Native Methods

Update jsonb Columns Using The Rails Active Record Native Methods

Reactions 8
1 min read
Rails Password Validation

Rails Password Validation

Reactions 6
2 min read
Patterns to refactor thick ActiveRecord models

Patterns to refactor thick ActiveRecord models

Reactions 5
2 min read
Uncovering tiny little magic in Rails

Uncovering tiny little magic in Rails

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

How Associations Are Built In Rails

Reactions 7
3 min read
Parsimony with ActiveRecord callbacks

Parsimony with ActiveRecord callbacks

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

Run your Rails migrations from the web browser

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

Easier database schema management with Ridgepole

Reactions 5
2 min read
ActiveRecord, Databases and APIs — Oh My!

ActiveRecord, Databases and APIs — Oh My!

Reactions 7 Comments 1
4 min read
7 reasons why learning SQL is still important for Rails developers

7 reasons why learning SQL is still important for Rails developers

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

The good and bad of ActiveRecord callbacks

Reactions 17 Comments 1
4 min read
EventFindr: a simple CLI using Ruby and ActiveRecord

EventFindr: a simple CLI using Ruby and ActiveRecord

Reactions 14
4 min read
Power of ActiveRecord and when to stop using it

Power of ActiveRecord and when to stop using it

Reactions 15 Comments 2
3 min read
How to break Rails built-in Active Record's Validations

How to break Rails built-in Active Record's Validations

Reactions 11
2 min read
Ruby memory, ActiveRecord and Draper

Ruby memory, ActiveRecord and Draper

Reactions 4
5 min read
Grouped pagination in ActiveRecord

Grouped pagination in ActiveRecord

Reactions 8
5 min read
Better Rails Active Record Validation Messages

Better Rails Active Record Validation Messages

Reactions 10
2 min read
Comparing ActiveRecord and LuckyRecord

Comparing ActiveRecord and LuckyRecord

Reactions 17
8 min read
Active Record Relations and Method Chaining

Active Record Relations and Method Chaining

Reactions 6
2 min read
loading...