> For the complete documentation index, see [llms.txt](https://allfutures.leastbad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://allfutures.leastbad.com/examples.md). Agents can also search and read this documentation through its [MCP server](https://allfutures.leastbad.com/~gitbook/mcp).

# Examples

Small, copy-pasteable sketches of the patterns people actually ship. The long-form Beast Mode walkthrough still lives in [Faceted Search](https://allfutures.leastbad.com/examples/faceted-search.md).

| Example                                                                                    | What it shows                            |
| ------------------------------------------------------------------------------------------ | ---------------------------------------- |
| [Faceted Search](https://allfutures.leastbad.com/examples/faceted-search.md)               | Filter / paginate / sort like Beast Mode |
| [Multi-step form](https://allfutures.leastbad.com/examples/multi-step-form.md)             | Persist invalid state across steps       |
| [Versioned draft](https://allfutures.leastbad.com/examples/versioned-draft.md)             | History + `RecordStale`                  |
| [Embedded associations](https://allfutures.leastbad.com/examples/embedded-associations.md) | `embeds_many` / lazy load after find     |

Runnable Ruby for several of these also lives under [`examples/code/`](https://github.com/leastbad/all_futures/tree/master/examples/code/README.md) in the repo if you want something to `ruby`-execute against a local Redis.
