ruby on rails - How to add time format to locale on production? -


i use activeadmin gem , here error when try access site: actionview::template::error (translation missing: ru.time.formats.long). same error in development mode on local computer, , add

time:   formats:     long: "%y-%m-%d %h:%m:%s" 

to activeadmin original ru locale in external libraries. no good, know. in production can't this. tried add format config/locales in app, nothing happen. how add it?

update i'm sorry stupid question leave here. problem solved adding format locale in config/locales , server restart

problem solved adding format locale in config/locales

time:   formats:     long: "%y-%m-%d %h:%m:%s" 

and server restart


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -