Skip to content

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.

License

Notifications You must be signed in to change notification settings

nhorton/activeinteractor

 
 

Repository files navigation

ActiveInteractor

Version Build Status Maintainability Test Coverage Yard Docs Inline docs License

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. Checkout this Medium article for a crash course on how to use ActiveInteractors. Read the wiki for detailed usage information.

Features

Documentation

Be sure to read the wiki for detailed information on how to use ActiveInteractor.

For technical documentation please see the gem's ruby docs.

Install

Add this line to your application's Gemfile:

gem 'activeinteractor', require: 'active_interactor'

Or install it yourself as:

gem install activeinteractor

Contributing

Read our guidelines for Contributing.

Acknowledgements

ActiveInteractor is made possible by wonderful humans.

License

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

About

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.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.0%
  • Other 1.0%