Ruby on Rails
Saturday, September 3, 2011
> But when I wanted to test in production, the paths to the assets changed
> back to the old format without the digest ( /images/image.png) . Even
> though I precompiled the assets.
>
You need to update /congig/environments/production.rb to reflect the
3.1 one.
To be more specific, — You need to add config.assets.digest = true
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment