Description:
The Ruby dynamic OO programming language.
|
|
|
I can't seem to find an easy way to set Net::HTTP GET params
|
| |
Hello, I'm sure this is a newb question, but I've spent the last two hours trying to figure out how to set the query paramters on an HTTP GET request. Right now I am doing something like this: def call() Net::HTTP.start(@base_url) do |http| response = http.get(@uri) puts "Code = #{response.code}"... more »
|
|
Windows 7 can't install rails...
|
| |
I'm sorry to be so ignorant, but; I can't seem to get started and learn more. c:\ruby\bin>gem install rails ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 403 c:\ruby\bin>gem list --remote *** REMOTE GEMS *** ERROR: While executing gem ... (Gem::RemoteSourceException)... more »
|
|
Blank lines in terminal
|
| |
I have an IRC bot I wrote, and I would like to have it so that in the console window, the bottom one or two lines are always blank. In other words, I want puts/print to output to the second line from the bottom instead of the bottommost line. I am aware that this could be done with curses/ncurses, but I have been... more »
|
|
newbie question
|
| |
Hello I noticed the following example somewhere def mymethod(opts) p opts end mymethod(:aaa => "something") I'm wondering what this :aaa stands for. If I omit the colon before the dummy aaa, it doesn't works. Thanks for any hint/light.
|
|
Pseudo array for Rails migration
|
| |
Consider N_X = 20 # size of pseudo array class CreatePeople < ActiveRecord::Migration create_table :people do |t| t.string :first_name , :null => false . . . t.integer :x00 t.integer :x01 t.integer :x02 . . . t.integer :x18... more »
|
|
OCR of PDF-documents using GData
|
| |
Hi, Has anybody been able to perform OCR on a pdf document using GData? [link] Png and jpgs work fine after setting @client.version = '3' in GData::Client::DocList but when I try pdf-files I get: ...xmlns='[link]>... more »
|
|
where to find the help document?
|
| |
Hello, How to find ruby's help document? for example, I want to know what's the difference between two functions of "p" and "print", but don't know where to search. Thanks.
|
|
Killing a thread
|
| |
This code starts my application in a windows thread fine but the last line does not kill the application that got fired up initially. How come? x = Thread.new do system('app.exe') end sleep 10 Thread.kill(x) David
|
|
|