百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

activeinteractor

> 后端框架
开源

基于 interactor gem 灵感创建的针对 Ruby 的命令模式实现,ActiveModel::Validations 提供了对属性、回调和验证的丰富支持

173 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

基于 interactor gem 灵感创建的针对 Ruby 的命令模式实现,ActiveModel::Validations 提供了对属性、回调和验证的丰富支持

ActiveInteractor

[!WARNING] This gem is no longer maintained. Please consider using domainic-command as an alternative. 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

  • Context validation
  • Callbacks
  • Thread safe performance calls
  • Organize multiple interactors conditionally or in parallel

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:

ruby
gem 'activeinteractor', require: 'active_interactor'

Or install it yourself as:

bash
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.

Issues· 3 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubycommand-patterninteractor-railsrailsruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架