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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -