All Projects → collectiveidea → Interactor Rails

collectiveidea / Interactor Rails

Licence: mit
Interactor Rails provides Rails support for the Interactor gem.

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Interactor Rails

Tomatoes
Pomodoro Technique® online time tracker
Stars: ✭ 344 (-6.78%)
Mutual labels:  rails
Migration data
Safely migrate data in ActiveRecord migrations and keep them up to date.
Stars: ✭ 354 (-4.07%)
Mutual labels:  rails
Isolator
Detect non-atomic interactions within DB transactions
Stars: ✭ 362 (-1.9%)
Mutual labels:  rails
Wechat Starter
Template for developing wechat in rails
Stars: ✭ 347 (-5.96%)
Mutual labels:  rails
Algoliasearch Rails
AlgoliaSearch integration to your favorite ORM
Stars: ✭ 352 (-4.61%)
Mutual labels:  rails
Diplomat
A HTTP Ruby API for Consul
Stars: ✭ 358 (-2.98%)
Mutual labels:  rails
Spree i18n
I18n translation files for Spree Commerce.
Stars: ✭ 338 (-8.4%)
Mutual labels:  rails
Socify
🚀 Socify is an open source social networking platform written in Ruby on Rails
Stars: ✭ 363 (-1.63%)
Mutual labels:  rails
App perf
Open source application performance monitoring tool with emphasis on ease of setup and use. Providing similar functionality like NewRelic/AppNeta/Skylight etc.
Stars: ✭ 353 (-4.34%)
Mutual labels:  rails
Loaf
Manages and displays breadcrumb trails in Rails app - lean & mean.
Stars: ✭ 360 (-2.44%)
Mutual labels:  rails
Reports kit
Beautiful, interactive charts and tables for Ruby on Rails
Stars: ✭ 349 (-5.42%)
Mutual labels:  rails
Rails performance
Monitor performance of you Rails applications
Stars: ✭ 345 (-6.5%)
Mutual labels:  rails
Gravatar image tag
A configurable and documented Rails view helper for adding gravatars into your Rails application
Stars: ✭ 359 (-2.71%)
Mutual labels:  rails
Commit Watcher
Find interesting and potentially hazardous commits in git projects
Stars: ✭ 345 (-6.5%)
Mutual labels:  rails
Aprenda Rubyonrails
🇧🇷 Recursos para aprender Ruby e Rails
Stars: ✭ 363 (-1.63%)
Mutual labels:  rails
Api.rss
RSS as RESTful. This service allows you to transform RSS feed into an awesome API.
Stars: ✭ 340 (-7.86%)
Mutual labels:  rails
Bootstrap Generators
Bootstrap-generators provides Twitter Bootstrap generators for Rails
Stars: ✭ 355 (-3.79%)
Mutual labels:  rails
Railstrap
RailStrap is a HTML5 Ruby On Rails 4 Ruby 2.0.0 bootstrap
Stars: ✭ 365 (-1.08%)
Mutual labels:  rails
Solidus
🛒Solidus, Rails eCommerce System
Stars: ✭ 3,985 (+979.95%)
Mutual labels:  rails
Orientation
Your best weapon in the fight against outdated documentation.
Stars: ✭ 361 (-2.17%)
Mutual labels:  rails

Interactor Rails

Gem Build Coverage Maintainability

Interactor Rails provides Rails support for the Interactor gem.

Installation

Add this line to your application's Gemfile:

gem "interactor-rails", "~> 2.0"

Interactor Rails is compatible with Ruby 2.3, 2.4, or 2.5 on Rails 4.2, 5.0, 5.1, 5.2 or 6.0.

Usage

Interactor Rails ensures that app/interactors is included in your autoload paths, and provides generators for your convenience.

rails generate interactor authenticate_user

adds to app/interactors/authenticate_user.rb:

class AuthenticateUser
  include Interactor

  def call
    # TODO
  end
end

There is also a generator for organizers.

rails generate interactor:organizer place_order charge_card send_thank_you fulfill_order

adds to app/interactors/place_order.rb:

class PlaceOrder
  include Interactor::Organizer

  organize ChargeCard, SendThankYou, FulfillOrder
end

Contributions

Interactor Rails is open source and contributions from the community are encouraged! No contribution is too small.

See Interactor Rails' contribution guidelines for more information.

Thank You!

A very special thank you to Attila Domokos for his fantastic work on LightService. Interactor is inspired heavily by the concepts put to code by Attila.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].