ActiveInteractor

ActiveInteractor

ActiveInteractor is an implementation of the command pattern for Ruby with ActiveModel::Validations inspired by the interactor gem. Rich support for attributes, callbacks, and validations, and thread safe performance methods.

Reduce controller bloat with procedural service objects.

Features

  • Self Documenting
  • Argument Validation
  • Callbacks

Install

Add this line to your application's Gemfile:

gem 'activeinteractor'

Or install it yourself as:

gem install activeinteractor

License

The gem is available as open source under the terms of the MIT License.