Gregory Seidman
9/15/2007 2:36:00 PM
On Sat, Sep 15, 2007 at 02:24:59PM +0900, James Britt wrote:
> Phlip wrote:
>> Tim Trampedach wrote in message ne>>> I'm trying to do a quick dump of a javascript and style sheet located in
>>> their respective /public directories into an rhtml file.
>> <%=h File.read(RAILS_ROOT + '/public/javascript/my_source.js') %>
>> This is half introductory Ruby and half introductory Rails, so one might
>> consider reading a little of the excellent books on these subjects,
>> offline, for a while!
>
> Rails questions are better directed to Rails mailing list, where you'll get
> better, faster, information.
While Philip may have assumed that Tim was using Rails, there was nothing
in the original post to indicate that Rails is involved. It's just ERB to
produce HTML (in this case with embedded JS and CSS), which comes up in
other contexts.
> James Britt
--Greg