diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-29 20:57:53 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-29 20:57:53 +0000 |
commit | 91383e04265f41c3a8ae9411b05384b7ef2a36c1 (patch) | |
tree | 25721929570e07f35e318c3652dee7ac3e5fcb90 /actionpack/CHANGELOG | |
parent | 23fa0395d8d6b0365421b5dea9e5620b95c6b15c (diff) | |
download | rails-91383e04265f41c3a8ae9411b05384b7ef2a36c1.tar.gz rails-91383e04265f41c3a8ae9411b05384b7ef2a36c1.tar.bz2 rails-91383e04265f41c3a8ae9411b05384b7ef2a36c1.zip |
Added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images when Action Controller is run under Rails [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 82294a9299..7b3b44f7cb 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,3 +1,16 @@ +*SVN* + +* Added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images when Action Controller is run under Rails [DHH]. Example: + + image_tag("rails.png") # => '<img alt="Rails" src="/images/rails.png?1143664135" />' + + ...to avoid frequent stats (not a problem for most people), you can set RAILS_ASSET_ID in the ENV to avoid stats: + + ENV["RAILS_ASSET_ID"] = "2345" + image_tag("rails.png") # => '<img alt="Rails" src="/images/rails.png?2345" />' + + This can be used by deployment managers to set the asset id by application revision + *1.12.0* (March 27th, 2005) * Add documentation for respond_to. [Jamis Buck] |