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