Im starting with Ruby and our team leader sends us to learn Sinatra, reloading the application changes is been done by Shotgun, my problem now is that i have a Singleton entity which i would love to keep states between request, but aparently Shotgun restarts is every request.
Any Help or Explanation on this would be apreciated,
Thanks in advance.
For sessions to persist with Shotgun you need to set the key... Otherwise it is reset with every page load.