# AaronLasseigne/active_interaction

:briefcase: Manage application specific business logic.

Repository: https://github.com/AaronLasseigne/active_interaction
Canonical: https://ross.abutalabs.com/products/active_interaction
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, activemodel, service-object, method-object, command-pattern
Last push: 2025-11-28T22:34:24+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 54, release rhythm 28, longevity 100
- inputs: {"age_days": 4816, "days_push": 278, "days_rel": 577, "gap_med": 71, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2146, forks 146 (observed 2026-08-28T04:06:18.848405+00:00)

## What it is
ActiveInteraction is a Ruby gem for managing application-specific business logic through service objects that integrate seamlessly with Rails and ActiveModel. It validates typed inputs via filters before executing business logic, helping write safer, more organized code.

## Use cases
- encapsulate business logic in service objects in a Rails app
- validate and type-check inputs before running operations
- replace fat controllers with command objects
- compose complex workflows from smaller interactions
- handle form-like input processing with typed filters
- standardize error handling for business operations

## When to choose
- you're building a Rails or Ruby app and want structured service objects
- you need strict input validation and type coercion for operations
- you want a mature, well-maintained command-pattern library with ActiveModel integration

## When to avoid
- you're not using Ruby or Rails
- you need a full workflow engine or background job orchestration rather than synchronous service objects
- your team prefers plain POROs without a validation framework

## Facets
- artifact type: library
- maturity: stable
- function: middleware, form-handling, developer-tools
- domain: web-development, backend, developer-tools
- platform: ruby
- tags: service-objects, command-pattern, activemodel, business-logic, input-validation, rails, web-server

## Member repositories
- AaronLasseigne/active_interaction (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.848405+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:51:09.341853+00:00, confidence not recorded.
  - readme: https://github.com/AaronLasseigne/active_interaction (fetched 2026-08-28T04:06:18.848405+00:00, sha 0686eeeaf265)
- Data as of 2026-08-30T08:39:29.467469+00:00.
