The article covers most important security issues (based on OWASP cheatsheet) of applications built on Ruby on Rails and gives few tips how to prevent them.
In the majority of the Rails applications or even Ruby gems you can find a lot of use cases where you need to memoize a result of some computation for performance benefits and to not compute it again if this result has already been computed. Seems like doing the assignment to some instance variable with
||= operator is the most commonly used solution for this purpose, e.g.
@result ||= do_some_heavy_computation. However, there are some cases where it might not produce the expected outome and you should actually use
defined? operator instead. [Read more]
A mock server to easily setup mock responses for HTTP URLs. Can be Used to test client applications manually and using automation. https://github.com/mvemjsun/mock_server