Hi,
Use render_to_string (ActionController::Base) and write
string to file
Att.,
Romeu
-----Mensagem original-----
De: rails-bounces lists.rubyonrails.org
[mailto:rails-bounces lists.rubyonrails.org] Em nome de Chris
Enviada em: quinta-feira, 17 de agosto de 2006 09:08
Para: rails lists.rubyonrails.org
Assunto: [Rails] How to save output "render
:action=>:any_action" to a file?
I need to save the output of my rails app to a file. i.e.
instead of
rendering a page when using "render
:action=>:any_action" i want the
output to be saved to a file.
Anyone got any ideas?
Thanks
Chris
--
Posted via http://www.ruby-forum.com
/.
_______________________________________________
Rails mailing list
Rails lists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.1/421 - Release
Date: 16/8/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.1/421 - Release
Date: 16/8/2006
_______________________________________________
Rails mailing list
Rails lists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
|