No, this is not a real Sinatra error :).
This is the personal homepage of Elad Meidar, a web developer and an entrepreneur specializing in Ruby on Rails. I hang around in Israel, and i am currently having the best time of my life over at Fiverr.com
I am a proud member of RailsBridge, Helping new Rails developers get into our world and also contributed a few Patches to the Ruby on Rails core.
In the past few weeks i’ve been busy I18n’ing on of the applications i’m working on. As everyone already know and i assume also agree,
I18n’ing adult applications is a real PITA.
one of the problems i was facing is the need to find and replace a certain string that appeared in 30+ translation values. One option
was to go over one by one and replace that string with an interpolation key in the translations – after that working hard to also add that interpolation value to
every place one of the translation keys was called… shiish.
Lazy as i’m i thought it would have been nice if Rails knew how to grab default interpolation values from somewhere so i decided to give it a try
this is a first draft and a VERY ugly mixin i wrote that loads default values from SettingsLogic (in this case, edit your own):
i hope it helps.
You're seeing this error because I think it is funny.