chipairon / i18nline-rails

Translation management engine for Rails applications.
MIT License
0 stars 0 forks source link

Add an option to disable logging of AR queries done for translations #21

Closed chipairon closed 10 years ago

chipairon commented 10 years ago

I have mixed feelings. If someone is using the gem and there are a lot of database hits, this is slowing the loading time of the view. Once the translations are done, the values are stored in memory, and then no longer is a problem.

So I understand the desire to hide this queries that may clutter the log on development until the translations are done, but we can trick ourselves in believing that is OK to have untranslated translations, because this will hide the queries...

I am not doing this right now, but the discussion can be reopened here.

chipairon commented 10 years ago

We are moving to REDIS. This won't be a problem anymore.