I want to write a ruby script that I can launch via a cron job
once a night.
This script would need to access a rails app that've created, it
would need to render a xml builder view in the app to text and save
the text as a xml file.
I've already written the rails view and and I have corresponding
Is it possible to run a rails controller action from a ruby file
and saves its output to a file? Does anyone have any examples of how
one might do this? If you can’t run a controller action, is there
anyway to render a rails view to text from a ruby script?
Thanks in advance, Janak