# Top

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

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

---

## [Newbie question on ip\_hash](https://www.ruby-forum.com/t/newbie-question-on-ip-hash/229536)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 6, 2013, 6:00pm UTC](https://www.ruby-forum.com/t/newbie-question-on-ip-hash/229536 "2013-02-06T18:00:51Z")

</div>

Why does ip\_hash only use the first 3 octects of the IP address? The reason I ask is that we run we servers for a number of schools. Each school is going the be their own subnet, ranging from a /24 to a /20 in size. …

---

## [GNU Radio & GSL](https://www.ruby-forum.com/t/gnu-radio-gsl/224522)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 14, 2012, 11:00pm UTC](https://www.ruby-forum.com/t/gnu-radio-gsl/224522 "2012-11-14T23:00:38Z")

</div>

Hi! I’m trying to do a block for GRC, using some functions availables in GSL. First, I put a example within work function including “#include \<gsl/gsl\_sf\_bessel.h\>” int ocupacion\_correlator::general\_work (int nout…

---

## [Problem in creating a new block in GRC](https://www.ruby-forum.com/t/problem-in-creating-a-new-block-in-grc/202782)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 30, 2011, 5:57pm UTC](https://www.ruby-forum.com/t/problem-in-creating-a-new-block-in-grc/202782 "2011-11-30T17:57:50Z")

</div>

Hi, I am trying to create a new block in GRC. I have added all the 3 files .cc, .h and .i into /gnuradio-3.3.0/gnuradio-core/src/lib/gengen and did the changes in Makefile.am and added a xml file in /gnuradio-3.3.0/…

---

## [How to set $ into a variable?](https://www.ruby-forum.com/t/how-to-set-into-a-variable/213986)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 18, 2011, 3:16pm UTC](https://www.ruby-forum.com/t/how-to-set-into-a-variable/213986 "2011-11-18T15:16:44Z")

</div>

nginx.conf: location / { … set $var “$uri=200k” … and run “curl localhost/” The module use ngx\_http\_get\_indexed\_variable() for $var will get the string “/=200k”, but I want the value is “$uri=200k”. So any escape…

---

## [Does "set\_real\_ip\_from" support IPv4 only?](https://www.ruby-forum.com/t/does-set-real-ip-from-support-ipv4-only/212570)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 6, 2011, 6:14pm UTC](https://www.ruby-forum.com/t/does-set-real-ip-from-support-ipv4-only/212570 "2011-10-06T18:14:09Z")

</div>

Hi, I’m confused, I get this error by entering an IPv6 address in the set\_real\_ip\_from directive: nginx: \[emerg\] “set\_real\_ip\_from” supports IPv4 only in /usr/local/nginx/conf/nginx.conf:65 But according to the chan…

---

## [GRC Block XML Tags](https://www.ruby-forum.com/t/grc-block-xml-tags/210900)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 22, 2011, 7:33pm UTC](https://www.ruby-forum.com/t/grc-block-xml-tags/210900 "2011-08-22T19:33:24Z")

</div>

Hi, I’m having issues creating a GRC block in an “out-of-tree-project” that will generate a few lines of python code and update a python variable (similar to the “variable\_function\_probe”). In my project, the \<var\_m…

---

## [Simple\_form disable html5](https://www.ruby-forum.com/t/simple-form-disable-html5/207337)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2011, 9:56pm UTC](https://www.ruby-forum.com/t/simple-form-disable-html5/207337 "2011-05-25T21:56:49Z")

</div>

Hello, How do I disable html5 with simple\_form gem? I tried to type: SimpleForm.html5 = false in environment.rb But this throws error. undefined method \`html5=’ for SimpleForm:Module (NoMethodError) Even though I …

---

## [Multiple reception simultaneously](https://www.ruby-forum.com/t/multiple-reception-simultaneously/202931)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 9, 2011, 1:26pm UTC](https://www.ruby-forum.com/t/multiple-reception-simultaneously/202931 "2011-02-09T13:26:20Z")

</div>

Hi, i am trying if its possible to do reception of FM signals at the same time and produce the output at the same instant in different loudspeakers.i mean whether its possible to tune to multiple FM channels at the …

---

## [Rspec runner setting $KCODE considered harmful?](https://www.ruby-forum.com/t/rspec-runner-setting-kcode-considered-harmful/195428)

<div class="topic-metadata">

**Author:** [@Josh\_Whiting](https://www.ruby-forum.com/u/Josh_Whiting)\
**Replies:** 2\
**Last updated:** [September 24, 2010, 12:25am UTC](https://www.ruby-forum.com/t/rspec-runner-setting-kcode-considered-harmful/195428 "2010-09-24T00:25:42Z")

</div>

I ran across a problem today in which some code ran fine in regular operation but failed in a test case. I scratched my head and thought “why would running from within the test harness change the behavior of my code?…

---

## [NameError: uninitialized constant Vimeo](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-vimeo/194589)

<div class="topic-metadata">

**Author:** [@rubyisking](https://www.ruby-forum.com/u/rubyisking)\
**Replies:** 2\
**Last updated:** [September 9, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-vimeo/194589 "2010-09-09T22:18:57Z")

</div>

Hello, I installed a gem to make a new function in system, the gem is: Vimeo. (GitHub - matthooks/vimeo: A full featured Ruby implementation of the Vimeo API) I’m using bundler to install gem s and make them up to dat…

---

## [Windows installer enhancement?](https://www.ruby-forum.com/t/windows-installer-enhancement/193500)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 2\
**Last updated:** [August 18, 2010, 9:16pm UTC](https://www.ruby-forum.com/t/windows-installer-enhancement/193500 "2010-08-18T21:16:24Z")

</div>

Currently the install4j-based installer populates the registry in a way that makes it challenging to easily parse to determine the version of JRuby installed and the installation root directory. Please consider updati…

---

## [RSpec 2 autotest file](https://www.ruby-forum.com/t/rspec-2-autotest-file/192902)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 2\
**Last updated:** [August 8, 2010, 1:12pm UTC](https://www.ruby-forum.com/t/rspec-2-autotest-file/192902 "2010-08-08T13:12:06Z")

</div>

Hi I’ve tried using the autotest file from RSpec 2 (lib/autotest/rspec2.rb) but I’ve found a problem with it, that I think is a bug. The file contains two sections an Autotest Autotest.add\_hook :initialize block an …

---

## [FFT block's use of sampling rate](https://www.ruby-forum.com/t/fft-blocks-use-of-sampling-rate/187161)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [April 18, 2010, 11:35pm UTC](https://www.ruby-forum.com/t/fft-blocks-use-of-sampling-rate/187161 "2010-04-18T23:35:49Z")

</div>

Hi, In GRC I hooked up a signal source with a 100kHz sampling rate directly to a FFT sink. I accidentally listed the FFT sampling frequency as 200kHz. I noticed that it did not complain and all it did was shift the a…

---

## [Question about access\_log buffer size](https://www.ruby-forum.com/t/question-about-access-log-buffer-size/184108)

<div class="topic-metadata">

**Author:** [@yong\_xue](https://www.ruby-forum.com/u/yong_xue)\
**Replies:** 2\
**Last updated:** [February 25, 2010, 4:04pm UTC](https://www.ruby-forum.com/t/question-about-access-log-buffer-size/184108 "2010-02-25T16:04:27Z")

</div>

hi,all The access\_log directive sets the path, format and buffer size for the access log file. Using “off” as the only parameter clears all access\_log directives for the current level. If the format is not indicated,…

---

## [Is it possible to get widget from it's id](https://www.ruby-forum.com/t/is-it-possible-to-get-widget-from-its-id/180183)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 2\
**Last updated:** [December 15, 2009, 5:51am UTC](https://www.ruby-forum.com/t/is-it-possible-to-get-widget-from-its-id/180183 "2009-12-15T05:51:41Z")

</div>

Dear all, is it possible to get widget from its id? to be clear, what I intent to do is something like below def widget\_by\_id\_do\_something(widget\_id) widget(widget\_id).do\_something end

---

## [ActionMailer task in cron](https://www.ruby-forum.com/t/actionmailer-task-in-cron/172764)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [July 27, 2009, 8:24pm UTC](https://www.ruby-forum.com/t/actionmailer-task-in-cron/172764 "2009-07-27T20:24:52Z")

</div>

I have a Ruby script that sends an email. It works perfectly well when run from the command line of a user session, wheter in development or test mode. When run by cron as the same user however, it fails with this: …

---

## [C extension, classes and subclasses](https://www.ruby-forum.com/t/c-extension-classes-and-subclasses/171823)

<div class="topic-metadata">

**Author:** [@Rolando\_A](https://www.ruby-forum.com/u/Rolando_A)\
**Replies:** 2\
**Last updated:** [July 12, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/c-extension-classes-and-subclasses/171823 "2009-07-12T18:18:28Z")

</div>

I have a few doubts about how the init mechanism in ruby1.9 (I’m working with it right now) works. I have a some classes and subclasses, all defined inside a ruby extension, the base class defines it’s +new+ method li…

---

## [Error: gtk\_file\_system\_error\_quark](https://www.ruby-forum.com/t/error-gtk-file-system-error-quark/169266)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [June 3, 2009, 4:15am UTC](https://www.ruby-forum.com/t/error-gtk-file-system-error-quark/169266 "2009-06-03T04:15:42Z")

</div>

Hi, I am getting an error: ruby: symbol lookup error: /Programs/Ruby/1.8.7p160/lib/ruby/site\_ruby/1.8/i686-linux/gtk2.so: undefined symbol: gtk\_file\_system\_error\_quark My relevant versions (all compiled from source)…

---

## [\`add\_example\_group': undefined method \`deprecate' for Spec:Module (NoMethodError)](https://www.ruby-forum.com/t/add-example-group-undefined-method-deprecate-for-spec-module-nomethoderror/165652)

<div class="topic-metadata">

**Author:** [@vanweerd](https://www.ruby-forum.com/u/vanweerd)\
**Replies:** 2\
**Last updated:** [April 16, 2009, 8:20pm UTC](https://www.ruby-forum.com/t/add-example-group-undefined-method-deprecate-for-spec-module-nomethoderror/165652 "2009-04-16T20:20:13Z")

</div>

I’m the getting the following error when running rspec on a rails project. /Users/vanweerd/work2/innerplate/vendor/plugins/rspec/lib/spec/runner/ formatter/base\_formatter.rb:52:in add\_example\_group': undefined methodd…

---

## [How to wrap method of singleton class](https://www.ruby-forum.com/t/how-to-wrap-method-of-singleton-class/153828)

<div class="topic-metadata">

**Author:** [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Replies:** 2\
**Last updated:** [November 21, 2008, 8:45pm UTC](https://www.ruby-forum.com/t/how-to-wrap-method-of-singleton-class/153828 "2008-11-21T20:45:00Z")

</div>

Hi, Given a class: class Foo class \<\< self def foo puts 'foo' end end end How do I write a module, so that when included in Foo it will wrap the method foo so that Foo.foo will print: bar foo ? Thank you …

---

## [Autospec only runs specs in spec/models/ folder](https://www.ruby-forum.com/t/autospec-only-runs-specs-in-spec-models-folder/153564)

<div class="topic-metadata">

**Author:** [@wsimacek](https://www.ruby-forum.com/u/wsimacek)\
**Replies:** 2\
**Last updated:** [November 18, 2008, 10:54pm UTC](https://www.ruby-forum.com/t/autospec-only-runs-specs-in-spec-models-folder/153564 "2008-11-18T22:54:03Z")

</div>

Hi, Where do I change the mappings of the specs in my rails app. rspec/lib/autotest/rspec.rb? Given the latest versions in rspec, what is the bare minimum plugins/gems that I need to run autospec. I’ve been playing a…

---

## [JRuby-Rack Exception](https://www.ruby-forum.com/t/jruby-rack-exception/151014)

<div class="topic-metadata">

**Author:** [@pletisan](https://www.ruby-forum.com/u/pletisan)\
**Replies:** 2\
**Last updated:** [October 16, 2008, 1:25am UTC](https://www.ruby-forum.com/t/jruby-rack-exception/151014 "2008-10-16T01:25:25Z")

</div>

Hi folks, In the logs of my “warblerized” rails application I found some exceptions that occur occasionally during large file uploads, other than this the app works properly. Any idea what’s going on? I’m using warbl…

---

## [Don't use 'type' as a DB column name](https://www.ruby-forum.com/t/dont-use-type-as-a-db-column-name/148721)

<div class="topic-metadata">

**Author:** [@Commander\_J](https://www.ruby-forum.com/u/Commander_J)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/dont-use-type-as-a-db-column-name/148721 "2008-09-16T17:31:41Z")

</div>

Hi, I’m creating a simple Migration that adds test data to my database. A Form has many Elements and every Element belongs to a Form. An element has the mandatory columns name, type and value. class AddTestData \< A…

---

## [Rss-client-2.0.9](https://www.ruby-forum.com/t/rss-client-2-0-9/126682)

<div class="topic-metadata">

**Author:** [@Stoyan\_Z](https://www.ruby-forum.com/u/Stoyan_Z)\
**Replies:** 2\
**Last updated:** [January 22, 2008, 4:21am UTC](https://www.ruby-forum.com/t/rss-client-2-0-9/126682 "2008-01-22T04:21:03Z")

</div>

ABOUT Fetching and parsing RSS feeds with easy. Ruby library (mixin) for adding RSS feeds download and parsing functionality. The RSS fetch command line utility, using the library is also included. DEPENDS feed-nor…

---

## [Cluster::restart doesn't wait for stop before starting](https://www.ruby-forum.com/t/cluster-restart-doesnt-wait-for-stop-before-starting/118519)

<div class="topic-metadata">

**Author:** [@arvliet](https://www.ruby-forum.com/u/arvliet)\
**Replies:** 2\
**Last updated:** [October 28, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/cluster-restart-doesnt-wait-for-stop-before-starting/118519 "2007-10-28T14:57:50Z")

</div>

Hi, I’m calling restart from my Capistrano task. I have this in my deploy.rb file: until mongrel\_cluster updates to cap2… namespace :deploy do task :start, :roles =\> :app do start\_mongrel\_cluster end task :stop, …

---

## [Act\_as\_authenticated: remove login and use email](https://www.ruby-forum.com/t/act-as-authenticated-remove-login-and-use-email/113996)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 2\
**Last updated:** [September 7, 2007, 9:09am UTC](https://www.ruby-forum.com/t/act-as-authenticated-remove-login-and-use-email/113996 "2007-09-07T09:09:13Z")

</div>

Hi all, Does anyone if it’s simple to remove the login/username from act\_as\_authenticated and use someone’s email address for it? I usually find that easier to remember than an username. I installed act\_as\_authentica…

---

## [Routes et paramÃ¨tres](https://www.ruby-forum.com/t/routes-et-parama-tres/105054)

<div class="topic-metadata">

**Author:** [@Yoann\_A](https://www.ruby-forum.com/u/Yoann_A)\
**Replies:** 2\
**Last updated:** [May 25, 2007, 12:41pm UTC](https://www.ruby-forum.com/t/routes-et-parama-tres/105054 "2007-05-25T12:41:23Z")

</div>

Bonjour, une petite question j’utilise le plugin acts\_as\_taggable pour une application d’annuaire utilisant la gÃ©olocalisation de Google. Dans mon appli, j’ai un controller nommÃ© map et une action tag permettant d…

---

## [Missing Site Banner From Child Pages Radiant Mental](https://www.ruby-forum.com/t/missing-site-banner-from-child-pages-radiant-mental/92103)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 2\
**Last updated:** [April 16, 2007, 8:12am UTC](https://www.ruby-forum.com/t/missing-site-banner-from-child-pages-radiant-mental/92103 "2007-04-16T08:12:44Z")

</div>

Using Radiant Mental, I have the front page with an image (banner), the site-title, followed by site-subtitle. All the Child pages of the site are set to Layout: Inherit, Page Type Normal and Status: Published. This …

---

## [Enumerable sum oddity](https://www.ruby-forum.com/t/enumerable-sum-oddity/89742)

<div class="topic-metadata">

**Author:** [@morten](https://www.ruby-forum.com/u/morten)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/enumerable-sum-oddity/89742 "2007-03-22T22:04:32Z")

</div>

Hi. In this setup “account has\_many :consultations”. Can anyone explain the following behaviour to me? Rails 1.2.2. The “sum” method should return 0 for an empty array. a = Account.find(1) =\> #\<Account:0x39c80a8 @…

---

## [RubyGems New gem() Method](https://www.ruby-forum.com/t/rubygems-new-gem-method/87071)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [February 28, 2007, 12:21am UTC](https://www.ruby-forum.com/t/rubygems-new-gem-method/87071 "2007-02-28T00:21:52Z")

</div>

Am I understanding right that the new gem() does not actually perform the require? It just sets up version handling, right? Does this work for something like the soap4r gem? You can’t require that gem normally, beca…

---

## [Problem. MailerBehaviour in eApps](https://www.ruby-forum.com/t/problem-mailerbehaviour-in-eapps/83706)

<div class="topic-metadata">

**Author:** [@Brian\_Sam-Bodden](https://www.ruby-forum.com/u/Brian_Sam-Bodden)\
**Replies:** 2\
**Last updated:** [February 1, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/problem-mailerbehaviour-in-eapps/83706 "2007-02-01T16:15:43Z")

</div>

After hours of playing with the Mailer behaviour on my eApps virtual server I’m about to give up and find other way to do a contact form. The email does not get delivered. So in case anybody can see any flaws in my se…

---

## [Generic SOAP client?](https://www.ruby-forum.com/t/generic-soap-client/80590)

<div class="topic-metadata">

**Author:** [@dandante](https://www.ruby-forum.com/u/dandante)\
**Replies:** 2\
**Last updated:** [December 29, 2006, 2:57am UTC](https://www.ruby-forum.com/t/generic-soap-client/80590 "2006-12-29T02:57:18Z")

</div>

Does anyone know if there is a ruby/rails version of a generic soap client like this one: http://soapclient.com/soaptest.html Or, sort of like the scaffolding generated by ActionWebService with the following differen…

---

## [TypeError, can't convert hash into string](https://www.ruby-forum.com/t/typeerror-cant-convert-hash-into-string/72699)

<div class="topic-metadata">

**Author:** [@Jaime\_ISSS\_RAILES](https://www.ruby-forum.com/u/Jaime_ISSS_RAILES)\
**Replies:** 2\
**Last updated:** [October 18, 2006, 12:08pm UTC](https://www.ruby-forum.com/t/typeerror-cant-convert-hash-into-string/72699 "2006-10-18T12:08:50Z")

</div>

Hola! A ver si alguien me echa un cable pq hoy estoy atontao y no se a quÃ© se debe este error: Tengo una librerÃ­a para hacer spidering. Le pasas una URL y te devuelve un array con todos los enlaces que encuentra all…

---

## [Scribbish patch for css images](https://www.ruby-forum.com/t/scribbish-patch-for-css-images/72195)

<div class="topic-metadata">

**Author:** [@djwmarks](https://www.ruby-forum.com/u/djwmarks)\
**Replies:** 2\
**Last updated:** [October 15, 2006, 4:02pm UTC](https://www.ruby-forum.com/t/scribbish-patch-for-css-images/72195 "2006-10-15T16:02:27Z")

</div>

I’ve just found that the scribbish CSS is slightly wrong – it assumes your blog is at “/”. This may be fixed in typo HEAD, but in case it isn’t could somebody commit this? I would normally use the trac, but it’s dow…

---

## [URI.escape() broken or misdocumented in Ruby 1.8.4?](https://www.ruby-forum.com/t/uri-escape-broken-or-misdocumented-in-ruby-1-8-4/97433)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/uri-escape-broken-or-misdocumented-in-ruby-1-8-4/97433 "2006-07-07T17:17:32Z")

</div>

I posted this in the Ruby On Rails forum a moment ago because of other URI.escape() related messages there, but really it’s a Ruby thing, not a Rails thing, so it belongs in the Ruby forum. Thus, a repost …

---

## [Carats are irreplaceable? (String#tr quandry)](https://www.ruby-forum.com/t/carats-are-irreplaceable-string-tr-quandry/64323)

<div class="topic-metadata">

**Author:** [@makenai](https://www.ruby-forum.com/u/makenai)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 7:03am UTC](https://www.ruby-forum.com/t/carats-are-irreplaceable-string-tr-quandry/64323 "2006-06-24T07:03:08Z")

</div>

Hi all, I ran into a little problem with String#tr today. I wanted to do something like: str = ‘kame^hame^ha^’ str.tr(’^’,’-’) But I got back an error about having a nil character class (\[^\]). According to the docs…

---

## [Computing very large exponents](https://www.ruby-forum.com/t/computing-very-large-exponents/60062)

<div class="topic-metadata">

**Author:** [@doug3](https://www.ruby-forum.com/u/doug3)\
**Replies:** 2\
**Last updated:** [May 9, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/computing-very-large-exponents/60062 "2006-05-09T23:39:05Z")

</div>

Greetings all. Does anyone have a clue how to use Ruby to do modular exponentiation using the binary left-to-right method? I looked through the documentation and searched the forums and found the String.each\_byte me…

---

## [Enterprise Database Tier (XA transactions, COBRA and MIDAS)](https://www.ruby-forum.com/t/enterprise-database-tier-xa-transactions-cobra-and-midas/59585)

<div class="topic-metadata">

**Author:** [@kris](https://www.ruby-forum.com/u/kris)\
**Replies:** 2\
**Last updated:** [May 9, 2006, 1:17pm UTC](https://www.ruby-forum.com/t/enterprise-database-tier-xa-transactions-cobra-and-midas/59585 "2006-05-09T13:17:40Z")

</div>

I am developing a large scale financial application which is going to be very intensive write-wise, and use a lot of transactions. I can see how the the web and application servers can be scaled and load balanced quit…

---

## [R1036 posting problems](https://www.ruby-forum.com/t/r1036-posting-problems/59446)

<div class="topic-metadata">

**Author:** [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Replies:** 2\
**Last updated:** [May 4, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/r1036-posting-problems/59446 "2006-05-04T14:16:16Z")

</div>

I’ll raise a ticket for this, but may as well detail it here as well in case anybody else is thinking of upgrading. I upgraded to r1036 and when I posted something this morning the post didn’t show up. Straight into …

---

## [Regexp strip html](https://www.ruby-forum.com/t/regexp-strip-html/87283)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [March 27, 2006, 3:29pm UTC](https://www.ruby-forum.com/t/regexp-strip-html/87283 "2006-03-27T15:29:06Z")

</div>

i have a regexp able to strip html : /\<\[^\>\]\*\>/ however, between \<script and all the "text is preserved, tjen i’ve tried : def stripHTML self.gsub(/\<\\S\[^\>\<\]\*\>/, ‘’) self.gsub(/\\A.\*\<body \[^\>\]\*\>(.\*)\<\\/body\>\\s\*\\Z/, '\\1…

---

## [Constraint Processing](https://www.ruby-forum.com/t/constraint-processing/54780)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 2\
**Last updated:** [March 14, 2006, 7:46pm UTC](https://www.ruby-forum.com/t/constraint-processing/54780 "2006-03-14T19:46:59Z")

</div>

I had to give this a couple tries before I just broke down and went for what amounts to brute force. This solution can get slow pretty quickly; I’m sure there are some easy speedups (i.e. narrow the search space) that…

---

## [NULL id's / invalid references](https://www.ruby-forum.com/t/null-ids-invalid-references/96829)

<div class="topic-metadata">

**Author:** [@MarcinJ](https://www.ruby-forum.com/u/MarcinJ)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 10:37pm UTC](https://www.ruby-forum.com/t/null-ids-invalid-references/96829 "2006-01-24T22:37:55Z")

</div>

Hi, could you suggest me how to handle this in a proper way? I have a table which has othertable\_id column (relationship is belongs\_to) Problem is, that sometimes there is a NULL value and table.othertable.foo retur…

---

## [What's the right way to require a file?](https://www.ruby-forum.com/t/whats-the-right-way-to-require-a-file/52899)

<div class="topic-metadata">

**Author:** [@Luca\_Pireddu](https://www.ruby-forum.com/u/Luca_Pireddu)\
**Replies:** 2\
**Last updated:** [January 20, 2006, 2:09am UTC](https://www.ruby-forum.com/t/whats-the-right-way-to-require-a-file/52899 "2006-01-20T02:09:54Z")

</div>

I’m having a problem importing a class from another project (not a RoR application). What’s the right way to require such a file? I have a class ModelPathwayObject. It’s in #{RAILS\_ROOT}/…/lib/model\_pathway\_object.r…

---

## [RSpec is doing a Samoa on me](https://www.ruby-forum.com/t/rspec-is-doing-a-samoa-on-me/206851)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 12, 2011, 6:20pm UTC](https://www.ruby-forum.com/t/rspec-is-doing-a-samoa-on-me/206851 "2011-05-12T18:20:42Z")

</div>

Hi, RSpec is taking a day off the date in my tests: RSpec: let(:vtime\_start){ Time.now - 10 } (logged) =\> 2011-05-10 15:57:39 +0100 irb: Time.now - 10 =\> 2011-05-11 15:57:50 0100 system commandline: $ date =\> We…

---

## [Search plugin/gem recommendation for search with joins](https://www.ruby-forum.com/t/search-plugin-gem-recommendation-for-search-with-joins/190873)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 6\
**Last updated:** [June 30, 2010, 7:34pm UTC](https://www.ruby-forum.com/t/search-plugin-gem-recommendation-for-search-with-joins/190873 "2010-06-30T19:34:57Z")

</div>

Hi all. It’s time to choose a search system for a new app i’ve been working on and though i’d crowdsource some wisdom. I’ve used ferret/acts\_as\_ferret before and encountered some problems which make me reluctant to …

---

## [Nginx + Thin cluster of 3. Which Thin took the request?](https://www.ruby-forum.com/t/nginx-thin-cluster-of-3-which-thin-took-the-request/183234)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 6\
**Last updated:** [February 17, 2010, 1:32pm UTC](https://www.ruby-forum.com/t/nginx-thin-cluster-of-3-which-thin-took-the-request/183234 "2010-02-17T13:32:30Z")

</div>

Hi, I just managed to setup a front end web server with Nginx and then a cluster of 3 Thin servers behind it who serve instances of the same app. At least the app responds properly through Nginx. After making a reques…

---

## [Trunk \\w match](https://www.ruby-forum.com/t/trunk-w-match/183159)

<div class="topic-metadata">

**Author:** [@WATANABE\_Tetsuya](https://www.ruby-forum.com/u/WATANABE_Tetsuya)\
**Replies:** 6\
**Last updated:** [February 9, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/trunk-w-match/183159 "2010-02-09T12:10:42Z")

</div>

e$BEOJUE/Li$G$9!#e(B Trunk e$B$Ne(B \\w e$B$N%^%C%A$,4A;z$GF0:n$7$F$$$J$$$h$&$G$9!#e(B $ ruby -v ruby 1.9.2dev (2010-02-09) \[i686-linux\] ------- e$B%5%s%W%k%3!\<%Ie(B kstr = “e$B4A;z%3!\<%Ie(BEUC” if kstr =~ /^(\\w+)/ …

---

## [Range of samples values](https://www.ruby-forum.com/t/range-of-samples-values/168781)

<div class="topic-metadata">

**Author:** [@ujala](https://www.ruby-forum.com/u/ujala)\
**Replies:** 6\
**Last updated:** [May 27, 2009, 9:16am UTC](https://www.ruby-forum.com/t/range-of-samples-values/168781 "2009-05-27T09:16:09Z")

</div>

I am trying to capture data samples from USRP for an FM receiver. In what range should the values of the samples must be lying?

---

## [Perl6 logo](https://www.ruby-forum.com/t/perl6-logo/163772)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 6\
**Last updated:** [March 25, 2009, 10:53pm UTC](https://www.ruby-forum.com/t/perl6-logo/163772 "2009-03-25T22:53:53Z")

</div>

I thought some of you might find this humorous. This is my entry into the Perl6 logo contest: http://static.destiney.com/perl6\_logo.png

---

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

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 6\
**Last updated:** [January 25, 2009, 11:12am UTC](https://www.ruby-forum.com/t/gem-thought/158561 "2009-01-25T11:12:18Z")

</div>

I noticed how convenient it is to use debgem, I am wondering if it would be useful to be able to optionally specify “apt get style” dependencies, per gem. a la specification\[:apt\_get\_dependency\] = ‘some\_package’ the…

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

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