T
Tim Trampedach
Hi all,
I'm trying to do a quick dump of a javascript and style sheet located in
their respective /public directories into an rhtml file. I want to
include the entire text of the file in my rhtml file. How do I do this
quickly and efficiently? In PHP there's readfile, but I can't figure out
an equivalent call in ruby.
Thanks so much in advance!
Tim
I'm trying to do a quick dump of a javascript and style sheet located in
their respective /public directories into an rhtml file. I want to
include the entire text of the file in my rhtml file. How do I do this
quickly and efficiently? In PHP there's readfile, but I can't figure out
an equivalent call in ruby.
Thanks so much in advance!
Tim