A tool to run the "last comment" n+1 examples
An example to build a form with nested fields using a form object (ActiveModel::Model)
This is an example of using scoped associations with Active Record, from Ruby on Rails, to preload already filtered associations.
A combination of examples to compare `count`, `size`, `length` and different methods of counts preloading.
Examples to explore possible race conditions when caching custom computed values
Repositorio con las canciones del coro VBRCM
Decoupled blog example using Rails
File-backed models for Rails. Similar to ActiveRecord but reads from markdown files with YAML frontmatter.
The new design of jazz controls
10 Examples to learn when you ActiveRecord query will be executed
Quiz to practice the difference between preload, includes or eager_load
Example of a "inline" CRUD with rails and hotwire
Example of working with remote modals and forms using Hotwire and bootstrap
A tool for to run active record examples
Examples to learn the difference between preload, includes or eager_load
Sample of the examples for the book "Avoid n+1 queries on rails"
App to help you test/experiment with the tools to help you detect n+1 queries.
The Decoupled blog example using sequel datasets
Gato (tic tac toe) written in coffeescript just for fun =)
An example of a decoupled CRUD
Just to try spine.js
Benchmark for the fixes to the latest-comment n+1 problem
Here is an example of a simple way to do it when you can use the `id` column to sort the records.
Dynamic filters with rails and hotwire example app
This is a simple template to help you play with Active Record, when you don't need or don't want to create a full Rails app.
A little example of a todo list app using Hotwire
An expenses registration app as an example of using a form object
Extracting helpers to build dynamic tables with hotwire
Examples for the book "Avoid n+1 queries on rails"
The decoupled blog example now using PStore
An app to use as an example of Commentator ... also I want it to work as a place to the people share about arduino projects.
Project for active record class
The decoupled blog example now using sequel instead of an in-memory store
Advent of Code 2020
A widget to include comments in your app
Example on how to render a react component from an stimulus controller