Is it possible with RoR? In my case this shared Hashtable is a language translation table for several hundred terms, and does not need to be updated. I would like it to be shared in order to avoid loading it once for each session.
Thanks, Marcus O.
Why don’t you define it as a constant and initialize it in environment.rb?
Kent S. wrote:
Hi Kent, sorry for my late reply, well, your suggestion works just fine, thank you!
Best regards, Marcus Ob.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.