Displaying 1 result from an estimated 1 matches for "export_project".
2006 Jun 08
1
Shelling out from an action with ``?
...ion. It looks something like this:
def prepare_project
@project = Project.find_by_id(params[:id])
logger.info("Exporting project...")
`wget blah blah`
`zip blah blah`
flash[:notice] = "Exported project successfully."
redirect_to :action => ''export_project'', :id => @project.id
end
The app hits this method and does indeed end up on export_project,
rendering that view... but it never seems to do the wget or zip stuff,
or even log! Can anyone please point me toward a solution?