Re: [Rails] Can I drop-in a Ruby script and execute it within one of my Rails pages?

2011-11-13 Thread Norm Scherer
On 11/12/2011 10:38 AM, echo printer wrote: Is it possible to drop a Ruby script (around 50 lines) into one of your Rails pages? I am experimenting with doing this but I haven't had any luck in finding out how. As Colin Law said you cannot execute it in the browser but there are probably o

Re: [Rails] Can I drop-in a Ruby script and execute it within one of my Rails pages?

2011-11-13 Thread Colin Law
On 12 November 2011 17:38, echo printer wrote: > Is it possible to drop a Ruby  script (around 50 lines) into one of your > Rails pages? I am experimenting with doing this but I haven't had any luck > in finding out how. > An example of what I am trying to do is to place a script like > this https

[Rails] Can I drop-in a Ruby script and execute it within one of my Rails pages?

2011-11-13 Thread echo printer
Is it possible to drop a Ruby script (around 50 lines) into one of your Rails pages? I am experimenting with doing this but I haven't had any luck in finding out how. An example of what I am trying to do is to place a script like this https://github.com/johnyerhot/rquote/blob/master/lib/rquote