I've inherited an app that uses a lot of Service Objects, which inherit from ApplicationService: class ApplicationService class InternalServiceErro ...
I've inherited an app that uses a lot of Service Objects, which inherit from ApplicationService: class ApplicationService class InternalServiceErro ...
I'm looking to build an OPOS Service Object (SO) virtual printer for a POS application to capture shopping receipts. If somebody could advise steps fo ...
search_handlers_controller.rb MatchService.rb in /services: Error when calling MatchService from SearchHandlersController#match: ...
I have the Worker with an action with some code and 3 calls of Service Objects in it. 2 Service Objects for saving data to base during different state ...
I'm trying to move some business logic out of one of my controllers, StoreController and into a new Store::CreateService service object. Learning abou ...
I wanted to move def track_item_added from model into service object. Model: and my service object that now in object service was in def track_i ...
I want to add service objects in to my controller. However destroy action seems didn't work properly - basically it doesn't delete anything just redir ...
I want to add service objects in to my controller. Is there any chance to include flash messages in to this service object? user_stocks_controller ...
I am trying to forward an action to another controller through the service object methodology in rails 5.2. The create action should pass the user id ...
This is the code from my service object app/services/grab_feed_from_jse.rb: When I do a pry at the end of that file, this is the response I get: ...
I have the following job: and the service looks like this: I am trying to test it with the following spec: Why is it that avariable value ke ...
I am making a rails json api which uses service objects in controllers actions and basing on what happend in service I have to render proper json. The ...
I created this class for assembling the text based on the length of the product attributes for sharing on twitter. My questions: Is this the good ...
I'm trying yo create a service object to extract a few methods from the product.rb AR model, but for some reason I can't autoload the new TwitterShare ...
I have a colleague that likes to pass off the controller into a service object. For example a controller method might look the following way: the s ...
In this service for an eventListener, it used the tags item: What is the goal of tags item? How define the name (name:kernel.event_listener) ...
An example MSR OPOS Service Object I am writing was not initializing properly. I am adding this question to help others who run into the same problem ...
I'm trying to call a method I defined in registration_insert.rb from my controller but I keep getting the following error: undefined method `i ...
I am currently trying to use a Devise helper inside a service object But I get Any idea how to use such a helper inside the service object? ...
I have a FormObject for registration which creates a user and a lot of models for him inside create method. I met the strange behaviour of my FormO ...