# Top

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

[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:** 1669

---

## [Another mysql error with Globalize](https://www.ruby-forum.com/t/another-mysql-error-with-globalize/96464)

<div class="topic-metadata">

**Author:** [@camacho](https://www.ruby-forum.com/u/camacho)\
**Replies:** 1\
**Last updated:** [June 28, 2006, 10:38pm UTC](https://www.ruby-forum.com/t/another-mysql-error-with-globalize/96464 "2006-06-28T22:38:21Z")

</div>

Trying to install Globalize i got this error : D:…\>rake globalize:setup (in D:…) rake aborted! Mysql::Error: #23000Duplicate entry ‘1’ for key 1: INSERT INTO globalize\_countri es (id, code, english\_name, date\_forma…

---

## [Need DB connectivity to SQLBase](https://www.ruby-forum.com/t/need-db-connectivity-to-sqlbase/94861)

<div class="topic-metadata">

**Author:** [@regg](https://www.ruby-forum.com/u/regg)\
**Replies:** 1\
**Last updated:** [May 16, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/need-db-connectivity-to-sqlbase/94861 "2006-05-16T20:19:48Z")

</div>

First, I’m new to Ruby, so I don’t know much about it. I need connectivity to SQLBase and I know Rails does not support it. So I need to know how do I get started in creating the connectivity to SQLBase that I need? A…

---

## [Help : uninitialized constant Song](https://www.ruby-forum.com/t/help-uninitialized-constant-song/57230)

<div class="topic-metadata">

**Author:** [@freaky\_fashion](https://www.ruby-forum.com/u/freaky_fashion)\
**Replies:** 1\
**Last updated:** [April 8, 2006, 11:37am UTC](https://www.ruby-forum.com/t/help-uninitialized-constant-song/57230 "2006-04-08T11:37:04Z")

</div>

Hi, I’m facing the following issue. I have a class A in that i tried instantiating another class B. but got uninitialized constant B error…Any idea how to over come this. Here is my code. class SongList #initiali…

---

## [Login controller with ldap?](https://www.ruby-forum.com/t/login-controller-with-ldap/99953)

<div class="topic-metadata">

**Author:** [@Daniel.Berger](https://www.ruby-forum.com/u/Daniel.Berger)\
**Replies:** 1\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/login-controller-with-ldap/99953 "2005-11-12T12:49:21Z")

</div>

Hi, By any chance has anyone out there written a configurable login controller that does automatic ldap authentication? Regards, Dan PS - Can anyone recommend a good link to a searchable archive of this mailing l…

---

## [\[job\] 2 Ruby On Rails developers @ Applix Education](https://www.ruby-forum.com/t/job-2-ruby-on-rails-developers-applix-education/243039)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 17, 2015, 2:16pm UTC](https://www.ruby-forum.com/t/job-2-ruby-on-rails-developers-applix-education/243039 "2015-08-17T14:16:41Z")

</div>

Buongiorno a tutti, Applix Education cerca 2 developer Ruby on Rails con esperienza per lo sviluppo di un nuovo progetto da integrare alla piattaforma bSmart.it, leader in Italia per l’erogazione di contenuti e serviz…

---

## [Help with habtm](https://www.ruby-forum.com/t/help-with-habtm/234726)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 26, 2015, 9:40pm UTC](https://www.ruby-forum.com/t/help-with-habtm/234726 "2015-03-26T21:40:17Z")

</div>

Hi, I’m using habtm to create a relationship between two models: class Question \< ActiveRecord::Base has\_and\_belongs\_to\_many :exams end class Exam \< ActiveRecord::Base has\_and\_belongs\_to\_many :questions end At so…

---

## [Problems building](https://www.ruby-forum.com/t/problems-building/237377)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 9, 2013, 3:48pm UTC](https://www.ruby-forum.com/t/problems-building/237377 "2013-11-09T15:48:11Z")

</div>

I am trying to install gnuradio on Arch but I am having issues with qtgui and pfb\_clock\_sync. I use qt so I need to get this figured out. Any ideas? The following tests FAILED: 130 - qa\_pfb\_clock\_sync (Failed) 166 -…

---

## [Send custom data](https://www.ruby-forum.com/t/send-custom-data/227546)

<div class="topic-metadata">

**Author:** [@Gong\_Z](https://www.ruby-forum.com/u/Gong_Z)\
**Replies:** 3\
**Last updated:** [June 5, 2013, 10:46am UTC](https://www.ruby-forum.com/t/send-custom-data/227546 "2013-06-05T10:46:38Z")

</div>

Hi, I wanna send custom data such as the device number or device status with USRP.Does it mean I should go deeply into something like tx\_stream-\>send()?Is there any similar example? Thanks in advance.

---

## [Need a little help](https://www.ruby-forum.com/t/need-a-little-help/226503)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 3\
**Last updated:** [December 11, 2012, 8:38am UTC](https://www.ruby-forum.com/t/need-a-little-help/226503 "2012-12-11T08:38:29Z")

</div>

Hey Guys, New to ruby & working on a few tutorials & I’m having trouble with getting the following code to work & I can’t figure out why? class Animal attr\_accessor :name attr\_writer :color attr\_reader :legs, :arms …

---

## [Ngx\_openresty devel version 1.0.15.1 released!](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-0-15-1-released/219332)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 3, 2012, 8:09am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-0-15-1-released/219332 "2012-05-03T08:09:19Z")

</div>

Hi, folks! After more than one month’s hacking, I’m happy to announce the new development release of ngx\_openresty, 1.0.15.1: OpenResty® - Open source Complete change log (compared to 1.0.11.28) can be seen here: Op…

---

## [100 Msps N210 update](https://www.ruby-forum.com/t/100-msps-n210-update/218640)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 24, 2012, 12:00am UTC](https://www.ruby-forum.com/t/100-msps-n210-update/218640 "2012-04-24T00:00:17Z")

</div>

I just updated the repository at GitHub - mepard/N210CeVI: 100 Msps support for Ettus USRP N210. It’s compatible with the latest UHD host library. It no longer requires a modification to the UHD host library. uhd\_strea…

---

## [Undefined method \`+@'](https://www.ruby-forum.com/t/undefined-method/214032)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 19, 2011, 3:47pm UTC](https://www.ruby-forum.com/t/undefined-method/214032 "2011-11-19T15:47:10Z")

</div>

Any idea what might be wrong? ActionView::Template::Error (undefined method \`+@’ for #ActionView::OutputBuffer:0x00000002e51580):

---

## [New IDE for Mac RoR](https://www.ruby-forum.com/t/new-ide-for-mac-ror/213050)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [October 22, 2011, 1:55pm UTC](https://www.ruby-forum.com/t/new-ide-for-mac-ror/213050 "2011-10-22T13:55:03Z")

</div>

Has anyone seen http://vallettaventures.tumblr.com/ yet? It just popped up on MacInTouch this morning, and I’ve run the demo. It looks to have some cool features, although it’s entirely missing all the tab-completion …

---

## [What is the best way to modify the jquery lib](https://www.ruby-forum.com/t/what-is-the-best-way-to-modify-the-jquery-lib/212854)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [October 16, 2011, 11:19am UTC](https://www.ruby-forum.com/t/what-is-the-best-way-to-modify-the-jquery-lib/212854 "2011-10-16T11:19:22Z")

</div>

Hi, i need to modify the jquery base lib cause i want to use jQuery SVG but don’t know where the base lib is located and if there is a better way to do what i want to? Thanks.

---

## [Permission denied: in nginx](https://www.ruby-forum.com/t/permission-denied-in-nginx/208801)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 27, 2011, 2:46pm UTC](https://www.ruby-forum.com/t/permission-denied-in-nginx/208801 "2011-06-27T14:46:30Z")

</div>

HI I am working on nginx, i am developed an small module to read data from an external device. when i call module from the browser i am getting an error “Error connecting XXXXX : permission denied” i tried to change…

---

## [Google Summer of Code 2011](https://www.ruby-forum.com/t/google-summer-of-code-2011/202953)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 3:58pm UTC](https://www.ruby-forum.com/t/google-summer-of-code-2011/202953 "2011-02-09T15:58:19Z")

</div>

Google is running their “Summer of Code” program \[1\] again this year. For those who aren’t familiar, Google basically pays post-secondary students to work on open source projects for the summer. Now that IronPython an…

---

## [Platform independent piped input stream from system call](https://www.ruby-forum.com/t/platform-independent-piped-input-stream-from-system-call/201078)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 30, 2010, 9:25am UTC](https://www.ruby-forum.com/t/platform-independent-piped-input-stream-from-system-call/201078 "2010-12-30T09:25:21Z")

</div>

Hi all, I want to get an input stream from a system command in this manner: f = open("|ls") while( \[not end of output\] ) f.gets end but I would like it to be platform independent. The output of the command I’ll b…

---

## [Can't activate i18n (~\> 0.4.1, runtime) for \["mail-2.2.10"](https://www.ruby-forum.com/t/cant-activate-i18n-0-4-1-runtime-for-mail-2-2-10/199475)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 30, 2010, 12:26am UTC](https://www.ruby-forum.com/t/cant-activate-i18n-0-4-1-runtime-for-mail-2-2-10/199475 "2010-11-30T00:26:10Z")

</div>

Hi Using RoR 3.0.3 on Mac OS X, and am running into the dependency problems. Please see the error below. I thought bundler was meant to precisely avoid these problems? thanks a lot for your help I tried bundle insta…

---

## [UHD Problem.usrp2 no control response](https://www.ruby-forum.com/t/uhd-problem-usrp2-no-control-response/199048)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 13, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/uhd-problem-usrp2-no-control-response/199048 "2010-11-13T18:05:50Z")

</div>

Hello All, I think I have configured my USRP2 correctly and according to “UHD-USRP2 Application Notes”. Im at the point where I can command line ping each usrp2. I see the link activity leds flash and recieve response…

---

## [NP-Hard Geolocatoin Problem](https://www.ruby-forum.com/t/np-hard-geolocatoin-problem/195102)

<div class="topic-metadata">

**Author:** [@jrgutier](https://www.ruby-forum.com/u/jrgutier)\
**Replies:** 3\
**Last updated:** [September 17, 2010, 4:05am UTC](https://www.ruby-forum.com/t/np-hard-geolocatoin-problem/195102 "2010-09-17T04:05:47Z")

</div>

I am trying to create a program that maximizes the distances of addresses in Y amount of groups, essentially trying to decrease the chance that you are in the same group as your neighbors. Here is an example n it’s si…

---

## [Please Help With Memcached Setup](https://www.ruby-forum.com/t/please-help-with-memcached-setup/192986)

<div class="topic-metadata">

**Author:** [@Dayo](https://www.ruby-forum.com/u/Dayo)\
**Replies:** 3\
**Last updated:** [August 10, 2010, 9:57am UTC](https://www.ruby-forum.com/t/please-help-with-memcached-setup/192986 "2010-08-10T09:57:16Z")

</div>

Hi I am running Nginx 0.7.67 with the Memc and Echo 3rd party modules in trying to follow http://agentzh.org/misc/slides/nginx-conf-scripting/nginx-conf-scripting.html#35. I want to serve some static files from memca…

---

## [Page\_type as a parameter](https://www.ruby-forum.com/t/page-type-as-a-parameter/192501)

<div class="topic-metadata">

**Author:** [@Mario\_TSL](https://www.ruby-forum.com/u/Mario_TSL)\
**Replies:** 0\
**Last updated:** [July 31, 2010, 7:49pm UTC](https://www.ruby-forum.com/t/page-type-as-a-parameter/192501 "2010-07-31T19:49:53Z")

</div>

I am trying to pass a page\_type parameter (via query string) to the page controller new and create actions. http://localhost:3000/admin/pages/5/children/new?page\_type=event The goal is for the new page to appear showi…

---

## [Store file into mysql using ruby on rails](https://www.ruby-forum.com/t/store-file-into-mysql-using-ruby-on-rails/191831)

<div class="topic-metadata">

**Author:** [@prabhat4ever](https://www.ruby-forum.com/u/prabhat4ever)\
**Replies:** 3\
**Last updated:** [July 19, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/store-file-into-mysql-using-ruby-on-rails/191831 "2010-07-19T15:35:21Z")

</div>

Hi plz tell me how to upload a file into mysql table in Ruby On Rails … ? also tell me how to read bytes from a file & stores in a variable in ruby … thanks :slight\_smile:

---

## [:controller, how does Rails recognize them?](https://www.ruby-forum.com/t/controller-how-does-rails-recognize-them/191817)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 3\
**Last updated:** [July 19, 2010, 11:43am UTC](https://www.ruby-forum.com/t/controller-how-does-rails-recognize-them/191817 "2010-07-19T11:43:18Z")

</div>

In the Rails guides: Getting Started with Rails — Ruby on Rails Guides It mentions that we have the following in the “routes.rb” file: map.connect ‘:controller/:action/:id’ map.connect ‘:controller/:action/:id.:format…

---

## [Regarding...modulation used by usrp](https://www.ruby-forum.com/t/regarding-modulation-used-by-usrp/187331)

<div class="topic-metadata">

**Author:** [@muhammad\_k](https://www.ruby-forum.com/u/muhammad_k)\
**Replies:** 3\
**Last updated:** [April 23, 2010, 7:38am UTC](https://www.ruby-forum.com/t/regarding-modulation-used-by-usrp/187331 "2010-04-23T07:38:17Z")

</div>

Hello, I am using USRP with FLEX900 daughter board, i want to ask you that while transmission what kind of modulation technique, used by USRP for transmitting data. Thanks Ali

---

## [Ruby Regexp implementation?](https://www.ruby-forum.com/t/ruby-regexp-implementation/185058)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 3\
**Last updated:** [March 12, 2010, 11:48pm UTC](https://www.ruby-forum.com/t/ruby-regexp-implementation/185058 "2010-03-12T23:48:07Z")

</div>

This probably doesn’t belong in Ruby Core. I was reading this article: http://swtch.com/~rsc/regexp/regexp1.html http://swtch.com/~rsc/regexp/regexp2.html http://swtch.com/~rsc/regexp/regexp3.html And in the first fe…

---

## [Digitizing a digital data stream with USRP2](https://www.ruby-forum.com/t/digitizing-a-digital-data-stream-with-usrp2/183632)

<div class="topic-metadata">

**Author:** [@John\_Carlson](https://www.ruby-forum.com/u/John_Carlson)\
**Replies:** 3\
**Last updated:** [February 17, 2010, 8:13pm UTC](https://www.ruby-forum.com/t/digitizing-a-digital-data-stream-with-usrp2/183632 "2010-02-17T20:13:58Z")

</div>

I have a USRP2 and I’m interested in doing an experiment where I’d like to simply use the USRP2 as an A/D and D/A device, essentially disabling the RF tuning portions. The signal I’m trying to digitize is a stream o…

---

## [REXML::ParseException: Missing end tag for 'META' (got "HEAD](https://www.ruby-forum.com/t/rexml-missing-end-tag-for-meta-got-head/182067)

<div class="topic-metadata">

**Author:** [@smit\_shah](https://www.ruby-forum.com/u/smit_shah)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 8:22am UTC](https://www.ruby-forum.com/t/rexml-missing-end-tag-for-meta-got-head/182067 "2010-01-22T08:22:48Z")

</div>

Hi, I am using flickr\_fu gem. When I try to get photos with following flickr = Flickr.new(File.join(RAILS\_ROOT, ‘config’, ‘flickr.yml’)) flickr.photos.search(:user\_id =\> user\_id) it gives me error like “REXML::Parse…

---

## [Start\_rx\_streaming\_at patch problems](https://www.ruby-forum.com/t/start-rx-streaming-at-patch-problems/181467)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 3\
**Last updated:** [January 18, 2010, 5:47am UTC](https://www.ruby-forum.com/t/start-rx-streaming-at-patch-problems/181467 "2010-01-18T05:47:46Z")

</div>

Hi, I’ve been using the latest git version of gnuradio and trying to get Doug’s start\_rx\_streaming\_at patch (now merged with the git version) to work. I don’t think there’s any support via gr-usrp2 so I’ve modified …

---

## [Remove a restful action from map.resources](https://www.ruby-forum.com/t/remove-a-restful-action-from-map-resources/181361)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 3\
**Last updated:** [January 10, 2010, 10:02pm UTC](https://www.ruby-forum.com/t/remove-a-restful-action-from-map-resources/181361 "2010-01-10T22:02:39Z")

</div>

Hi, my question is about routing: is it possible to remove a restful action from map.resources ? if few words: I have a City model, and I’ve declared in routes.rb file: map.resources :users then I obtain ALL restfu…

---

## [Broken rake](https://www.ruby-forum.com/t/broken-rake/176037)

<div class="topic-metadata">

**Author:** [@jimgroom](https://www.ruby-forum.com/u/jimgroom)\
**Replies:** 3\
**Last updated:** [September 25, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/broken-rake/176037 "2009-09-25T22:32:23Z")

</div>

I’m attempting to run some migrations on an empty database and I’m getting an error from rake. This is reported as a Warbler problem (http://kenai.com/jira/browse/WARBLER-4), but I’ve uninstalled it and I still have …

---

## [Rails Polymorphic conundrum](https://www.ruby-forum.com/t/rails-polymorphic-conundrum/175598)

<div class="topic-metadata">

**Author:** [@thelemcke](https://www.ruby-forum.com/u/thelemcke)\
**Replies:** 3\
**Last updated:** [September 17, 2009, 1:38am UTC](https://www.ruby-forum.com/t/rails-polymorphic-conundrum/175598 "2009-09-17T01:38:20Z")

</div>

I’m making a database that requires many-to-many associations. Here’s the design: There is a class called ‘Owner’ that owns many ‘Boxes’, ‘Things’, ‘Doodads’, and ‘Thingamabobs’ ‘Boxes’ can have many ‘Things’, ‘Dood…

---

## [Updating attribute based on radio selection](https://www.ruby-forum.com/t/updating-attribute-based-on-radio-selection/173117)

<div class="topic-metadata">

**Author:** [@sts](https://www.ruby-forum.com/u/sts)\
**Replies:** 3\
**Last updated:** [August 3, 2009, 2:32pm UTC](https://www.ruby-forum.com/t/updating-attribute-based-on-radio-selection/173117 "2009-08-03T14:32:00Z")

</div>

I have a table with question\_id , nominees and vote\_count in which the values are added manually as follows. ex: question\_id nominees vote\_count 1 tamil 0 1 selvi 0 2 …

---

## [Curious why copying an array element by element fails when using strip!](https://www.ruby-forum.com/t/curious-why-copying-an-array-element-by-element-fails-when-using-strip/171776)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 3\
**Last updated:** [July 9, 2009, 2:24am UTC](https://www.ruby-forum.com/t/curious-why-copying-an-array-element-by-element-fails-when-using-strip/171776 "2009-07-09T02:24:50Z")

</div>

Hi, I wanted to copy one array into another, element by element, so that I could edit the source data as necessary. I simultaneously changed a source element using “strip!”. The latter step corrupted the copying. …

---

## [Noob question, regarding array](https://www.ruby-forum.com/t/noob-question-regarding-array/170184)

<div class="topic-metadata">

**Author:** [@thiago](https://www.ruby-forum.com/u/thiago)\
**Replies:** 3\
**Last updated:** [June 13, 2009, 11:54am UTC](https://www.ruby-forum.com/t/noob-question-regarding-array/170184 "2009-06-13T11:54:40Z")

</div>

I’m a noob, trying to learn ruby. I’m following along with the book Programming Ruby, The Pragmatic Programmer’s Guide, which comes with ruby documentation. Im on chapter, Implementing a SongList Container, doing the…

---

## [SSL testing on localhost - segfaults aplenty!](https://www.ruby-forum.com/t/ssl-testing-on-localhost-segfaults-aplenty/168361)

<div class="topic-metadata">

**Author:** [@zamo](https://www.ruby-forum.com/u/zamo)\
**Replies:** 3\
**Last updated:** [May 26, 2009, 3:19am UTC](https://www.ruby-forum.com/t/ssl-testing-on-localhost-segfaults-aplenty/168361 "2009-05-26T03:19:07Z")

</div>

Hello, I’ve followed the tutorial @ http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/ to setup SSL on localhost, wanting to use https for logging in and such. Using the method described above I get…

---

## [Why does mathn kill this method?](https://www.ruby-forum.com/t/why-does-mathn-kill-this-method/164404)

<div class="topic-metadata">

**Author:** [@steenslag](https://www.ruby-forum.com/u/steenslag)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 1:16am UTC](https://www.ruby-forum.com/t/why-does-mathn-kill-this-method/164404 "2009-04-01T01:16:08Z")

</div>

Really stumped here. def sum\_digits(n) sum = 0 while n\>0 sum += n % 10 n /= 10 end sum end STDOUT.sync=true puts sum\_digits(12) #=\> 3 require ‘mathn’ puts sum\_digits(12) # hangs What am I doing wrong?

---

## [Need help with Net::HTTP Post](https://www.ruby-forum.com/t/need-help-with-net-http-post/161405)

<div class="topic-metadata">

**Author:** [@sudhi](https://www.ruby-forum.com/u/sudhi)\
**Replies:** 3\
**Last updated:** [February 26, 2009, 9:00pm UTC](https://www.ruby-forum.com/t/need-help-with-net-http-post/161405 "2009-02-26T21:00:23Z")

</div>

Hi, I am trying do a Net::HTTP post, the post returns with a 201 Created but still the thread executing the script is stuck until Read Timeout occurs. Need help to understand how to comeout of the Post when a respons…

---

## [Collection of Partials, :as Option No Good, TemplateError](https://www.ruby-forum.com/t/collection-of-partials-as-option-no-good-templateerror/161258)

<div class="topic-metadata">

**Author:** [@MaggotChild](https://www.ruby-forum.com/u/MaggotChild)\
**Replies:** 3\
**Last updated:** [February 24, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/collection-of-partials-as-option-no-good-templateerror/161258 "2009-02-24T23:23:24Z")

</div>

I’m trying to render a collection of partials using :as. It raises an undefined local variable exception. Not sure why: ~/delivery-log/app/views/packages $ ls -1 \_package.html.erb \_package\_list.html.erb index.html.e…

---

## [Restful routes and Rails Console](https://www.ruby-forum.com/t/restful-routes-and-rails-console/158841)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 3\
**Last updated:** [January 28, 2009, 10:12pm UTC](https://www.ruby-forum.com/t/restful-routes-and-rails-console/158841 "2009-01-28T22:12:40Z")

</div>

The following is a snippet of the routes.rb file: map.resources :blogs do |blog| blog.resources :posts do |post| post.resources :comments end end The index action in the CommentsController shows: redirect\_to comme…

---

## [Howto for compiling in 32-bit?](https://www.ruby-forum.com/t/howto-for-compiling-in-32-bit/157361)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [January 9, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/howto-for-compiling-in-32-bit/157361 "2009-01-09T23:20:46Z")

</div>

Anybody know of a HOWTO for compiling a 32-bit binary \[like ruby\] in a 64-bit OS like…ubuntu on a 64 bit machine? Thanks much. -r

---

## [URI path is not taking parameters](https://www.ruby-forum.com/t/uri-path-is-not-taking-parameters/155757)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 3\
**Last updated:** [December 16, 2008, 5:59pm UTC](https://www.ruby-forum.com/t/uri-path-is-not-taking-parameters/155757 "2008-12-16T17:59:21Z")

</div>

myurl = “http://twitter.com/statuses/friends\_timeline.json?since\_id=1060198339” uri = URI.parse(myurl) puts uri.path =\> http://twitter.com/statuses/friends\_timeline.json Where has “?since\_id=1060198339” gone? uri.p…

---

## [File Upload fails for large files](https://www.ruby-forum.com/t/file-upload-fails-for-large-files/153691)

<div class="topic-metadata">

**Author:** [@chirantan](https://www.ruby-forum.com/u/chirantan)\
**Replies:** 3\
**Last updated:** [November 20, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/file-upload-fails-for-large-files/153691 "2008-11-20T15:59:52Z")

</div>

Hi, I am using mongrel with nginx and I am facing problem when I try to upload a large file. After googling about this, I came to know that I need to configure nginx.conf file by setting ‘client\_max\_body\_size’ to a …

---

## [Connection refused](https://www.ruby-forum.com/t/connection-refused/153143)

<div class="topic-metadata">

**Author:** [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Replies:** 3\
**Last updated:** [November 13, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/connection-refused/153143 "2008-11-13T18:00:58Z")

</div>

what is the reason for this error. this return when try to direct web page. No connection could be made because the target machine actively refused it. - connect(2)

---

## [USRP2 backward compatibility questions](https://www.ruby-forum.com/t/usrp2-backward-compatibility-questions/152748)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 3\
**Last updated:** [November 7, 2008, 4:51am UTC](https://www.ruby-forum.com/t/usrp2-backward-compatibility-questions/152748 "2008-11-07T04:51:09Z")

</div>

Does the USRP2 support the BasicRX daughterboard? Does the USRP2 support the DBSRX daughterboard? Does gnuradio-3.1.3 work with USRP2? Does the USRP2 work with the usrp\_standard\_rx interface (in libusrp.so pr…

---

## [I need to represent data as percentages](https://www.ruby-forum.com/t/i-need-to-represent-data-as-percentages/151569)

<div class="topic-metadata">

**Author:** [@silentd3at4](https://www.ruby-forum.com/u/silentd3at4)\
**Replies:** 3\
**Last updated:** [October 23, 2008, 2:04pm UTC](https://www.ruby-forum.com/t/i-need-to-represent-data-as-percentages/151569 "2008-10-23T14:04:44Z")

</div>

basically i go through a document count up the total number of times the status codes appeared. eg 200 = 96 201 =8 300 = 12 etc etc. I have counted up the total number of codes in the whole file and now must divide …

---

## [Validating multiple contents](https://www.ruby-forum.com/t/validating-multiple-contents/151131)

<div class="topic-metadata">

**Author:** [@balavrscse](https://www.ruby-forum.com/u/balavrscse)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 10:32am UTC](https://www.ruby-forum.com/t/validating-multiple-contents/151131 "2008-10-18T10:32:15Z")

</div>

Hi If we want to validate result page with single text content we will use ie.text.include?(" Particular content ") suppose if i want to validate page with multiple content like German rails …

---

## [\[Feature #546\] String#gsub $B$H(B Strnig#scan $B$N%V%m%C%/%Q%i%a!\<%?$N0lCW(B](https://www.ruby-forum.com/t/feature-546-string-gsub-b-h-b-strnig-scan-b-n-v-m-c-q-i-a-n0lcw-b/148194)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 3\
**Last updated:** [September 24, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/feature-546-string-gsub-b-h-b-strnig-scan-b-n-v-m-c-q-i-a-n0lcw-b/148194 "2008-09-24T18:25:44Z")

</div>

e$B%A%1%C%He(B #546 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE) e$B%+%F%4%je(B coree$B$K%;%C%He(B e$B8!:w$9$k$HI8=\`E:IU%i%$%V%i%j$G$b$R$C$+$+$C$F$$$^$9$,!"e(B e$B$3$A$i$K$D$$$F$O$9$G$KBP=h:Q$\_$G$9!#e(B e$B$^$!!“$.$c$C$H…

---

## [1 PPS input for USRP2](https://www.ruby-forum.com/t/1-pps-input-for-usrp2/148443)

<div class="topic-metadata">

**Author:** [@subodh\_chiwate](https://www.ruby-forum.com/u/subodh_chiwate)\
**Replies:** 3\
**Last updated:** [September 13, 2008, 2:09am UTC](https://www.ruby-forum.com/t/1-pps-input-for-usrp2/148443 "2008-09-13T02:09:26Z")

</div>

Hi, I just saw the specifications for USRP2. I wanted to know the use of the 1 PPS and 10 MHz inputs. These are standard outputs of a GPS unit. So is it just a set of external references or they are used in the ether…

---

## [How to open Text File and then insert line in first position?](https://www.ruby-forum.com/t/how-to-open-text-file-and-then-insert-line-in-first-position/146899)

<div class="topic-metadata">

**Author:** [@pabloq](https://www.ruby-forum.com/u/pabloq)\
**Replies:** 3\
**Last updated:** [August 26, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/how-to-open-text-file-and-then-insert-line-in-first-position/146899 "2008-08-26T17:40:32Z")

</div>

Hi, I need to add a header to files, but I didn’t find how open files in append mode (‘a’) but positioned in first position. Does anyone know how to do that? Thanks

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

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