# Top

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

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

---

## [How to extract multiple values of a header for logging](https://www.ruby-forum.com/t/how-to-extract-multiple-values-of-a-header-for-logging/233149)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [November 23, 2014, 9:48pm UTC](https://www.ruby-forum.com/t/how-to-extract-multiple-values-of-a-header-for-logging/233149 "2014-11-23T21:48:54Z")

</div>

I have a custom header in http response and it can appear more than once. Let’s say it is called x-extra. In my nginx configuration, I want to extract all of its values and log them together but I found it is always…

---

## [Hooking a function to run in IRB context (but only in IRB context)?](https://www.ruby-forum.com/t/hooking-a-function-to-run-in-irb-context-but-only-in-irb-context/216446)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 5, 2012, 11:03pm UTC](https://www.ruby-forum.com/t/hooking-a-function-to-run-in-irb-context-but-only-in-irb-context/216446 "2012-02-05T23:03:54Z")

</div>

Hi. I start IRB. Then I do something like: pj (Input is “pj”) The result is: NameError: undefined local variable or method \`pj’ for #Object:0xb751d954 from (irb):7 Ok, this is what normally happens. Now I wan…

---

## [Java Generics to JRuby](https://www.ruby-forum.com/t/java-generics-to-jruby/188953)

<div class="topic-metadata">

**Author:** [@consiliens](https://www.ruby-forum.com/u/consiliens)\
**Replies:** 4\
**Last updated:** [May 21, 2010, 9:53pm UTC](https://www.ruby-forum.com/t/java-generics-to-jruby/188953 "2010-05-21T21:53:24Z")

</div>

Is it possible to convert this Java code to JRuby? Files.walkFileTree(path, new SimpleFileVisitor() { @Override public FileVisitResult preVisitDirectory(Path path) { return FileVisitResult.CONTINUE; } }); To unsu…

---

## [wxRuby 2.0.1](https://www.ruby-forum.com/t/wxruby-2-0-1/175196)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 4\
**Last updated:** [September 10, 2009, 1:36am UTC](https://www.ruby-forum.com/t/wxruby-2-0-1/175196 "2009-09-10T01:36:01Z")

</div>

Hi I’m pleased to let you know that wxRuby 2.0.1 is now on Rubyforge: http://rubyforge.org/frs/?group\_id=35&release\_id=38847 Binary gems for Ruby 1.8 and Ruby 1.9 on all the major platforms are available; an update t…

---

## [Typo 5.3 wrong rss format?](https://www.ruby-forum.com/t/typo-5-3-wrong-rss-format/164291)

<div class="topic-metadata">

**Author:** [@gomix](https://www.ruby-forum.com/u/gomix)\
**Replies:** 4\
**Last updated:** [April 3, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/typo-5-3-wrong-rss-format/164291 "2009-04-03T19:44:59Z")

</div>

Hi, im having this format problem on the rss feed generation. After fresh install: Hello World! \<p\>Welcome to Typo. This is your first article. Edit or delete it, then start blogging!\</p\> Note the use of \<p\> per on t…

---

## [CellRendererSpin - how to use?](https://www.ruby-forum.com/t/cellrendererspin-how-to-use/156864)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 4\
**Last updated:** [February 26, 2009, 12:21am UTC](https://www.ruby-forum.com/t/cellrendererspin-how-to-use/156864 "2009-02-26T00:21:44Z")

</div>

Hello I tried writing a small Hello World style application with ruby-gtk2. After I was told that ‘list’ and ‘table’ are both spelled ‘treeview’ in GTK I was able to put together a small demo that actually allows edi…

---

## [Nested Mixin Problem(?)](https://www.ruby-forum.com/t/nested-mixin-problem/108306)

<div class="topic-metadata">

**Author:** [@vascoas](https://www.ruby-forum.com/u/vascoas)\
**Replies:** 4\
**Last updated:** [July 2, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/nested-mixin-problem/108306 "2007-07-02T18:07:38Z")

</div>

Hi, could someone check and comment if this is something that i don’t understand well or a ruby “somehow” problem? please Here’s the code: module A def a; :a; end end module B include A def b; :b; end end modu…

---

## [Creating an array of params](https://www.ruby-forum.com/t/creating-an-array-of-params/62299)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [April 1, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/creating-an-array-of-params/62299 "2007-04-01T15:17:57Z")

</div>

I’ve got a bunch of text fields that I’d like to access as an array. The code looks like this: \<%= text\_field\_tag “people\[0\]\[entry\]” %\> \<%= text\_field\_tag “people\[1\]\[entry\]” %\> \<%= text\_field\_tag “people\[2\]\[entry\]” %\>…

---

## [Import Vcard with VPIM](https://www.ruby-forum.com/t/import-vcard-with-vpim/72217)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 2\
**Last updated:** [December 1, 2021, 5:57am UTC](https://www.ruby-forum.com/t/import-vcard-with-vpim/72217 "2021-12-01T05:57:54Z")

</div>

I’m currently looking to build a contact manager with Rails. I need to offer Vcard import / export capabilities. I have VPIM setup in my Rails app, but I’m a little stuck on how to pull the correct data from the vcard…

---

## [Ruby rails inserire un commando rails nel javascript](https://www.ruby-forum.com/t/ruby-rails-inserire-un-commando-rails-nel-javascript/243391)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 12, 2015, 9:15am UTC](https://www.ruby-forum.com/t/ruby-rails-inserire-un-commando-rails-nel-javascript/243391 "2015-10-12T09:15:07Z")

</div>

Ciao ho un problema con l’inserimento di un comando nel javascript se provo a fare var prova=\<%= @prova %\> ho che in prova viene messa una stringa dove gli apici e altri caratteri vengono sostituiti con caratteri spe…

---

## [Database table for 2-dimensional array](https://www.ruby-forum.com/t/database-table-for-2-dimensional-array/236192)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 19, 2013, 6:48pm UTC](https://www.ruby-forum.com/t/database-table-for-2-dimensional-array/236192 "2013-08-19T18:48:43Z")

</div>

My Doppler Value Investing site (http://www.dopplervalueinvesting.com) uses Ruby on Rails and a Postgres database. There are two important parts: the superficial analysis and an in-depth analysis. An example of the …

---

## [Hold requests long enough for me to restart upstream?](https://www.ruby-forum.com/t/hold-requests-long-enough-for-me-to-restart-upstream/163404)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 2\
**Last updated:** [March 22, 2009, 12:47am UTC](https://www.ruby-forum.com/t/hold-requests-long-enough-for-me-to-restart-upstream/163404 "2009-03-22T00:47:04Z")

</div>

I use nginx 0.6.31 with proxy\_pass to front end requests to a servlet running in Jetty (the upstream). Sometimes I need to update a jar on the upstream, which requires restarting jetty to take effect. I am looking fo…

---

## [Find every subclass of an object](https://www.ruby-forum.com/t/find-every-subclass-of-an-object/148553)

<div class="topic-metadata">

**Author:** [@DyingToLearn](https://www.ruby-forum.com/u/DyingToLearn)\
**Replies:** 2\
**Last updated:** [September 15, 2008, 4:08am UTC](https://www.ruby-forum.com/t/find-every-subclass-of-an-object/148553 "2008-09-15T04:08:20Z")

</div>

Hi, I have this class: class MoldItem \< ActiveRecord::Base self.abstract\_class = true end And then I have a (currenly unspecified) number of classes such as these: class StringMoldItem \< MoldItem end class LinkM…

---

## [ActionPack: number\_to\_phone error](https://www.ruby-forum.com/t/actionpack-number-to-phone-error/64936)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/actionpack-number-to-phone-error/64936 "2006-08-15T16:47:43Z")

</div>

Question about the number\_to\_phone function as provided by rails in actionpack: If I do this in my controller: num = number\_to\_phone(params\[:phone\_number\]) I get this error: undefined method \`number\_to\_phone’ for …

---

## [Can't write unknown attribute \`recipe\_type\_id\`](https://www.ruby-forum.com/t/cant-write-unknown-attribute-recipe-type-id/253240)

<div class="topic-metadata">

**Author:** [@mikuzuhara](https://www.ruby-forum.com/u/mikuzuhara)\
**Replies:** 0\
**Last updated:** [October 24, 2019, 1:05am UTC](https://www.ruby-forum.com/t/cant-write-unknown-attribute-recipe-type-id/253240 "2019-10-24T01:05:35Z")

</div>

When downloading the repository on the machine, I gave the following commands: $ rails generate migration RemoveRecipe\_ \*typeToRecipe recipe\_\* type:string $ rails db:migrate RAILS \*ENV=test\* \*$ rails generate model re…

---

## [\[n00b\] How to CONFIGURE port other then 3000?](https://www.ruby-forum.com/t/n00b-how-to-configure-port-other-then-3000/116604)

<div class="topic-metadata">

**Author:** [@olie](https://www.ruby-forum.com/u/olie)\
**Replies:** 8\
**Last updated:** [October 12, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/n00b-how-to-configure-port-other-then-3000/116604 "2007-10-12T19:24:57Z")

</div>

I’ve Googled and checked the archives, but the only answer I can find about firing up on port other than 3000 is to either modify the library default (?!) or use the command-line argument --port=# (eh…) What I’d LIKE …

---

## [Hivelogic Install Instructions for OS X](https://www.ruby-forum.com/t/hivelogic-install-instructions-for-os-x/103040)

<div class="topic-metadata">

**Author:** [@DigitalRealm](https://www.ruby-forum.com/u/DigitalRealm)\
**Replies:** 8\
**Last updated:** [May 1, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/hivelogic-install-instructions-for-os-x/103040 "2007-05-01T17:38:20Z")

</div>

I decided to check out Dan’s awesome tutorial for RoR and I have a little problem… The first part there, where you make sure the path is correct, I cannot get to work. mate ~/.bash\_login This does not work for me,…

---

## [(Many-to-many)-to many](https://www.ruby-forum.com/t/many-to-many-to-many/86577)

<div class="topic-metadata">

**Author:** [@mastica](https://www.ruby-forum.com/u/mastica)\
**Replies:** 8\
**Last updated:** [March 12, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/many-to-many-to-many/86577 "2007-03-12T15:07:43Z")

</div>

I’m very new at rails and wondering if ActiveRecord supports (many-to- many)-to many relationships. For example: I have recipes, ingredients, and cookingmethods. Recipes have many ingredients, and ingredients are in m…

---

## [Reading/writing binary problem](https://www.ruby-forum.com/t/reading-writing-binary-problem/89988)

<div class="topic-metadata">

**Author:** [@wolfgang](https://www.ruby-forum.com/u/wolfgang)\
**Replies:** 8\
**Last updated:** [March 29, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/reading-writing-binary-problem/89988 "2006-03-29T18:56:26Z")

</div>

Hi, I have some binary files which I need to delete some data at the beginning of the file (to extract the raw data out of the file). I got a matlab file from a colleque but I would prefer if I could do it with ruby. …

---

## [Why is my array a hash?](https://www.ruby-forum.com/t/why-is-my-array-a-hash/48361)

<div class="topic-metadata">

**Author:** [@michelle](https://www.ruby-forum.com/u/michelle)\
**Replies:** 8\
**Last updated:** [November 20, 2005, 4:12pm UTC](https://www.ruby-forum.com/t/why-is-my-array-a-hash/48361 "2005-11-20T16:12:15Z")

</div>

I have a chunk of code, where I define an array, and the very next time I use it, Ruby thinks that it’s a hash instead :frowning: … step = Array.new astep, line = getNextWord(line) while astep != nil { step.push(a…

---

## [Project Infrastructure & Architecture: How to plan a Rails project with various 3rd party building blocks?](https://www.ruby-forum.com/t/project-infrastructure-architecture-how-to-plan-a-rails-project-with-various-3rd-party-building-blocks/263822)

<div class="topic-metadata">

**Author:** [@FullMetalStacker](https://www.ruby-forum.com/u/FullMetalStacker)\
**Replies:** 1\
**Last updated:** [May 1, 2023, 11:37am UTC](https://www.ruby-forum.com/t/project-infrastructure-architecture-how-to-plan-a-rails-project-with-various-3rd-party-building-blocks/263822 "2023-05-01T11:37:00Z")

</div>

Hi! I am a Rails and generally web development beginner who has completed a 3 month Ruby/Rails+HTML/CSS/JavaScript bootcamp and I have being practicing especially Ruby quite a bit since then, ranking 2nd Kyu on Codewars…

---

## [Set image from computer as a background for QT GUI](https://www.ruby-forum.com/t/set-image-from-computer-as-a-background-for-qt-gui/250998)

<div class="topic-metadata">

**Author:** [@user123456789](https://www.ruby-forum.com/u/user123456789)\
**Replies:** 1\
**Last updated:** [November 12, 2018, 10:25pm UTC](https://www.ruby-forum.com/t/set-image-from-computer-as-a-background-for-qt-gui/250998 "2018-11-12T22:25:27Z")

</div>

Hello, I would like display a value over a custom background in gnu radio. In fact, the code should print the value somehow like a speedometer on semi-round. How can I achieve this? Is it possible to implement my idea i…

---

## [Does anyone know how to use Net:HTTP make soap request?](https://www.ruby-forum.com/t/does-anyone-know-how-to-use-net-http-make-soap-request/232703)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 8:10am UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-use-net-http-make-soap-request/232703 "2014-10-23T08:10:16Z")

</div>

Hi I am developing code to send XML to a SOAP WebService. There function at that end is call checkReceived(arg0,arg1,arg3). as you can see it has 3 arguments. Getting very confused on how to achieve this. Below is my…

---

## [Problems with tests](https://www.ruby-forum.com/t/problems-with-tests/165675)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 7\
**Last updated:** [April 16, 2009, 8:39pm UTC](https://www.ruby-forum.com/t/problems-with-tests/165675 "2009-04-16T20:39:37Z")

</div>

Hi all I’m trying to write good unit tests. Here’s part of my blog\_test.rb: — blog\_test.rb: require File.dirname(FILE) + ‘/…/test\_helper’ class BlogTest \< Test::Unit::TestCase fixtures :blogs, :comments def setup …

---

## [ProblÃ¨me mÃ©tier - RequÃªte avec jointur e](https://www.ruby-forum.com/t/probla-me-ma-tier-requa-te-avec-jointur-e/148051)

<div class="topic-metadata">

**Author:** [@kael](https://www.ruby-forum.com/u/kael)\
**Replies:** 7\
**Last updated:** [September 9, 2008, 6:59pm UTC](https://www.ruby-forum.com/t/probla-me-ma-tier-requa-te-avec-jointur-e/148051 "2008-09-09T18:59:26Z")

</div>

Bonjour, Je développe une application web dont un module gère des fiches de concessionnaires scooter. Voici rapidement mon architecture : fiche.rb : has\_many :categories category.rb : belongs\_to :fiche has\_many :…

---

## [Gems 1](https://www.ruby-forum.com/t/gems-1/127912)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 1\
**Last updated:** [February 3, 2008, 10:24pm UTC](https://www.ruby-forum.com/t/gems-1/127912 "2008-02-03T22:24:54Z")

</div>

\-g.

---

## [Ruby TK window size question](https://www.ruby-forum.com/t/ruby-tk-window-size-question/53904)

<div class="topic-metadata">

**Author:** [@rubyman](https://www.ruby-forum.com/u/rubyman)\
**Replies:** 1\
**Last updated:** [February 16, 2006, 3:34pm UTC](https://www.ruby-forum.com/t/ruby-tk-window-size-question/53904 "2006-02-16T15:34:03Z")

</div>

Hi, I was wondering if there is a way to have a Ruby TK window drawn to the maximum available screen size? I have been using root.geometry(’+135+10’) for example, but would like the window to automatically size up to…

---

## [GRC vs python flow-graph by hand](https://www.ruby-forum.com/t/grc-vs-python-flow-graph-by-hand/240410)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [April 15, 2014, 6:21am UTC](https://www.ruby-forum.com/t/grc-vs-python-flow-graph-by-hand/240410 "2014-04-15T06:21:15Z")

</div>

Dear Sir, As an amateur I use GRC to create flow-graphs, but I see many other users create their flow-graphs in python by hand. In what kind of cases the flow graphs must be coded by hand ? (where GRC couldn’t accom…

---

## [Still 400 response code, but so weird this time](https://www.ruby-forum.com/t/still-400-response-code-but-so-weird-this-time/236038)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 1, 2013, 12:13pm UTC](https://www.ruby-forum.com/t/still-400-response-code-but-so-weird-this-time/236038 "2013-08-01T12:13:18Z")

</div>

In access\_log file, huge numbers of log entries like this: 115.85.238.34 1764839163 - 0.242 \[01/Aug/2013:11:02:01 +0800\] “foo.bar.com” “-” 400 0 “-” “-” “-” log\_format defined in http conf block: ‘$remote\_addr $conn…

---

## [Ngx.re.split implementation](https://www.ruby-forum.com/t/ngx-re-split-implementation/226319)

<div class="topic-metadata">

**Author:** [@Jader\_Henrique\_da\_S](https://www.ruby-forum.com/u/Jader_Henrique_da_S)\
**Replies:** 6\
**Last updated:** [July 13, 2012, 11:19pm UTC](https://www.ruby-forum.com/t/ngx-re-split-implementation/226319 "2012-07-13T23:19:33Z")

</div>

Hello I was checking HttpLuaModule docs and saw “ngx.re.split” implementation in the TODO section. Is it already implemented? Are there any details about this implementation (e.g. parameters, returned data)? Jader …

---

## [Best text editor for iPad?](https://www.ruby-forum.com/t/best-text-editor-for-ipad/209175)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [July 7, 2011, 5:11pm UTC](https://www.ruby-forum.com/t/best-text-editor-for-ipad/209175 "2011-07-07T17:11:38Z")

</div>

What is the best text editor for iPad to write rails apps?? Thank you, Rodrigo

---

## [\[Cucumber\] cucumber command does not work in db transaction](https://www.ruby-forum.com/t/cucumber-cucumber-command-does-not-work-in-db-transaction/158920)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 6\
**Last updated:** [January 29, 2009, 4:28pm UTC](https://www.ruby-forum.com/t/cucumber-cucumber-command-does-not-work-in-db-transaction/158920 "2009-01-29T16:28:08Z")

</div>

I am working in an scenario and it’s still failing. I have not yet finished it. And I am running it constantly with the cucumber command, not with rake. The problem is that it’s not working with the database in a tran…

---

## [Mouse block and key pressed simulation?](https://www.ruby-forum.com/t/mouse-block-and-key-pressed-simulation/108511)

<div class="topic-metadata">

**Author:** [@mihai](https://www.ruby-forum.com/u/mihai)\
**Replies:** 6\
**Last updated:** [July 5, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/mouse-block-and-key-pressed-simulation/108511 "2007-07-05T16:46:32Z")

</div>

How can i block and release the mouse and keyboard and how can a simulate a key pressed in ruby? (for exemple i want to press enter key)

---

## [QT Ruby odd focus behavior](https://www.ruby-forum.com/t/qt-ruby-odd-focus-behavior/88097)

<div class="topic-metadata">

**Author:** [@christophertasma](https://www.ruby-forum.com/u/christophertasma)\
**Replies:** 6\
**Last updated:** [March 14, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/qt-ruby-odd-focus-behavior/88097 "2007-03-14T22:02:00Z")

</div>

Hello all, I was writing a simple ‘file sharing’ program with QT and ruby. I noticed when running two clients on one machine for testing some odd behavior with the focus. When a peer receives a request from and serv…

---

## [GeoQuery with acts\_as\_ferret involved](https://www.ruby-forum.com/t/geoquery-with-acts-as-ferret-involved/84019)

<div class="topic-metadata">

**Author:** [@sporkmonger](https://www.ruby-forum.com/u/sporkmonger)\
**Replies:** 6\
**Last updated:** [January 31, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/geoquery-with-acts-as-ferret-involved/84019 "2007-01-31T20:45:06Z")

</div>

So, I’m working on a search engine of sorts that restricts results to your local area. I can successfully return all entries within 15 miles of a particular point, and I can successfully return all entries that match…

---

## [Ruby-lang emails getting blocked](https://www.ruby-forum.com/t/ruby-lang-emails-getting-blocked/53812)

<div class="topic-metadata">

**Author:** [@Caleb\_T](https://www.ruby-forum.com/u/Caleb_T)\
**Replies:** 6\
**Last updated:** [February 16, 2006, 2:40am UTC](https://www.ruby-forum.com/t/ruby-lang-emails-getting-blocked/53812 "2006-02-16T02:40:45Z")

</div>

It seems that beryllium.ruby-lang.org has found itself on spamcop’s blocking list (which explains why I haven’t gotten any mails in about 15 hours): Caleb

---

## [Installing fluentd by Ruby gems on Solaris 10: cc: -W option with unknown program all](https://www.ruby-forum.com/t/installing-fluentd-by-ruby-gems-on-solaris-10-cc-w-option-with-unknown-program-all/262331)

<div class="topic-metadata">

**Author:** [@dklein](https://www.ruby-forum.com/u/dklein)\
**Replies:** 0\
**Last updated:** [December 28, 2021, 3:35pm UTC](https://www.ruby-forum.com/t/installing-fluentd-by-ruby-gems-on-solaris-10-cc-w-option-with-unknown-program-all/262331 "2021-12-28T15:35:51Z")

</div>

gem install fluentd -v “~\> 0.12.0” --no-ri --no-rdoc Building native extensions. This could take a while… ERROR: Error installing fluentd: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby2.0 extconf.rb…

---

## [Question about API handling with Ruby](https://www.ruby-forum.com/t/question-about-api-handling-with-ruby/250674)

<div class="topic-metadata">

**Author:** [@Sepparated](https://www.ruby-forum.com/u/Sepparated)\
**Replies:** 3\
**Last updated:** [November 5, 2018, 5:03pm UTC](https://www.ruby-forum.com/t/question-about-api-handling-with-ruby/250674 "2018-11-05T17:03:44Z")

</div>

Hey, I’m pretty inexperienced with Ruby, but I already got the basics and wrote my first own web application with Rails. The next thing I try to do is to get deeper into APIs. I have already managed to crawl tweets with…

---

## [NOAA antenna](https://www.ruby-forum.com/t/noaa-antenna/228996)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 16, 2013, 6:48am UTC](https://www.ruby-forum.com/t/noaa-antenna/228996 "2013-05-16T06:48:35Z")

</div>

Hi all, I want to play with NOAA…Is there anyone here who has already tried it? Can someone reccomend me an antenna with acceptable performance, which is not difficult to build? I have an ezcap tuner. Thank you, M…

---

## [Stubbing gets undone?](https://www.ruby-forum.com/t/stubbing-gets-undone/203245)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 16, 2011, 8:37pm UTC](https://www.ruby-forum.com/t/stubbing-gets-undone/203245 "2011-02-16T20:37:45Z")

</div>

I’m looking at an example where a stub seems to work sometimes, and sometimes appears to become “unstubbed”. I haven’t boiled it down to a minimal example, but it goes something like this: ---- the model: class Prem…

---

## [Cucumber generator error in rails 3](https://www.ruby-forum.com/t/cucumber-generator-error-in-rails-3/195623)

<div class="topic-metadata">

**Author:** [@Senthil\_kumar\_L](https://www.ruby-forum.com/u/Senthil_kumar_L)\
**Replies:** 3\
**Last updated:** [September 27, 2010, 10:31am UTC](https://www.ruby-forum.com/t/cucumber-generator-error-in-rails-3/195623 "2010-09-27T10:31:36Z")

</div>

I have my Gem file as mentioned in the github gem ‘capybara’ gem ‘database\_cleaner’ gem ‘cucumber-rails’ gem ‘cucumber’ gem ‘rspec-rails’ gem ‘spork’ gem 'launchy but when i give rails generate cucumber:install, …

---

## [BDD or SDD?](https://www.ruby-forum.com/t/bdd-or-sdd/156598)

<div class="topic-metadata">

**Author:** [@aidy\_lewis](https://www.ruby-forum.com/u/aidy_lewis)\
**Replies:** 3\
**Last updated:** [December 30, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/bdd-or-sdd/156598 "2008-12-30T20:18:57Z")

</div>

Hi, Is there a difference between Behaviour-Driven-Development and Story-Driven-Development? Is Story-Driven-Development a more accurate description of using Cucumber as a Story Runner? Regards Aidy

---

## [Wrong total\_hits when using conditions in find\_by\_contents](https://www.ruby-forum.com/t/wrong-total-hits-when-using-conditions-in-find-by-contents/81884)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 3\
**Last updated:** [January 16, 2007, 12:13pm UTC](https://www.ruby-forum.com/t/wrong-total-hits-when-using-conditions-in-find-by-contents/81884 "2007-01-16T12:13:55Z")

</div>

I don’t know if this is a bug, or wanted behavior, but for me it was a pain in… So here’s the problem + a bugfix. Lets say you have a model “Article” with the following fields: title, visible - and these records titl…

---

## [Action Mailer - Timeout error](https://www.ruby-forum.com/t/action-mailer-timeout-error/78513)

<div class="topic-metadata">

**Author:** [@prasad](https://www.ruby-forum.com/u/prasad)\
**Replies:** 3\
**Last updated:** [December 8, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/action-mailer-timeout-error/78513 "2006-12-08T19:17:42Z")

</div>

Hi guys! There is a problem in sending mail through the action mailer. Sometimes the mails are successfully sent whereas in some cases it gives me Timeout error. The controller code that I wrote is as follows:- Noti…

---

## [Accessing the session from the model](https://www.ruby-forum.com/t/accessing-the-session-from-the-model/233978)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 30, 2015, 1:55am UTC](https://www.ruby-forum.com/t/accessing-the-session-from-the-model/233978 "2015-01-30T01:55:00Z")

</div>

Environment: jruby 1.7.18 with Rails 4.0.x In order to use Rails in a way I’m more familiar (with a server-side session store that integrates deeply with the model), I want to access the servlet session from the Rails…

---

## [Rails 3.2 and Streaming using response\_body](https://www.ruby-forum.com/t/rails-3-2-and-streaming-using-response-body/218379)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 22, 2013, 5:12pm UTC](https://www.ruby-forum.com/t/rails-3-2-and-streaming-using-response-body/218379 "2013-08-22T17:12:55Z")

</div>

I am working on a streaming download (CSV) from Rails 3.2 and am coming up against an issue of the initial page request taking a long time. The following controller code illustrates my issue: self.response\_body = E…

---

## [Difference between html.erb and .erb](https://www.ruby-forum.com/t/difference-between-html-erb-and-erb/168584)

<div class="topic-metadata">

**Author:** [@saljamil](https://www.ruby-forum.com/u/saljamil)\
**Replies:** 2\
**Last updated:** [May 22, 2009, 6:15pm UTC](https://www.ruby-forum.com/t/difference-between-html-erb-and-erb/168584 "2009-05-22T18:15:02Z")

</div>

I spend few hours debugging a flash chart issue. At the end and after a lot of trial and error, I switched my view name from dashboard.erb to dashboard.html.erb and that resolved the problem. Any idea why? I tried to …

---

## [Adding methods to Kernel](https://www.ruby-forum.com/t/adding-methods-to-kernel/142956)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 2\
**Last updated:** [July 13, 2008, 11:16pm UTC](https://www.ruby-forum.com/t/adding-methods-to-kernel/142956 "2008-07-13T23:16:27Z")

</div>

I am still having problems adding the BigDecimal method into the Kernel module. As I understand it the correct method is to create a new class that extends Kernel and adds the methods as both Private-Instance and Pu…

---

## [Relative To Absolute Path Convertor](https://www.ruby-forum.com/t/relative-to-absolute-path-convertor/107239)

<div class="topic-metadata">

**Author:** [@ciocan](https://www.ruby-forum.com/u/ciocan)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/relative-to-absolute-path-convertor/107239 "2007-06-20T15:03:32Z")

</div>

Is there a built in function/plugin that converts relative paths from a html page to absolute ones? Example: target url: http://mysite.com/folder/url.html url content: … some link … converted content: … \< a h…

---

## [Core dumped when closing GRC](https://www.ruby-forum.com/t/core-dumped-when-closing-grc/242209)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [June 5, 2015, 5:36pm UTC](https://www.ruby-forum.com/t/core-dumped-when-closing-grc/242209 "2015-06-05T17:36:17Z")

</div>

Hi all, i finally managed to install newest version of gnuradio (3.7.7.1) on mu RHEL6. Everyrhing look sjust fine except segmentation fault when closing GRC. Didi anybody experience something like this and how can I d…

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

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