I'm learning Ruby right now and I got stuck, maybe you guys can help me a bit.
I want to build a small app based on Sinatra that increments a value and prints it on different requests. You go to the root page and you get 1, if you refresh the page you get 2 and so on.
I have no ideea how to get the increment to happen only on refresh
Thanks