# Top

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

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

---

## [Glimmer DSL for Web Component Custom Event Listeners / Component Slots / Default Slot](https://www.ruby-forum.com/t/glimmer-dsl-for-web-component-custom-event-listeners-component-slots-default-slot/266592)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 1\
**Last updated:** [November 17, 2024, 11:06am UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-web-component-custom-event-listeners-component-slots-default-slot/266592 "2024-11-17T11:06:29Z")

</div>

Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) recently added support for Component Custom Event Listeners, Component Slots, and Default Slot in the 0.5.x & 0.6.x version releases. The new samples Hello…

---

## [Force UTF-8 encoding](https://www.ruby-forum.com/t/force-utf-8-encoding/202163)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 24, 2011, 12:25am UTC](https://www.ruby-forum.com/t/force-utf-8-encoding/202163 "2011-01-24T00:25:58Z")

</div>

I’m writing an upload script for contact management, but having encoding issues: #=\> Encoding::UndefinedConversionError: “\\xFA” from ASCII-8BIT to UTF-8 I will not always know the encoding supplied, and this is the re…

---

## [Array and hash combine methods](https://www.ruby-forum.com/t/array-and-hash-combine-methods/79305)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [June 8, 2010, 9:36am UTC](https://www.ruby-forum.com/t/array-and-hash-combine-methods/79305 "2010-06-08T09:36:40Z")

</div>

Just thought I’d post a solution I came up with to finding combinations (as in, permutations and combinations) of arrays. For example, combining: \[1,2\] and \[3,4,5\] should return: \[\[1,3\],\[1,4\],\[1,5\],\[2,3\],\[2,4\],\[2,5\]…

---

## [\[ANN\] Arcadia ruby ide 0.8.1](https://www.ruby-forum.com/t/ann-arcadia-ruby-ide-0-8-1/186667)

<div class="topic-metadata">

**Author:** [@guerra](https://www.ruby-forum.com/u/guerra)\
**Replies:** 7\
**Last updated:** [April 11, 2010, 11:37pm UTC](https://www.ruby-forum.com/t/ann-arcadia-ruby-ide-0-8-1/186667 "2010-04-11T23:37:26Z")

</div>

Arcadia is a Light Integrated Development Environment (IDE) for Ruby language written in Ruby using the classic tcl/tk GUI toolkit. Some of Arcadia ruby ide project features include: Editor with source browsing, syn…

---

## [Is there a good (non-judgemental) comparison of Rspec mocking vs Mocha?](https://www.ruby-forum.com/t/is-there-a-good-non-judgemental-comparison-of-rspec-mocking-vs-mocha/176651)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 1\
**Last updated:** [October 4, 2009, 5:54am UTC](https://www.ruby-forum.com/t/is-there-a-good-non-judgemental-comparison-of-rspec-mocking-vs-mocha/176651 "2009-10-04T05:54:59Z")

</div>

I’ve just picked up a project which has been using test/spec and mocha. We’re in the process of switching over to rspec for the testing framework, and will probably just continue to use mocha for the mocks, although I…

---

## [Seleccionar registros que no esten cargados en otra tabla](https://www.ruby-forum.com/t/seleccionar-registros-que-no-esten-cargados-en-otra-tabla/150016)

<div class="topic-metadata">

**Author:** [@arriquito](https://www.ruby-forum.com/u/arriquito)\
**Replies:** 1\
**Last updated:** [October 2, 2008, 3:33pm UTC](https://www.ruby-forum.com/t/seleccionar-registros-que-no-esten-cargados-en-otra-tabla/150016 "2008-10-02T15:33:16Z")

</div>

el tema es el siguiente: Necesito sacar todos los registros que no estan en otro tabla. en SQL seria @inscripcions = SELECT \* FROM inscripcions WHERE NOT IN (SELECT inspeccion\_id FROM inscripcions) osea necesito li…

---

## [Separating black sheep examples from the rest](https://www.ruby-forum.com/t/separating-black-sheep-examples-from-the-rest/149324)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 7\
**Last updated:** [September 24, 2008, 12:27pm UTC](https://www.ruby-forum.com/t/separating-black-sheep-examples-from-the-rest/149324 "2008-09-24T12:27:42Z")

</div>

So we’ve got a pretty decent number of specs now, and despite my best efforts, AR is just forcing us down the path of having to use database interaction for some of the model specs. It’s starting to get tiring to run …

---

## [Broken pipe and send mail](https://www.ruby-forum.com/t/broken-pipe-and-send-mail/121823)

<div class="topic-metadata">

**Author:** [@macario](https://www.ruby-forum.com/u/macario)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 5:32pm UTC](https://www.ruby-forum.com/t/broken-pipe-and-send-mail/121823 "2007-12-11T17:32:22Z")

</div>

I’ve problems sending mail from my rails app In the app config/enviroment.rb file I have this settings: ActionMailer::Base.delivery\_method = :sendmail ActionMailer::Base.sendmail\_settings = { :location =\> ‘/usr…

---

## [Newbie problem on production server](https://www.ruby-forum.com/t/newbie-problem-on-production-server/90395)

<div class="topic-metadata">

**Author:** [@orlick](https://www.ruby-forum.com/u/orlick)\
**Replies:** 7\
**Last updated:** [April 1, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/newbie-problem-on-production-server/90395 "2007-04-01T15:43:56Z")

</div>

Hi, I just installed ferret for the first time and integrated it with my app. On my dev machine it’s fine but on my production server I get this when I call find\_by\_contents(): Processing LinksController#results (fo…

---

## [Getters and setters problem?](https://www.ruby-forum.com/t/getters-and-setters-problem/93484)

<div class="topic-metadata">

**Author:** [@Wijnand\_W](https://www.ruby-forum.com/u/Wijnand_W)\
**Replies:** 7\
**Last updated:** [April 4, 2006, 5:39pm UTC](https://www.ruby-forum.com/t/getters-and-setters-problem/93484 "2006-04-04T17:39:11Z")

</div>

Hi list, first evening of playing with rails, so please forgive me if I ask something stupid. :wink: I created a User model and tried to use ActiveRecord callbacks to convert the password to sha1 just before saving i…

---

## [Patch: crash during GC when using combo, listbox](https://www.ruby-forum.com/t/patch-crash-during-gc-when-using-combo-listbox/228266)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 0\
**Last updated:** [April 16, 2013, 2:06am UTC](https://www.ruby-forum.com/t/patch-crash-during-gc-when-using-combo-listbox/228266 "2013-04-16T02:06:35Z")

</div>

Hi all, I feel like I may have written about this before, apologies if so. I recently started getting “object allocation during garbage collection phase” with wxruby on linux. I traced the problem to GetCount() being …

---

## [Cache configuration](https://www.ruby-forum.com/t/cache-configuration/225733)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [February 6, 2013, 7:55pm UTC](https://www.ruby-forum.com/t/cache-configuration/225733 "2013-02-06T19:55:28Z")

</div>

Hello everyone! A cache issue… I created an XML file order.xml with this simle cotent: \<?xml version="1.0" encoding="utf-8"?\> John D. Foo Str. 3, 10117 Berlin …

---

## [Re: (no subject)](https://www.ruby-forum.com/t/re-no-subject/224628)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [November 19, 2012, 6:58pm UTC](https://www.ruby-forum.com/t/re-no-subject/224628 "2012-11-19T18:58:14Z")

</div>

http://margaritamande.com/best\_site.php?t=m9y0v2p9b1

---

## [Radiant Install on Dreamhost](https://www.ruby-forum.com/t/radiant-install-on-dreamhost/206944)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 9:00pm UTC](https://www.ruby-forum.com/t/radiant-install-on-dreamhost/206944 "2011-05-13T21:00:34Z")

</div>

I have been following this guide: And I get the error: /home/my\_id/.gems/gems/radiant-0.9.1/vendor/rails/activesupport/libive\_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependes::Mutex (NameErr…

---

## [Argument types](https://www.ruby-forum.com/t/argument-types/165507)

<div class="topic-metadata">

**Author:** [@krasba](https://www.ruby-forum.com/u/krasba)\
**Replies:** 8\
**Last updated:** [April 14, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/argument-types/165507 "2009-04-14T19:40:04Z")

</div>

The documentation of the standard classes/methods never mention of what type/class an argument must be. For example let’s look at the subscript of an Array. There is the form “array\[index\]”. But of what Type must the …

---

## [Simple RoR problem with file\_column / rmagick](https://www.ruby-forum.com/t/simple-ror-problem-with-file-column-rmagick/126623)

<div class="topic-metadata">

**Author:** [@Aaaarg](https://www.ruby-forum.com/u/Aaaarg)\
**Replies:** 8\
**Last updated:** [April 10, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/simple-ror-problem-with-file-column-rmagick/126623 "2008-04-10T23:23:48Z")

</div>

At least I suspect it’s a simple problem. I’m quite new. I have written a class to store images, and generate thumbnails for them. This works well. However I’ve been having a lot of trouble getting it to keep track of …

---

## [Problem connecting with ruby-net-ldap - Net::BER::BerError](https://www.ruby-forum.com/t/problem-connecting-with-ruby-net-ldap-net-bererror/117969)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 8\
**Last updated:** [October 23, 2007, 2:33pm UTC](https://www.ruby-forum.com/t/problem-connecting-with-ruby-net-ldap-net-bererror/117969 "2007-10-23T14:33:55Z")

</div>

Hi all, Ruby 1.8.6 Windows XP Pro ruby-net-ldap 0.0.4 I’m getting a strange error when I try this simple script, where LDAP\_SERVER is a 3rd party ldap server: ldap = Net::LDAP.new(:host =\> LDAP\_SERVER, :port =\> 999…

---

## [Optimizing for speed - Array#each](https://www.ruby-forum.com/t/optimizing-for-speed-array-each/104933)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 8\
**Last updated:** [May 25, 2007, 12:35am UTC](https://www.ruby-forum.com/t/optimizing-for-speed-array-each/104933 "2007-05-25T00:35:33Z")

</div>

I ran the profiler on my program and it said that 51% of the time is spent in Array#each. Is there any way to speed this up (like using Array#each\_index perhaps)? And is there a quicker way to do a .gsub if I’m using…

---

## [Pass a whole file to #instance\_eval](https://www.ruby-forum.com/t/pass-a-whole-file-to-instance-eval/245030)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 18, 2016, 4:02pm UTC](https://www.ruby-forum.com/t/pass-a-whole-file-to-instance-eval/245030 "2016-08-18T16:02:38Z")

</div>

Hey there! I’m a Ruby beginner and I’m stuck with a doubt. I want realize a sort of DSL that looks like: require 'exampledsl' method1 do #... end method2 do #... end Because these method aren’t part of Kern…

---

## [Buffer error while executing gem](https://www.ruby-forum.com/t/buffer-error-while-executing-gem/104132)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/buffer-error-while-executing-gem/104132 "2007-05-14T18:02:21Z")

</div>

Hello, when running on Windows XP gem.exe which comes with Ruby 1.8.5, I get the following error: H:\>C:\\ruby185\\bin\\gem install net-ssh Bulk updating Gem source index for: http://gems.rubyforge.org Install required …

---

## [Cucumber/RSpec ::: Capybara? Webrat What am I using?](https://www.ruby-forum.com/t/cucumber-rspec-capybara-webrat-what-am-i-using/220606)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 22, 2012, 11:39am UTC](https://www.ruby-forum.com/t/cucumber-rspec-capybara-webrat-what-am-i-using/220606 "2012-06-22T11:39:19Z")

</div>

Hey everybody I’m currently reading through the Pragmatic Programmers RSpec book, and I really enjoy it. But I’m facing some problems because of the fact that the book is already some years old, I guess. I have insta…

---

## [Nginx Reverse Proxy to LAMP server phpmyadmin access](https://www.ruby-forum.com/t/nginx-reverse-proxy-to-lamp-server-phpmyadmin-access/219794)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 16, 2012, 2:33pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-to-lamp-server-phpmyadmin-access/219794 "2012-05-16T14:33:42Z")

</div>

Hi all. I have been looking for this answer but I have not been able to do so. I have a server with Nginx as a reverse proxy and want it to redirect my http://domain.com/phpmyadmin to a different LAMP server which hos…

---

## [RoutingError with RSpec Controller test on Scoped Route](https://www.ruby-forum.com/t/routingerror-with-rspec-controller-test-on-scoped-route/209512)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 16, 2011, 2:12pm UTC](https://www.ruby-forum.com/t/routingerror-with-rspec-controller-test-on-scoped-route/209512 "2011-07-16T14:12:35Z")

</div>

So I have a route that looks like this: scope “4” do scope “public” do scope “:apikey” do resources :shops end end end And a bunch of controller specs, an example of which looks like this: describe ShopsControll…

---

## [Sistema di scripting](https://www.ruby-forum.com/t/sistema-di-scripting/220952)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 27, 2012, 2:45pm UTC](https://www.ruby-forum.com/t/sistema-di-scripting/220952 "2012-06-27T14:45:48Z")

</div>

Ciao a tutti, in un progetto ruby ho bisogno di gestire un sistema di “scripting” (pi o meno), magari (e possibilmente) con ruby stesso :wink: Il ruby esterno, quando viene valutato, deve poter definire classi e met…

---

## [Tunnel.py destination host unreachable](https://www.ruby-forum.com/t/tunnel-py-destination-host-unreachable/220628)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 19, 2012, 5:01pm UTC](https://www.ruby-forum.com/t/tunnel-py-destination-host-unreachable/220628 "2012-06-19T17:01:10Z")

</div>

I was testing with tunnel.py and following the instructions in README located in gnuradio/gr-digital/examples/narrwoband. I found that when I input\* ifconfig gr0 192.168.200.1\* on machine A, and input\* ifconfig gr0 19…

---

## [Has\_and\_belongs\_to\_many Problem](https://www.ruby-forum.com/t/has-and-belongs-to-many-problem/133876)

<div class="topic-metadata">

**Author:** [@tktktk](https://www.ruby-forum.com/u/tktktk)\
**Replies:** 5\
**Last updated:** [April 4, 2008, 5:48pm UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-problem/133876 "2008-04-04T17:48:51Z")

</div>

Hi all I’m having a problem with has\_and\_belongs\_to\_many (habtm)… Here is my setup: tables: customers, customergroups and a join-table called customers\_customergroups customers has an id as pk and so does customergr…

---

## [Unit-test ARGV problem (only 1 of 3 tests is using it)](https://www.ruby-forum.com/t/unit-test-argv-problem-only-1-of-3-tests-is-using-it/91944)

<div class="topic-metadata">

**Author:** [@ChrisKaelin](https://www.ruby-forum.com/u/ChrisKaelin)\
**Replies:** 5\
**Last updated:** [April 14, 2007, 12:46am UTC](https://www.ruby-forum.com/t/unit-test-argv-problem-only-1-of-3-tests-is-using-it/91944 "2007-04-14T00:46:33Z")

</div>

I have 3 tests using the following setup routine, that is faking command line arguments via ARGV. Only one of my 3 test routines seems to be actually using the ARGV defined here (but the @run1 seems to be initialized,…

---

## [How to install Ferret to get the best performance](https://www.ruby-forum.com/t/how-to-install-ferret-to-get-the-best-performance/59651)

<div class="topic-metadata">

**Author:** [@sbraford](https://www.ruby-forum.com/u/sbraford)\
**Replies:** 5\
**Last updated:** [May 6, 2006, 12:42am UTC](https://www.ruby-forum.com/t/how-to-install-ferret-to-get-the-best-performance/59651 "2006-05-06T00:42:46Z")

</div>

Hey all, After dabbling with ActiveSearch, we’re coming back around to take another look at Ferret. ActiveSearch slowed to a crawl after indexing about 20k documents, each 20 lines each. This time we may attempt to …

---

## [Inflections.rb in spanish](https://www.ruby-forum.com/t/inflections-rb-in-spanish/93786)

<div class="topic-metadata">

**Author:** [@peterpunk](https://www.ruby-forum.com/u/peterpunk)\
**Replies:** 5\
**Last updated:** [April 10, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/inflections-rb-in-spanish/93786 "2006-04-10T16:46:25Z")

</div>

Hi: I have a problem with the plural of fracancia, I got fragancium but in spanish is fragancia. I modified inflections in environment.rb Inflector.inflections do |i| i.irregular ‘fragancia’, ‘fragancias’ end …

---

## [Please host/offer the French ruby list group](https://www.ruby-forum.com/t/please-host-offer-the-french-ruby-list-group/94931)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 5\
**Last updated:** [January 10, 2006, 10:50pm UTC](https://www.ruby-forum.com/t/please-host-offer-the-french-ruby-list-group/94931 "2006-01-10T22:50:46Z")

</div>

group: http://dir.gmane.org/gmane.comp.lang.ruby.rails Thanks in advance Alain

---

## [OO -- When to collect attributes into objects?](https://www.ruby-forum.com/t/oo-when-to-collect-attributes-into-objects/232981)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [November 8, 2014, 3:51pm UTC](https://www.ruby-forum.com/t/oo-when-to-collect-attributes-into-objects/232981 "2014-11-08T15:51:28Z")

</div>

Naturally, learning Ruby is helped by linking it to a game. In this case Traveller. Leads me to a question about when something should be an attribute of the primary class or a class in itself. In the game you have a …

---

## [MapServer setup with rails in ubuntu 12.04](https://www.ruby-forum.com/t/mapserver-setup-with-rails-in-ubuntu-12-04/234944)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [May 20, 2013, 10:32am UTC](https://www.ruby-forum.com/t/mapserver-setup-with-rails-in-ubuntu-12-04/234944 "2013-05-20T10:32:58Z")

</div>

Hi i have one rails application in which i need to setup the mapserver i have added the gem GitHub - sourcepole/ruby\_mapscript: Ruby Mapscript API extensions but while running the command require “rubygems” require “…

---

## [Autoconvert object from one class1 to other class2 in class1 def](https://www.ruby-forum.com/t/autoconvert-object-from-one-class1-to-other-class2-in-class1-def/205361)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [April 5, 2011, 2:50pm UTC](https://www.ruby-forum.com/t/autoconvert-object-from-one-class1-to-other-class2-in-class1-def/205361 "2011-04-05T14:50:47Z")

</div>

Is it possible to convert from one Class1 to another Class2 within the functions of the Class1? Example: class String def to\_i! self=self.to\_i end end c=‘1’ # c=‘1’ - String c.to\_i! # c=1 - Integer Previous cod…

---

## [What's wrong with lambda and class](https://www.ruby-forum.com/t/whats-wrong-with-lambda-and-class/162143)

<div class="topic-metadata">

**Author:** [@ivanstorck](https://www.ruby-forum.com/u/ivanstorck)\
**Replies:** 6\
**Last updated:** [March 7, 2009, 9:44am UTC](https://www.ruby-forum.com/t/whats-wrong-with-lambda-and-class/162143 "2009-03-07T09:44:33Z")

</div>

Code: def call\_block(&c) c.call end def yield\_block(&c) yield end def lambda\_and\_call c = lambda { return 1 } call\_block(&c) + 1 end def lambda\_and\_yield c = lambda { return 1 } yield\_block(&c) + 1 end def…

---

## [Invoquer une fonction de application.rb dans une task](https://www.ruby-forum.com/t/invoquer-une-fonction-de-application-rb-dans-une-task/156721)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 6\
**Last updated:** [January 16, 2009, 11:40am UTC](https://www.ruby-forum.com/t/invoquer-une-fonction-de-application-rb-dans-une-task/156721 "2009-01-16T11:40:24Z")

</div>

Bonjour, Je voulais écrire une tâche rake qui fait appel à une methode qui se trouve dans mon fichier controllers/application.rb et je ne sais pas comment faire car si je l’appelle en faisant xx = ma\_methode (y) j’…

---

## [Encrypting application source code](https://www.ruby-forum.com/t/encrypting-application-source-code/122077)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [December 5, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/encrypting-application-source-code/122077 "2007-12-05T12:07:16Z")

</div>

Hi, I would like to secure my Rails app source code because we have a complex application and we install it on our customer sites. It is in our company’s best interest to keep the source code secure since we have inv…

---

## [ActiveRecord query using association](https://www.ruby-forum.com/t/activerecord-query-using-association/106757)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 6\
**Last updated:** [June 15, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/activerecord-query-using-association/106757 "2007-06-15T16:50:10Z")

</div>

Hello all, I apologize if the answer to this question is going to be rudimentary, but I am thus far stymied by the information I have found on the web. This seems like it should be simple, but I haven’t really found a…

---

## [GNU make extension corrections?](https://www.ruby-forum.com/t/gnu-make-extension-corrections/92286)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 6\
**Last updated:** [May 1, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/gnu-make-extension-corrections/92286 "2007-05-01T21:45:47Z")

</div>

Now that gr-qtgui is back, I again get the 3 “comments” when bootstrapping from there, as well as 1 from gr-trellis (which has been all along). Can someone correct this (I’ve written before about it), or should I ent…

---

## [How to deploy a Ruby executable?](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294)

<div class="topic-metadata">

**Author:** [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Replies:** 6\
**Last updated:** [January 19, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294 "2007-01-19T23:25:17Z")

</div>

I have looked everywhere and can’t find answers to the following questions: Can I create a compiled executable with Ruby as I can with other languages? How does one deploy a Ruby application? If someone could please…

---

## [Float calculation error](https://www.ruby-forum.com/t/float-calculation-error/64237)

<div class="topic-metadata">

**Author:** [@ssssss](https://www.ruby-forum.com/u/ssssss)\
**Replies:** 6\
**Last updated:** [June 23, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/float-calculation-error/64237 "2006-06-23T18:54:05Z")

</div>

Hi I have the following values pActualCost = 33.00 pPaymentCost = 29.99 So this calculation should leave me with 0.01 pPaymentDifference = pActualCost - pPaymentCost however when doing this in rails, it returns 0.0…

---

## [Ruby\_parser 3.0.0.a3 Released](https://www.ruby-forum.com/t/ruby-parser-3-0-0-a3-released/221191)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 4, 2012, 5:05am UTC](https://www.ruby-forum.com/t/ruby-parser-3-0-0-a3-released/221191 "2012-07-04T05:05:31Z")

</div>

ruby\_parser version 3.0.0.a3 has been released! bugs: https://github.com/seattlerb/ruby\_parser/issues rdoc: http://docs.seattlerb.org/ruby\_parser home: https://github.com/seattlerb/ruby\_parser ruby\_parser (RP) is a…

---

## [Wha difference between HTTP\_FILTER\_MODULES and HTTP\_AUX\_FILTER\_MODULES is it?](https://www.ruby-forum.com/t/wha-difference-between-http-filter-modules-and-http-aux-filter-modules-is-it/199539)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 23, 2010, 7:13pm UTC](https://www.ruby-forum.com/t/wha-difference-between-http-filter-modules-and-http-aux-filter-modules-is-it/199539 "2010-11-23T19:13:14Z")

</div>

If we want add a “string filter”, which chain should be registered? thanks NextHop

---

## [Named parameters in ruby?](https://www.ruby-forum.com/t/named-parameters-in-ruby/196091)

<div class="topic-metadata">

**Author:** [@xiMera](https://www.ruby-forum.com/u/xiMera)\
**Replies:** 3\
**Last updated:** [October 8, 2010, 11:29am UTC](https://www.ruby-forum.com/t/named-parameters-in-ruby/196091 "2010-10-08T11:29:25Z")

</div>

Hi all, Ruby does not support named parameter for now as all of you know. There is really three solutions for this hash as parameter class as parameter bindings Hash parameters: def do\_some( params ) a = params\[ :…

---

## [File.symlink](https://www.ruby-forum.com/t/file-symlink/182604)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 3\
**Last updated:** [January 30, 2010, 11:39pm UTC](https://www.ruby-forum.com/t/file-symlink/182604 "2010-01-30T23:39:09Z")

</div>

While working with Ivan on the amp project, I came across a windows error when trying to create symlinks using File.symlink. This is well-documentedhttp://www.ruby-doc.org/core/classes/File.html#M002533and has a few…

---

## [How can I debug treetop grammar?](https://www.ruby-forum.com/t/how-can-i-debug-treetop-grammar/147202)

<div class="topic-metadata">

**Author:** [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 8:53pm UTC](https://www.ruby-forum.com/t/how-can-i-debug-treetop-grammar/147202 "2008-08-29T20:53:33Z")

</div>

Hi guys ! Parse::RecDescent has RD\_TRACE , which when is set to 1 , tells you which rule the parser it’s trying , what it matches , what part of the input consumes , and so on . Does treetop have an equivalent to this…

---

## [Whitespace in SuperRedCloth](https://www.ruby-forum.com/t/whitespace-in-superredcloth/131890)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 3\
**Last updated:** [March 14, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/whitespace-in-superredcloth/131890 "2008-03-14T20:23:41Z")

</div>

Up to now, the tests have been running with whitespace stripped out. Newlines and tabs are insignificant in HTML, so I figured why bother with them? Now I realize why: they’re significant in pre tags and they also mak…

---

## [How to set socket options?](https://www.ruby-forum.com/t/how-to-set-socket-options/130527)

<div class="topic-metadata">

**Author:** [@Nasir\_K](https://www.ruby-forum.com/u/Nasir_K)\
**Replies:** 3\
**Last updated:** [February 29, 2008, 5:50am UTC](https://www.ruby-forum.com/t/how-to-set-socket-options/130527 "2008-02-29T05:50:55Z")

</div>

We can set socket options using setsockopt on BasicSocket, where can I get various constants SOL\_ constants such as Socket::SOL\_SOCKET etc? I am unable to find them in rdoc. Also while writing a TCP client to a non R…

---

## [Pascal's Triangle](https://www.ruby-forum.com/t/pascals-triangle/105777)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 3\
**Last updated:** [June 3, 2007, 2:50am UTC](https://www.ruby-forum.com/t/pascals-triangle/105777 "2007-06-03T02:50:56Z")

</div>

Hey all, my second submission to RQ. My first one is GOING TO BE fizzbuzz. Now now, now’s not the time to battle my inconsistencies… Here’s my code for Pascals Triangle. Can someone help me shorten it up? Pascals tri…

---

## [Where can I get gr-air-modes for GNUradio 3.6.5](https://www.ruby-forum.com/t/where-can-i-get-gr-air-modes-for-gnuradio-3-6-5/238441)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [January 12, 2014, 3:39am UTC](https://www.ruby-forum.com/t/where-can-i-get-gr-air-modes-for-gnuradio-3-6-5/238441 "2014-01-12T03:39:37Z")

</div>

Hi, I try to install gr-air-modes from the git source, but it seems the code only works with GNUradio 3.7. May I know where can I find the old version which is compatible with GNUradio 3.6.5? Thanks. Best regards, …

---

## [Shoes: Stacks and Flows](https://www.ruby-forum.com/t/shoes-stacks-and-flows/192563)

<div class="topic-metadata">

**Author:** [@callyworld](https://www.ruby-forum.com/u/callyworld)\
**Replies:** 4\
**Last updated:** [August 3, 2010, 7:22am UTC](https://www.ruby-forum.com/t/shoes-stacks-and-flows/192563 "2010-08-03T07:22:44Z")

</div>

I’m still learning Shoes – working on basic formatting. I’m a little confused, though, with the results of this code: app = Shoes.app do background “#FFFFFF” flow :width =\> 1.0 do stack do para “North America” but…

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

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