[#402673] Newbie question - gem documentation — John Sampson <jrs.idx@...>
Hello -
On Tue, Jan 1, 2013 at 6:55 AM, John Sampson <jrs.idx@ntlworld.com> wrote:
On 01/01/2013 14:04, tamouse mailing lists wrote:
On Tue, Jan 1, 2013 at 8:29 AM, John Sampson <jrs.idx@ntlworld.com> wrote:
On 01/01/2013 15:13, tamouse mailing lists wrote:
[#402678] GServer in Ruby 2.0.0 — Joe Leo <joseph.leo3@...>
I'm working on updating a gem to be compatible with Ruby 2.0 and am
[#402688] Run time error with multiple version of gems installed — Mallikarjuna Yaddala <lists@...>
Hi all,
[#402698] Escaping SQL queries. — Ken D'Ambrosio <ken@...>
Hi, all. As someone whose last name has one of those dreaded
[#402705] How to uninstall particular ruby version — Nirav Bhatu <lists@...>
Hello guys,
On Wed, Jan 2, 2013 at 9:15 PM, Nirav Bhatu <lists@ruby-forum.com> wrote:
[#402707] Require a ruby project to automatically include the modules in classes defined in the same .rb file — Marc Heiler <lists@...>
Hi.
On Wed, Jan 2, 2013 at 9:58 PM, Marc Heiler <lists@ruby-forum.com> wrote:
On Fri, Jan 4, 2013 at 6:08 AM, Josh Cheek <josh.cheek@gmail.com> wrote:
On 4 January 2013 11:07, Robert Klemme <shortcutter@googlemail.com> wrote:
On Fri, Jan 4, 2013 at 5:58 AM, Peter Hickman
On Sat, Jan 5, 2013 at 2:05 AM, tamouse mailing lists
[#402722] Block given to Array::join — Salvatore nashcrash <lists@...>
Hi.
I'm looking for suggestions on how I might parse this data.=20
On Thu, 03 Jan 2013 22:13:14 +0100, Wayne Brissette <wbrisett@att.net> wrote:
[#402732] respond_to_missing? — Intransition <transfire@...>
Can anyone explain `#respond_to_missing?`.
[#402764] Best practice for &&, ||, and, or — sto.mar@...
Hi group,
On Sat, Jan 5, 2013 at 7:35 AM, <sto.mar@web.de> wrote:
Dave Aronson wrote in post #1091164:
On Sat, Jan 5, 2013 at 11:29 PM, Joel Pearson <lists@ruby-forum.com> wrote:
Hi,
On Sat, Jan 5, 2013 at 5:46 PM, Jan E. <lists@ruby-forum.com> wrote:
Dave Aronson wrote in post #1091178:
On Sat, Jan 5, 2013 at 1:35 PM, <sto.mar@web.de> wrote:
[#402765] Using and Querying Struct — Wayne Brissette <wbrisett@...>
I'm trying to use the Stuct class to store some data. In my case, a =
[#402812] newbie question what am I doing wrong? — "Lee V." <lists@...>
I wrote this simple program but it won't work. What am I doing wrong?
The problem I was having was that after an answer was typed in for the
On Sun, Jan 6, 2013 at 7:51 PM, Lee V. <lists@ruby-forum.com> wrote:
> I'm curious -- are you running in windows, and starting the program
[#402824] [ANN] Rack 1.4.2, a modular Ruby webserver interface — jftucker@...
Hello,
[#402825] ruby 1.9.3p362 ranges as conditions bug? — windwiny <windwiny.ubt@...>
Hello,
On Sun, Jan 6, 2013 at 9:09 PM, windwiny <windwiny.ubt@gmail.com> wrote:
[#402841] ETIMEDOUT - why? — Sarek Mather <lists@...>
Why do I get this error?
[#402855] Newbie question: Referencing a class inside another class — "brinda M." <lists@...>
I have an Error class defined inside another class in the lib directory
[#402856] Ruby on Android - usb/serialport — Scott Macri <lists@...>
Hello,
I'm running into a problem trying to read a line of text that has some mult=
[#402860] Call Windows .exe with arguments — "Charlie B." <lists@...>
Trying to call a windows .EXE with additional arguments. I found some
[#402865] How to identify whether a line of code will return? — Josh Cheek <josh.cheek@...>
Hi, I want to be able to identify whether a line of code will return,
[#402880] One liner for filenames — Peter Bailey <lists@...>
Hello,
Peter Bailey wrote in post #1091502:
On Tue, Jan 8, 2013 at 9:48 PM, Peter Bailey <lists@ruby-forum.com> wrote:
On Wed, Jan 9, 2013 at 4:09 PM, Robert Klemme
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
On Wed, Jan 9, 2013 at 5:00 PM, Peter Bailey <lists@ruby-forum.com> wrote:
[#402883] Can I require an external .js file in Ruby — Nicole Villette <lists@...>
Hello,
[#402884] Re-implementing Autoload — Intransition <transfire@...>
Finally accepting the fact that autoload will never be fixed (i.e. there it
I was able to implement a hack:
You surely know that, but let me comment that this autoload behaves in
[#402890] Pure Ruby Jobs — Brandon Weaver <keystonelemur@...>
One thing has been bugging me lately. I've been looking around for jobs in
On Tue, Jan 8, 2013 at 6:47 PM, Brandon Weaver <keystonelemur@gmail.com> wrote:
On Tue, Jan 8, 2013 at 9:35 PM, tamouse mailing lists
Another field you might be interested in is QA automation. Specifically
[#402926] Sending HTML form information to a text file or visitor_log — Adam Kennedy <lists@...>
The Subject says it all really. I am trying to have the information send
[#402932] Extending class — Damjan Rems <lists@...>
In Ruby it is possible to extend module, but not class. I am working on
[#402943] Can I create directories with dynamic names on run time using Ruby1.9? — Arup Rakshit <lists@...>
I have to download files from the web over several requests. The
Subject: Can I create directories with dynamic names on run time using Ruby1.9?
Carlo E. Prelz wrote in post #1091698:
[#402949] How to delete the folder contents using Ruby? — Arup Rakshit <lists@...>
Hi,
[#402958] how to open pop up window table? — Arup Rakshit <lists@...>
There is `text label` on a webpage, and I am trying to click on that to
[#402972] Newbie: Web app development — "Carlos A." <lists@...>
Hi!
[#402984] What DB to use for lots of categorized urls and domains? noSQL? SQL? — Eliezer Croitoru <eliezer@...>
I am wondering about what DB to choose for this goal.
On Thu, Jan 10, 2013 at 9:36 PM, Eliezer Croitoru <eliezer@ngtech.co.il> wrote:
On 1/11/2013 3:10 PM, Robert Klemme wrote:
[#402988] Refinements. Am I doing Something wrong? — Leif Gensert <lists@...>
Hello everyone,
[#402993] getting an unwanted exception from selenium-webdriver — Arup Rakshit <lists@...>
I am using `selenium-webdriver` to automate web browser related
I've never been able to suppress it, although I'm sure one of the
[#402996] Installing and using ruby gems without root privileges — Arseni Anisimovich <aruseni@...>
Hello there!
[#403009] Ruby command Line options — Arup Rakshit <lists@...>
Hi,
[#403015] How Ruby environment varibles work in realtime program? — Arup Rakshit <lists@...>
Hi,
[#403027] $SAFE variable in Ruby. — Arup Rakshit <lists@...>
The variable $SAFE determines Ruby's level of paranoia. Now it has 5
[#403051] Array methods creating confusions as per their functionalities — Arup Rakshit <lists@...>
Can any one just elaborate how the below works in Ruby, by definition
Try reading http://apidock.com/ruby/Array/zip etc.
Arup Rakshit wrote in post #1092018:
[#403062] How to take information from a text file and add them to an array — Adam Kennedy <lists@...>
Hi Im trying to take a list of usernames from a text file then add them
[#403073] question about sockets — "Ophir O." <lists@...>
hello
thank you very much !
means return + newline. Windows's way of dictating the end of a line in
[#403083] Can anyone tell me the computational logic of Unpack() method of string? — Arup Rakshit <lists@...>
Hi,
Read this carefully:
Joel Pearson wrote in post #1092065:
1.8.7 :001 > [].uniq!
> $ 'A'.unpack('b*')
[#403094] How the equality check is being done in Ruby? — Arup Rakshit <lists@...>
Hi ,
[#403116] Garbage Collection and Fibers — Na Na <lists@...>
Hi,
I have some silly preference against JRuby. For some reason I don't
On Mon, Jan 14, 2013 at 5:54 AM, Na Na <lists@ruby-forum.com> wrote:
I think it was this gem: http://rubygems.org/gems/perlin_noise
On Mon, Jan 14, 2013 at 4:15 PM, Na Na <lists@ruby-forum.com> wrote:
[#403127] Conversion of Ruby-code to c/c++ code :: URGENT Plz help — "Nilesh S." <lists@...>
Hi.. I urgent require to convert the following ruby-code to c/c++ code.
No.. its for company-question .. i have to understand this code asap..
If you know neither Ruby or C++ then no one can help you. The job you are
[#403139] Installation query — Ron Herrema <lists@...>
I'm new to Ruby and am enjoying it, but when I installed, I attempted to
OK, I'm cool, but still confused. I did as you said, Alex, but 'ruby -v'
[#403155] Where is the methods method defined ? — David Unric <lists@...>
Hi,
[#403171] RDOC nodoc tag — Thijs De vries <lists@...>
Hey Guys,
[#403172] Redom: Distributed object based server-centric user-friendly web application framework — SASADA Koichi <ko1@...>
Hi all,
I am running the redom examples (via rackup). The http-server is running
[#403185] regex hostnames? — skolo pen <lists@...>
Not versed in regex, hopefully someone can help me out.
On Tue, Jan 15, 2013 at 10:26 PM, skolo pen <lists@ruby-forum.com> wrote:
[#403205] Escaped backslashes in input strings - newbie question — John Sampson <jrs.idx@...>
I am trying to find a way of removing escaped characters in input
I should have mentioned that I was using gsub!
On Wed, Jan 16, 2013 at 3:52 PM, John Sampson <jrs.idx@ntlworld.com> wrote:
Input would be, for example, as (part of) a line in a text file,
On Wed, Jan 16, 2013 at 6:55 PM, John Sampson <jrs.idx@ntlworld.com> wrote:
On 16/01/2013 21:53, Robert Klemme wrote:
[#403209] Error: File not found. — Adam Kennedy <lists@...>
Hello guys and gals.
[#403228] Handling library versions — Melanie Koller <lists@...>
Hi!
[#403244] Adding file directory automatically — Adam Kennedy <lists@...>
I have a bit of code that will add an amount to an array and then print
[#403250] Code Reviews — Wayne Brisette <wbrisett@...>
As a solo Ruby programmer and one who is still on the learning curve, I wanted
[#403269] Module including other module. — Ricky Ng <dummey@...>
Simplified Code: https://gist.github.com/4563204
[#403278] converting Unix time to Ruby time — Fearless Fool <lists@...>
I've been passed an integer:
[#403281] How backtracking works in Ruby? — Arup Rakshit <lists@...>
Hi,
On Fri, Jan 18, 2013 at 10:01 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
[#403315] 2Q: Getting first 4 elements from array and calling class methods directly — Panagiotis Atmatzidis <atma@...>
Hello fellow Rubyists!
[#403326] question about string concatenation — David Richards <lists@...>
I'm puzzled about why the following happens (I'm using v1.9.3):
On Mon, Jan 21, 2013 at 4:08 AM, David Richards <lists@ruby-forum.com>wrote:
[#403331] Newbie prompt help — Ilya Gershov <lists@...>
Hello all,
[#403350] Enumerator usage — David Richards <lists@...>
I don't understand the following:
[#403377] Getting error "getaddrinfo: No such host is known. (Socke tError)" with mechanize gem — Arup Rakshit <lists@...>
I tried the below code:
On Tue, Jan 22, 2013 at 3:52 PM, Arup Rakshit <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1093173:
On Wed, Jan 23, 2013 at 1:53 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
botp wrote in post #1093207:
[#403420] Crontabbing a Ruby script inside a screen — Dwayne Henderson <its.code.in.here@...>
Hi, I run this Ruby + Sequel script inside a screen that records data from
[#403423] Reading and looping through Excel — cristian cristian <lists@...>
Hi all!
Does this look like what you need (bottom of the page)?
Joel:
I've done something similar using the spreadsheet gem, it's easy to open =
[#403434] How to refresh a page on browser using selenium-webdriver. — Arup Rakshit <lists@...>
Follow the below part of the code:
[#403444] Processes and forks — "baq s." <lists@...>
Hi all, I have a quick problem that I am sure someone here has an
[#403445] How to DRY this up? — tamouse mailing lists <tamouse.lists@...>
I have some API calls I'm making, all with the following sort of
[#403456] Can we attach documents to excel columns using Ruby? — Arup Rakshit <lists@...>
Suppose I do have some folders in a directory. Now say directory name
> Arup Rakshit wrote in post #1093606:
Dami=C3=A1n M. Gonz=C3=A1lez wrote in post #1093640:
[#403464] Enum#select with max number of items — masta Blasta <lists@...>
My premise is that i have a large array that i'd like to iterate with
[#403473] General Ruby syntax questions — Scott Price <lists@...>
-- Can sombody please break these down and let me know what each line of
Thanks Matthew. I have one single question about the first section of
[#403486] How to get the values - "ipad,iPod" using "xpath:" concept? — Arup Rakshit <lists@...>
Please find the part of an `html` :
On Fri, Jan 25, 2013 at 12:17 PM, Arup Rakshit <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1093735:
[#403505] limitations — Nokan Emiro <uzleepito@...>
Hi,
[#403509] Soft object reference for mark and sweep — Garthy D <garthy_lmkltybr@...>
> Any ideas as to a good way or suitable mechanisms to implement this?
[#403539] ActiveRecord class for multiple tables — Rob Marshall <lists@...>
Hi,
[#403540] Please explain in English — jooma lavata <lists@...>
I'm learning Ruby and I'm reading some expression that I saw on the
On Mon, Jan 28, 2013 at 6:39 PM, jooma lavata <lists@ruby-forum.com> wrote:
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
On Mon, Jan 28, 2013 at 6:55 PM, Jes=FAs Gabriel y Gal=E1n
[#403550] [ANN] Rails 3.0.20, and 2.3.16 have been released! — Aaron Patterson <tenderlove@...>
Hi everybody.
[#403553] Learning Ruby and proving your knowledge — Nathaniel Sokoll-Ward <lists@...>
Hey all,
[#403581] newbie question.. — Zebulon Bowles <lists@...>
So I'm taking a class on Ruby and it seems as though the teacher has
Since this is classwork, I won't give you the answer, but. Here's some things I
For the same reason, I won't give you any answers, but your problem
On Tue, Jan 29, 2013 at 2:52 PM, Ryan Victory <ryan@raptormail.net> wrote:
[#403604] SSLSocket in non-blocking mode — Brian Modra <lists@...>
Hi,
[#403607] (Errno::EINVAL) occurs during the File::rename() execution — Arup Rakshit <lists@...>
Hi I wrote the below code to rename the file names. The logic is during
If there's a length limit, try renaming using only the basename and then
Joel Pearson wrote in post #1094338:
Arup Rakshit wrote in post #1094339:
Look at the Ruby Gem UNF. I think that should solve your problem. =0A=0AWay=
[#403642] How to copy the directory files only to another directory? — Arup Rakshit <lists@...>
Hi,
If you don't get the relative path you can't move the file, because you
Joel Pearson wrote in post #1094397:
There are a few ways to do this, this one seems to work:
[#403656] Does Ruby has any default database with it? — Arup Rakshit <lists@...>
I will do webpage scraping using Ruby and required Gems. But looking for
Normally sqlite is the go to being that it's the default of rails. Check
Doesn't Rails come with a built in database called Brick? No additional
On Wed, Jan 30, 2013 at 10:54 AM, Colby Callahan
Hassan Schroeder wrote in post #1094424:
On Wed, Jan 30, 2013 at 11:10 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
On 01/30/2013 10:21 AM, Arup Rakshit wrote:
On Wed, Jan 30, 2013 at 12:07 PM, Justin Collins <justincollins@ucla.edu>wrote:
Tony Arcieri wrote in post #1094436:
On 01/30/2013 12:27 PM, Arup Rakshit wrote:
I think the best course for a new project is to start simple, go with
tamouse mailing lists wrote in post #1094655:
Subject: Re: Does Ruby has any default database with it?
Carlo E. Prelz wrote in post #1094684:
On Fri, Feb 1, 2013 at 7:50 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
[#403688] Simple Mailer Switch Not Working — Nikhil Khullar <lists@...>
Hello,
[#403698] Select "columns" from multidimensional array? — Joel Pearson <lists@...>
There's probably a simpler answer to this than the ways I've come up
Thanks robert
On Thu, Jan 31, 2013 at 3:14 PM, Joel Pearson <lists@ruby-forum.com> wrote:
I decided to try and build on the Array class as I don't really
I've decided to inherit from array after all, since all I want to do
On Tue, Feb 12, 2013 at 1:19 PM, Joel Pearson <lists@ruby-forum.com> wrote:
Thanks for the advice and examples, I'll see whether I can understand
Hah, I wrote that head exploding comment first and then managed to work =
[#403715] Problem redefining String::to_s — Javier 12 <lists@...>
I've been checking String::to_s source code and found an issue.
I'm using CentOS, it ships with that version but it's fine.
Am 02.02.2013 01:07, schrieb Javier 12:
[#403718] Ruby Project Ideas to get someone hired... — Colby Callahan <colby.callahan@...>
I have started learning Ruby this past week and have down the basics of
A good idea is to switch to a Unix OS first if you plan to get hired ;)
Environment setup wise, running a Linux VM makes life a lot more enjoyable.
Thank you Ricky. Pacman seems like a fun project. It sounds like Gosu
Hello,
On Fri, 1 Feb 2013, Colby Callahan wrote:
Thanks Matt. I just installed virtual box, ubuntu 12.10 32 bit, is up and
[SEC][ANN] Rails 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released!
Hi everybody. I'd like to announce that 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been rele= ased. These releases contain two **extremely critical security fixes** so = please update **IMMEDIATELY**. You can read about the security fixes by following these links: * [CVE-2013-0155](https://groups.google.com/group/rubyonrails-security/brow= se_thread/thread/b75585bae4326af2) * [CVE-2013-0156](https://groups.google.com/group/rubyonrails-security/brow= se_thread/thread/eb56e482f9d21934) In order to ease upgrading, the only major changes in each gem are the secu= rity fixes. To see the detailed changes for each version, follow the links= below: * [Changes in 3.2.11](https://github.com/rails/rails/compare/v3.2.10...v3.2= =2E11) * [Changes in 3.1.10](https://github.com/rails/rails/compare/v3.1.9...v3.1.= 10) * [Changes in 3.0.19](https://github.com/rails/rails/compare/v3.0.18...v3.0= =2E19) * [Changes in 2.3.15](https://github.com/rails/rails/compare/v2.3.14...v2.3= =2E15) Thanks to the people who responsibly reported these security issues. Here are the SHA-1 checksums for each gem: ### 3.2.11 ``` [aaron@higgins dist]$ shasum *3.2.11* 933cd2821b30cdff4a2e0b5cc63f4d2c6b29affe actionmailer-3.2.11.gem 54731c51b55bf0215392971b982139775c0bfa2b actionpack-3.2.11.gem 5ccde66568d8051405c01063f1afaed13bd01082 activemodel-3.2.11.gem f360c17968486479b0a4207e7eccbe379186a9d2 activerecord-3.2.11.gem c61ff513be8a8aef898d2e5c4c9508d60727c556 activeresource-3.2.11.gem 41a4e8c382594283026d977554c1e18233198ca8 activesupport-3.2.11.gem 8fa6d19a0daea910e39a0911b2240c2a7b630fb1 rails-3.2.11.gem ffaec7c3e5211283108cf5afab8e79be76090a0d railties-3.2.11.gem ``` ### 3.1.10 ``` [aaron@higgins dist]$ shasum *3.1.10* e3dce983ebd0ee8970c5ddab46b05ac432c8b029 actionmailer-3.1.10.gem 84e536e732255e5dfd3d8053c10ed98dcb45ac80 actionpack-3.1.10.gem db1a3ac836d988dc1fc7c64d29ded7a277047419 activemodel-3.1.10.gem ea3ad8514265516033009d97efc1fe7b3d2b09ed activerecord-3.1.10.gem 0843646278b42d9ca796e157295851fd9938fe96 activeresource-3.1.10.gem b55ef7f66de0bb79fcfa480e8df3696bffbff7f8 activesupport-3.1.10.gem 4ed7d159191faa1a469cd9efdf9e6a4cdc907195 rails-3.1.10.gem f288986df0fabd2035569199ea3d5f1f46a56db7 railties-3.1.10.gem ``` ### 3.0.19 ``` [aaron@higgins dist]$ shasum *3.0.19* f8376f907b2230ac75882e1a3cfa8d5cdd6df800 actionmailer-3.0.19.gem 68b319d86530a5d4291e13d6ab5f357a1e52c05b actionpack-3.0.19.gem f0fb577ea7446ff229752bc799ca86dd53aa9cda activemodel-3.0.19.gem c12324d78b22697d426148010901f79b366c0502 activerecord-3.0.19.gem 8dbc7c8c80f5baeec823966aa225b23f4c2a799c activeresource-3.0.19.gem b525b778f82f844a56ff993211825b9811bf82bd activesupport-3.0.19.gem c2beb0711d28a07cb2747c83962c7d453951e2d6 rails-3.0.19.gem de286ada16b3fc76129767dc612926e0b4f71dda railties-3.0.19.gem ``` ### 2.3.15 ``` [aaron@higgins dist]$ shasum *2.3.15* 5ce45c70851dd534a72814620a6e57b42d360b88 actionmailer-2.3.15.gem fa174c40f17fa5db952ba3a7c95a4ab0b5467594 actionpack-2.3.15.gem e7391c92c82f974be7e65765819824e87bdb3cfd activerecord-2.3.15.gem 4644b7a27993f7860d9e176f51dfa52d8f029ec9 activeresource-2.3.15.gem 64843e3676c20a49060605546dfcdddaef2ea1a8 activesupport-2.3.15.gem c8c0c49c63ca0f9acc3e0967b38d92b1c0b115af rails-2.3.15.gem ``` <3<3<3 --=20 Aaron Patterson http://tenderlovemaking.com/