18 ms·
I like the interactor gem but don't understand why the method activating it is "perform". Why isn't it "call" so it can be swapped out with a lambda, or method
by dablweb 13y ago
I like the interactor gem but don't understand why the method activating it is "perform".
Why isn't it "call" so it can be swapped out with a lambda, or method reference without hassle?
- dablweb 13y agoAs in this article. http://blog.arkency.com/2014/02/rails-refactoring-the-aha-moments/ http://blog.arkency.com/2014/02/rails-refactoring-the-aha-mo... Services should be run with call.