DEV Community

# activerecord

Posts

ūüĎč Sign in for the ability to sort posts by relevant, latest, or top.
Utilizando Scopes em Ruby on Rails

Utilizando Scopes em Ruby on Rails

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

Building a Rails API to Track Student Progress

Reactions 9 Comments
4 min read
Optimizing Active Record queries

Optimizing Active Record queries

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

Optimización de queries en Rails

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

A Basic guide to Active Record Commands

Reactions 5 Comments
2 min read
ActiveRecord Dependent Options

ActiveRecord Dependent Options

Reactions 8 Comments
5 min read
SQL undercover

SQL undercover

Reactions 2 Comments
2 min read
Cheat Sheet: ActiveRecord QueryMethods

Cheat Sheet: ActiveRecord QueryMethods

Reactions 7 Comments
2 min read
Rails SQL Views made easy ;)

Rails SQL Views made easy ;)

Reactions 5 Comments
1 min read
Sinatra: Accessing Data and Methods with {include:}

Sinatra: Accessing Data and Methods with {include:}

Reactions 2 Comments
3 min read
Group with ranges for ActiveRecord

Group with ranges for ActiveRecord

Reactions 5 Comments
2 min read
Polymorphic joins in Active Record

Polymorphic joins in Active Record

Reactions 12 Comments
3 min read
Track and fix excessive Active Record instantiation

Track and fix excessive Active Record instantiation

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

A Bit of Advanced ActiveRecord Querying - With Benchmarks

Reactions 16 Comments
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

Reactions 6 Comments
4 min read
Pagination in Rails from scratch (no gems)

Pagination in Rails from scratch (no gems)

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

Ruby Single Table Inherency (STI)

Reactions 6 Comments 2
1 min read
Build a Rails App with TiDB and the ActiveRecord TiDB Adapter

Build a Rails App with TiDB and the ActiveRecord TiDB Adapter

Reactions 3 Comments 2
3 min read
Get Active!...Record

Get Active!...Record

Reactions 4 Comments
3 min read
ActiveRecord Migration Rollback: learning the pitfalls of the `change` method the hard way

ActiveRecord Migration Rollback: learning the pitfalls of the `change` method the hard way

Reactions 3 Comments
3 min read
Understanding Active Record

Understanding Active Record

Reactions 6 Comments
3 min read
Sanitizing SQL in Rails/ActiveRecord

Sanitizing SQL in Rails/ActiveRecord

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

ActiveRecord's New Takes a Block, Kid

Reactions 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

Reactions 24 Comments 3
3 min read
Getting Started with Rails & TiDB

Getting Started with Rails & TiDB

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

How to access joined data with ActiveRecord

Reactions 14 Comments
5 min read
Understanding multiple joins in ActiveRecord

Understanding multiple joins in ActiveRecord

Reactions 18 Comments
5 min read
Phase 2

Phase 2

Reactions 7 Comments
3 min read
Understanding ActiveRecord left outer joins

Understanding ActiveRecord left outer joins

Reactions 10 Comments
5 min read
Understanding ActiveRecord inner joins

Understanding ActiveRecord inner joins

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

Module 2 Sinatra Project for Flatiron School

Reactions 6 Comments
3 min read
Design Patterns: Query Objects

Design Patterns: Query Objects

Reactions 4 Comments
3 min read
Active Record Callbacks Introduction

Active Record Callbacks Introduction

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

ActiveRecord Associations: The Beautiful and Complicated

Reactions 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

Reactions 2 Comments 2
7 min read
Immutable ActiveRecord

Immutable ActiveRecord

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

Bulk Update: Active Record Vs. native SQL

Reactions 10 Comments
5 min read
Resolving the ActionController::InvalidAuthenticityToken Error in a Rails/React App

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

Reactions 8 Comments 1
3 min read
Rails Intro::Mandalorian

Rails Intro::Mandalorian

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

It's a Mad, Mad World

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

Rails - Run Default Scope on All queries

Reactions 5 Comments
1 min read
Battling RecordNotUnique in Rails

Battling RecordNotUnique in Rails

Reactions 9 Comments 2
4 min read
Lakers < ActiveRecord::Base

Lakers < ActiveRecord::Base

Reactions 26 Comments 8
9 min read
Overview of Active Record Associations

Overview of Active Record Associations

Reactions 6 Comments
6 min read
Understanding Active Record Callbacks

Understanding Active Record Callbacks

Reactions 10 Comments
4 min read
A Take on Empowering ActiveRecord

A Take on Empowering ActiveRecord

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

Active Record Relations and Method Chaining

Reactions 6 Comments
2 min read
Ruby Cursor Pagination (1)

Ruby Cursor Pagination (1)

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

Making exceptions to ActiveRecord’s auto-pluralization

Reactions 6 Comments
3 min read
Rails N + 2 queries

Rails N + 2 queries

Reactions 32 Comments 6
7 min read
Rails signed IDs for ActiveRecord

Rails signed IDs for ActiveRecord

Reactions 6 Comments 2
2 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
Can I use has_secure_token in ActiveRecord?

Can I use has_secure_token in ActiveRecord?

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

Active Record find vs. find_by vs. where

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

Beginner: navigation on a dynamic website.

Reactions 8 Comments
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 13 Comments
2 min read
Update jsonb Columns Using The Rails Active Record Native Methods

Update jsonb Columns Using The Rails Active Record Native Methods

Reactions 8 Comments 2
1 min read
Refactoring Personal Data out of a Devise Model

Refactoring Personal Data out of a Devise Model

Reactions 7 Comments
4 min read
Rails Password Validation

Rails Password Validation

Reactions 9 Comments
2 min read
loading...