Skip to content
Snippets Groups Projects
Commit 628d641b authored by Ruben Davila's avatar Ruben Davila
Browse files

Disable FastGettext from translating AR attrs.

It isn't working fine when using POROs in forms like WikiPage,
the following error is being raised: undefined method `abstract_class?' for Object:Class
parent dbd1bdae
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -40,6 +40,9 @@ module Gitlab
# config.i18n.default_locale = :de
config.i18n.enforce_available_locales = false
 
# Translation for AR attrs is not working well for POROs like WikiPage
config.gettext_i18n_rails.use_for_active_record_attributes = false
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment