# Top

**URL:** https://www.ruby-forum.com/top.md?page=1763

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1764

---

## [Stream\_Selector (grextras) on Windows](https://www.ruby-forum.com/t/stream-selector-grextras-on-windows/225449)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 13, 2013, 9:11pm UTC](https://www.ruby-forum.com/t/stream-selector-grextras-on-windows/225449 "2013-01-13T21:11:39Z")

</div>

Hi list, I installed gnuradio (with grextras), uhd libraries on Windows from sources. My project used stream\_selector (C++) class to to dynamically reconfigure the flow graph at runtime. When I call gr\_top\_block.stop(…

---

## [Can't get method to accept username/password](https://www.ruby-forum.com/t/cant-get-method-to-accept-username-password/224914)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [December 2, 2012, 2:03am UTC](https://www.ruby-forum.com/t/cant-get-method-to-accept-username-password/224914 "2012-12-02T02:03:28Z")

</div>

I’m new to Ruby… Trying to write a method that accepts username and password string. My method def getRepos(username, password) github = Github.new do |config| config.basic\_auth = ‘#{username}:#{password}’ end git…

---

## [Nginx not showing client ip](https://www.ruby-forum.com/t/nginx-not-showing-client-ip/224382)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 9, 2012, 4:23pm UTC](https://www.ruby-forum.com/t/nginx-not-showing-client-ip/224382 "2012-11-09T16:23:05Z")

</div>

Dear All, I have setup nginx reverse proxy with IIS webserver. Client —\> Nginx RP —\> IIS 7 But i am unable to get client ip on IIS server’s log. i am getting Ngnix server’s ip. Can anybody help me to achieve this ? …

---

## [Error while getting image from MSSQL database](https://www.ruby-forum.com/t/error-while-getting-image-from-mssql-database/223466)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 8, 2012, 1:50pm UTC](https://www.ruby-forum.com/t/error-while-getting-image-from-mssql-database/223466 "2012-10-08T13:50:09Z")

</div>

I am trying to display an image stored in my MSSQL database in my Rails 2 application. As a test example I have written a C# application that displays the image on a form which works. So I know the image in my databas…

---

## [Routing table info of USRP](https://www.ruby-forum.com/t/routing-table-info-of-usrp/223287)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 28, 2012, 7:52am UTC](https://www.ruby-forum.com/t/routing-table-info-of-usrp/223287 "2012-09-28T07:52:33Z")

</div>

Is it possible to set/get the routing table in USRP? If yes how can I do it ?

---

## [Dc offset is different from unit to unit](https://www.ruby-forum.com/t/dc-offset-is-different-from-unit-to-unit/220218)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [June 3, 2012, 4:48am UTC](https://www.ruby-forum.com/t/dc-offset-is-different-from-unit-to-unit/220218 "2012-06-03T04:48:13Z")

</div>

Hi list, I need to compensate usrp dc offset. but the dc offset is different from unit to unit. so do I need to calibrate each unit dc offset or there is a universal value that work for each unit? Regards

---

## [Passing by reference - modifying instance variables](https://www.ruby-forum.com/t/passing-by-reference-modifying-instance-variables/219800)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 17, 2012, 2:45pm UTC](https://www.ruby-forum.com/t/passing-by-reference-modifying-instance-variables/219800 "2012-05-17T14:45:56Z")

</div>

Hi all, I’m new to Ruby and I’ve been working through the book “Programming Ruby: The Pragmatic Programmer’s Guide” Working through their jukebox example, I have come across a couple of things that don’t quite make s…

---

## [Upstream timed out](https://www.ruby-forum.com/t/upstream-timed-out/218840)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 13, 2012, 12:32pm UTC](https://www.ruby-forum.com/t/upstream-timed-out/218840 "2012-04-13T12:32:35Z")

</div>

Hi. I’m the new admin of a website and its servers. I have a frontend nginx proxy server and an Apache backend. I sometimes have errors : 2012/04/12 17:44:33 \[error\] 13442#0: \*74193485 upstream timed out (110: Conne…

---

## [Inheriter\_resource gem is now deprecated](https://www.ruby-forum.com/t/inheriter-resource-gem-is-now-deprecated/217785)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 14, 2012, 10:26am UTC](https://www.ruby-forum.com/t/inheriter-resource-gem-is-now-deprecated/217785 "2012-03-14T10:26:27Z")

</div>

Someone use or had used inherited\_resource gem? I find it very userful to not repeat code in simple crud applications. The maintainer said that the gem is no longer maintained. Using helpers like resource or collectio…

---

## [Disable error page for one location?](https://www.ruby-forum.com/t/disable-error-page-for-one-location/217530)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 4, 2012, 12:01pm UTC](https://www.ruby-forum.com/t/disable-error-page-for-one-location/217530 "2012-03-04T12:01:50Z")

</div>

Hi everyone, I’m using Nginx to proxy to an Apache backend. The backend generates a wide variety of ugly 404- and 500-code error messages that I don’t really want to show to the end-user, so in my server block I’ve …

---

## [Reg problem in running gnuradio 3.5 benchmark programs](https://www.ruby-forum.com/t/reg-problem-in-running-gnuradio-3-5-benchmark-programs/216291)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 3, 2012, 7:07pm UTC](https://www.ruby-forum.com/t/reg-problem-in-running-gnuradio-3-5-benchmark-programs/216291 "2012-02-03T19:07:12Z")

</div>

Hi I installed gnuradio 3.5 images in my college lab, and I installed the appropriate SD card image for it. I then tried to run the benchmark programs, by running the benchmark\_tx and rx in two different nodes that h…

---

## [Rhodes install (Windows) seems incomplete](https://www.ruby-forum.com/t/rhodes-install-windows-seems-incomplete/216326)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 2, 2012, 10:03am UTC](https://www.ruby-forum.com/t/rhodes-install-windows-seems-incomplete/216326 "2012-02-02T10:03:30Z")

</div>

I looked around for a Rhodes-specific forum, but couldn’t find one. Hope the Ruby forum is appropriate for this question… I have a need to develop Smartphone apps to talk to a back end database (via a web server), and…

---

## [Help solving a problem](https://www.ruby-forum.com/t/help-solving-a-problem/213837)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 14, 2011, 1:32am UTC](https://www.ruby-forum.com/t/help-solving-a-problem/213837 "2011-11-14T01:32:24Z")

</div>

Hello all, I am reading the book Ruby on Rails Tutorial : Learning by Example At the end of chapter 4 theres a question. I tried many time but nit succeeding in solving it. Can you all please help me in writing a sol…

---

## [Duda con action mailer](https://www.ruby-forum.com/t/duda-con-action-mailer/213429)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 2, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/duda-con-action-mailer/213429 "2011-11-02T16:35:54Z")

</div>

Hola, soy nuevo en RoR y tengo un problema con action mailer cuando uso el rubygem el gestor de paquetes y pongo: gem list --local me sale: actionmailer \<1.2.5\> lo cual indica que lo tengo instalado, el proble a es…

---

## [Undefined method error for File IO operation](https://www.ruby-forum.com/t/undefined-method-error-for-file-io-operation/210547)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 10, 2011, 7:36pm UTC](https://www.ruby-forum.com/t/undefined-method-error-for-file-io-operation/210547 "2011-08-10T19:36:29Z")

</div>

Hi, Below is part of the code that is throwing following exception “:in \<main\>': undefined methodlogfile’ for #OptionParser:0x2cace70 (NoMethodError)” fh = options.logfile.open('w') --\> This line is failing log…

---

## [How to generate an url from a hash {"action"=\>"index", "controller"=\>"analyses", "locale"=\>"en\_GB"}](https://www.ruby-forum.com/t/how-to-generate-an-url-from-a-hash-action-index-controller-analyses-locale-en-gb/207430)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 26, 2011, 7:47am UTC](https://www.ruby-forum.com/t/how-to-generate-an-url-from-a-hash-action-index-controller-analyses-locale-en-gb/207430 "2011-05-26T07:47:45Z")

</div>

currently I am keeping trace of locations before authentication using an application\_controller action def store\_location session\[:return\_to\] = request.filtered\_parameters # and not …session\[:return\_to\] = requ…

---

## [Rows go missing through apache, but works fine in mongrail](https://www.ruby-forum.com/t/rows-go-missing-through-apache-but-works-fine-in-mongrail/204343)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 10, 2011, 7:32pm UTC](https://www.ruby-forum.com/t/rows-go-missing-through-apache-but-works-fine-in-mongrail/204343 "2011-03-10T19:32:46Z")

</div>

Hi, In my site, I have implemented a functionality where we can fetch upto 100000 rows and display all of it at one shot on the GUI, through Java interface. Now, when I start my client through mongrail ( ./script/ser…

---

## [How I do to run Rails on Apache?](https://www.ruby-forum.com/t/how-i-do-to-run-rails-on-apache/202143)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 23, 2011, 2:05pm UTC](https://www.ruby-forum.com/t/how-i-do-to-run-rails-on-apache/202143 "2011-01-23T14:05:40Z")

</div>

Scenario: Windows Vista - Rails 3.0.3 - Rub(ies)1.9.2-p136 & 1.8.7p330 MySQL5.5 - Apache2.2 - git/cygwin -everything setup and working, BUT WEBrick is becoming temperamental. I want to run Rails on Apache. Is it poss…

---

## [Cannot update with gem](https://www.ruby-forum.com/t/cannot-update-with-gem/200894)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 2\
**Last updated:** [December 24, 2010, 5:34am UTC](https://www.ruby-forum.com/t/cannot-update-with-gem/200894 "2010-12-24T05:34:53Z")

</div>

dunno what to do. why is it looking for U:/ C:\\WINDOWS\>gem list --remote \*\*\* REMOTE GEMS \*\*\* ERROR: While executing gem … (Errno::ENOENT) No such file or directory - U:/ C:\\WINDOWS\>gem update --system Updating Rub…

---

## [Easy asynchronous programming](https://www.ruby-forum.com/t/easy-asynchronous-programming/198751)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 7, 2010, 2:50am UTC](https://www.ruby-forum.com/t/easy-asynchronous-programming/198751 "2010-11-07T02:50:48Z")

</div>

Microsoft recently announced a new feature of 5th version of C# - ability to run asynchronous code quite unobtrusively. I’ve tried to cover a similar interface so my microsoft friends would stop teasing me …

---

## [Excel manipulation](https://www.ruby-forum.com/t/excel-manipulation/186918)

<div class="topic-metadata">

**Author:** [@simbolla](https://www.ruby-forum.com/u/simbolla)\
**Replies:** 2\
**Last updated:** [April 14, 2010, 11:37am UTC](https://www.ruby-forum.com/t/excel-manipulation/186918 "2010-04-14T11:37:58Z")

</div>

hi all, Below is the code for manipualting excel data. ================================================ require ‘win32ole’ excelPath = “C:\\vbscript\\sample.xls” application = WIN32OLE.new(‘Excel.Application’) applic…

---

## [Conditions in form\_for](https://www.ruby-forum.com/t/conditions-in-form-for/183120)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 2\
**Last updated:** [February 8, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/conditions-in-form-for/183120 "2010-02-08T16:37:49Z")

</div>

Hey guys, How can we give two form\_for based on conditions? I mean like this:- unless condition1.nil? form\_for :abc, :url =\> { :action =\> “123” } do |f| else form\_for :abc, :url =\> { :action =\> “234” } do |f| end T…

---

## [Rails - Paperclip: processare immagini giÃ  salvate](https://www.ruby-forum.com/t/rails-paperclip-processare-immagini-gia-salvate/171941)

<div class="topic-metadata">

**Author:** [@fixxxer](https://www.ruby-forum.com/u/fixxxer)\
**Replies:** 2\
**Last updated:** [July 15, 2009, 12:54pm UTC](https://www.ruby-forum.com/t/rails-paperclip-processare-immagini-gia-salvate/171941 "2009-07-15T12:54:37Z")

</div>

Sto utilizzando paperclip per la prima volta con molta soddisfazione, Ã¨ proprio bello, ma ora ho un problema. Devo processare le immagini giÃ salvate (crop e rotate). L’unica spunto che ho sarebbe usare RMagick o me…

---

## [Shoud error](https://www.ruby-forum.com/t/shoud-error/166887)

<div class="topic-metadata">

**Author:** [@Nicholas\_Van\_W](https://www.ruby-forum.com/u/Nicholas_Van_W)\
**Replies:** 2\
**Last updated:** [April 30, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/shoud-error/166887 "2009-04-30T15:47:29Z")

</div>

Hi, I had some tests where I accidently used “.shoud” instead of “.should”. There was no error, and all tests passed no matter what. Is the the correct behaviour or should there be an error if you mispell should? Th…

---

## [MSSQL DB connection, multiplatform, NextRecordSet](https://www.ruby-forum.com/t/mssql-db-connection-multiplatform-nextrecordset/160914)

<div class="topic-metadata">

**Author:** [@makkura](https://www.ruby-forum.com/u/makkura)\
**Replies:** 2\
**Last updated:** [February 23, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/mssql-db-connection-multiplatform-nextrecordset/160914 "2009-02-23T15:25:26Z")

</div>

I’m trying to find a way to use ruby to connect to a MS SQL database. I need it to be as simple I can to run on both windows and linux systems. So if they require different things to make them work, I want to have the…

---

## [Code Review: re](https://www.ruby-forum.com/t/code-review-re/160100)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 2\
**Last updated:** [February 16, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/code-review-re/160100 "2009-02-16T22:21:07Z")

</div>

tfpt review “/shelveset:re;REDMOND\\sborde” Comment : Fixes couple of remaining blocking bugs in re: Ruby’s /(?:m)/m should map to CLR’s “(?:s)” Hacky fix for /(expr){N}+/ should be treated like /(?:expr{N})+/

---

## [Is this an issue for a Ruby installation process (warning: assignment discards qualifiers from poin](https://www.ruby-forum.com/t/is-this-an-issue-for-a-ruby-installation-process-warning-assignment-discards-qualifiers-from-poin/159670)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [February 6, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/is-this-an-issue-for-a-ruby-installation-process-warning-assignment-discards-qualifiers-from-poin/159670 "2009-02-06T23:39:26Z")

</div>

Hi, I’m on RedHat linux and installing Ruby but do get several warnings (see below). Is this OK? \[root@home ruby-1.8.7-p72\]# make gcc -g -O2 -DRUBY\_EXPORT -D\_GNU\_SOURCE=1 -I. -I. -c array.c gcc -g -O2 -DR…

---

## [Explain this migrate line?](https://www.ruby-forum.com/t/explain-this-migrate-line/158076)

<div class="topic-metadata">

**Author:** [@typemismatch](https://www.ruby-forum.com/u/typemismatch)\
**Replies:** 2\
**Last updated:** [January 19, 2009, 12:30pm UTC](https://www.ruby-forum.com/t/explain-this-migrate-line/158076 "2009-01-19T12:30:23Z")

</div>

So I have this code in a migration file … create\_table :books do |t| t.column "Title", :string t.column "Price", :decimal t.timestamps end Are “Title” and :string just parameters being passed to the method t…

---

## [Run a function as a stand-alone app with arguments](https://www.ruby-forum.com/t/run-a-function-as-a-stand-alone-app-with-arguments/156330)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 2\
**Last updated:** [December 24, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/run-a-function-as-a-stand-alone-app-with-arguments/156330 "2008-12-24T17:37:40Z")

</div>

Hey all, i have a function that needs to be able to be called from within a ruby script or run as a stand-alone app from the CLI. so if i have, for example: def do\_something(arg1, arg2) return arg1 + arg2 end in a…

---

## [Regarding Hosting at Godaddy](https://www.ruby-forum.com/t/regarding-hosting-at-godaddy/155915)

<div class="topic-metadata">

**Author:** [@cyrus](https://www.ruby-forum.com/u/cyrus)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/regarding-hosting-at-godaddy/155915 "2008-12-18T20:40:31Z")

</div>

Hello all anyone know how to setup rails application on Godaddy shared linux server… ? I uploaded site but still my site is not appearing on preview dns server anyone has idea abt this. ?

---

## [Where to start Beginners question](https://www.ruby-forum.com/t/where-to-start-beginners-question/153684)

<div class="topic-metadata">

**Author:** [@Anand\_Gudimanchi](https://www.ruby-forum.com/u/Anand_Gudimanchi)\
**Replies:** 2\
**Last updated:** [November 20, 2008, 3:52am UTC](https://www.ruby-forum.com/t/where-to-start-beginners-question/153684 "2008-11-20T03:52:49Z")

</div>

Hello Experts, I am a beginner just to seek answers more from basics. Worse i am new to Python and RF. So please can someone help me where to look for the signals coming and out and where to look for documentation of …

---

## [General Solution to spawning a Unix process whose arguments cannot be seen by other processes](https://www.ruby-forum.com/t/general-solution-to-spawning-a-unix-process-whose-arguments-cannot-be-seen-by-other-processes/152448)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 2\
**Last updated:** [November 4, 2008, 7:45am UTC](https://www.ruby-forum.com/t/general-solution-to-spawning-a-unix-process-whose-arguments-cannot-be-seen-by-other-processes/152448 "2008-11-04T07:45:42Z")

</div>

I know root can get into anything and hack out this information, but given the presumption that nobody could get root on my system: How would I generally spawn processes to the shell whose arguments would not be ea…

---

## [Syncing offline data to Rails app](https://www.ruby-forum.com/t/syncing-offline-data-to-rails-app/151657)

<div class="topic-metadata">

**Author:** [@shenry](https://www.ruby-forum.com/u/shenry)\
**Replies:** 2\
**Last updated:** [October 24, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/syncing-offline-data-to-rails-app/151657 "2008-10-24T17:24:26Z")

</div>

I’m wondering how to go about setting up an app to allow data collection offline that is later sync’d to the master db… I picture the data collection being done on a PDA or something similar and then docked and upload…

---

## [Error extraÃ±o](https://www.ruby-forum.com/t/error-extraa-o/151356)

<div class="topic-metadata">

**Author:** [@goku](https://www.ruby-forum.com/u/goku)\
**Replies:** 2\
**Last updated:** [October 20, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/error-extraa-o/151356 "2008-10-20T17:41:48Z")

</div>

Buenas amigos, tengo un problema y la verdad primera vz q lo veo. Al intentar ejecutar mi sistema me muestra el navegador el siguiente mensaje We’re sorry, but something went wrong. We’ve been notified about this iss…

---

## [Preventing Mongrel/Mysql Errno::EPIPE exceptions](https://www.ruby-forum.com/t/preventing-mongrel-mysql-errno-epipe-exceptions/149634)

<div class="topic-metadata">

**Author:** [@asplake](https://www.ruby-forum.com/u/asplake)\
**Replies:** 2\
**Last updated:** [September 27, 2008, 6:47pm UTC](https://www.ruby-forum.com/t/preventing-mongrel-mysql-errno-epipe-exceptions/149634 "2008-09-27T18:47:12Z")

</div>

I have a rails app serving up XML on an infrequent basis. This is being run with mongrel and mysql. I’ve found that if the app does not get exercised for longer than a few hours it goes dead (“Lost Connection to MySQL…

---

## [Help with object level roles & permissions](https://www.ruby-forum.com/t/help-with-object-level-roles-permissions/136913)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 2\
**Last updated:** [September 18, 2008, 12:23pm UTC](https://www.ruby-forum.com/t/help-with-object-level-roles-permissions/136913 "2008-09-18T12:23:00Z")

</div>

I have an authentication system set up via the activefx tutorial for restful\_authentication. I now need to implement roles and permissions on a per object basis, as opposed to site wide, ‘Is this user an administrator…

---

## [Variable corruption when using ioctl?](https://www.ruby-forum.com/t/variable-corruption-when-using-ioctl/140994)

<div class="topic-metadata">

**Author:** [@A\_Sussex](https://www.ruby-forum.com/u/A_Sussex)\
**Replies:** 2\
**Last updated:** [June 23, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/variable-corruption-when-using-ioctl/140994 "2008-06-23T13:14:10Z")

</div>

I’m attempting to read the address assigned to an interface. After calling ioctl(SIOCGIFADDR) - which is 0x8915 on my system - I find that the destination buffer is corrupted and contains random garbage. Here I do thi…

---

## [Question regarding rewrite from http to https](https://www.ruby-forum.com/t/question-regarding-rewrite-from-http-to-https/140158)

<div class="topic-metadata">

**Author:** [@Mansoor\_P](https://www.ruby-forum.com/u/Mansoor_P)\
**Replies:** 2\
**Last updated:** [June 12, 2008, 8:38am UTC](https://www.ruby-forum.com/t/question-regarding-rewrite-from-http-to-https/140158 "2008-06-12T08:38:45Z")

</div>

Hello, I am using NGINX as an HTTP proxy, and in some cases, I need to rewrite all requests from http:// to https:// My proxy configuration has two server {} blocks, one with http, and one with https So if my sample…

---

## [Exception handling discrepancies](https://www.ruby-forum.com/t/exception-handling-discrepancies/135030)

<div class="topic-metadata">

**Author:** [@rjberry](https://www.ruby-forum.com/u/rjberry)\
**Replies:** 2\
**Last updated:** [April 18, 2008, 9:31am UTC](https://www.ruby-forum.com/t/exception-handling-discrepancies/135030 "2008-04-18T09:31:03Z")

</div>

Consider following simple program exceptions.rb: begin a = ABC rescue puts "We have exception: " + $! end cruby can treat the exception as string, but rbx fails: \[11:24:38 ~/irb\_test\] ruby exceptions.rb We have e…

---

## [Dove sono i file di generate?](https://www.ruby-forum.com/t/dove-sono-i-file-di-generate/132890)

<div class="topic-metadata">

**Author:** [@alexpescara](https://www.ruby-forum.com/u/alexpescara)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 11:31pm UTC](https://www.ruby-forum.com/t/dove-sono-i-file-di-generate/132890 "2008-03-25T23:31:23Z")

</div>

Come da soggetto,qualcuno sa dove sono i file che generano i controller? Ovvero,quando si lancia il comando ruby script/generate controller xxxx quali sono i file ruby che vengono invocati? Avrei bisogno di fare in m…

---

## [Squirrelmail config](https://www.ruby-forum.com/t/squirrelmail-config/132061)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 2\
**Last updated:** [March 16, 2008, 11:02am UTC](https://www.ruby-forum.com/t/squirrelmail-config/132061 "2008-03-16T11:02:10Z")

</div>

Does anyone have a location example for Squirrelmail? I’m trying to get it running directly under nginx (it’s currently running fine with an Apache backend). Under ngix and fastcgi I’m able to login fine and read a me…

---

## [ActiveRecord Join over multiple tables](https://www.ruby-forum.com/t/activerecord-join-over-multiple-tables/125715)

<div class="topic-metadata">

**Author:** [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 12:58pm UTC](https://www.ruby-forum.com/t/activerecord-join-over-multiple-tables/125715 "2008-01-11T12:58:36Z")

</div>

Hey I have a DB Model with the following tables users, courses, users\_courses and coursecategories users \<1:n\> users\_courses \<n:1\> courses \<n:1\> I have the models set up and they sheem to work. I can do something lik…

---

## [Exec command stops thread](https://www.ruby-forum.com/t/exec-command-stops-thread/125482)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 2\
**Last updated:** [January 9, 2008, 3:28pm UTC](https://www.ruby-forum.com/t/exec-command-stops-thread/125482 "2008-01-09T15:28:49Z")

</div>

hello i am trying to do the following exec(“copy e:\\data\\stocks\\watchlists\\. E:\\data\\MergedDb \\watchlists\\.”) puts “copied” My prog execution stops after exec is done. not sure why. how can i run a command and…

---

## [How to use logger.info to debug](https://www.ruby-forum.com/t/how-to-use-logger-info-to-debug/125396)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/how-to-use-logger-info-to-debug/125396 "2008-01-08T22:00:25Z")

</div>

How can I use logger.info to output data to development.log so that I can then just “tail” that log, rather than getting information overload? It looks to me like the the SELECT resulting from FeedsController#add\_som…

---

## [Sobre expresiones regulares](https://www.ruby-forum.com/t/sobre-expresiones-regulares/124466)

<div class="topic-metadata">

**Author:** [@carakan](https://www.ruby-forum.com/u/carakan)\
**Replies:** 2\
**Last updated:** [December 29, 2007, 12:17am UTC](https://www.ruby-forum.com/t/sobre-expresiones-regulares/124466 "2007-12-29T00:17:39Z")

</div>

Hola gente, tengo una pregunta? Dentro de un input text se llena el nombre de un cliente y para que no tenga que estar llenando el nombre completo muestro una lista de nombres sugerentes todo est a bien pero al inicio…

---

## [Eval a file](https://www.ruby-forum.com/t/eval-a-file/124035)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 2\
**Last updated:** [December 23, 2007, 10:43pm UTC](https://www.ruby-forum.com/t/eval-a-file/124035 "2007-12-23T22:43:01Z")

</div>

Basically, I was wondering if it is possible in Ruby to eval a file without loading the whole thing in memory. I’m trying to avoid eval(File.new(location).read), but at the same time, I don’t want the file to contain …

---

## [Button\_to\_function question](https://www.ruby-forum.com/t/button-to-function-question/122066)

<div class="topic-metadata">

**Author:** [@Jables](https://www.ruby-forum.com/u/Jables)\
**Replies:** 2\
**Last updated:** [December 4, 2007, 9:46am UTC](https://www.ruby-forum.com/t/button-to-function-question/122066 "2007-12-04T09:46:17Z")

</div>

Hey everybody, I am trying to create a button that, when clicked on, calls a method in a controller then changes the image on the button without a page load. I was thinking that button\_to\_function might be a good co…

---

## [Mantener una aplicacion rails](https://www.ruby-forum.com/t/mantener-una-aplicacion-rails/115568)

<div class="topic-metadata">

**Author:** [@aitor](https://www.ruby-forum.com/u/aitor)\
**Replies:** 2\
**Last updated:** [September 26, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/mantener-una-aplicacion-rails/115568 "2007-09-26T16:35:50Z")

</div>

Hola, Es bueno que una aplicaciÃ³n rails este siempre en el repositorio (svn) en su rama “final” y que a travÃ©s de un alias al directorio public de la aplicaciÃ³n esta sea ya funcional para todo el mundo o una vez te…

---

## [What does this warning actually mean?](https://www.ruby-forum.com/t/what-does-this-warning-actually-mean/111089)

<div class="topic-metadata">

**Author:** [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/what-does-this-warning-actually-mean/111089 "2007-09-25T23:11:10Z")

</div>

So, I’m trying my hand at metaprogramming and am finding this the result of executing my code with -w enabled: warning: class variable access from toplevel singleton method (This is spammed ad infinitum anywhere I use…

---

## [RMagick as a local gem on Dreamhost](https://www.ruby-forum.com/t/rmagick-as-a-local-gem-on-dreamhost/71620)

<div class="topic-metadata">

**Author:** [@iktorn](https://www.ruby-forum.com/u/iktorn)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/rmagick-as-a-local-gem-on-dreamhost/71620 "2007-09-25T23:02:30Z")

</div>

As DH refused to install new version of RMagick gem “globally” I had to install it locally. Here my install details: Local gems installed in: /home/user/.gems /home/user/.gems/gems/rmagick-1.14.0 Local libs installe…

[Previous page](https://www.ruby-forum.com/top.md?page=1762&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1764&per_page=50)
