The project is in a healthy, maintained state
action_processor
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Runtime

 Project Readme

ActionProcessor

Micro framework to implement service objects in a more logical and consistent way.

The idea of this gem was formed over the years when authors worked on multiple complex real-world Rails applications. The service objects is in a nutshell of it.

Some conventions, examples and reasoning behind could be found in wiki.

Work in progress!

Since currently the gem published as a draft it comes with very restrictive dependencies (Rails 7). But the code itself is very compact, just two files (we recommend to review them to understand the logic better):

So you can easily copy-paste them right into you existing application and make it work in virtully any environment. We usually place them in Rails.root("app/processors/action_processor") folder, while all processors tree kept inside Rails.root("/app/processors") root.

Installation

  gem 'action_processor'

Quick start

Wiki, work in progress