Archive for the 'Ruby on Rails' Category

AssetTagHelper automated timestamping

Monday, April 10th, 2006

According to the Rails changelog, DHH added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images. So if you do something like: < %= stylesheet_link_tag 'style', :media=>“all” %> You’ll get something like: < link href="/stylesheets/style.css?1143638885" media="all" rel="Stylesheet" type="text/css" /> So if you’re seeing strange GET method style question marks all over your stylesheets, javascripts, [...]