From: Phlip Date: 2007-09-15T14:10:09+09:00 Subject: Re: Source a javascript and stylesheet into rhtml file 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! -- Phlip