Please note that the problem introduced here and the technique proposed to
solve it can be applied for any RESTful web application. The post might be
using Rails terminologies/expressions/code only for demonstration.