Setup a Rails Project with Postgres and DockerUpdate (September 2023): Rails projects using fixtures will need one additional permission for the Postgres role. See initialization section…
ReadUnderstanding ActiveRecord Dependent OptionsRails makes defining relationships between models using Active Record associations super easy. Simply add a macro style declaration such as…
ReadOld Ruby and New MacPicture this scenario - you're a Rails developer that just got one of the new M1 or M2 Macs and are enjoying the performance boost and…
ReadDistinct GraphQL Query with Gatsby 5If you're building a website or web application with Gatsby, you might come across a situation where you need to perform a distinct query…
ReadActiveRecord JSON Column with MySQL and MariaDBWhen using a relational database, it can be convenient to occasionally store some data as JSON in a table column. As of MySQL 5.7.8, the…
Read