# Top

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

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

---

## [\[ANN\] jruby-mapdb 0.9.5 gem released](https://www.ruby-forum.com/t/ann-jruby-mapdb-0-9-5-gem-released/236666)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 24, 2013, 11:30pm UTC](https://www.ruby-forum.com/t/ann-jruby-mapdb-0-9-5-gem-released/236666 "2013-09-24T23:30:33Z")

</div>

Hi, I just released this gem allowing jrubyists to use in a fairly transparent way MapDB 0.9.5 (jar is included in the gem). MapDB is a fast key-value store java library. This gem serves as a ‘OKVM’ (object key-val…

---

## [GTK3 on Windows 7 (x64)](https://www.ruby-forum.com/t/gtk3-on-windows-7-x64/236156)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 11, 2013, 2:38pm UTC](https://www.ruby-forum.com/t/gtk3-on-windows-7-x64/236156 "2013-08-11T14:38:56Z")

</div>

Is it possible to install GTK3 on Ruby 2.0.0 x64 + DevKit Windows 7 x64? When installing I get error. gem install gtk3 Temporarily enhancing PATH to include DevKit… Building native extensions. This could take a whil…

---

## [Nginx keeps passing the same http\_cookie to uwsgi](https://www.ruby-forum.com/t/nginx-keeps-passing-the-same-http-cookie-to-uwsgi/220735)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 19, 2012, 3:41pm UTC](https://www.ruby-forum.com/t/nginx-keeps-passing-the-same-http-cookie-to-uwsgi/220735 "2012-06-19T15:41:33Z")

</div>

I have a small python app running via uwsgi with requests served by nginx. I’m printing the environment variables… and it looks like after a couple of ok requests, nginx is sending the same HTTP\_COOKIE param for unre…

---

## [3-state checkbox](https://www.ruby-forum.com/t/3-state-checkbox/201513)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 18, 2011, 10:43am UTC](https://www.ruby-forum.com/t/3-state-checkbox/201513 "2011-01-18T10:43:07Z")

</div>

Hi There–Just wanted to see if anyone could confirm for me that the 3-state checkbox is not actually implemented, contrary to the documentation. The window style Wx::CHK\_3STATE does not appear to be available, nor an…

---

## [UHD GRC loopback glitches](https://www.ruby-forum.com/t/uhd-grc-loopback-glitches/195158)

<div class="topic-metadata">

**Author:** [@meckart](https://www.ruby-forum.com/u/meckart)\
**Replies:** 2\
**Last updated:** [September 17, 2010, 11:14pm UTC](https://www.ruby-forum.com/t/uhd-grc-loopback-glitches/195158 "2010-09-17T23:14:58Z")

</div>

I have a simple GRC flowgraph that transmits a complex sine wave on a UHD USRP2 with a WBX, receives on a USRP2 with a DBSRX, and displays the output on a scope. The two boxes are connected via a 30dB Mini-Circuits at…

---

## [Dungeon crawler text game](https://www.ruby-forum.com/t/dungeon-crawler-text-game/176793)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 2\
**Last updated:** [October 6, 2009, 7:45pm UTC](https://www.ruby-forum.com/t/dungeon-crawler-text-game/176793 "2009-10-06T19:45:50Z")

</div>

Hey! So I’m new to Ruby (comming from a Python/C# background) and I love the language! So much so, that I want to re-create a text based dungeon game. I got the basics down with help from a Ruby book I’m reading and…

---

## [Tabellen automatisch fÃ¼llen?geht das?](https://www.ruby-forum.com/t/tabellen-automatisch-fa-llen-geht-das/161135)

<div class="topic-metadata">

**Author:** [@jobber](https://www.ruby-forum.com/u/jobber)\
**Replies:** 2\
**Last updated:** [February 24, 2009, 9:36am UTC](https://www.ruby-forum.com/t/tabellen-automatisch-fa-llen-geht-das/161135 "2009-02-24T09:36:39Z")

</div>

Hallo, gibt es die MÃ¶glichkeit in Ruby on Rails eine Tabelle mit x beliebigen Daten zu fÃ¼llen? Eine bestehende Tabelle soll z.B. 10 EintrÃ¤ge bekommen. Bei 10 kann ich es ja noch per Hand machen, aber wenn es 100 …

---

## [WEBrick error - exceeded the maximum permissible length](https://www.ruby-forum.com/t/webrick-error-exceeded-the-maximum-permissible-length/151419)

<div class="topic-metadata">

**Author:** [@katsuo](https://www.ruby-forum.com/u/katsuo)\
**Replies:** 2\
**Last updated:** [October 21, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/webrick-error-exceeded-the-maximum-permissible-length/151419 "2008-10-21T13:36:55Z")

</div>

Hi I have the following error on the browser. Can anyone tell me how to change the configuration on Webrick to solve this problem? Secure Connection Failed An error occurred during a connection to localhost:3000 erro…

---

## [Mechanize select list help...?](https://www.ruby-forum.com/t/mechanize-select-list-help/150288)

<div class="topic-metadata">

**Author:** [@prot](https://www.ruby-forum.com/u/prot)\
**Replies:** 2\
**Last updated:** [October 7, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/mechanize-select-list-help/150288 "2008-10-07T20:18:11Z")

</div>

Hi. I’m using the excellent WWW::Mechanize to screen scrape a site for UK frost dates (don’t ask :wink: there’s a lot of issues with the HTML not being grand, so I thought that’s where I am going wrong in my code, bu…

---

## [News headline (RSS summary) behavior](https://www.ruby-forum.com/t/news-headline-rss-summary-behavior/101643)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 2\
**Last updated:** [August 7, 2006, 4:40pm UTC](https://www.ruby-forum.com/t/news-headline-rss-summary-behavior/101643 "2006-08-07T16:40:52Z")

</div>

I’ve just finished a first version of a simple news headline tag for Radiant, incorporated into a ‘News’ behavior. It parses an RSS feed from a given feed URL and generates an unordered list of headline items. The num…

---

## [How to dynamically buid relationships between models?](https://www.ruby-forum.com/t/how-to-dynamically-buid-relationships-between-models/61196)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [May 26, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/how-to-dynamically-buid-relationships-between-models/61196 "2006-05-26T14:24:09Z")

</div>

Hi all I’m trapped with the following problem. I’d like to work with the UserEngine engine. Every user has let’s say a Profile model. So they have a 1:1 relationship. Now I should declare this relationship in both mo…

---

## [Can robot.rb be written a ruby way?](https://www.ruby-forum.com/t/can-robot-rb-be-written-a-ruby-way/53343)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 2\
**Last updated:** [February 2, 2006, 1:26pm UTC](https://www.ruby-forum.com/t/can-robot-rb-be-written-a-ruby-way/53343 "2006-02-02T13:26:14Z")

</div>

This site gives the c code from robot.c in its robot-framework-1.3.tar.gz file http://yallara.cs.rmit.edu.au/~aholkner/Interactive3D/ and this site gives a ruby code for the same program in robot.rb in its folder sam…

---

## [Authentication and authorization](https://www.ruby-forum.com/t/authentication-and-authorization/209229)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [July 9, 2011, 6:53pm UTC](https://www.ruby-forum.com/t/authentication-and-authorization/209229 "2011-07-09T18:53:49Z")

</div>

I’d like some help to do both. Either an easy way to do it from scratch or a gem. I saw the way it’s done at Ruby on Rails Tutorial, but couldn’t understand it very well, so thats why I want an easier way (or gem). …

---

## [Passing values from partial to controller](https://www.ruby-forum.com/t/passing-values-from-partial-to-controller/188854)

<div class="topic-metadata">

**Author:** [@drk](https://www.ruby-forum.com/u/drk)\
**Replies:** 8\
**Last updated:** [May 19, 2010, 3:34pm UTC](https://www.ruby-forum.com/t/passing-values-from-partial-to-controller/188854 "2010-05-19T15:34:08Z")

</div>

I am trying to pass login and group\_name from partial to controller, but I dont get the values. I see the following error: RuntimeError in UsersController#addfriendtogroups Called id for nil, which would mistakenly b…

---

## ["shoes" issues](https://www.ruby-forum.com/t/shoes-issues/121943)

<div class="topic-metadata">

**Author:** [@dust](https://www.ruby-forum.com/u/dust)\
**Replies:** 8\
**Last updated:** [December 3, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/shoes-issues/121943 "2007-12-03T21:15:22Z")

</div>

So, i have been looking around for easy GUI’s. I tried DL’ing TK but I got frustrated with the lack of help/ tutorials so i have found the toolkit “shoes”. I’m trying to download it, but i get compile errors when tryi…

---

## [Rubyonrails security issues?](https://www.ruby-forum.com/t/rubyonrails-security-issues/117068)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 8\
**Last updated:** [October 14, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/rubyonrails-security-issues/117068 "2007-10-14T17:04:43Z")

</div>

Hello there, While working on a project, I notice something very weird :S If I type this in the URL http://localhost:3000/my/friends/index/5 it changed all the URL :S:S:S:S http://localhost:3000/my/friends/index/5?g…

---

## [Need a simplified understanding of Rubinius](https://www.ruby-forum.com/t/need-a-simplified-understanding-of-rubinius/115710)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 8\
**Last updated:** [September 30, 2007, 5:02am UTC](https://www.ruby-forum.com/t/need-a-simplified-understanding-of-rubinius/115710 "2007-09-30T05:02:34Z")

</div>

…just curious…how does Rubinius ‘boot’ itself up and how does translate ruby into bytecode… i know a little about parsing and compilers … but what makes rubinius different? i hear it is actually written in ruby… but t…

---

## [Class is object? :very\_sleepy](https://www.ruby-forum.com/t/class-is-object-very-sleepy/97506)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 8\
**Last updated:** [January 26, 2006, 6:37pm UTC](https://www.ruby-forum.com/t/class-is-object-very-sleepy/97506 "2006-01-26T18:37:03Z")

</div>

Was just thinking today, earlier, but at the moment I’m not reallly thinking, I’m mostly asleep right now, so probably shouldnt be writing, let alone typing, and especially not with this much Nightquil chugging though…

---

## [CD RoR du Linux Developer's Journal n°2/2007 - Help please!](https://www.ruby-forum.com/t/cd-ror-du-linux-developers-journal-n-2-2007-help-please/233200)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 24, 2014, 12:26am UTC](https://www.ruby-forum.com/t/cd-ror-du-linux-developers-journal-n-2-2007-help-please/233200 "2014-11-24T00:26:48Z")

</div>

Bonjour/bonsoir à tout-e-s. J’ai perdu le CD accompagnant le n° 2/2007 du Linux Developer’s Journal dont Remi Bernhard nous annonçait la parution le 2007-04-01, cf: https://www.ruby-forum.com/topic/103393 Special RoR…

---

## [Undefined symbol error](https://www.ruby-forum.com/t/undefined-symbol-error/235410)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [June 20, 2013, 4:01pm UTC](https://www.ruby-forum.com/t/undefined-symbol-error/235410 "2013-06-20T16:01:52Z")

</div>

Hi all, today I got really strange problem. Everything was in perfect order, I was designing a new block, and when finished I tried to test it, but the following error came: ImportError: /home/savi\_ne/work/gnuradio…

---

## [Having isues with capitalizing words](https://www.ruby-forum.com/t/having-isues-with-capitalizing-words/224988)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [December 6, 2012, 6:59am UTC](https://www.ruby-forum.com/t/having-isues-with-capitalizing-words/224988 "2012-12-06T06:59:17Z")

</div>

So, this is a method I have made: def title(words) words.gsub(/(\\A|\\s)\\w/) do |word| if(word!=“and” || word!=“an” || word!=“the”) word.upcase else word.downcase end end end I have been trying to solve this for…

---

## [How to work with data from DB in controller](https://www.ruby-forum.com/t/how-to-work-with-data-from-db-in-controller/205209)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [April 1, 2011, 9:35am UTC](https://www.ruby-forum.com/t/how-to-work-with-data-from-db-in-controller/205209 "2011-04-01T09:35:00Z")

</div>

Hi there, I have the collection with items “name”, “surname”, “sequence”. When I’m saving next user to my collection, I need to get the highest value of “sequence” in my collection, this value increment and save to ne…

---

## [Mysql2](https://www.ruby-forum.com/t/mysql2/194704)

<div class="topic-metadata">

**Author:** [@ALISHER\_ULUGBEKOV](https://www.ruby-forum.com/u/ALISHER_ULUGBEKOV)\
**Replies:** 6\
**Last updated:** [September 9, 2010, 3:09pm UTC](https://www.ruby-forum.com/t/mysql2/194704 "2010-09-09T15:09:46Z")

</div>

I am really disappointed that rails 3.0 have a problem, big issue with mysql2. I googled and surprised that none of the ruby core developers mentioning this problem at least telling to people about this issue and so…

---

## [List of radio buttons](https://www.ruby-forum.com/t/list-of-radio-buttons/188948)

<div class="topic-metadata">

**Author:** [@Smok](https://www.ruby-forum.com/u/Smok)\
**Replies:** 6\
**Last updated:** [May 21, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/list-of-radio-buttons/188948 "2010-05-21T17:29:57Z")

</div>

I need to create in RoR 2.3.5 a list of questions ( the number of questions will be changing). The answers will be near to each of the these questions in radiobuttons (let’s say 3 radios near each of thequestions). Af…

---

## [1.9.x Thread problem](https://www.ruby-forum.com/t/1-9-x-thread-problem/162347)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 6\
**Last updated:** [March 9, 2009, 4:26am UTC](https://www.ruby-forum.com/t/1-9-x-thread-problem/162347 "2009-03-09T04:26:38Z")

</div>

Hi All, Here’s a tricky one for you: require ‘thread’ THREADS = 10 WASTE = 10000 pid = fork() do queue = Queue.new THREADS.times do |i| queue \<\< Thread.new do # wasting actual cpu time, rather than sleeping Thr…

---

## [Script/console using older Rails version](https://www.ruby-forum.com/t/script-console-using-older-rails-version/161441)

<div class="topic-metadata">

**Author:** [@dantelepoole](https://www.ruby-forum.com/u/dantelepoole)\
**Replies:** 6\
**Last updated:** [March 1, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/script-console-using-older-rails-version/161441 "2009-03-01T18:48:36Z")

</div>

Hi all, I have an app running fine on Rails 2.2.2, but whenever I launch the script/console in the same app it loads Rails version 2.1.0. I wouldn’t really mind, except that every time I start the console I get a lot …

---

## [Weird: Just unzipped ruby-1.9.0-2.zip -- no Ruby.exe](https://www.ruby-forum.com/t/weird-just-unzipped-ruby-1-9-0-2-zip-no-ruby-exe/144801)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 6\
**Last updated:** [August 2, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/weird-just-unzipped-ruby-1-9-0-2-zip-no-ruby-exe/144801 "2008-08-02T20:05:27Z")

</div>

Hi, I’ve been running ruby186-26\_rc2 installed from ruby186-26\_rc2.exe over WinXP-Pro/SP2. I manually installed a the path of ruby.exe in Window’s PATH. All worked well for a good while. I decided to upgrade to 1.9…

---

## [Plugins/Gem Download Slow](https://www.ruby-forum.com/t/plugins-gem-download-slow/124467)

<div class="topic-metadata">

**Author:** [@bdude](https://www.ruby-forum.com/u/bdude)\
**Replies:** 6\
**Last updated:** [December 31, 2007, 9:52am UTC](https://www.ruby-forum.com/t/plugins-gem-download-slow/124467 "2007-12-31T09:52:22Z")

</div>

Hello, I’m new to Ruby on Rails and I’m trying to install some plugins/gems, but for some reason when I go to install them it takes the script a long time to start downloading, and even when it starts downloading it …

---

## [Bug in Array#slice!](https://www.ruby-forum.com/t/bug-in-array-slice/122650)

<div class="topic-metadata">

**Author:** [@Satoshi\_N](https://www.ruby-forum.com/u/Satoshi_N)\
**Replies:** 6\
**Last updated:** [December 10, 2007, 2:29pm UTC](https://www.ruby-forum.com/t/bug-in-array-slice/122650 "2007-12-10T14:29:49Z")

</div>

e$BCf@n$H$$$$$^$9!#e(B \[ruby-dev:31761\] e$B$G0lEY%l%\]!\<%H$7$?$N$G$9$,!“e(BArray e$B$N4pe(B e$BK\\E\*$J$H$3$m$N%P%0$G=EMW$@$H;W$o$l$k$N$G!”$b$&0lEY\>$7$/%le(B e$B%\]!\<%H$7$^$9!#e(B Array#slice! e$B$G!"Ii$NHO0O30$Ne(B inde…

---

## [Array Difference](https://www.ruby-forum.com/t/array-difference/112352)

<div class="topic-metadata">

**Author:** [@fire-fly](https://www.ruby-forum.com/u/fire-fly)\
**Replies:** 6\
**Last updated:** [August 19, 2007, 1:26pm UTC](https://www.ruby-forum.com/t/array-difference/112352 "2007-08-19T13:26:11Z")

</div>

Hi all. Why this don’t work?? Begin code class Prova attr\_accessor :n def initialize(n) @n = n end def to\_s “#{@n}” end def ==(other) @n == other.n end end p1 = \[Prova.new(1), Prova.new(2)\] p2 = \[Prova.new(…

---

## [Help with capistrano and nginx](https://www.ruby-forum.com/t/help-with-capistrano-and-nginx/108262)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [July 2, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/help-with-capistrano-and-nginx/108262 "2007-07-02T12:07:25Z")

</div>

I’m using nginx with capistrano to deploy my Rails app and I’m having a hard time getting the maintenance capistrano task (deploy:web:disable) to work like I want. I want nginx to redirect all requests to public/maint…

---

## [How to cycle over all self.xx elements performing a method?](https://www.ruby-forum.com/t/how-to-cycle-over-all-self-xx-elements-performing-a-method/87035)

<div class="topic-metadata">

**Author:** [@scot](https://www.ruby-forum.com/u/scot)\
**Replies:** 6\
**Last updated:** [February 27, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/how-to-cycle-over-all-self-xx-elements-performing-a-method/87035 "2007-02-27T20:29:38Z")

</div>

Hi, I would like to perform CGI.escapeHTML to all var’s before save, somthing like (that obviously dont work) self.each do |attr| attr = CGI.escapeHTML(attr) if attr end Thanks Scot

---

## [Using hash.keys - why doesn't it display in order created](https://www.ruby-forum.com/t/using-hash-keys-why-doesnt-it-display-in-order-created/83954)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 6\
**Last updated:** [January 31, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/using-hash-keys-why-doesnt-it-display-in-order-created/83954 "2007-01-31T19:57:56Z")

</div>

I am using .keys on a hash to create an array that is than displayed in a view with .each - why does it not display the keys in the order added to the hash? I would like to controll how the array is displayed - I wa…

---

## [Crash if too many processes](https://www.ruby-forum.com/t/crash-if-too-many-processes/81734)

<div class="topic-metadata">

**Author:** [@alon](https://www.ruby-forum.com/u/alon)\
**Replies:** 6\
**Last updated:** [January 19, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/crash-if-too-many-processes/81734 "2007-01-19T17:54:52Z")

</div>

Hello, I’m running my ROR app in dev mode on my local machine with webrick. In preparation for production I am testing on 3 different browsers. They all work well separately, however when they all talk to webrick sim…

---

## [Substrings by Position](https://www.ruby-forum.com/t/substrings-by-position/63051)

<div class="topic-metadata">

**Author:** [@charlie](https://www.ruby-forum.com/u/charlie)\
**Replies:** 6\
**Last updated:** [June 11, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/substrings-by-position/63051 "2006-06-11T22:41:39Z")

</div>

Hi, Just a logic question about substrings by position. foo = “012345678” foo\[5,1\] #-\> “5” foo\[-4,2\] #-\> “56” foo\[-3,2\] = “” #-\> “0123458” Shouldn’t a negative indexing work as well? (Below are just examples, they…

---

## [Mapping a String to Properties - A Better Way?](https://www.ruby-forum.com/t/mapping-a-string-to-properties-a-better-way/60507)

<div class="topic-metadata">

**Author:** [@afewtips](https://www.ruby-forum.com/u/afewtips)\
**Replies:** 6\
**Last updated:** [May 15, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/mapping-a-string-to-properties-a-better-way/60507 "2006-05-15T16:46:21Z")

</div>

I have a piece of code that works fine, but I’m wondering if there is a better way to go about it. The method is receiving a hash (params) and in that hash are a group of items named item\_1, item\_2, item\_3, and so on.…

---

## [SameSite reject youtube cookie](https://www.ruby-forum.com/t/samesite-reject-youtube-cookie/264623)

<div class="topic-metadata">

**Author:** [@Luc-Antoine](https://www.ruby-forum.com/u/Luc-Antoine)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 9:41am UTC](https://www.ruby-forum.com/t/samesite-reject-youtube-cookie/264623 "2024-02-20T09:41:11Z")

</div>

Hello, For my project, I want to add a YouTube video with an iframe. My problem is the current policy reject the YouTube cookie. I don’t find a solution. I know I can add exception with CORS. I would like to know ho…

---

## [Converting cvs string to json string](https://www.ruby-forum.com/t/converting-cvs-string-to-json-string/259651)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 7:18am UTC](https://www.ruby-forum.com/t/converting-cvs-string-to-json-string/259651 "2020-05-27T07:18:35Z")

</div>

csv\_string = “ITEM\_NAME,DESTINATION\_ORG\_CODE,UOM\_CODE,QUANTITY,WORK\_ORDER\_START\_DATE,WORK\_ORDER\_COMPLETION\_DATE,SUPPLY\_OPERATION,WORK\_ORDER\_NUMBER,WORK\_DEFINITION\_CODE,WORK\_METHOD\_CODE\_VAL,“FIRM\_PLANNED\_FLAG” 101512-01,…

---

## [Preserve client source address when proxying to upstream](https://www.ruby-forum.com/t/preserve-client-source-address-when-proxying-to-upstream/243659)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [December 16, 2015, 5:56pm UTC](https://www.ruby-forum.com/t/preserve-client-source-address-when-proxying-to-upstream/243659 "2015-12-16T17:56:31Z")

</div>

Hello, proxy\_bind directive allows to specify source IP address for proxied connections. This directive can be set to local IP address. I’m wondering if there’s a way to set $remote\_addr as proxy\_bind address? Or a…

---

## [Gr-osmosdr failed](https://www.ruby-forum.com/t/gr-osmosdr-failed/241990)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 19, 2015, 11:49am UTC](https://www.ruby-forum.com/t/gr-osmosdr-failed/241990 "2015-05-19T11:49:57Z")

</div>

hi i am use ubuntu 12.04 and installing gnuradio from source with thith this command wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio --verbose bbladeRF\_test\_rx\_discont…

---

## ['found an existing binding' warning](https://www.ruby-forum.com/t/found-an-existing-binding-warning/231189)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 23, 2014, 5:45pm UTC](https://www.ruby-forum.com/t/found-an-existing-binding-warning/231189 "2014-08-23T17:45:28Z")

</div>

Hi, When I run my application on JRuby, I often see the following warning message: WARNING: while creating new bindings for class autofs.na4\_proj.atm009.madden.mic\_gpu.tst.ts, found an existing binding; you may want…

---

## [USRP1: Error: Connection refused](https://www.ruby-forum.com/t/usrp1-error-connection-refused/230636)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 27, 2014, 11:24am UTC](https://www.ruby-forum.com/t/usrp1-error-connection-refused/230636 "2014-06-27T11:24:55Z")

</div>

Dear all, I’ve reinstalled gnuradio 3.7.0 and UHD 003.007.001. Now I got this error when connecting USRP to my PC and running some commands: sudo uhd\_usrp\_probe Error: linux; GNU C++ version 4.6.3; Boost\_104601; U…

---

## [Does Ruby comply with information hiding?](https://www.ruby-forum.com/t/does-ruby-comply-with-information-hiding/241276)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 24, 2014, 12:43am UTC](https://www.ruby-forum.com/t/does-ruby-comply-with-information-hiding/241276 "2014-05-24T00:43:25Z")

</div>

I am new to Ruby and started to learn it a few months ago. And this is my first post in this forum. I was taugth that OOP is a good way to comply with encapsulation and information hiding. Ruby is a OO programming lan…

---

## [Ruby on Rails: serialize Hash incredibly slow](https://www.ruby-forum.com/t/ruby-on-rails-serialize-hash-incredibly-slow/224381)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 9, 2012, 7:44pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-serialize-hash-incredibly-slow/224381 "2012-11-09T19:44:13Z")

</div>

(cross post from Ruby on Rails: serialize Hash incredibly slow - Stack Overflow, but I haven’t gotten an answer yet) I’ve got a simple model called “Search” used for storing searches. It captures the URL params and s…

---

## [Impossible de déployer avec Passenger](https://www.ruby-forum.com/t/impossible-de-deployer-avec-passenger/221272)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 6, 2012, 3:54pm UTC](https://www.ruby-forum.com/t/impossible-de-deployer-avec-passenger/221272 "2012-07-06T15:54:05Z")

</div>

Bonjour à tous, Nouveau dans le monde du RoR, j’essaye de déployer un site que j’ai développé. J’ai donc un serveur distant, avec apache, passenger d’installé tout ca J’arrive a envoyer sur mon serveur grace à capist…

---

## [Uninitialized constant LoginController in Ruby](https://www.ruby-forum.com/t/uninitialized-constant-logincontroller-in-ruby/219381)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 1, 2012, 4:47pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-logincontroller-in-ruby/219381 "2012-05-01T16:47:44Z")

</div>

This is my environment.rb Load the rails application require File.expand\_path(’…/application’, FILE) Initialize the rails application Qstack::Application.initialize! require ‘koala’ This is my application\_controller.…

---

## [Error when using 'UHD: USRP Source' in GRC](https://www.ruby-forum.com/t/error-when-using-uhd-usrp-source-in-grc/205757)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 15, 2011, 12:14am UTC](https://www.ruby-forum.com/t/error-when-using-uhd-usrp-source-in-grc/205757 "2011-04-15T00:14:02Z")

</div>

Hi, I’m having some trouble getting my N210 running using GRC. The problem seems to be with the block ‘UHD: USRP Source’, as I get the following error when building a simple project (USRP and FFT sink block): Traceba…

---

## [Rails3 available\_locales empty array](https://www.ruby-forum.com/t/rails3-available-locales-empty-array/197930)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 2, 2010, 7:45pm UTC](https://www.ruby-forum.com/t/rails3-available-locales-empty-array/197930 "2010-11-02T19:45:40Z")

</div>

Hi. I’m trying to get the available locales in a rails3 project using I18n.available\_locales or I18n.backend.available\_locales The result is always an empty array. The translations are loaded correctly though, I ca…

---

## [How can I get client's real IP behind F5](https://www.ruby-forum.com/t/how-can-i-get-clients-real-ip-behind-f5/175075)

<div class="topic-metadata">

**Author:** [@wuzhez](https://www.ruby-forum.com/u/wuzhez)\
**Replies:** 1\
**Last updated:** [September 7, 2009, 3:33pm UTC](https://www.ruby-forum.com/t/how-can-i-get-clients-real-ip-behind-f5/175075 "2009-09-07T15:33:05Z")

</div>

Hi all, I use F5 for load balance, and how can I get client’s Real IP, I had tried the NginxHttpRealIpModule, but it doesn’t work. And my log format: $remote\_addr - $remote\_user \[$time\_local\] “$request” ’ '$status $…

---

## [Spreadsheet -avoid reading and writing from file how?](https://www.ruby-forum.com/t/spreadsheet-avoid-reading-and-writing-from-file-how/165560)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [April 16, 2009, 4:38am UTC](https://www.ruby-forum.com/t/spreadsheet-avoid-reading-and-writing-from-file-how/165560 "2009-04-16T04:38:07Z")

</div>

Hi I am using http://spreadsheet.rubyforge.org/ in my application…Usage like book = Spreadsheet::Workbook.new book.write “#{RAILS\_ROOT}/public/uploads/excel-file.xls” render :file =\> “#{RAILS\_ROOT}/public/uploads/ex…

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

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