cypriss/mutations
View on GitHub ↗ ★ 1,392 Ruby
Compose your business logic into commands that sanitize and validate input.
6 mentions on Hacker News by 6 people: 2 stories, 4 comments · first 2013-08-11 · latest 2019-05-18
20082026
-
We use this library to isolate business logic: https://github.com/cypriss/mutations
comment by Railsify · 2019-05-18 · in On logic in a Rails app, revisited 6 years later -
…mentioned in this article. One major advantages of Mutations, is that is also does input filtering. https://github.com/cypriss/mutations
comment by edwinvlieg · 2014-03-03 · in Rails – The Missing Parts -
…in APIs. Some of the more popular interactor gems: https://github.com/orgsync/active_interaction https://github.com/cypriss/mutations
comment by Axsuul · 2014-03-03 · in Rails – The Missing Parts -
…baked in. instead of just "drag-n-drop" model code to concerns/mixins/..., have a look at https://github.com/cypriss/mutations to extract business logic in a clear way. This was just a life-saver for my team, this should be preferred over…
comment by anonyfox · 2013-08-11 · in Ask HN: What do you want to see in Rails 4.1?