Events as first-class Rails citizens

Events in Funes aren’t a separate idea bolted onto Rails — they’re first-class citizens of the same stack you already use, at the same level as an ActiveRecord model. You wire them into the UI, the controller, the I18n files, and the request cycle the exact same way: ActiveModel validations, form_with, strong parameters, the persisted?/errors cycle, the same activemodel.attributes and activemodel.errors translation keys. Recording an event is one new method (append) layered on top of patterns you’ve used for years.

(If you’re new to the event class itself, see the Event concept for what an event is and how it differs from an ActiveRecord model.)

The pages below walk through the everyday Rails tasks where this parity shows up:

Going further


Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.