# Top

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

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

---

## [TinyTds::Client.new() gives an error "undefined symbol: dbsetluser"](https://www.ruby-forum.com/t/tinytds-client-new-gives-an-error-undefined-symbol-dbsetluser/218730)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [April 11, 2012, 6:41am UTC](https://www.ruby-forum.com/t/tinytds-client-new-gives-an-error-undefined-symbol-dbsetluser/218730 "2012-04-11T06:41:16Z")

</div>

Hello Dear experts, I am new to Ruby on Rails. Though I want to access to MSSQL 2005 from ruby. I installed tiny\_tds using following commands: sudo apt-get install freetds-dev gem install tiny\_tds And now when I …

---

## [Rspec and restful routes](https://www.ruby-forum.com/t/rspec-and-restful-routes/216479)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 7, 2012, 9:35pm UTC](https://www.ruby-forum.com/t/rspec-and-restful-routes/216479 "2012-02-07T21:35:54Z")

</div>

Hi all, I’m trying to test that my users show page renders. The resource has the route /users/:id How would I code that for an Rspec test? So far I’ve tried these four ways: it “should have a users show path” do …

---

## [Sinatra/jRuby/Glassfish app won't start](https://www.ruby-forum.com/t/sinatra-jruby-glassfish-app-wont-start/181586)

<div class="topic-metadata">

**Author:** [@cmaj135](https://www.ruby-forum.com/u/cmaj135)\
**Replies:** 4\
**Last updated:** [January 14, 2010, 8:54pm UTC](https://www.ruby-forum.com/t/sinatra-jruby-glassfish-app-wont-start/181586 "2010-01-14T20:54:00Z")

</div>

Hi all, I am trying to run a Sinatra app with jRuby/Glassfish on EngineYard’s cloud platform using their custom chef recipe for jRuby. EngineYard has been helpful but haven’t yet been able to resolve why this is occur…

---

## [Complex GSUB query](https://www.ruby-forum.com/t/complex-gsub-query/177589)

<div class="topic-metadata">

**Author:** [@nescripter](https://www.ruby-forum.com/u/nescripter)\
**Replies:** 4\
**Last updated:** [October 21, 2009, 9:52am UTC](https://www.ruby-forum.com/t/complex-gsub-query/177589 "2009-10-21T09:52:56Z")

</div>

Hello all, I am struggling with something and I have yet been able to find anything that may help me. I have a string like follows: string = ““bloggs, Joe (JBloggs, INFO)” joebloggs, “bloggs, Bill (BBloggs, INFO)” b…

---

## [No more mongrel on leopard!](https://www.ruby-forum.com/t/no-more-mongrel-on-leopard/133998)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 4\
**Last updated:** [April 7, 2008, 10:39am UTC](https://www.ruby-forum.com/t/no-more-mongrel-on-leopard/133998 "2008-04-07T10:39:11Z")

</div>

Hi! I’ve got a problem: just changed my mac, now I run leopard. Just updated original gems to rails 2.0.2 and cleaned up each of them. But, when I run script/server, there’s no more mongrel. It starts up webrick! I wa…

---

## [664 permissions after cap deploy](https://www.ruby-forum.com/t/664-permissions-after-cap-deploy/122421)

<div class="topic-metadata">

**Author:** [@giuseb](https://www.ruby-forum.com/u/giuseb)\
**Replies:** 4\
**Last updated:** [December 10, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/664-permissions-after-cap-deploy/122421 "2007-12-10T14:07:28Z")

</div>

Hello, when I deploy my application via capistrano (using the default recipe): $ cap deploy everything appears to go well until the system complains that script/process/reaper cannot be found. It turns out that the …

---

## [Stop words, fields, StandardAnalyzer quagmire](https://www.ruby-forum.com/t/stop-words-fields-standardanalyzer-quagmire/103397)

<div class="topic-metadata">

**Author:** [@gawk007](https://www.ruby-forum.com/u/gawk007)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/stop-words-fields-standardanalyzer-quagmire/103397 "2007-05-08T17:54:56Z")

</div>

Hello, I’m using: Ruby 1.8.6, Rails 1.2.3, ferret 0.11.4, acts\_as\_ferret from svn stable. I’ve had quite a day wrestling with trying to remove the use of stopwords. The problem was that when searching for words like…

---

## [Trunk and 1.1](https://www.ruby-forum.com/t/trunk-and-1-1/93330)

<div class="topic-metadata">

**Author:** [@slembcke](https://www.ruby-forum.com/u/slembcke)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/trunk-and-1-1/93330 "2006-08-03T14:22:35Z")

</div>

Thanks to Piers and Kevin’s hard work, we’ve merged the rails\_1\_1branch back into the trunk. At this point, the trunk should becompletely functional with 1.1 and should continue to work with 1.0. Have a nice day. Sc…

---

## [Typo current nightlies](https://www.ruby-forum.com/t/typo-current-nightlies/60276)

<div class="topic-metadata">

**Author:** [@Kester\_Dobson](https://www.ruby-forum.com/u/Kester_Dobson)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/typo-current-nightlies/60276 "2006-08-03T14:22:09Z")

</div>

Hello all, I’m not currently a user of Typo, though plan to be in the near future! I was a little disgruntled to find my host didn’t have SVN support when I wanted to try Typo Current - so I put together a small auto…

---

## [How to write RoR code](https://www.ruby-forum.com/t/how-to-write-ror-code/100475)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 4\
**Last updated:** [July 30, 2006, 9:30am UTC](https://www.ruby-forum.com/t/how-to-write-ror-code/100475 "2006-07-30T09:30:12Z")

</div>

Hi all I took a look to several examples of RoR on different web sites, and I found that it is hard to write RoR code, in RoR, because I do not understand all the codes used on the source code. jsn

---

## [Bug: power! does not work then works in irb](https://www.ruby-forum.com/t/bug-power-does-not-work-then-works-in-irb/57306)

<div class="topic-metadata">

**Author:** [@solsTiCe\_dSHiver](https://www.ruby-forum.com/u/solsTiCe_dSHiver)\
**Replies:** 4\
**Last updated:** [April 9, 2006, 6:45pm UTC](https://www.ruby-forum.com/t/bug-power-does-not-work-then-works-in-irb/57306 "2006-04-09T18:45:24Z")

</div>

hi. here is a session in irb: irb(main):001:0\> 10.power!(200) NoMethodError: undefined method \`power!’ for 10:Fixnum from (irb):1 irb(main):002:0\> help Fixnum =\> nil irb(main):003:0\> 10.power!(200) =\> 1000000000…

---

## [AJAX Drag and Drop Detecting Drop Coordinates](https://www.ruby-forum.com/t/ajax-drag-and-drop-detecting-drop-coordinates/51368)

<div class="topic-metadata">

**Author:** [@afewtips](https://www.ruby-forum.com/u/afewtips)\
**Replies:** 4\
**Last updated:** [January 16, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/ajax-drag-and-drop-detecting-drop-coordinates/51368 "2006-01-16T16:15:50Z")

</div>

This one’s kicking me in the \*(&#^. All I want to do is create a draggable item and then detect the coordinates where it is dropped. So my first approach was to just use the draggable\_element with :revert =\> false, …

---

## [Please try new master branch](https://www.ruby-forum.com/t/please-try-new-master-branch/215960)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [January 21, 2012, 4:46pm UTC](https://www.ruby-forum.com/t/please-try-new-master-branch/215960 "2012-01-21T16:46:05Z")

</div>

I just merged in a change to git that tries to fix the parallel build problem without calling ‘sync.’ If you are one of our users who likes to work off git and builds in parallel (‘make -jN’ for N\>1), we were having a…

---

## ['open().each' doesn't close file](https://www.ruby-forum.com/t/open-each-doesnt-close-file/214516)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [December 6, 2011, 6:20am UTC](https://www.ruby-forum.com/t/open-each-doesnt-close-file/214516 "2011-12-06T06:20:16Z")

</div>

On Ruby 1.9.3 (win7(64)) Because code says more the thousand words: ################## open(“test.txt”,“r”).each do end # doesn’t close file FileUtils.rm “test.txt” # will fail: Permission denied ########…

---

## [Ruby regexpresion, error? :-(](https://www.ruby-forum.com/t/ruby-regexpresion-error/195184)

<div class="topic-metadata">

**Author:** [@imelody](https://www.ruby-forum.com/u/imelody)\
**Replies:** 8\
**Last updated:** [September 18, 2010, 5:23pm UTC](https://www.ruby-forum.com/t/ruby-regexpresion-error/195184 "2010-09-18T17:23:40Z")

</div>

I want to match last chars of the line, def show\_regexp(a,re) if a =~ re “#{$\`}\<\<#{$&}\>\>#{$’}” else “no match” end end puts show\_regexp(“abc as;”,/^a/) puts show\_regexp(“abc as;”,/as$/) puts show\_regexp(“abc as…

---

## [\[Bug #2727\] make: \*\*\* \[encdb.h\] Aborted](https://www.ruby-forum.com/t/bug-2727-make-encdb-h-aborted/183176)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 8\
**Last updated:** [August 2, 2010, 8:07am UTC](https://www.ruby-forum.com/t/bug-2727-make-encdb-h-aborted/183176 "2010-08-02T08:07:06Z")

</div>

Bug #2727: make: \*\*\* \[encdb.h\] Aborted http://redmine.ruby-lang.org/issues/show/2727 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: High e$B%+%F%4%je(B: build ruby -v: ruby 1.9.1p420 (2010-02…

---

## [1.9 warning for 'private' and possible bug](https://www.ruby-forum.com/t/1-9-warning-for-private-and-possible-bug/189713)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 8\
**Last updated:** [June 6, 2010, 3:07am UTC](https://www.ruby-forum.com/t/1-9-warning-for-private-and-possible-bug/189713 "2010-06-06T03:07:34Z")

</div>

Consider this error: $ cat t.rb module M private def attr\_accessor(\*args); super; end end class C extend M attr\_accessor :x end C.new.x = 1 $ ruby19 t.rb t.rb:11:in \<main\>': private methodx=’ called for #\<C:…

---

## [Datatype error in ROR](https://www.ruby-forum.com/t/datatype-error-in-ror/184704)

<div class="topic-metadata">

**Author:** [@mamathahl](https://www.ruby-forum.com/u/mamathahl)\
**Replies:** 8\
**Last updated:** [March 8, 2010, 7:56pm UTC](https://www.ruby-forum.com/t/datatype-error-in-ror/184704 "2010-03-08T19:56:31Z")

</div>

I have been facing some problem with the datatypes. I have a sample of code as follows. t.lat\_rad = (l.lat \* BigDecimal.new(“3.1415926536 / 180”)).to\_f t.lng\_rad = (l.lng \* BigDecimal.new(“3.1415926536 / 180”)).to\_f …

---

## [Best payment method in Rails](https://www.ruby-forum.com/t/best-payment-method-in-rails/180694)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 8\
**Last updated:** [December 28, 2009, 11:02am UTC](https://www.ruby-forum.com/t/best-payment-method-in-rails/180694 "2009-12-28T11:02:46Z")

</div>

Hi Guys, I am implementing a website with payment for the courses. There are supposed to have a few hundreds payment / mth. My website is outside US (in Asia). I’ve implemented paypal for my Rails application. Howev…

---

## [Localmemcache-0.2.1: The beauty of memcached. For local data. Blazingly fast](https://www.ruby-forum.com/t/localmemcache-0-2-1-the-beauty-of-memcached-for-local-data-blazingly-fast/164777)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 8\
**Last updated:** [April 6, 2009, 10:38am UTC](https://www.ruby-forum.com/t/localmemcache-0-2-1-the-beauty-of-memcached-for-local-data-blazingly-fast/164777 "2009-04-06T10:38:29Z")

</div>

Hi, this release addresses some bugs that people were experiencing and brings speed improvements. === Localmemcache that aims to provide an interface similar to memcached but for accessing local data instead of re…

---

## [Getting started with ROR when you come from the desktop world with no experience in developing web](https://www.ruby-forum.com/t/getting-started-with-ror-when-you-come-from-the-desktop-world-with-no-experience-in-developing-web/152307)

<div class="topic-metadata">

**Author:** [@Tarek\_D](https://www.ruby-forum.com/u/Tarek_D)\
**Replies:** 8\
**Last updated:** [November 3, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/getting-started-with-ror-when-you-come-from-the-desktop-world-with-no-experience-in-developing-web/152307 "2008-11-03T17:06:09Z")

</div>

I’m very interested in starting with ROR, however I do not know where to start, I’ve a background as a developer of desktop application, the web is new to me, there seems to be a lot of things to master in order to be…

---

## [Trying to put ruby code in an if then statement in .rhtml](https://www.ruby-forum.com/t/trying-to-put-ruby-code-in-an-if-then-statement-in-rhtml/126378)

<div class="topic-metadata">

**Author:** [@railsnewb](https://www.ruby-forum.com/u/railsnewb)\
**Replies:** 8\
**Last updated:** [January 17, 2008, 9:54pm UTC](https://www.ruby-forum.com/t/trying-to-put-ruby-code-in-an-if-then-statement-in-rhtml/126378 "2008-01-17T21:54:59Z")

</div>

This code, in my view(.rhtml file) causes the error which I’ll post below. -----The Code----- \<%= if (@announcement.image == nil) then Download end %\> ----The Error---- compile error ./script/…/config/…/app/views…

---

## [Caching some classes, not others](https://www.ruby-forum.com/t/caching-some-classes-not-others/124846)

<div class="topic-metadata">

**Author:** [@bbennett](https://www.ruby-forum.com/u/bbennett)\
**Replies:** 8\
**Last updated:** [January 3, 2008, 8:29pm UTC](https://www.ruby-forum.com/t/caching-some-classes-not-others/124846 "2008-01-03T20:29:42Z")

</div>

Hi all, I’ve got an issue that came up once I went to two production servers with a class (a set of classes actually) that gets updated dynamically. It only gets updated on one server and not the other until I do a …

---

## [Attachment\_fu not working on Textdrive](https://www.ruby-forum.com/t/attachment-fu-not-working-on-textdrive/108243)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 8\
**Last updated:** [July 16, 2007, 12:03am UTC](https://www.ruby-forum.com/t/attachment-fu-not-working-on-textdrive/108243 "2007-07-16T00:03:26Z")

</div>

I have attachment\_fu working on my local Windows machine (localhost: 3000) But when I transfer it to Textdrive (Solaris), it doesn’t work. Any ideas? Give it a shot: http://haloresearch.textdriven.com:8217/raw\_data\_…

---

## [Re: Magic Squares (#124)](https://www.ruby-forum.com/t/re-magic-squares-124/104641)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 8\
**Last updated:** [May 21, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/re-magic-squares-124/104641 "2007-05-21T22:54:11Z")

</div>

\#---------------------------------------------------------------# Program : Magic Square Author : David T. Date : 2007-05-20 Blog : http://davidtran.doublegifts.com/blog/?p=27 Reference : Magic Squ…

---

## [How do I use link\_to with all the current options?](https://www.ruby-forum.com/t/how-do-i-use-link-to-with-all-the-current-options/91507)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 8\
**Last updated:** [April 10, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/how-do-i-use-link-to-with-all-the-current-options/91507 "2007-04-10T21:27:08Z")

</div>

In one of my pages I want to create some URLs that go to the same page, but tack on an extra parameter (column sorting stuff). How do I do that? I’ve tried link\_to “Title”, :sort =\> “title” and that’s pretty close……

---

## [Problem with linux 2.6.19.1](https://www.ruby-forum.com/t/problem-with-linux-2-6-19-1/83315)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 8\
**Last updated:** [January 27, 2007, 4:24am UTC](https://www.ruby-forum.com/t/problem-with-linux-2-6-19-1/83315 "2007-01-27T04:24:47Z")

</div>

Ok, I’ve been setting up a system which is based on the Linux kernel 2.6.19.1 and now have tried using the USRP device… Well, if it worked I wouldn’t be posting… the device is seen in a 2.6.17 kernel, however, not …

---

## [Best way to organize non-controller logic?](https://www.ruby-forum.com/t/best-way-to-organize-non-controller-logic/84407)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 8\
**Last updated:** [March 28, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/best-way-to-organize-non-controller-logic/84407 "2006-03-28T14:16:39Z")

</div>

I don’t want to put certain code in my controller because I think it makes things more confusing. What is the best way to manage business logic such that it doesn’t end up in the controller? Basically, where should I…

---

## [How to show .Doc files after uploading](https://www.ruby-forum.com/t/how-to-show-doc-files-after-uploading/241385)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 2, 2015, 1:44pm UTC](https://www.ruby-forum.com/t/how-to-show-doc-files-after-uploading/241385 "2015-04-02T13:44:42Z")

</div>

Hello guys, i have created a simple app using devise and paperclip gem. I created my model using devise and i created a seperate controller to show what user has uploaded and generated the view file for it too. i hav…

---

## [The Pipe Symbol Issue](https://www.ruby-forum.com/t/the-pipe-symbol-issue/232646)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 20, 2014, 8:47pm UTC](https://www.ruby-forum.com/t/the-pipe-symbol-issue/232646 "2014-10-20T20:47:14Z")

</div>

Hey, just wondering how the pipe symbol is used, every time I enter the number 1. or “/” it returns an error. Any solutions to this issue?

---

## [Path components interpretation by nginx](https://www.ruby-forum.com/t/path-components-interpretation-by-nginx/239099)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [February 13, 2014, 2:53pm UTC](https://www.ruby-forum.com/t/path-components-interpretation-by-nginx/239099 "2014-02-13T14:53:51Z")

</div>

Hello, While doing an audit for a client I came across an URL of the from: http://host/foobar;arg=quux?q=en/somewhere&a=1&b=2 Now doing something like: location /test-args { return 200 “u: $uri\\nq: $query\_string\\na:…

---

## [JRuby org.yecht.Emitter.scanScalar(Emitter.java:446) error and how to prevent jruby from completely](https://www.ruby-forum.com/t/jruby-org-yecht-emitter-scanscalar-emitter-java-446-error-and-how-to-prevent-jruby-from-completely/224910)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 2, 2012, 7:27am UTC](https://www.ruby-forum.com/t/jruby-org-yecht-emitter-scanscalar-emitter-java-446-error-and-how-to-prevent-jruby-from-completely/224910 "2012-12-02T07:27:54Z")

</div>

Hi, I’m looking for workaround for an interesting problem I have. Or some explanation why this can happen so I can think about workaround. For certain data (I’m still unable to figure out what is offending part), ca…

---

## [Match all requests](https://www.ruby-forum.com/t/match-all-requests/213832)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [November 13, 2011, 5:44pm UTC](https://www.ruby-forum.com/t/match-all-requests/213832 "2011-11-13T17:44:31Z")

</div>

I have this location configuration: location / { index maintenance.htm; error\_page 404 = maintenance.htm; log\_not\_found off; } which I thought captures all requests, how…

---

## [How to store pdf's?](https://www.ruby-forum.com/t/how-to-store-pdfs/207782)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [June 2, 2011, 4:20pm UTC](https://www.ruby-forum.com/t/how-to-store-pdfs/207782 "2011-06-02T16:20:30Z")

</div>

Hi, can anyone help me, I want people to be able to send me pdf’s (to my website), and I wanna store than in a database. Thanks you

---

## [Best search method](https://www.ruby-forum.com/t/best-search-method/204488)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 22, 2011, 2:59am UTC](https://www.ruby-forum.com/t/best-search-method/204488 "2011-03-22T02:59:54Z")

</div>

I’ve got a small contact mysql database and need to do a soundex type of search. What I’d like to get some feed back on this idea… you enter a name + surname, I search the table. Result is… a match is found, detail…

---

## [JRuby FFI::Library#callback typo?](https://www.ruby-forum.com/t/jruby-ffi-library-callback-typo/180285)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 5\
**Last updated:** [December 16, 2009, 8:10pm UTC](https://www.ruby-forum.com/t/jruby-ffi-library-callback-typo/180285 "2009-12-16T20:10:00Z")

</div>

Segfault on MRI using stdcall callbacks has been traced to outdated FFI::Library#callback code as worked here http://groups.google.com/group/ruby-ffi/browse\_thread/thread/1712f5507b15b467 …with the updated “callback” …

---

## [What's the best way to stress test the performance of a nginx website?](https://www.ruby-forum.com/t/whats-the-best-way-to-stress-test-the-performance-of-a-nginx-website/171113)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 5\
**Last updated:** [June 30, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/whats-the-best-way-to-stress-test-the-performance-of-a-nginx-website/171113 "2009-06-30T18:52:19Z")

</div>

I haven’t done stress testing in a long time… so I’m not sure what the best tools are, specifically for our nginx site thanks

---

## [Watir: links with similar text in a page. How to access?](https://www.ruby-forum.com/t/watir-links-with-similar-text-in-a-page-how-to-access/152951)

<div class="topic-metadata">

**Author:** [@mandeepbaruah](https://www.ruby-forum.com/u/mandeepbaruah)\
**Replies:** 5\
**Last updated:** [November 11, 2008, 7:29am UTC](https://www.ruby-forum.com/t/watir-links-with-similar-text-in-a-page-how-to-access/152951 "2008-11-11T07:29:31Z")

</div>

Hi All, I need Help! In a page I am having two section(windows and linux) with has some installation instructions. This “Installation instruction” text link which calls some javascript functions are placed twice in t…

---

## [Rails restful query and rspec](https://www.ruby-forum.com/t/rails-restful-query-and-rspec/125417)

<div class="topic-metadata">

**Author:** [@dhf](https://www.ruby-forum.com/u/dhf)\
**Replies:** 5\
**Last updated:** [January 9, 2008, 12:19am UTC](https://www.ruby-forum.com/t/rails-restful-query-and-rspec/125417 "2008-01-09T00:19:20Z")

</div>

I am working on a project that searches for an item number. But the item number is not unique. Which is better to do: /search/12345 or /search?id=12345 I would prefer to use the first one. I have a route for it as ma…

---

## [Help with install! Rails without gems](https://www.ruby-forum.com/t/help-with-install-rails-without-gems/122751)

<div class="topic-metadata">

**Author:** [@caleridas](https://www.ruby-forum.com/u/caleridas)\
**Replies:** 5\
**Last updated:** [December 12, 2007, 12:37pm UTC](https://www.ruby-forum.com/t/help-with-install-rails-without-gems/122751 "2007-12-12T12:37:29Z")

</div>

So someone requested me to deploy rails on 30+ machines, he has a fully developped rails app on his local machine - only trouble is: he installed everything using gem. Now, since I have to care for more than 70 server…

---

## [{|(a,a)|}](https://www.ruby-forum.com/t/a-a/112451)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 5\
**Last updated:** [August 23, 2007, 2:21am UTC](https://www.ruby-forum.com/t/a-a/112451 "2007-08-23T02:21:33Z")

</div>

e$B0J2\<$,%(%i!\<$K$J$j$^$;$s!#e(B % ./ruby -vce ‘m() {|(a,a)|}’ ruby 1.9.0 (2007-08-19 patchlevel 0) \[i686-linux\] Syntax OK duplicated argument name e$B$G$O$J$$$G$7$g$&$+!#e(B % ./ruby -vce ‘m() {|a,a|}’ ruby 1.9.0 …

---

## [Problema con observe\_field en campo tipo search (safari)](https://www.ruby-forum.com/t/problema-con-observe-field-en-campo-tipo-search-safari/75552)

<div class="topic-metadata">

**Author:** [@ayanami](https://www.ruby-forum.com/u/ayanami)\
**Replies:** 5\
**Last updated:** [November 13, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/problema-con-observe-field-en-campo-tipo-search-safari/75552 "2006-11-13T20:42:20Z")

</div>

Tengo un campo tipo search (cuando el navegador es Safari) al que quiero aplicarle un observe\_field. Para los campos tipo “text”, el helper coge el evento “onchange” (changed), pero como el campo no es “estandar”, sup…

---

## [Ferret Segmentation Faults](https://www.ruby-forum.com/t/ferret-segmentation-faults/64619)

<div class="topic-metadata">

**Author:** [@pyrat](https://www.ruby-forum.com/u/pyrat)\
**Replies:** 5\
**Last updated:** [August 17, 2006, 10:44am UTC](https://www.ruby-forum.com/t/ferret-segmentation-faults/64619 "2006-08-17T10:44:45Z")

</div>

Hi, I am getting a number of segmentation faults using Ferret 0.9.5, Fedora Core 5 and Ruby 1.8.4 I installed it with the recommended gem install ferret and example segmentation fault creation line would be as follo…

---

## [Binary numbers](https://www.ruby-forum.com/t/binary-numbers/100912)

<div class="topic-metadata">

**Author:** [@kimpastro](https://www.ruby-forum.com/u/kimpastro)\
**Replies:** 5\
**Last updated:** [August 2, 2006, 3:04am UTC](https://www.ruby-forum.com/t/binary-numbers/100912 "2006-08-02T03:04:56Z")

</div>

Hi, I have some data with binary numbers. e.g. a 3 byte string could be 0x01216f which is 74095 decimal. To do this conversion in ruby I’ve come up with: def binum(bs) n = e = 0 bs.reverse.each\_byte do |c| n += c …

---

## [How to write a Ruby service(?)?](https://www.ruby-forum.com/t/how-to-write-a-ruby-service/55245)

<div class="topic-metadata">

**Author:** [@randy\_k](https://www.ruby-forum.com/u/randy_k)\
**Replies:** 5\
**Last updated:** [March 18, 2006, 9:24pm UTC](https://www.ruby-forum.com/t/how-to-write-a-ruby-service/55245 "2006-03-18T21:24:08Z")

</div>

I need to write what might be called a Ruby service or server(?)–a Ruby program that: runs only one instance even if “invoked” multiple times can be sent additional “commands” via CLI commands, e.g., if the name of …

---

## [Sort\_by{rand} doesn't shuffle array](https://www.ruby-forum.com/t/sort-by-rand-doesnt-shuffle-array/56104)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 5\
**Last updated:** [January 3, 2006, 1:23pm UTC](https://www.ruby-forum.com/t/sort-by-rand-doesnt-shuffle-array/56104 "2006-01-03T13:23:41Z")

</div>

I did some searching on how to shuffle an array, and found sort\_by{rand}. However, if I call it, it doesn’t make a change to my array at all. I’ve got a class like this class MyClass def initialize # Populate the …

---

## [Classes and Hashes](https://www.ruby-forum.com/t/classes-and-hashes/261184)

<div class="topic-metadata">

**Author:** [@rhj4](https://www.ruby-forum.com/u/rhj4)\
**Replies:** 1\
**Last updated:** [April 4, 2021, 7:43pm UTC](https://www.ruby-forum.com/t/classes-and-hashes/261184 "2021-04-04T19:43:19Z")

</div>

I have many years of programming experience, but I am a newbie to Ruby. I have started by creating a Contact class that either contains hashes such as Addresses, Phone Numbers, Email Addresses, etc. Alternatively, I am t…

---

## [How many users rails can support?](https://www.ruby-forum.com/t/how-many-users-rails-can-support/245207)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 10, 2017, 12:03pm UTC](https://www.ruby-forum.com/t/how-many-users-rails-can-support/245207 "2017-01-10T12:03:07Z")

</div>

Hi guys, I am building an enviroment using NGINX and Passenger on Digital Ocean Servers. The website is a airbnb style booking with membership functions and a admin system. How many users can the system support with…

---

## [Regular expression,](https://www.ruby-forum.com/t/regular-expression/238240)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [January 6, 2014, 11:13pm UTC](https://www.ruby-forum.com/t/regular-expression/238240 "2014-01-06T23:13:44Z")

</div>

hi errorMsg=“Subsequent deposit instructions not found or incomplete.Initial deposit instructions not found or incomplete.Analysis complete for policy (SS13323496).Analysis complete for policy (SS13323496), coverage …

---

## [Devise route for confirmation error with :locale](https://www.ruby-forum.com/t/devise-route-for-confirmation-error-with-locale/225088)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 12, 2012, 6:55am UTC](https://www.ruby-forum.com/t/devise-route-for-confirmation-error-with-locale/225088 "2012-12-12T06:55:59Z")

</div>

Rails 3.1.3 I have setup devise and i18n . In routes.rb scope "/:locale" do devise\_for :users, :controllers =\> { :registrations =\> ‘registrations’ } … end But in the process of confirmation, No route matches …

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

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