DEV Community

# activerecord

Posts

ūüĎč Sign in for the ability to sort posts by relevant, latest, or top.
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
Sinatra and Active Records to Perform CURD Actions

Sinatra and Active Records to Perform CURD Actions

Comments
4 min read
Active Record Validations

Active Record Validations

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

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

Otimizando consultas no banco de dados com o Rails

1
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 1
3 min read
Preloading associations on an Array of Objects

Preloading associations on an Array of Objects

6
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
Ruby...Covered in CRUD.

Ruby...Covered in CRUD.

6
Comments
6 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
Active Record Tables with Rake

Active Record Tables with Rake

5
Comments
4 min read
Getting started with ActiveRecord

Getting started with ActiveRecord

Comments
4 min read
Ruby Active Record Cheat Sheet

Ruby Active Record Cheat Sheet

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

2
Comments
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

12
Comments
4 min read
Ruby on Rails ActiveRecord Validations

Ruby on Rails ActiveRecord Validations

16
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

10
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

6
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

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

Optimización de queries en Rails

18
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

9
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 ;)

5
Comments 1
1 min read
Polymorphic joins in Active Record

Polymorphic joins in Active Record

20
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

24
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

6
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
Build a Rails App with TiDB and the ActiveRecord TiDB Adapter

Build a Rails App with TiDB and the ActiveRecord TiDB Adapter

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

Get Active!...Record

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

3
Comments
3 min read
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
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
loading...