just try rake assets:precompile Le vendredi 3 mai 2013 18:04:18 UTC+4, Ruby-Forum.com User a écrit : > > I'm reading now about assets in Rails. Because I got errors on Heroku > that my assets are not pre-compiled. On local machine everything works > fine, on Heroku they are not pre-complied. > > The guide says: > >> Starting with version 3.1, Rails defaults to concatenating all > JavaScript > >> files into one master .js file and all CSS files into one master .css > >> file. > >> In production, Rails inserts an MD5 fingerprint into each filename so > that > >> the file is cached by the web browser. > > Then I decide to see Rials sites in console: > http://guides.rubyonrails.org/ > http://edgeapi.rubyonrails.org/ > http://edgeguides.rubyonrails.org/ > http://edgeguides.rubyonrails.org/ > > No any fingerprints in assets names. They are not even from Sprockets > (no any ?body=1 at the end). > > So why Rails offers to others (sets as defaults!) what they do not use > themselves? > > -- > Posted via http://www.ruby-forum.com/. >
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0lyNNHNsXHcJ. For more options, visit https://groups.google.com/groups/opt_out.