search for: assets_dir

Displaying 3 results from an estimated 3 matches for "assets_dir".

2010 Jan 15
Dynamic Assets - can it be done?
I''m looking for 3 areas to work as dynamic assets: image_path, javascript_path, and stylesheet_path When I say dynamic, I mean that they will be dynamic through controller/models. I have been working through approx. 12 hours of searches to satisfy my answer to this question but am not finding much luck. The closest things I''ve found enabling this are use of config for
2008 Dec 10
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
2012 Sep 28
Overriding class_attribute writers and order of super/extend C.M./included block eval in ActiveSupport::Concern part of Concern that maybe could benefit from that being split up somehow?: actionpack/lib/abstract_controller/asset_paths.rb: module AbstractController module AssetPaths #:nodoc: extend ActiveSupport::Concern included do config_accessor :asset_host, :asset_path, :assets_dir, :javascripts_dir, :stylesheets_dir, :default_asset_host_protocol, :relative_url_root end end end Sorry if this is an uninformed way of looking at it. I guess if it was problematic it would have been solved already. Thanks for listening though. -- You received this message becaus...