Hello,

I'm trying to upload my ruby on rails app to heroku. My app contains date 
and time active_scaffold columns.

when trying to deploy (*git push heroku master*) I get this precompile 
error:
*translation missing: en.time.formats.picker*

Setting *config.assets.initialize_on_precompile = true *solves this problem 
but cases another, and indeed I visited Heroku 
troubleshooting<https://devcenter.heroku.com/articles/rails3x-asset-pipeline-cedar#the-asset-pipeline>
 and 
it says to turn off assets initialization on precomplie 
(config.assets.initialize_on_precompile = false)

This seems like a terrible catch! What should I do?

Any help will be appreciated (BTW does Heroku have a support or bug report 
contact email? Couldn't find any...)
 
my config/production.rb:

> *config.assets.initialize_on_precompile = false
> **config.assets.compile = true*

... 


my config/locales/en.yml:

> *en:
> **  time:
> **    formats:
> **      picker: "%a, %d %b %Y %H:%M:%S"
> **      default: "%d-%b-%Y %I:%M %p"
> **  date:
> **    formats:
> **      default: "%d-%b-%Y"*


Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to