search for: johnyerhot

Displaying 2 results from an estimated 2 matches for "johnyerhot".

2011 Nov 12
2
Can I drop-in a Ruby script and execute it within one of my Rails pages?
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.rb and see if I can''t drop it into a page like this simple view I made in Rails and have it print out the(stock) info on the page. I''ve already gotten it to print out a "Hello World" so I know everything is set up and running properly, ju...
2008 Jan 11
18
getting started
Hey all, Been reading through all the old posts (and the docs) to familiarize myself but I still feel a bit lost. I''m on trunk and am having a bit of a hard time knowing where to start with the particular I''m trying to solve. So far, I''ve downloaded backgroundrb, done the basic rails setup, created my worker and started it using `script/backgroundrb start`.