search for: joined_asset_path

Displaying 1 result from an estimated 1 matches for "joined_asset_path".

2008 Jun 02
0
stylesheet_link_tag, javascript_include_tag, caching problems
...what occurs when the files already exist ... even if I''ve changed my list of js/css files to something completely different, it won''t rewrite the file if it already exists ... Do we really need the unless in this block? (asset_tag_helper.rb) def write_asset_file_contents(joined_asset_path, asset_paths) unless file_exist?(joined_asset_path) FileUtils.mkdir_p(File.dirname(joined_asset_path)) File.open(joined_asset_path, "w+") { |cache| cache.write(join_asset_file_contents(asset_paths)) } end end --~--~---------~--~----~----...