Tutorials
Build Messaging Between Ruby/Rails Applications with ActiveMQ
One of the tools that are rarely covered in the Ruby/Rails world are the message brokers (probably because they mostly written in Java). Everyone are familiar mostly with background jobs processing, but message brokers offer a more flexible approa...
How to test Ruby methods that involve puts or gets
What makes the ask_for_number method challenging to test is a dependency. Most methods can be tested by saying, âWhen I pass in argument X, I expect return value Y.â This one isnât so straightforward though. This is more like âWhen the user sees o...