Displaying 4 results from an estimated 4 matches for "rewrite_asset_path".
2008 Aug 01
2
image_path without timestamp
Every time I use an asset tag helper, there is a parameter appended to
the end of my file name.
e.g. <input src="/images/search.gif?1213816620" type="image" />
From what I am reading, this appears to be a timestamp for caching
purposes. It works in most cases, but I want to use image_path to embed
a flash file.
.swf file in public/images/flash
e.g.
2008 Dec 10
12
image_tag cannot show picture
Dear all
I am new to rails.
In view, I place the following code, but cannot show the picture in the
webpage
<%= image_tag("green.JPG") %>
However, I can access the picture in this url
http://localhost:3000/images/green.JPG
The HTML source code generated
<img alt="Green" src="/images/green.JPG.?1228211220" />
I cannot identify the problem. Please help
2011 Oct 25
0
Sprocket Digest + Debug combination broken?
...sset'' sprockets (2.0.3)
lib/sprockets/index.rb:48:in `find_asset'' sprockets (2.0.3)
lib/sprockets/base.rb:110:in `[]'' actionpack (3.1.1)
lib/sprockets/helpers/rails_helper.rb:141:in `digest_for'' actionpack (3.1.1)
lib/sprockets/helpers/rails_helper.rb:154:in `rewrite_asset_path'' actionpack
(3.1.1) lib/action_view/asset_paths.rb:27:in `compute_public_path''
actionpack (3.1.1)
lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb:64:in
`path_to_asset'' actionpack (3.1.1)
lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers....
2011 Mar 16
1
Help overriding rescue_action_in_public in Rails 3
...ms/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:794:in `join''
/var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:794:in `rails_asset_id''
/var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:817:in `rewrite_asset_path''
/var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:746:in `compute_public_path''
/var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:424:in `path_to_stylesheet''
/var/lib/gems/1.8/gems/actionpack-3.0.5/...