# Top

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

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

---

## [VHost Guidance](https://www.ruby-forum.com/t/vhost-guidance/241638)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [April 20, 2015, 8:11pm UTC](https://www.ruby-forum.com/t/vhost-guidance/241638 "2015-04-20T20:11:34Z")

</div>

Hi folks. Brand new to nginx. I’m trying to run 3 vhosts on my workstation to get familiar with nginx. alpha bravo charlie I’m using bravo in the main nginx.conf pointing to /var/www/alpha/ bravo and charlie are …

---

## [Problem with wildcard of domain in nginx and in https](https://www.ruby-forum.com/t/problem-with-wildcard-of-domain-in-nginx-and-in-https/233808)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [January 14, 2015, 11:52am UTC](https://www.ruby-forum.com/t/problem-with-wildcard-of-domain-in-nginx-and-in-https/233808 "2015-01-14T11:52:43Z")

</div>

I have a domain.com and i can redirecto to other subdomains but not domain.com in https, my configuration is the following : server { listen 80; server\_name www.domain.com; rewrite ^/(.\*) https://www.domain.com/$1 p…

---

## [Undefined local variable or method \`m'](https://www.ruby-forum.com/t/undefined-local-variable-or-method-m/226947)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 6\
**Last updated:** [February 26, 2013, 9:53pm UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-m/226947 "2013-02-26T21:53:28Z")

</div>

class Test m=self def self.show print “hi” end def display m.show end end =\> nil Why does the below error come? can anyone help me here? foo = Test.new =\> #Test:0x0000000106f9b8 foo.display NameErro…

---

## [Apn on Rails gem](https://www.ruby-forum.com/t/apn-on-rails-gem/191381)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 6\
**Last updated:** [July 30, 2010, 8:23am UTC](https://www.ruby-forum.com/t/apn-on-rails-gem/191381 "2010-07-30T08:23:11Z")

</div>

Hi, I’m really not sure someone will be able to help me, but I have a problem with apn\_on\_rails. When I follow the exemple on the github page I have an error: device = APN::Device.create(:token =\> “XXXXXXXX XXXXXXX…

---

## [Errore: ActionController::RoutingError in Books#show](https://www.ruby-forum.com/t/errore-actioncontroller-routingerror-in-books-show/163525)

<div class="topic-metadata">

**Author:** [@padellini](https://www.ruby-forum.com/u/padellini)\
**Replies:** 6\
**Last updated:** [March 21, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/errore-actioncontroller-routingerror-in-books-show/163525 "2009-03-21T15:18:31Z")

</div>

Ciao a tutti. Sono alle prime armi con Ruby e devo dire che Ã¨ molto interessante: sti studiando su un testo di Filippo Costalli completo e scorrevole. Sono riuscito a creare il primo script che interagisce con un db …

---

## [How to exclude current children from a list of childrens](https://www.ruby-forum.com/t/how-to-exclude-current-children-from-a-list-of-childrens/114082)

<div class="topic-metadata">

**Author:** [@sgabello](https://www.ruby-forum.com/u/sgabello)\
**Replies:** 6\
**Last updated:** [September 8, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/how-to-exclude-current-children-from-a-list-of-childrens/114082 "2007-09-08T13:23:49Z")

</div>

In each children page of my project I need to list all other childrens of the same parent. I tried this tags: \<r:parent\> \<r:children:each\> \<r:unless\_url matches="\\Q\<r:page\>\<r:url/\>\</r:page\>\\E"\> "\<r:link /\>"\</r:unles…

---

## [Deleting join association of has\_many :through](https://www.ruby-forum.com/t/deleting-join-association-of-has-many-through/97843)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 6\
**Last updated:** [July 11, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/deleting-join-association-of-has-many-through/97843 "2006-07-11T14:47:50Z")

</div>

I’m trying to use has\_many :through, since my join model deserves being more than just an intersection table. But when I try to break the association, the break only seems “temporary”: Let’s say my two tables are Use…

---

## [Newbie question: flickr gem installation](https://www.ruby-forum.com/t/newbie-question-flickr-gem-installation/95180)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 6\
**Last updated:** [May 24, 2006, 12:52pm UTC](https://www.ruby-forum.com/t/newbie-question-flickr-gem-installation/95180 "2006-05-24T12:52:55Z")

</div>

Hi, I installed the ‘flickr’ gem using ‘gem install flickr’. Everything seemed to work fine, and the gem shows up in the rDoc as installed. However, if I run the following script #! /usr/local/bin/ruby -w require ‘f…

---

## [Help: gem error](https://www.ruby-forum.com/t/help-gem-error/204271)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 10, 2011, 7:06pm UTC](https://www.ruby-forum.com/t/help-gem-error/204271 "2011-03-10T19:06:25Z")

</div>

Sorry for the noob level problem - but I’m trying to run igem.bat and I’m getting the following: C:/Program Files (x86)/IronRuby 1.1/Lib/ironruby/thread.rb:16:in load\_assembly': Specified type IronRuby.StandardLibrar …

---

## [To many open files](https://www.ruby-forum.com/t/to-many-open-files/157607)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 5\
**Last updated:** [January 15, 2009, 10:49pm UTC](https://www.ruby-forum.com/t/to-many-open-files/157607 "2009-01-15T22:49:12Z")

</div>

This morning, our server (www.spellingcity.com) went down and I can’t figure out why. The Nginx log file has this error in it (all over the place and is growing): 2009/01/13 10:07:24 \[alert\] 26159#0: accept() faile…

---

## [How to use "retry" into two deep begin/rescue/end?](https://www.ruby-forum.com/t/how-to-use-retry-into-two-deep-begin-rescue-end/133731)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 5\
**Last updated:** [April 3, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/how-to-use-retry-into-two-deep-begin-rescue-end/133731 "2008-04-03T21:38:20Z")

</div>

Hi, in the code below I want “retry/break/XXXXX” (undefined) in SECOND BEGIN to go back to FIRST BEGIN when “raise” instead of SECOND BEGIN but it goes to SECOND BEGIN. I think it’s the expected behaviour but maybe …

---

## [OFDM and FEC](https://www.ruby-forum.com/t/ofdm-and-fec/233021)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 19, 2014, 4:10pm UTC](https://www.ruby-forum.com/t/ofdm-and-fec/233021 "2014-11-19T16:10:10Z")

</div>

Hi Folks, I am attempting to get some FEC working with my GRC OFDM Transmitter and Receiver, which I created by modifying the example versions. You can see the flowgraphs at: http://hal.g7iii.net/GRC/OFDM/ofdm\_rx\_fcd…

---

## [MP4 Content-Type Header](https://www.ruby-forum.com/t/mp4-content-type-header/220158)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 30, 2012, 11:56pm UTC](https://www.ruby-forum.com/t/mp4-content-type-header/220158 "2012-05-30T23:56:39Z")

</div>

Hello All, I am noticing when I run curl on a MP4 file I get the application/octet-stream content type: curl -I http://192.168.3.117/videofile.mp4 HTTP/1.1 200 OK Content-Type: application/octet-stream Is there a r…

---

## [ShellExecute and Win32OLE callback](https://www.ruby-forum.com/t/shellexecute-and-win32ole-callback/138990)

<div class="topic-metadata">

**Author:** [@creativelogic](https://www.ruby-forum.com/u/creativelogic)\
**Replies:** 2\
**Last updated:** [May 29, 2008, 11:58pm UTC](https://www.ruby-forum.com/t/shellexecute-and-win32ole-callback/138990 "2008-05-29T23:58:49Z")

</div>

Hi everybody, I’m trying to add a callback to a ShellExecute call. (Or at least get some way to find out when it finishes running.) I’m not having any luck with WIN32OLE\_EVENT, and all the examples I can find use Inte…

---

## [Looking for Ruby Professionals - Work from Home](https://www.ruby-forum.com/t/looking-for-ruby-professionals-work-from-home/245245)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 10, 2017, 10:18am UTC](https://www.ruby-forum.com/t/looking-for-ruby-professionals-work-from-home/245245 "2017-02-10T10:18:08Z")

</div>

Hi, Please feel free to add me www.linkedin.com/in/link1 work from home opportunities (worldwide - no restrictions)

---

## [Need help for digital.constellation\_decoder\_cb in release 3.5.0](https://www.ruby-forum.com/t/need-help-for-digital-constellation-decoder-cb-in-release-3-5-0/214672)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [March 12, 2012, 5:12pm UTC](https://www.ruby-forum.com/t/need-help-for-digital-constellation-decoder-cb-in-release-3-5-0/214672 "2012-03-12T17:12:14Z")

</div>

I noticed dramatic changes in the 3.5.0 release in the generation of the constellation points of digital modulations. So, if the easy part is to again modify the source code to match my needs, i need some help in usin…

---

## [\[ANN\] Picciotto: minimalistic website framework based on Padrino](https://www.ruby-forum.com/t/ann-picciotto-minimalistic-website-framework-based-on-padrino/204503)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 15, 2011, 7:30pm UTC](https://www.ruby-forum.com/t/ann-picciotto-minimalistic-website-framework-based-on-padrino/204503 "2011-03-15T19:30:52Z")

</div>

Salve a tutti, un po’ per gioco, un po’ per bisogni vari (tra questi, anche l’idea di usarlo come codebase per le prossime fasi del sito rubyday), ho appena rilasciato Picciotto: un framework minimale basato su alcu…

---

## [Re: Can't set center frequency of USRP2 w/DBSRX](https://www.ruby-forum.com/t/re-cant-set-center-frequency-of-usrp2-w-dbsrx/192602)

<div class="topic-metadata">

**Author:** [@Moeller](https://www.ruby-forum.com/u/Moeller)\
**Replies:** 7\
**Last updated:** [August 12, 2010, 11:08am UTC](https://www.ruby-forum.com/t/re-cant-set-center-frequency-of-usrp2-w-dbsrx/192602 "2010-08-12T11:08:59Z")

</div>

The system is kind of working, but usrp2\_fft.py reports Failed (or Invalid if there’s a typo) for every frequency we enter regardless Hello! we have a similar problem with the USRP2 and DBSRX. The modifications are …

---

## [Dynamic menu calling basic ajax area](https://www.ruby-forum.com/t/dynamic-menu-calling-basic-ajax-area/123732)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 7\
**Last updated:** [December 20, 2007, 5:57am UTC](https://www.ruby-forum.com/t/dynamic-menu-calling-basic-ajax-area/123732 "2007-12-20T05:57:44Z")

</div>

i was thinking, that for alot of my application, when i have a record, i want a menu with all the related ajax calls linked to a that record. there might me a gem to do this, or an easier way, but this is what i did. …

---

## [Nokogiri - Data output not as expected](https://www.ruby-forum.com/t/nokogiri-data-output-not-as-expected/229826)

<div class="topic-metadata">

**Author:** [@ninja2k](https://www.ruby-forum.com/u/ninja2k)\
**Replies:** 8\
**Last updated:** [February 4, 2013, 6:32pm UTC](https://www.ruby-forum.com/t/nokogiri-data-output-not-as-expected/229826 "2013-02-04T18:32:01Z")

</div>

Sorry for bothering the forum about this but it is extremely important. My Nokogiri output is being clobbered when being written to excel, the output should be going row to row but its getting overwritten. Anybody k…

---

## [Expecting nil or false](https://www.ruby-forum.com/t/expecting-nil-or-false/164381)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 8\
**Last updated:** [April 1, 2009, 12:07am UTC](https://www.ruby-forum.com/t/expecting-nil-or-false/164381 "2009-04-01T00:07:10Z")

</div>

Hi, I just ran into this issue. I have a method that returns: false, true, nil or an object. This method is used by another method to test for true/false. In Ruby that’s easy to handle as nil and false evaluate to fa…

---

## [Issues with the new tree admin extension and with the admin tree expansion](https://www.ruby-forum.com/t/issues-with-the-new-tree-admin-extension-and-with-the-admin-tree-expansion/116515)

<div class="topic-metadata">

**Author:** [@luigi](https://www.ruby-forum.com/u/luigi)\
**Replies:** 8\
**Last updated:** [October 8, 2007, 7:51am UTC](https://www.ruby-forum.com/t/issues-with-the-new-tree-admin-extension-and-with-the-admin-tree-expansion/116515 "2007-10-08T07:51:56Z")

</div>

Hello. I just successsfully migrated from a 5.2 installation to a 6.2. I installed the admin\_tree\_structure extension, and I guess (since I’ve not found its usage guidelines) by simply declaring a page Archive its …

---

## [Ruby v/s PHP](https://www.ruby-forum.com/t/ruby-v-s-php/107129)

<div class="topic-metadata">

**Author:** [@janu](https://www.ruby-forum.com/u/janu)\
**Replies:** 8\
**Last updated:** [June 20, 2007, 9:43pm UTC](https://www.ruby-forum.com/t/ruby-v-s-php/107129 "2007-06-20T21:43:37Z")

</div>

Which is better Ruby or PHp? watch this video of comparison between this languages http://www.dekhona.com/watch.php?v=ebcecrnto

---

## [Best way to convert a legacy database that's full of data?](https://www.ruby-forum.com/t/best-way-to-convert-a-legacy-database-thats-full-of-data/105497)

<div class="topic-metadata">

**Author:** [@maurice-gladwell](https://www.ruby-forum.com/u/maurice-gladwell)\
**Replies:** 8\
**Last updated:** [June 1, 2007, 10:35am UTC](https://www.ruby-forum.com/t/best-way-to-convert-a-legacy-database-thats-full-of-data/105497 "2007-06-01T10:35:24Z")

</div>

I need to convert a legacy database - the usual non-Railish schema with several million rows - to a Rails-compatible schema. Are there any tools / tutorials / books / blog-posts that would help me with that? I need t…

---

## [\_\_PATH\_\_ like \_\_FILE\_\_?](https://www.ruby-forum.com/t/path-like-file/87422)

<div class="topic-metadata">

**Author:** [@Deniz\_D](https://www.ruby-forum.com/u/Deniz_D)\
**Replies:** 8\
**Last updated:** [March 2, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/path-like-file/87422 "2007-03-02T20:29:17Z")

</div>

Hello. I’m rather new to Ruby, so please bare with me. I just want to know if there is anything similar to FILE but which represents either the path to the directory which FILE lies in, or the FILE including the full…

---

## [Need help with $end vs kEND error](https://www.ruby-forum.com/t/need-help-with-end-vs-kend-error/71676)

<div class="topic-metadata">

**Author:** [@highlander872](https://www.ruby-forum.com/u/highlander872)\
**Replies:** 8\
**Last updated:** [October 10, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/need-help-with-end-vs-kend-error/71676 "2006-10-10T21:12:53Z")

</div>

I have been trying to write a program for my class assignment but everytime i do i get an error on the last line of the code that says ‘unexpected $end, expecting kEND’ this happens on every program i try to run any …

---

## [How to avoid multiple submits/posts?](https://www.ruby-forum.com/t/how-to-avoid-multiple-submits-posts/55511)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 8\
**Last updated:** [March 22, 2006, 6:00pm UTC](https://www.ruby-forum.com/t/how-to-avoid-multiple-submits-posts/55511 "2006-03-22T18:00:45Z")

</div>

Hello, How do I prevent previously submitted form data from being reinserted into the database when the user presses the browser’s Refresh button? On Aughey’s advice in #irc I tried using redirect\_to' a new :action’ …

---

## [\- WEBrick server refuses to launch](https://www.ruby-forum.com/t/webrick-server-refuses-to-launch/210743)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 16, 2011, 4:52pm UTC](https://www.ruby-forum.com/t/webrick-server-refuses-to-launch/210743 "2011-08-16T16:52:42Z")

</div>

Running Ruby 1.8.7, Rails 3.0.7 on a Windows 7 machine - tried going through an upgrade to Ruby 1.9.2 over the weekend, but ran into issues, so have since gone back to 1.8.7. After restoring my app and re-installing a…

---

## [2 apps require different version same GEM](https://www.ruby-forum.com/t/2-apps-require-different-version-same-gem/128966)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 3\
**Last updated:** [December 11, 2010, 4:46am UTC](https://www.ruby-forum.com/t/2-apps-require-different-version-same-gem/128966 "2010-12-11T04:46:21Z")

</div>

I have 2 apps that both require RubyInline (specifically ScrubyT and freeimage). ScrubyT seems to require 3.6.3 RubyInline while freeimage requires 3.6.6. I just installed RubyInline and now ScrubyT is throwing an er…

---

## [Superclass mismatch for class Tempfile](https://www.ruby-forum.com/t/superclass-mismatch-for-class-tempfile/195423)

<div class="topic-metadata">

**Author:** [@bartolome](https://www.ruby-forum.com/u/bartolome)\
**Replies:** 3\
**Last updated:** [September 23, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/superclass-mismatch-for-class-tempfile/195423 "2010-09-23T17:34:07Z")

</div>

I’ve been facing a problem when generating a model (or controller, …). I’m using rails 2.3.8 and ruby 1.8.7. Has anybody been facing anything like this? script/generate controller test /usr/lib/ruby/1.8/tempfile.rb:…

---

## [Apply style in collection\_select?](https://www.ruby-forum.com/t/apply-style-in-collection-select/158806)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 3\
**Last updated:** [January 28, 2009, 11:43am UTC](https://www.ruby-forum.com/t/apply-style-in-collection-select/158806 "2009-01-28T11:43:52Z")

</div>

Hi to all, i have this snip i want to apply style to this combo but there is no effect help… \<%= collection\_select(:customer,:country\_id, @countries,:id, :country, html\_options={ “style” =\> “width:110px” },:onchange…

---

## [Authentication failed. when login heroku](https://www.ruby-forum.com/t/authentication-failed-when-login-heroku/231115)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [July 22, 2014, 1:21pm UTC](https://www.ruby-forum.com/t/authentication-failed-when-login-heroku/231115 "2014-07-22T13:21:41Z")

</div>

Hi everybody i am new ROR. i don’t know why my computer can’t login to heroku when i use other computer i can login .but before it worked ok.i’m use command like this: heroku login Enter your Heroku creadentials Em…

---

## [Creating a openstruct from xml](https://www.ruby-forum.com/t/creating-a-openstruct-from-xml/226102)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 4\
**Last updated:** [November 30, 2010, 5:21am UTC](https://www.ruby-forum.com/t/creating-a-openstruct-from-xml/226102 "2010-11-30T05:21:45Z")

</div>

Hi just wondering if there is a easy way to turn an xml entity into a object like of type OpenStruct where i can access everything like a property? It’s kind of like parsing xml, I already know about nokogiri, but I w…

---

## [Using custom controls with gestalt](https://www.ruby-forum.com/t/using-custom-controls-with-gestalt/182214)

<div class="topic-metadata">

**Author:** [@mroths](https://www.ruby-forum.com/u/mroths)\
**Replies:** 4\
**Last updated:** [August 1, 2010, 9:06am UTC](https://www.ruby-forum.com/t/using-custom-controls-with-gestalt/182214 "2010-08-01T09:06:57Z")

</div>

I’m preparing some demos of using silverlight+ironruby with gestalt. It’s really impressive but i’d like to show an example using the bing map control but can’t work out how to make external controls available. Here’…

---

## [Import data from a txt.file to a trichtextbox - Help](https://www.ruby-forum.com/t/import-data-from-a-txt-file-to-a-trichtextbox-help/189065)

<div class="topic-metadata">

**Author:** [@iroupa](https://www.ruby-forum.com/u/iroupa)\
**Replies:** 4\
**Last updated:** [May 24, 2010, 11:11am UTC](https://www.ruby-forum.com/t/import-data-from-a-txt-file-to-a-trichtextbox-help/189065 "2010-05-24T11:11:25Z")

</div>

Hi all, I created a simple application with one button and one richtextbox. The purpose of the button is to open a FileDialog Common Dialogs to choose a .txt file: I created the button event: evt\_button(@button.get\_…

---

## [Validation order when mixing callbacks and validates\_format](https://www.ruby-forum.com/t/validation-order-when-mixing-callbacks-and-validates-format/124670)

<div class="topic-metadata">

**Author:** [@kodama](https://www.ruby-forum.com/u/kodama)\
**Replies:** 4\
**Last updated:** [June 19, 2009, 1:06pm UTC](https://www.ruby-forum.com/t/validation-order-when-mixing-callbacks-and-validates-format/124670 "2009-06-19T13:06:08Z")

</div>

I posted this question the other day, but it was pretty late so I think I wrote a bunch of gibberish. So let me try it now that I’ve been properly doused with caffeine. :slight\_smile: The Problem: I’m using the “befor…

---

## [ActsAsFerret.find not working - Help](https://www.ruby-forum.com/t/actsasferret-find-not-working-help/137173)

<div class="topic-metadata">

**Author:** [@nerb](https://www.ruby-forum.com/u/nerb)\
**Replies:** 4\
**Last updated:** [January 5, 2009, 9:33am UTC](https://www.ruby-forum.com/t/actsasferret-find-not-working-help/137173 "2009-01-05T09:33:56Z")

</div>

http://opensoul.org/2008/4/29/using-shared-indexes-with-acts\_as\_ferret/comments/6038#comment-6038. In this tutorial, I’ve yet to get results back from the searches i’ve created. Here is my code. I’m not sure what is …

---

## [Active Job/GlobalID custom types](https://www.ruby-forum.com/t/active-job-globalid-custom-types/233942)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 23, 2015, 8:42pm UTC](https://www.ruby-forum.com/t/active-job-globalid-custom-types/233942 "2015-01-23T20:42:33Z")

</div>

Hi all, We just updated our app to rails 4.2, and implemented ActiveJob for our background jobs (were using Resque). I’ve read the docs and the code, and I couldn’t find a “best practice” to accept custom types as jo…

---

## [Request specs flash](https://www.ruby-forum.com/t/request-specs-flash/193735)

<div class="topic-metadata">

**Author:** [@kettuvaloinen](https://www.ruby-forum.com/u/kettuvaloinen)\
**Replies:** 1\
**Last updated:** [August 23, 2010, 7:08pm UTC](https://www.ruby-forum.com/t/request-specs-flash/193735 "2010-08-23T19:08:51Z")

</div>

Hey, Is there a way to test for flash content on a request spec (other than to check the request body). I was trying to test something that redirects so testing the content is not possible. Toni

---

## [Original filename doesn't display in file\_field](https://www.ruby-forum.com/t/original-filename-doesnt-display-in-file-field/53045)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 1\
**Last updated:** [November 17, 2005, 11:44am UTC](https://www.ruby-forum.com/t/original-filename-doesnt-display-in-file-field/53045 "2005-11-17T11:44:54Z")

</div>

In my item upload view I have: \<%= file\_field ‘item’, ‘file’ %\> and in my Item model: def file @file #@file.original\_filename # ← also tried this end def file=(file) @file=file end And if the upload bails becau…

---

## [Patricia Trie as a Ruby Standard Library](https://www.ruby-forum.com/t/patricia-trie-as-a-ruby-standard-library/238117)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 24, 2013, 9:19pm UTC](https://www.ruby-forum.com/t/patricia-trie-as-a-ruby-standard-library/238117 "2013-12-24T21:19:27Z")

</div>

Hi there, I have written a Radix Trie or Patricia Trie for this kata: http://codekata.pragprog.com/2007/01/kata\_eight\_conf.html Although I have called my implementation a “Generic one” I will be polishing it and prov…

---

## [How to unset or properly set GEM\_HOME in a war with warbler/glassfish?](https://www.ruby-forum.com/t/how-to-unset-or-properly-set-gem-home-in-a-war-with-warbler-glassfish/177804)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 2\
**Last updated:** [October 26, 2009, 7:20am UTC](https://www.ruby-forum.com/t/how-to-unset-or-properly-set-gem-home-in-a-war-with-warbler-glassfish/177804 "2009-10-26T07:20:56Z")

</div>

Hello, We found this thread \[1\], but we have the opposite request. In our WAR, GEM\_HOME seems to always be set to the system gem home. We don’t want this, because we don’t want any system gems to pollute our load p…

---

## [Couldn't find 'migration' generator](https://www.ruby-forum.com/t/couldnt-find-migration-generator/232208)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 26, 2014, 12:32am UTC](https://www.ruby-forum.com/t/couldnt-find-migration-generator/232208 "2014-09-26T00:32:38Z")

</div>

Hi, I am trying to add a field in a existing table (database) in Rails 2.3.5 and ruby 1.8.6. I gave a command to generate a migration, Here as follows, ruby script/generate migration AddwebToDistributors website:stri…

---

## [Float as ID's? Can not query on them](https://www.ruby-forum.com/t/float-as-ids-can-not-query-on-them/240717)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [April 28, 2014, 4:27pm UTC](https://www.ruby-forum.com/t/float-as-ids-can-not-query-on-them/240717 "2014-04-28T16:27:37Z")

</div>

I have set my float id’s. I have a Rails 3.0 app and using a MySQL database. It seemed to work fine on a Postgres database. Here is my problem: irb(main):033:0\> Patient.first Patient Load (1.3ms) SELECT patients.\* F…

---

## [Two RX paths](https://www.ruby-forum.com/t/two-rx-paths/150764)

<div class="topic-metadata">

**Author:** [@Juha\_V](https://www.ruby-forum.com/u/Juha_V)\
**Replies:** 6\
**Last updated:** [December 4, 2013, 12:22pm UTC](https://www.ruby-forum.com/t/two-rx-paths/150764 "2013-12-04T12:22:32Z")

</div>

Hi, Is there an example where two usrp sources are used to sample from two daughtercards simultaneously? Or is this even possible? Best Regards, juha

---

## [Login entre dos aplicaciones rails](https://www.ruby-forum.com/t/login-entre-dos-aplicaciones-rails/157163)

<div class="topic-metadata">

**Author:** [@oderas](https://www.ruby-forum.com/u/oderas)\
**Replies:** 6\
**Last updated:** [January 10, 2009, 1:15am UTC](https://www.ruby-forum.com/t/login-entre-dos-aplicaciones-rails/157163 "2009-01-10T01:15:08Z")

</div>

Tengo una aplicacion rails en la cual utilizo el plugin “Acts\_as\_authenticated” para logear el usuario, en la cual una ves autentificado el usuario me redireje a otro controlador:accion hasta aca todo bien. El proble…

---

## [Validation in controllers](https://www.ruby-forum.com/t/validation-in-controllers/115342)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 5:39am UTC](https://www.ruby-forum.com/t/validation-in-controllers/115342 "2007-09-25T05:39:17Z")

</div>

Hi All, I am working on my first RoR application and running into an issue. I’ve been working through the authentication example in the AWDR book and have a question about the login form. Basically, there is a login p…

---

## [Params not getting POSTed](https://www.ruby-forum.com/t/params-not-getting-posted/102197)

<div class="topic-metadata">

**Author:** [@sporkyy](https://www.ruby-forum.com/u/sporkyy)\
**Replies:** 6\
**Last updated:** [August 12, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/params-not-getting-posted/102197 "2006-08-12T23:03:49Z")

</div>

I have a situation where no params are being sent when the form is submitted. After the rendering this is the html that I get… Height: ft Weight: lbs Why would this result in a GET not a POST and no param…

---

## [To\_xml depth](https://www.ruby-forum.com/t/to-xml-depth/95923)

<div class="topic-metadata">

**Author:** [@Arnaud\_G](https://www.ruby-forum.com/u/Arnaud_G)\
**Replies:** 6\
**Last updated:** [August 3, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/to-xml-depth/95923 "2006-08-03T14:24:05Z")

</div>

hello, The “render :xml =\> myFriends.to\_xml”, return something like: 2 ... But a Person has a “has\_many” relationship and they are not in the xml, =\> so is it possible to change the depth of the marsh…

---

## [Object IDs](https://www.ruby-forum.com/t/object-ids/97936)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 6\
**Last updated:** [July 12, 2006, 4:20pm UTC](https://www.ruby-forum.com/t/object-ids/97936 "2006-07-12T16:20:05Z")

</div>

A couple of quick questions: a) Are object id’s ever reused within the life of a Ruby process? b) Are object id’s unique across the whole Ruby process, or only within a given context?

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

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