search for: target_fold

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

Did you mean: target_file
2007 Aug 23
2
Render partial from Backgroundrb worker?
Hi, I have a long running task which generates JavaScript to files and I am hoping to move this to a backgroundrb worker. The javascript is currently generated with call to render_to_string: File.open(File.join(target_folder, ''all.js''), "w") do |file| file.puts(render_to_string :partial => ''partials/shared/javascript/tags'', :locals => { :namespaces => @namespaces, :tags => @tags, :parent_tags => @parent_tags, :show_counts => true }) end It seems that...