> 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).

# Examples

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

| Example                                                     | What it shows                            |
| ----------------------------------------------------------- | ---------------------------------------- |
| [Faceted Search](/examples/faceted-search.md)               | Filter / paginate / sort like Beast Mode |
| [Multi-step form](/examples/multi-step-form.md)             | Persist invalid state across steps       |
| [Versioned draft](/examples/versioned-draft.md)             | History + `RecordStale`                  |
| [Embedded associations](/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.
