aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-11-27 06:11:23 +0000
committerMarcel Molina <marcel@vernix.org>2007-11-27 06:11:23 +0000
commit69165404beb9286ca8953b1575b24c54107260ad (patch)
tree11c52db40375bbf43045946dd89ad5d479e2f21c /actionpack
parentc7e39691899b080a451a4c94a3632cada5ab0750 (diff)
downloadrails-69165404beb9286ca8953b1575b24c54107260ad.tar.gz
rails-69165404beb9286ca8953b1575b24c54107260ad.tar.bz2
rails-69165404beb9286ca8953b1575b24c54107260ad.zip
Asset timestamps are appended, not prepended. Closes #10276 [mnaberez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb4
2 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index a8762b2730..f357945ed9 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Asset timestamps are appended, not prepended. Closes #10276 [mnaberez]
+
* Minor inconsistency in description of render example. Closes #10029 [ScottSchram]
* Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods. [rick]
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
index 441f0dea39..da8ebb06dd 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -41,7 +41,7 @@ module ActionView
#
# === Using asset timestamps
#
- # By default, Rails will prepend all asset paths with that asset's timestamp. This allows you to set a cache-expiration date for the
+ # By default, Rails will append all asset paths with that asset's timestamp. This allows you to set a cache-expiration date for the
# asset far into the future, but still be able to instantly invalidate it by simply updating the file (and hence updating the timestamp,
# which then updates the URL as the timestamp is part of that, which in turn busts the cache).
#
@@ -55,7 +55,7 @@ module ActionView
# </FilesMatch>
#
# Also note that in order for this to work, all your application servers must return the same timestamps. This means that they must
- # have their clocks synchronized. If one of them drift out of synch, you'll see different timestamps at random and the cache won't
+ # have their clocks synchronized. If one of them drift out of sync, you'll see different timestamps at random and the cache won't
# work. Which means that the browser will request the same assets over and over again even thought they didn't change. You can use
# something like Live HTTP Headers for Firefox to verify that the cache is indeed working (and that the assets are not being
# requested over and over).