Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I easily save the HTML pages of my Rails app, to give to Designer?
    primarykey
    data
    text
    <p>I am working on a Rails app, and a designer is designing the raw HTML pages separately. Its tough to get his environment set up to use the application directly, so I would like to be able to somehow "store" the HTML of all of the pages that my application generates, to a directory somewhere to that I can pass the curent version off to the designer. </p> <p>Does anyone know of a gem or rake task that would help me do something likee this? </p> <p>I am also open to other suggestions for working in parallel with designers who don't know rails.</p> <p>Thanks</p> <p><strong>Edit</strong></p> <p>I guess an amendment to my question, would be, does anyone also know of ways of generating the list of page links to feed to wget, other than going through them by hand</p> <p><strong>Edit 2</strong></p> <p>Just thinking out loud... to generate every possible page in an app, you'd need to call every action in every controller. So i'd need a program to find which controllers exist in all of my app/gems/plugins, and then find all of the public methods in them.. Or.. maybe I could just use the actions that are routable from the list of routes</p> <p>Then, you might want to filter out the actions that didn't render html</p> <p>Then you might want to filter out destructive actions (unless this program ran in a test environment, and rebuilt the system every time). </p> <p>Then as many actions depend on the parameters that are supplied, you'd need to have control over which parameters are sent to each action...</p> <p>Then you'd also have to be able to send session cookies to log in</p> <p>what else..</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload