Posts tagged sql

6 posts

Colleen Schnettler on Twitter

A tricky thing to remember in Active Record is how to query multiple associations vs. nested associations. Multiple associations take a list of symbols, nested associations take a hash with a symbol. pic.twitter.com/XhGiJdcH7h— Colleen Schnettler (@leenyburger) March 3, 2022

ebobby/has-many-with-set

An interesting variation on how to represent a many to many relationship in rails.

harelba/q

Under the right circumstances this is an amazingly useful tool