# Top

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

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

---

## [Group() and PostgreSQL strange behavior](https://www.ruby-forum.com/t/group-and-postgresql-strange-behavior/203975)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 3, 2011, 4:33pm UTC](https://www.ruby-forum.com/t/group-and-postgresql-strange-behavior/203975 "2011-03-03T16:33:17Z")

</div>

Here is a simple request: Visit.group(“user\_id”) And I get: PGError: ERROR: column “visits.id” must appear in the GROUP BY clause or be used in an aggregate function If I add visits.id to the group by clause, then …

---

## [Getting name of current method](https://www.ruby-forum.com/t/getting-name-of-current-method/194510)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 4\
**Last updated:** [September 6, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/getting-name-of-current-method/194510 "2010-09-06T16:52:23Z")

</div>

Ruby has FILE and LINE to give the file and line omber where we are currently at in the code. Consider Class X def my\_method m = ??? # I want m to be assigned “my\_method” end end How can I get m set properly? I…

---

## [Gem help](https://www.ruby-forum.com/t/gem-help/186887)

<div class="topic-metadata">

**Author:** [@homer-16](https://www.ruby-forum.com/u/homer-16)\
**Replies:** 4\
**Last updated:** [April 14, 2010, 10:11pm UTC](https://www.ruby-forum.com/t/gem-help/186887 "2010-04-14T22:11:10Z")

</div>

I’m trying to DL a gem but I keep getting this message: E:\\Ruby\\bin\>cmd /k “F:\\Torque Game Engine Demo\\System\\Hack\\Ruby\\bin\\gem.bat” The system cannot find the drive specified. E:\\Ruby\\bin\>gem i narray Building nati…

---

## [\#create in test unit returns object with nil id](https://www.ruby-forum.com/t/create-in-test-unit-returns-object-with-nil-id/179684)

<div class="topic-metadata">

**Author:** [@dordille](https://www.ruby-forum.com/u/dordille)\
**Replies:** 4\
**Last updated:** [December 2, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/create-in-test-unit-returns-object-with-nil-id/179684 "2009-12-02T15:47:21Z")

</div>

mac:Project $ jruby script/console test /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/ruby2/jruby-1.2.0/bin/jruby: line 52: \[: too many arguments Loading test environment (Rails 2.3.4) p = Pe…

---

## [scope.SetVariable weirdness with instance\_eval](https://www.ruby-forum.com/t/scope-setvariable-weirdness-with-instance-eval/179214)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [November 19, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/scope-setvariable-weirdness-with-instance-eval/179214 "2009-11-19T20:12:59Z")

</div>

Hi Consider the following code: public class Item { public string Title { get; private set; } public Item(string title){ Title = title; } } var \_engine = Ruby.CreateEngine(); var context = new Item(“The great…

---

## [Come non stampare l'ultima riga da irb?](https://www.ruby-forum.com/t/come-non-stampare-lultima-riga-da-irb/179007)

<div class="topic-metadata">

**Author:** [@gnagno](https://www.ruby-forum.com/u/gnagno)\
**Replies:** 4\
**Last updated:** [November 19, 2009, 3:50pm UTC](https://www.ruby-forum.com/t/come-non-stampare-lultima-riga-da-irb/179007 "2009-11-19T15:50:08Z")

</div>

Salve a tutti, questo Ã¨ il mio primo post e spero di non fare una domanda (troppo) banale visto che mi sto avvicinando da pochissimo a questo fantastico linguaggio (provengo da Java, Php e C/C++). Uso molto spesso i…

---

## [What's wrong ... syntax error ... unexpected identifer](https://www.ruby-forum.com/t/whats-wrong-syntax-error-unexpected-identifer/170610)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 4\
**Last updated:** [June 19, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/whats-wrong-syntax-error-unexpected-identifer/170610 "2009-06-19T18:18:58Z")

</div>

got this error \[rails 2.3.2, Ruby 1.8.7\] syntax error, unexpected tIDENTIFIER, expecting kEND … if n.send(order\_attribute) \> self.send(order\_attribute) idoesn’t like the ‘\>’ … what’s wrong ? here is my action… def…

---

## [Warble duplicate jar files](https://www.ruby-forum.com/t/warble-duplicate-jar-files/161343)

<div class="topic-metadata">

**Author:** [@asmodi](https://www.ruby-forum.com/u/asmodi)\
**Replies:** 4\
**Last updated:** [February 28, 2009, 4:46am UTC](https://www.ruby-forum.com/t/warble-duplicate-jar-files/161343 "2009-02-28T04:46:07Z")

</div>

I am running warbler 0.9.12 with Rails 2.2.2 and I have added jar files to lib/java. Uncommenting the following line in config/warble.rb causes these jar files to appear twice in the war file, under WEB-INF/lib and …

---

## [Retrieving order quantity from form](https://www.ruby-forum.com/t/retrieving-order-quantity-from-form/154410)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 4\
**Last updated:** [November 30, 2008, 9:02am UTC](https://www.ruby-forum.com/t/retrieving-order-quantity-from-form/154410 "2008-11-30T09:02:15Z")

</div>

I have a shopping cart screen where I display my available item and all it’s description info and then want to have the user enter a quantity. I show all my item fields, e.g. \<%= @item.item\_id %\> Then I have a field …

---

## [Dreamhost extremadamente lento](https://www.ruby-forum.com/t/dreamhost-extremadamente-lento/148279)

<div class="topic-metadata">

**Author:** [@jenaiz](https://www.ruby-forum.com/u/jenaiz)\
**Replies:** 4\
**Last updated:** [September 11, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/dreamhost-extremadamente-lento/148279 "2008-09-11T12:25:30Z")

</div>

Desde hace unos dÃ­as estoy probando una aplicaciÃ³n sencillita en un servidor compartido en dreamhost, y vengo notando una lentitud exagerada en la aplicaciÃ³n. A la hora de configurar el servidor creo que mi mayor …

---

## [Compile error with gnuradio trunk for armv7-a](https://www.ruby-forum.com/t/compile-error-with-gnuradio-trunk-for-armv7-a/145679)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 4\
**Last updated:** [August 16, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/compile-error-with-gnuradio-trunk-for-armv7-a/145679 "2008-08-16T17:51:40Z")

</div>

I used to be able to build trunk with Openembedded, but “recently” I’ve run into this message: gnuradio\_swig\_py\_runtime.cc:130:20: error: Python.h: No such file or directory The complete build log is here: http://ti…

---

## [Deterministic TX phase on a pair of RFX400](https://www.ruby-forum.com/t/deterministic-tx-phase-on-a-pair-of-rfx400/139332)

<div class="topic-metadata">

**Author:** [@Peter\_Volgyesi](https://www.ruby-forum.com/u/Peter_Volgyesi)\
**Replies:** 4\
**Last updated:** [June 30, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/deterministic-tx-phase-on-a-pair-of-rfx400/139332 "2008-06-30T22:20:19Z")

</div>

Hi, In our application we need to emit pure tones on two RFX400 daughtercards sitting on the same USRP board. More importantly, the phase of the two RF carriers need to be in sync or should have a deterministic diffe…

---

## [Cleaning up Session (Cookie Based)](https://www.ruby-forum.com/t/cleaning-up-session-cookie-based/132328)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 11:09am UTC](https://www.ruby-forum.com/t/cleaning-up-session-cookie-based/132328 "2008-03-20T11:09:55Z")

</div>

I am using the default Cookie-Based Session in Rails 2.0. I have accumulated the bad practice of adding: session\[‘seen\_announcement\_’ + Date.today.to\_s\] = true over the years. No users have complained yet, but I am a…

---

## [Autotest stop working, 1.0.9?](https://www.ruby-forum.com/t/autotest-stop-working-1-0-9/115914)

<div class="topic-metadata">

**Author:** [@bfsog](https://www.ruby-forum.com/u/bfsog)\
**Replies:** 4\
**Last updated:** [October 1, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/autotest-stop-working-1-0-9/115914 "2007-10-01T13:33:18Z")

</div>

My autotest runs but when I make changes to a spec it doesn’t reload. I checked another application I was building that had 1.0.9 but it was reloading fine. How would I debug a problem such as autotest not reloading?

---

## [Method origin?](https://www.ruby-forum.com/t/method-origin/115737)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 4\
**Last updated:** [September 28, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/method-origin/115737 "2007-09-28T16:50:15Z")

</div>

Guys, In a deep inheritance tree, is there an easy way to determine the origin or source (module, class) of a method? Thanks, John

---

## [Multiple applications](https://www.ruby-forum.com/t/multiple-applications/91969)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 4\
**Last updated:** [April 14, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/multiple-applications/91969 "2007-04-14T16:01:30Z")

</div>

Hi, I’ve decided to go with Nginx and mongrel clusters. The setup is very simple and works well. My question is related to running multiple applications. For Nginx, should I run one instance (one config file) and th…

---

## [Creating xml files on the hard disk](https://www.ruby-forum.com/t/creating-xml-files-on-the-hard-disk/90346)

<div class="topic-metadata">

**Author:** [@luma](https://www.ruby-forum.com/u/luma)\
**Replies:** 4\
**Last updated:** [March 28, 2007, 10:23pm UTC](https://www.ruby-forum.com/t/creating-xml-files-on-the-hard-disk/90346 "2007-03-28T22:23:33Z")

</div>

I’ve written a rxml template. What must I write in my rails-controller to get xml files out of this - not displayed on the screen, but just saved on the hard disk? And where do I have to store the rxml file?

---

## [Cookie based session management problems](https://www.ruby-forum.com/t/cookie-based-session-management-problems/87318)

<div class="topic-metadata">

**Author:** [@klancaster](https://www.ruby-forum.com/u/klancaster)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/cookie-based-session-management-problems/87318 "2007-03-01T21:09:35Z")

</div>

Edge has a change in default behaviour where sessions are stored as cookies instead of in the file system. This was a pleasant surprise when I synced up, fired up my app, and nothing worked. Ah, life on the edge. I’m …

---

## [Use of external DB and related data](https://www.ruby-forum.com/t/use-of-external-db-and-related-data/78421)

<div class="topic-metadata">

**Author:** [@sistrall](https://www.ruby-forum.com/u/sistrall)\
**Replies:** 4\
**Last updated:** [December 6, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/use-of-external-db-and-related-data/78421 "2006-12-06T16:47:48Z")

</div>

Hello everybody, I’m wondering if Radiant could be a convenient choice on a project I’m starting to work on and I’d be curious to hear your opinions. The site I’m starting to develop is an almost regular site, for the …

---

## [Large(er) File Uploads](https://www.ruby-forum.com/t/large-er-file-uploads/52992)

<div class="topic-metadata">

**Author:** [@lists](https://www.ruby-forum.com/u/lists)\
**Replies:** 4\
**Last updated:** [December 9, 2005, 8:09pm UTC](https://www.ruby-forum.com/t/large-er-file-uploads/52992 "2005-12-09T20:09:58Z")

</div>

Howdy Folks, My Rails app allows file uploads in several places. Most of the time the files are pretty small (under 1MB) and we never have any trouble. There is one section where the files are a bit larger, about (10-…

---

## [Memory Leaks: How to see GC Roots?](https://www.ruby-forum.com/t/memory-leaks-how-to-see-gc-roots/49225)

<div class="topic-metadata">

**Author:** [@schween](https://www.ruby-forum.com/u/schween)\
**Replies:** 4\
**Last updated:** [December 2, 2005, 6:25pm UTC](https://www.ruby-forum.com/t/memory-leaks-how-to-see-gc-roots/49225 "2005-12-02T18:25:53Z")

</div>

Hello! Is there a way to get a list of all GC roots in my Ruby program? I know there is a memory leak somewhere in my application, I just don’t know in which part. Listing all variables on the Heap becomes too large…

---

## [Protect site with username and password](https://www.ruby-forum.com/t/protect-site-with-username-and-password/244527)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [April 29, 2016, 2:09pm UTC](https://www.ruby-forum.com/t/protect-site-with-username-and-password/244527 "2016-04-29T14:09:59Z")

</div>

Hello! I have NGINX installed on Windows 7. How NGINX is configured to protect the web site using login and password? Regards, Ricardo

---

## [SSL Session Cache on Windows](https://www.ruby-forum.com/t/ssl-session-cache-on-windows/241964)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 17, 2015, 5:38am UTC](https://www.ruby-forum.com/t/ssl-session-cache-on-windows/241964 "2015-05-17T05:38:21Z")

</div>

hi, I know that in the past the directive: ssl\_session\_cache shared:SSL:1m; did not work on Windows. in nginx 1.9.0 I see “\*) Feature: shared memory can now be used on Windows versions with address space layout ra…

---

## [Restrict sub-directory access divert if not authenticated](https://www.ruby-forum.com/t/restrict-sub-directory-access-divert-if-not-authenticated/234583)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 17, 2015, 12:59am UTC](https://www.ruby-forum.com/t/restrict-sub-directory-access-divert-if-not-authenticated/234583 "2015-03-17T00:59:57Z")

</div>

I am moving from a development server to a live server and would like to still test before REALLY going live. I need to redirect access to a sub-folder until I am satisfied with the stability this is what i have: se…

---

## [Building a Zedboard BOOT.bin](https://www.ruby-forum.com/t/building-a-zedboard-boot-bin/232717)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 23, 2014, 5:36pm UTC](https://www.ruby-forum.com/t/building-a-zedboard-boot-bin/232717 "2014-10-23T17:36:12Z")

</div>

Hi, I am trying to generate a bootable SD card for the zedboard and I am running over some small issues. For starters, do you provide the u-boot.elf you use somewhere? In the http://gnuradio.org/data/sdk/zedboard\_ar…

---

## [Strange behavior when class\_eval'ing a Class object](https://www.ruby-forum.com/t/strange-behavior-when-class-evaling-a-class-object/238787)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 29, 2014, 7:49am UTC](https://www.ruby-forum.com/t/strange-behavior-when-class-evaling-a-class-object/238787 "2014-01-29T07:49:14Z")

</div>

Just for the sake of learning more about the Ruby object model, I’ve been doing some experiments, and the following behavior surprised me: Let’s say we have a class Test: class Test;end Then, we class\_eval Test.class…

---

## [Const\_get() missing from jruby/src/jruby/java/java\_package\_module\_template.rb does not include an im](https://www.ruby-forum.com/t/const-get-missing-from-jruby-src-jruby-java-java-package-module-template-rb-does-not-include-an-im/226507)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 2\
**Last updated:** [December 14, 2012, 5:14am UTC](https://www.ruby-forum.com/t/const-get-missing-from-jruby-src-jruby-java-java-package-module-template-rb-does-not-include-an-im/226507 "2012-12-14T05:14:35Z")

</div>

jruby/src/jruby/java/java\_package\_module\_template.rb does not include an implementation of const\_get(). AFAIK the solution is to add def const\_get(const) JavaUtilities.get\_proxy\_class(@package\_name + const.to\_s) end…

---

## [Imported Java class becomes NotFound during execution](https://www.ruby-forum.com/t/imported-java-class-becomes-notfound-during-execution/223712)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 16, 2012, 4:30am UTC](https://www.ruby-forum.com/t/imported-java-class-becomes-notfound-during-execution/223712 "2012-10-16T04:30:24Z")

</div>

Hello, I don’t understand (and suspect a jruby bug) why my code fails midway through identical iterations with a NativeException: java.lang.ClassNotFoundException. The code repeats the same thing over and over. Code…

---

## [Is it safe to cache the result of runtime.getClass(classname)?](https://www.ruby-forum.com/t/is-it-safe-to-cache-the-result-of-runtime-getclass-classname/217941)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 20, 2012, 12:24am UTC](https://www.ruby-forum.com/t/is-it-safe-to-cache-the-result-of-runtime-getclass-classname/217941 "2012-03-20T00:24:43Z")

</div>

I am wondering if it would be safe to store one reference to this, and use it over and over again? Thanks! Jon

---

## [TVRX2+USRP (serial \> 500) 'invalid EEPROM contents' problem](https://www.ruby-forum.com/t/tvrx2-usrp-serial-500-invalid-eeprom-contents-problem/211746)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 31, 2012, 3:54pm UTC](https://www.ruby-forum.com/t/tvrx2-usrp-serial-500-invalid-eeprom-contents-problem/211746 "2012-01-31T15:54:39Z")

</div>

Hi, We’re using two older USRP boards: Rev. 4.5, Ser. #3542, Rev. 3, Ser. #290 with a clocking scheme modified according to the http://gnuradio.org/redmine/projects/gnuradio/wiki/USRPSerialBelow500 . We’re also usin…

---

## [Problem installing gems](https://www.ruby-forum.com/t/problem-installing-gems/211870)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 15, 2011, 1:23pm UTC](https://www.ruby-forum.com/t/problem-installing-gems/211870 "2011-09-15T13:23:52Z")

</div>

I cannot install gem files on windows 7 running ruby 1.8.7 I tried to install watir-webdriver -v0.3.3 or selenium-webdriver -v0.2.2 but I got this message: Building native extensions. This could take a while… ERROR:…

---

## [How to create a form using ruby on rails](https://www.ruby-forum.com/t/how-to-create-a-form-using-ruby-on-rails/204484)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 14, 2011, 1:46pm UTC](https://www.ruby-forum.com/t/how-to-create-a-form-using-ruby-on-rails/204484 "2011-03-14T13:46:38Z")

</div>

since i’m totally new to this technology , im facing lots of difficulties here. \* \* i want to create a form with few fields which shud be connected to mysql database using ruby on rails. can anyone help me with thi…

---

## [Xrefresh server, rb-inotify and ioselect](https://www.ruby-forum.com/t/xrefresh-server-rb-inotify-and-ioselect/181594)

<div class="topic-metadata">

**Author:** [@willwach](https://www.ruby-forum.com/u/willwach)\
**Replies:** 2\
**Last updated:** [January 16, 2010, 1:49am UTC](https://www.ruby-forum.com/t/xrefresh-server-rb-inotify-and-ioselect/181594 "2010-01-16T01:49:40Z")

</div>

Hi, This is of interest for all Linux devs doing web development. I patched the xrefresh server so that it runs on Linux. Not everything is implemented but it is useable: http://github.com/MarcWeber/xrefresh-server …

---

## [Nginx Rewrite](https://www.ruby-forum.com/t/nginx-rewrite/167630)

<div class="topic-metadata">

**Author:** [@Zaphod\_B](https://www.ruby-forum.com/u/Zaphod_B)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 5:36pm UTC](https://www.ruby-forum.com/t/nginx-rewrite/167630 "2009-05-10T17:36:08Z")

</div>

Je sais c’est pas le group Nginx ici, mais j’ai posté (http:// location and rewrite directive) sur le forum Nginx qui n’a pas l’air très actif alors je tente ici. En faite je souhaite effectuer des rewrites, mais je s…

---

## [\[ANN\] Inlcude Tag similar to apache2 include directive](https://www.ruby-forum.com/t/ann-inlcude-tag-similar-to-apache2-include-directive/156089)

<div class="topic-metadata">

**Author:** [@rp8](https://www.ruby-forum.com/u/rp8)\
**Replies:** 2\
**Last updated:** [December 20, 2008, 10:38am UTC](https://www.ruby-forum.com/t/ann-inlcude-tag-similar-to-apache2-include-directive/156089 "2008-12-20T10:38:14Z")

</div>

This tag mimics the inlcude directive in apache2 to include a file into a Radiant page. Give it a try. To install, mkdir vendor/plugins/include\_tag and download it from github.com. git clone git://github.com/rpan/in…

---

## [GuÃ­a de configuraciÃ³n](https://www.ruby-forum.com/t/gua-a-de-configuracia-n/155982)

<div class="topic-metadata">

**Author:** [@Reynier\_PSSSSrez\_Mi](https://www.ruby-forum.com/u/Reynier_PSSSSrez_Mi)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/gua-a-de-configuracia-n/155982 "2008-12-18T23:05:17Z")

</div>

Buenas tardes listeros: Tengo instalado Linux Ubuntu 8.10 con Apache, PHP, PostgreSQL, Python u otras cosas que uso para desarrollar. Ahora me estoy adentrando un poco en el mundo de Ruby on Rails y necesito saber com…

---

## [CRUD Conventions for Many to Many Relations](https://www.ruby-forum.com/t/crud-conventions-for-many-to-many-relations/153682)

<div class="topic-metadata">

**Author:** [@Eli\_Gibson](https://www.ruby-forum.com/u/Eli_Gibson)\
**Replies:** 2\
**Last updated:** [November 20, 2008, 7:35am UTC](https://www.ruby-forum.com/t/crud-conventions-for-many-to-many-relations/153682 "2008-11-20T07:35:01Z")

</div>

I am curious is there is a convention for the the following in CRUD: I have users and groups. Each group can have many users, and each user can have many groups. These are related through a has\_many :through pattern, …

---

## [Problem with mkmf-gnome2.rb in 0.17.0-rc1](https://www.ruby-forum.com/t/problem-with-mkmf-gnome2-rb-in-0-17-0-rc1/141092)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 2\
**Last updated:** [June 23, 2008, 12:06am UTC](https://www.ruby-forum.com/t/problem-with-mkmf-gnome2-rb-in-0-17-0-rc1/141092 "2008-06-23T00:06:49Z")

</div>

When trying to use my extconf.rb, with content: -=-=----=-=----=-=----=-=----=-=— =begin extconf.rb for booh lib additions =end PACKAGE\_NAME = “booh/libadds” #- some adds to Gdk::Pixbuf require ‘mkmf-gnome2’ PKGC…

---

## [RSS::Parser only returns nil](https://www.ruby-forum.com/t/rss-parser-only-returns-nil/135016)

<div class="topic-metadata">

**Author:** [@crayment](https://www.ruby-forum.com/u/crayment)\
**Replies:** 2\
**Last updated:** [April 20, 2008, 7:20am UTC](https://www.ruby-forum.com/t/rss-parser-only-returns-nil/135016 "2008-04-20T07:20:56Z")

</div>

I am trying to use RSS::Parser to parse an RSS feed, like so: require ‘rss’ require ‘rss/parser’ RSS::Parser.parse(open(‘MacRumors: Mac News and Rumors - Front Page’).read) This works exactly as advertised on my deve…

---

## [Parameter mit einem "."](https://www.ruby-forum.com/t/parameter-mit-einem/129957)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 23, 2008, 1:24pm UTC](https://www.ruby-forum.com/t/parameter-mit-einem/129957 "2008-02-23T13:24:36Z")

</div>

Hallo zusammen! Ich habe folgendes Problem, ich generiere eine URL, mit dem Parameter code, hier ein Beispiel: url\_for(:action =\> ‘verify’, :id =\> @user, :code =\> @user.code) Der code ist eine “ein string mit user da…

---

## [Controls within a wxTreeCtrl](https://www.ruby-forum.com/t/controls-within-a-wxtreectrl/124371)

<div class="topic-metadata">

**Author:** [@ratkins](https://www.ruby-forum.com/u/ratkins)\
**Replies:** 2\
**Last updated:** [December 28, 2007, 4:13am UTC](https://www.ruby-forum.com/t/controls-within-a-wxtreectrl/124371 "2007-12-28T04:13:33Z")

</div>

What I’d like to be able to do is use a wxTreeCtrl to manage a tree layout of not only text, but several buttons which would line up adjacent to the text in the tree items. I’ve googled around a bit on this and it …

---

## [URI.join inconsistency](https://www.ruby-forum.com/t/uri-join-inconsistency/115985)

<div class="topic-metadata">

**Author:** [@Gareth\_A](https://www.ruby-forum.com/u/Gareth_A)\
**Replies:** 2\
**Last updated:** [October 1, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/uri-join-inconsistency/115985 "2007-10-01T23:11:37Z")

</div>

I just got stung by rather annoying feature of URI.join: irb(main):001:0\> URI.join(‘http://www.example.com/something’, ‘else’).to\_s =\> “http://www.example.com/else” Note that this completely ignores the ‘something’ …

---

## [Converting a signed float into unsigned float](https://www.ruby-forum.com/t/converting-a-signed-float-into-unsigned-float/76051)

<div class="topic-metadata">

**Author:** [@dipeshbatheja](https://www.ruby-forum.com/u/dipeshbatheja)\
**Replies:** 2\
**Last updated:** [November 16, 2006, 8:31pm UTC](https://www.ruby-forum.com/t/converting-a-signed-float-into-unsigned-float/76051 "2006-11-16T20:31:16Z")

</div>

I know this is simple, but i am unable to find how to do this. I have an floating number and i want to convert it to unsigned floating number. What do i have t do.

---

## [ActiveRecord slow performance on SQL Server 2000](https://www.ruby-forum.com/t/activerecord-slow-performance-on-sql-server-2000/47522)

<div class="topic-metadata">

**Author:** [@chad.lung](https://www.ruby-forum.com/u/chad.lung)\
**Replies:** 2\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/activerecord-slow-performance-on-sql-server-2000/47522 "2005-11-12T12:49:21Z")

</div>

As a test, I created a new database in SQL Server 2000 and then and imported just the “Orders” table from the NorthWind DB. Next I added an “id” column (identity, identity seed) to the Orders table and made it the pr…

---

## [Modify RubyGems install location on Windows](https://www.ruby-forum.com/t/modify-rubygems-install-location-on-windows/259905)

<div class="topic-metadata">

**Author:** [@NU2rb](https://www.ruby-forum.com/u/NU2rb)\
**Replies:** 0\
**Last updated:** [June 27, 2020, 8:32pm UTC](https://www.ruby-forum.com/t/modify-rubygems-install-location-on-windows/259905 "2020-06-27T20:32:54Z")

</div>

I am making a RubyPortable (PAF) for Windows and I want to have Rubygems not install to the user directory (C:/Users/username/.gem/ruby/some\_version\_number) or even have that in the GEM\_PATH so that when using it on oth…

---

## [Re: Fwd: AttributeError: 'module' object has no attri](https://www.ruby-forum.com/t/re-fwd-attributeerror-module-object-has-no-attri/234675)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 23, 2015, 10:31am UTC](https://www.ruby-forum.com/t/re-fwd-attributeerror-module-object-has-no-attri/234675 "2015-03-23T10:31:54Z")

</div>

Hi Tom, I have a similar problem. I added a pretty plain block, which uses #include \<gnuradio/blocks/pdu.h\> and changed my set() according to your description to set(GR\_REQUIRED\_COMPONENTS RUNTIME BLOCKS PMT PDU) Al…

---

## [Proxy\_pass check if 404, and return 404](https://www.ruby-forum.com/t/proxy-pass-check-if-404-and-return-404/238381)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [January 8, 2014, 5:21am UTC](https://www.ruby-forum.com/t/proxy-pass-check-if-404-and-return-404/238381 "2014-01-08T05:21:59Z")

</div>

I am using proxy\_pass to a dynamic subdomain: proxy\_pass https://$remote\_user.mydomain.io Is it possible to have the proxy\_pass check if the response of https://$remote\_user.mydomain.io is 404, if so, simply do: retu…

---

## [Globalize, i18n.locale in maiuscolo](https://www.ruby-forum.com/t/globalize-i18n-locale-in-maiuscolo/224722)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 26, 2012, 4:09pm UTC](https://www.ruby-forum.com/t/globalize-i18n-locale-in-maiuscolo/224722 "2012-11-26T16:09:10Z")

</div>

Ciao, ho una classe così definita: class Event \< ActiveRecord::Base translates :nome, :descrizione # other stuff… end Su database ho definito la tabella di traduzione con campo locale di tipo enum(‘IT’, ‘EN’) , …

---

## [When reloading nginx-0.8.54, number of workers increases](https://www.ruby-forum.com/t/when-reloading-nginx-0-8-54-number-of-workers-increases/219998)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 24, 2012, 1:27pm UTC](https://www.ruby-forum.com/t/when-reloading-nginx-0-8-54-number-of-workers-increases/219998 "2012-05-24T13:27:55Z")

</div>

Hello. This is the situation: I giva heavy traffic continually by using ApacheBench, say: while :; do ab -n 100000 -c 1000 'http://localhost/; done. And also I reload nginx continually by using while syntax. When lo…

---

## [\[ sono niubbo \] Consiglio sulle socket](https://www.ruby-forum.com/t/sono-niubbo-consiglio-sulle-socket/217946)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 16, 2012, 10:58pm UTC](https://www.ruby-forum.com/t/sono-niubbo-consiglio-sulle-socket/217946 "2012-03-16T22:58:56Z")

</div>

Salve a tutti, primo post sul forum/mailing list, se sgarro la netiquette fatemelo presente. primo post riguardo ruby, abbiate pietà e pazienza. Vorrei fare il porting di un mio programma da PHP a Ruby. Devo usare s…

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

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