search for: save_html

Displaying 4 results from an estimated 4 matches for "save_html".

2006 Mar 13
0
Upload progress problem with Ajax component
...3 I did some debugging and it appears that the Ajax updater call happens twice after I initiate the upload action, and then no more calls to upload_status occur. However, when the upload completes, then all of the Ajax updater calls begin to happen per the degradation schedule. Also, when the save_HTML (the actual upload method) completes, the view save_HTML.rhtml does not get called. It''s like something gets stuck and doesn''t return control back to the browser when it should and therefore the progress bar can''t be updated. I''m not sure what is wrong here -...
2006 Mar 13
2
Newbie: Can''t get file to upload
...thing to work, I thought that I would revert back to a regular file upload scenario. I have a very simple file upload form set up. It appears that my file parameter is coming into the controller as a string, not a file object. Here''s my view: <%= form_tag :action => ''save_HTML'', :multipart => ''true'' %> <%= file_field ''eSimplyJob'', ''file'' %> <P> <%= submit_tag "Upload" %> </P> <%= end_form_tag %> Here''s my controller method: pub...
2006 May 29
2
save view to file
Hi, I am trying to figure out a way to save the view of an action to a file. I have an action call makehtml. It gets data from a database and create a view that display the result in a browser. I would like to save that result view page to a file in public/htmls for example. Does anyone know how I can do this? Thanks for all your help in advance. -- Posted via http://www.ruby-forum.com/.
2006 Mar 22
2
Successfully importing Rubyful Soup objects
All, At the top of my controller, I have: require ''rubygems'' require_gem ''rubyful_soup'' The rubyful_soup gem has been successfully installed. However, when I go to instantiate a class from it, using parser = BeautifulSoup.new(html) I get uninitialized constant BeautifulSoup Is there something else I need to do to see the symbols in the Rubyful Soup gem?