# Top

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

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

---

## [Undefined reference to \`wxGraphicsRenderer::CreateBitmap(wxB](https://www.ruby-forum.com/t/undefined-reference-to-wxgraphicsrenderer-createbitmap-wxb/181928)

<div class="topic-metadata">

**Author:** [@waydotnet](https://www.ruby-forum.com/u/waydotnet)\
**Replies:** 1\
**Last updated:** [January 21, 2010, 2:28pm UTC](https://www.ruby-forum.com/t/undefined-reference-to-wxgraphicsrenderer-createbitmap-wxb/181928 "2010-01-21T14:28:34Z")

</div>

Hi to all, i’ve compiled wxWidgets with this options: ./configure --enable-optimise --enable-stl --enable-unicode –disable-threads --enable-static --with-opengl --disable-shared –enable-monolithic --disable-debug --…

---

## [Passing Current\_User from main app to engine](https://www.ruby-forum.com/t/passing-current-user-from-main-app-to-engine/240940)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 7, 2014, 4:48pm UTC](https://www.ruby-forum.com/t/passing-current-user-from-main-app-to-engine/240940 "2014-05-07T16:48:26Z")

</div>

So i have a general question about passing parameters from the main application to the engine . So is it a correct approach to inherit the ApplicationController of the main application in the engine to make use of the…

---

## [Wrong argument type String (expected Module)](https://www.ruby-forum.com/t/wrong-argument-type-string-expected-module/60583)

<div class="topic-metadata">

**Author:** [@Erwann](https://www.ruby-forum.com/u/Erwann)\
**Replies:** 0\
**Last updated:** [May 15, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/wrong-argument-type-string-expected-module/60583 "2006-05-15T21:42:31Z")

</div>

Hello, When I create a select in a form, I get this error: wrong argument type String (expected Module) I know that ‘type’ is a reserved word for STI and that’s what I want: a select box to choose the right type of V…

---

## [Aggiungere condizione all' each](https://www.ruby-forum.com/t/aggiungere-condizione-all-each/241749)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 29, 2015, 2:18pm UTC](https://www.ruby-forum.com/t/aggiungere-condizione-all-each/241749 "2015-04-29T14:18:16Z")

</div>

Ciao voglio aggiungere una condizione al each iterator in modo che si fermi se si verifica una certa situazione ad esempio voglio che si fermi quando la variabile controllo assume valore=true non trovo la sintassi onl…

---

## [Saving values to the db as metric but displaying/editing in imperial](https://www.ruby-forum.com/t/saving-values-to-the-db-as-metric-but-displaying-editing-in-imperial/224088)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 2, 2012, 3:34am UTC](https://www.ruby-forum.com/t/saving-values-to-the-db-as-metric-but-displaying-editing-in-imperial/224088 "2012-11-02T03:34:36Z")

</div>

I have a requirement to store values in a database as unitless decimals(12,9) which will be presumed to be metric values. For display/editing purposes I need the user to be able to choose their input method – no mixi…

---

## [Which ruby](https://www.ruby-forum.com/t/which-ruby/192039)

<div class="topic-metadata">

**Author:** [@kfmfe04](https://www.ruby-forum.com/u/kfmfe04)\
**Replies:** 4\
**Last updated:** [July 23, 2010, 7:51am UTC](https://www.ruby-forum.com/t/which-ruby/192039 "2010-07-23T07:51:40Z")

</div>

I am using 1.9.2-head and rails 3 beta 4 should i use 1.9.2.RC2 or stay put till the august release

---

## [Gauge use](https://www.ruby-forum.com/t/gauge-use/167099)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [May 4, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/gauge-use/167099 "2009-05-04T21:41:33Z")

</div>

Hi, I am using the Gauge for the first time, and am confused on it’s use. I want to use it to measure the progress of copying certain files from one location to another. It is inside a Frame. The problem is, that i…

---

## [Geschwindikeit Datenbankabfragen](https://www.ruby-forum.com/t/geschwindikeit-datenbankabfragen/147530)

<div class="topic-metadata">

**Author:** [@ortwin](https://www.ruby-forum.com/u/ortwin)\
**Replies:** 4\
**Last updated:** [September 3, 2008, 12:59pm UTC](https://www.ruby-forum.com/t/geschwindikeit-datenbankabfragen/147530 "2008-09-03T12:59:55Z")

</div>

Hallo! Also ich hab mir gedacht: biste klug und baust deine Seitenlangen Datenbankabfragen(SQL QUERRYS) um. Anstatt zigmal das selbe aus der Datenbank abzufragen habe ich mir dann alle DatensÃ¤tze auf einmal in ein A…

---

## [Dispatch.fcgi && lighttpd file upload](https://www.ruby-forum.com/t/dispatch-fcgi-lighttpd-file-upload/104040)

<div class="topic-metadata">

**Author:** [@shai](https://www.ruby-forum.com/u/shai)\
**Replies:** 4\
**Last updated:** [May 17, 2007, 12:37pm UTC](https://www.ruby-forum.com/t/dispatch-fcgi-lighttpd-file-upload/104040 "2007-05-17T12:37:27Z")

</div>

Hi, as i’m aware that there are not too many out there still using dispatch.fcgi && lighttpd (rather moving to mongrels && nginx ) , i’ll try to make this simple: how do i limit a file upload size in lighttpd? am i s…

---

## [How to use the 'alt' attribute with images](https://www.ruby-forum.com/t/how-to-use-the-alt-attribute-with-images/80260)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 4\
**Last updated:** [December 23, 2006, 11:45am UTC](https://www.ruby-forum.com/t/how-to-use-the-alt-attribute-with-images/80260 "2006-12-23T11:45:09Z")

</div>

Hi All I would like to display images including the alt tag So far this seems to come very close \<%= link\_to( image\_tag(“myimg.png”, { :border =\> 0, :alt =\> “bla bla” }), :action =\> “config” ) %\> I see the image and…

---

## [How to get Ruby stack trace from script run from Java](https://www.ruby-forum.com/t/how-to-get-ruby-stack-trace-from-script-run-from-java/216806)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 14, 2012, 5:12pm UTC](https://www.ruby-forum.com/t/how-to-get-ruby-stack-trace-from-script-run-from-java/216806 "2012-02-14T17:12:03Z")

</div>

I’m running a JRuby script from Java and catching exceptions during its execution. When I catch the exception I want to log out the Ruby (i.e. not Java) stack trace for the user. I have kind of got this working using …

---

## [Getting currency unit for a given locale](https://www.ruby-forum.com/t/getting-currency-unit-for-a-given-locale/200098)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 6, 2010, 2:10am UTC](https://www.ruby-forum.com/t/getting-currency-unit-for-a-given-locale/200098 "2010-12-06T02:10:37Z")

</div>

How do I interrogate a given locale for it’s currency unit? Obviously, I can parse my own Yaml translation files, but I’m assuming that there is a simpler way to do it via a direct call to I18n, perhaps? Thanks, Wes

---

## [Rails Partial Tests](https://www.ruby-forum.com/t/rails-partial-tests/150181)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 2\
**Last updated:** [October 9, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/rails-partial-tests/150181 "2008-10-09T17:07:04Z")

</div>

\[A preview of my next blog entry\] Testing Rails Partials One important metric, under Test Driven Development, is the distance between a test case and its target code. Test cases use assertions to observe events insi…

---

## [About critical section](https://www.ruby-forum.com/t/about-critical-section/147765)

<div class="topic-metadata">

**Author:** [@difei](https://www.ruby-forum.com/u/difei)\
**Replies:** 2\
**Last updated:** [September 5, 2008, 9:02am UTC](https://www.ruby-forum.com/t/about-critical-section/147765 "2008-09-05T09:02:06Z")

</div>

Greetings all, I post a similar message to rails mailing list since I encountered this problem during development of a rails application, but now the problem is more ruby specific, so I decided to post here. Basicall…

---

## [Unable to read anything from request.remote\_ip](https://www.ruby-forum.com/t/unable-to-read-anything-from-request-remote-ip/121039)

<div class="topic-metadata">

**Author:** [@boothdeveloper](https://www.ruby-forum.com/u/boothdeveloper)\
**Replies:** 2\
**Last updated:** [November 23, 2007, 6:58am UTC](https://www.ruby-forum.com/t/unable-to-read-anything-from-request-remote-ip/121039 "2007-11-23T06:58:47Z")

</div>

For some users, request.remote\_ip always return nil. According to the RAILS’s help: REMOTE\_ADDR is the standard but will fail if the user is behind a proxy. HTTP\_CLIENT\_IP and/or HTTP\_X\_FORWARDED\_FOR are set by proxie…

---

## [Init Monit as non-root?](https://www.ruby-forum.com/t/init-monit-as-non-root/108679)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 2\
**Last updated:** [July 5, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/init-monit-as-non-root/108679 "2007-07-05T23:54:32Z")

</div>

Hi All, Question regarding Monit usage. I’ve set up Monit using a config file that is owned by my Rails user. Which works fine. However, I’d rest easy on the weekends knowing that if the server is rebooted then Moni…

---

## [Gem::FilePermissionError](https://www.ruby-forum.com/t/gem-filepermissionerror/195855)

<div class="topic-metadata">

**Author:** [@arivarasan](https://www.ruby-forum.com/u/arivarasan)\
**Replies:** 3\
**Last updated:** [September 15, 2013, 12:24am UTC](https://www.ruby-forum.com/t/gem-filepermissionerror/195855 "2013-09-15T00:24:26Z")

</div>

while i updating my rails version with command, gem install -v=2.3.8 rails i got, ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write permissions into the /usr/lib/ruby/gems/1.8 directory. …

---

## [Financial models using Ruby](https://www.ruby-forum.com/t/financial-models-using-ruby/229499)

<div class="topic-metadata">

**Author:** [@dwayne\_h](https://www.ruby-forum.com/u/dwayne_h)\
**Replies:** 3\
**Last updated:** [February 5, 2013, 6:27pm UTC](https://www.ruby-forum.com/t/financial-models-using-ruby/229499 "2013-02-05T18:27:24Z")

</div>

I’m working on this financial modelhttp://leeds-faculty.colorado.edu/moyes/html/documents/FinancialProjectionsModelv6.8.9.xlsfor my upcoming ecommerce business using OpenOffice.org Calc (and the BASIC programming lan…

---

## [Remove apostrophe in query](https://www.ruby-forum.com/t/remove-apostrophe-in-query/184353)

<div class="topic-metadata">

**Author:** [@LeonS](https://www.ruby-forum.com/u/LeonS)\
**Replies:** 3\
**Last updated:** [March 2, 2010, 8:03pm UTC](https://www.ruby-forum.com/t/remove-apostrophe-in-query/184353 "2010-03-02T20:03:55Z")

</div>

Hi, I want to generate a query with conditions like that :conditions =\> \[“score\_team\_1 ? score\_team\_2”, compare\_sign\] . The resulting query ends e.g. with score\_team\_1 ‘=’ score\_team\_2 How can i remove the apos…

---

## [How to change the Timeout::Error threshold for open\_uri](https://www.ruby-forum.com/t/how-to-change-the-timeout-error-threshold-for-open-uri/132506)

<div class="topic-metadata">

**Author:** [@keith](https://www.ruby-forum.com/u/keith)\
**Replies:** 3\
**Last updated:** [May 4, 2009, 2:01am UTC](https://www.ruby-forum.com/t/how-to-change-the-timeout-error-threshold-for-open-uri/132506 "2009-05-04T02:01:08Z")

</div>

When opening a particularly slow loading URL I am getting the following error: Loading production environment (Rails 2.0.2) require ‘open-uri’ =\> \[“OpenURI”\] ?\> open(‘WWTDD - Latest Celebrity Gossip and Scandal …

---

## [Lambda with $1 fails as gsub block](https://www.ruby-forum.com/t/lambda-with-1-fails-as-gsub-block/155359)

<div class="topic-metadata">

**Author:** [@random52k](https://www.ruby-forum.com/u/random52k)\
**Replies:** 3\
**Last updated:** [December 11, 2008, 11:02am UTC](https://www.ruby-forum.com/t/lambda-with-1-fails-as-gsub-block/155359 "2008-12-11T11:02:30Z")

</div>

I came across this problem: def meth(replace) “\>x”.gsub(%r!(\\W)x!, &replace) end replace = lambda { |match| puts “$1 is #{$1.inspect}” } “\>x”.gsub(%r!(\\W)x!, &replace) # =\> $1 is “\>” “” =~ %r!! # reset $1 meth…

---

## [Jruby-complete-1.1.3.jar available?](https://www.ruby-forum.com/t/jruby-complete-1-1-3-jar-available/143710)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 3\
**Last updated:** [July 24, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/jruby-complete-1-1-3-jar-available/143710 "2008-07-24T21:07:02Z")

</div>

Hi, Since JRuby 1.1.3 is now out, is there a jruby-complete-1.1.3.jar available? Tom To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [Compiling NGINX modules on Windows](https://www.ruby-forum.com/t/compiling-nginx-modules-on-windows/225717)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 25, 2013, 9:59am UTC](https://www.ruby-forum.com/t/compiling-nginx-modules-on-windows/225717 "2013-01-25T09:59:51Z")

</div>

Hello, Following instructions given on NGINX site, I could compile NGINX default source code for WIndows using MSYS bash and nmake. However, when I tried compiling HttpEchoModule and HttpAuthDigest module, I have sta…

---

## [Algorithm for choosing object based on priority](https://www.ruby-forum.com/t/algorithm-for-choosing-object-based-on-priority/224791)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [November 26, 2012, 6:33pm UTC](https://www.ruby-forum.com/t/algorithm-for-choosing-object-based-on-priority/224791 "2012-11-26T18:33:29Z")

</div>

Since I am not computer graduate (electro engineer as mater of fact) I haven’t studied lots of computer algorithms. And since english is not my first language I also find it difficult to search google. What I would li…

---

## [Nginx deployment gives a warning](https://www.ruby-forum.com/t/nginx-deployment-gives-a-warning/198085)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [July 4, 2011, 1:44pm UTC](https://www.ruby-forum.com/t/nginx-deployment-gives-a-warning/198085 "2011-07-04T13:44:48Z")

</div>

Hi, I have deployed my rails application using nginx module. It is running successfully but my problem is whenever I am restart/start the server I am getting following warning “\[warn\]: conflicting server name “localh…

---

## [Thor gem: how to display a USAGE: banner when passing in 0 arguments](https://www.ruby-forum.com/t/thor-gem-how-to-display-a-usage-banner-when-passing-in-0-arguments/205560)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 13, 2011, 3:32am UTC](https://www.ruby-forum.com/t/thor-gem-how-to-display-a-usage-banner-when-passing-in-0-arguments/205560 "2011-04-13T03:32:02Z")

</div>

So I can’t find any good place to post this question, unless I’m filing it as a bug to the gem authors. Before I do that, I’m hoping someone in this group might know the answer. With the Thor http://rubygems.org/ge…

---

## [Errori su file di routes](https://www.ruby-forum.com/t/errori-su-file-di-routes/193871)

<div class="topic-metadata">

**Author:** [@fdibenedetto72](https://www.ruby-forum.com/u/fdibenedetto72)\
**Replies:** 7\
**Last updated:** [August 26, 2010, 6:40pm UTC](https://www.ruby-forum.com/t/errori-su-file-di-routes/193871 "2010-08-26T18:40:52Z")

</div>

Salve a tutti , l’ennesimo problema ! nella mai pagina listgroup ho inserito \<%= link\_to “Lista Utenti”,:controller=\>“login” , :action=\>“login” %\> appena cerco di accedere mi restituisce l’errore Unknown action No…

---

## [Ruby & WMI (win32ole)](https://www.ruby-forum.com/t/ruby-wmi-win32ole/140683)

<div class="topic-metadata">

**Author:** [@rorschach](https://www.ruby-forum.com/u/rorschach)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/ruby-wmi-win32ole/140683 "2008-06-18T12:50:40Z")

</div>

Hi guys, First off, hello :slight\_smile: New to the community, looks very helpful and active indeed… As i say, I am new to Ruby and am trying to port some WMI Powershell code over â€“ I am not having much luck… My go…

---

## [How to reload fixture instance?](https://www.ruby-forum.com/t/how-to-reload-fixture-instance/115749)

<div class="topic-metadata">

**Author:** [@eric](https://www.ruby-forum.com/u/eric)\
**Replies:** 1\
**Last updated:** [September 28, 2007, 2:52pm UTC](https://www.ruby-forum.com/t/how-to-reload-fixture-instance/115749 "2007-09-28T14:52:24Z")

</div>

In my test case, I have lines that reads something like this: fixtures :orders assert\_equal 0, orders(:eric).amount Order.update\_all\_amounts assert\_equal 30, orders(:eric).amount This wouldn’t work because, apparent…

---

## [Threads and daemons](https://www.ruby-forum.com/t/threads-and-daemons/114387)

<div class="topic-metadata">

**Author:** [@overworked\_phd](https://www.ruby-forum.com/u/overworked_phd)\
**Replies:** 7\
**Last updated:** [September 12, 2007, 7:21am UTC](https://www.ruby-forum.com/t/threads-and-daemons/114387 "2007-09-12T07:21:10Z")

</div>

The getty is a daeamon When I do soemthing like #!/usr/local/bin/ruby threads=\[\] 4.times do |i| threads\[i\]=Thread.new do %x{/usr/libexec/getty std.19200 tty00} end end I see the following -bash-3.2$ ps -j cd …

---

## [Mini sondage :DÃ©ploiement et environnement de production](https://www.ruby-forum.com/t/mini-sondage-da-ploiement-et-environnement-de-production/107912)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSmy\_Dierx](https://www.ruby-forum.com/u/JSSSSrSSSSmy_Dierx)\
**Replies:** 7\
**Last updated:** [June 29, 2007, 9:48am UTC](https://www.ruby-forum.com/t/mini-sondage-da-ploiement-et-environnement-de-production/107912 "2007-06-29T09:48:48Z")

</div>

Bonjour ! Juste une petite amorce de sondage pour avoir une vue (au travers de la lorgnette de cette mailling) de la bonne pÃ©nÃ©tration (ou non) en France de Ruby on Rails “pro” et de vos pratique dans le domaine du …

---

## [Select list error - following Agile guide](https://www.ruby-forum.com/t/select-list-error-following-agile-guide/53507)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 7\
**Last updated:** [February 8, 2006, 9:41pm UTC](https://www.ruby-forum.com/t/select-list-error-following-agile-guide/53507 "2006-02-08T21:41:23Z")

</div>

I would swear that I am tracking exactly the method used in Agile book… TypeError in Placements#edit Showing app/views/placements/\_form.rhtml where line #33 raised: wrong argument type String (expected Module) Extra…

---

## [How to vary sort's block?](https://www.ruby-forum.com/t/how-to-vary-sorts-block/53413)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 7\
**Last updated:** [February 6, 2006, 1:51am UTC](https://www.ruby-forum.com/t/how-to-vary-sorts-block/53413 "2006-02-06T01:51:13Z")

</div>

When I have an array of objects (Thing’s, say) with two properties (say name' andamount’) I want to be able to sort that array by either of these properties, depending on circumstances (like the value of the variable …

---

## [Consiglio professionale - lavoro](https://www.ruby-forum.com/t/consiglio-professionale-lavoro/225293)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [December 28, 2012, 4:57pm UTC](https://www.ruby-forum.com/t/consiglio-professionale-lavoro/225293 "2012-12-28T16:57:38Z")

</div>

Ciao a Tutti. Scrivo ai rubyisti della mailing list per avere un consiglio/suggerimento professionale e vi ringrazio in anticipo per le vostre risposte. Sto cercando un impiego in una azienda o startup che sviluppi i…

---

## [Phase Lag in USRP Output Signal](https://www.ruby-forum.com/t/phase-lag-in-usrp-output-signal/189577)

<div class="topic-metadata">

**Author:** [@BalijepalliS\_Arvind](https://www.ruby-forum.com/u/BalijepalliS_Arvind)\
**Replies:** 6\
**Last updated:** [June 4, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/phase-lag-in-usrp-output-signal/189577 "2010-06-04T18:45:56Z")

</div>

Hi all, I plan to use the USRP to run a feedback controller. The basic idea is to read in a feedback signal over three input channels (two LFRX daughter boards), process them to generate control signals that are outp…

---

## [Trouble with local variables](https://www.ruby-forum.com/t/trouble-with-local-variables/177057)

<div class="topic-metadata">

**Author:** [@sevhead](https://www.ruby-forum.com/u/sevhead)\
**Replies:** 6\
**Last updated:** [October 13, 2009, 12:27pm UTC](https://www.ruby-forum.com/t/trouble-with-local-variables/177057 "2009-10-13T12:27:35Z")

</div>

Hello everyone! I’ve been coding with Ruby for about three days, and I just ran into my first big snag. I’ve been working on a quiz, and the first one had questions like this: puts ‘How many classes have a taunt kill…

---

## [Re: Next and Previous Articles](https://www.ruby-forum.com/t/re-next-and-previous-articles/67794)

<div class="topic-metadata">

**Author:** [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Replies:** 6\
**Last updated:** [September 12, 2006, 2:40pm UTC](https://www.ruby-forum.com/t/re-next-and-previous-articles/67794 "2006-09-12T14:40:54Z")

</div>

Keith B. wrote: Not as elegant as John’s, but for some reason current.siblings returns an empty array. FWIW, the problem wasn’t that current.siblings was returning null. Rather, the problem was that current.sibling…

---

## [Rails without a db - how to run tests](https://www.ruby-forum.com/t/rails-without-a-db-how-to-run-tests/50851)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 6\
**Last updated:** [January 24, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/rails-without-a-db-how-to-run-tests/50851 "2006-01-24T22:59:50Z")

</div>

I’m writing a simple app that doesn’t need to use a database. I added :active\_record to the config.frameworks -= line in environment.rb file. This lets me run ./script/generate fine without complaining about no conn…

---

## [Consiglio su libro Rails](https://www.ruby-forum.com/t/consiglio-su-libro-rails/232857)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [November 1, 2014, 10:30am UTC](https://www.ruby-forum.com/t/consiglio-su-libro-rails/232857 "2014-11-01T10:30:33Z")

</div>

Ciao a tutti, avrei bisogno di una vostra opinione. Ho visto che nella biblioteca della mia facolt presente il libro Agile Web D. with Rails, c’ solo la terza edizione ovvero quella riguardante Rails 2. Il mio dubb…

---

## [Is it worth rolling your own authentication?](https://www.ruby-forum.com/t/is-it-worth-rolling-your-own-authentication/217833)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 15, 2012, 2:15pm UTC](https://www.ruby-forum.com/t/is-it-worth-rolling-your-own-authentication/217833 "2012-03-15T14:15:53Z")

</div>

I prefer to create my own authentication, but it adds an extra day or two to my work load (tests take the most time). Although this time keeps shrinking with every new app I start. I don’t like the feeling of install…

---

## [Location and access\_log off;](https://www.ruby-forum.com/t/location-and-access-log-off/174084)

<div class="topic-metadata">

**Author:** [@vilts](https://www.ruby-forum.com/u/vilts)\
**Replies:** 5\
**Last updated:** [August 21, 2009, 2:18pm UTC](https://www.ruby-forum.com/t/location-and-access-log-off/174084 "2009-08-21T14:18:55Z")

</div>

Hello, I tried to turn off static file logging using this: location ~\* .(css|js|gif|jpg|jpeg|ico)$ { access\_log off; } It turned the logging off, that part worked. But it also didn’t serve any of thes…

---

## [Has many trough](https://www.ruby-forum.com/t/has-many-trough/162070)

<div class="topic-metadata">

**Author:** [@Werner\_L](https://www.ruby-forum.com/u/Werner_L)\
**Replies:** 5\
**Last updated:** [March 8, 2009, 12:44pm UTC](https://www.ruby-forum.com/t/has-many-trough/162070 "2009-03-08T12:44:51Z")

</div>

Brauche wieder mal etwas Nachhilfe- trotz aller Sucherei… Ich möchte ein neues Seminar eintragen lassen in den 3 models(seminars, therapists, semi\_theraps sind die Einträge drin Wie bekomme ich die new (edit) action …

---

## [Nginx vs apache as a reverse proxy](https://www.ruby-forum.com/t/nginx-vs-apache-as-a-reverse-proxy/161763)

<div class="topic-metadata">

**Author:** [@Linden\_Varley](https://www.ruby-forum.com/u/Linden_Varley)\
**Replies:** 5\
**Last updated:** [March 3, 2009, 5:23am UTC](https://www.ruby-forum.com/t/nginx-vs-apache-as-a-reverse-proxy/161763 "2009-03-03T05:23:30Z")

</div>

I’m doing some simple testing on a FreeBSD 7.0 server comparing Apache2 vs Nginx as a reverse proxy to an Apache backend server. The backend serves mainly static images using mod\_python. I have yet to do thorough test…

---

## [Variabili d'istanza delle classi... :-$](https://www.ruby-forum.com/t/variabili-distanza-delle-classi/127047)

<div class="topic-metadata">

**Author:** [@paolodona](https://www.ruby-forum.com/u/paolodona)\
**Replies:** 5\
**Last updated:** [January 25, 2008, 10:11am UTC](https://www.ruby-forum.com/t/variabili-distanza-delle-classi/127047 "2008-01-25T10:11:58Z")

</div>

Ciao carissimi, se class Foo attr\_reader :bar end corrisponde a: class Foo def bar; @bar; end end e… class Foo cattr\_reader :bar end corrisponde a: class Foo def bar; @@bar; end def self.bar; @@bar; end …

---

## [Too slow in using Net::HTTP.post\_form](https://www.ruby-forum.com/t/too-slow-in-using-net-http-post-form/111912)

<div class="topic-metadata">

**Author:** [@ak756](https://www.ruby-forum.com/u/ak756)\
**Replies:** 5\
**Last updated:** [August 15, 2007, 3:34am UTC](https://www.ruby-forum.com/t/too-slow-in-using-net-http-post-form/111912 "2007-08-15T03:34:27Z")

</div>

Hi I am using Net::HTTP.post\_form to post cgi request to a website and get answers. Below is my code and I found that it always take about 30s to return the result. I think my Internt connection is not so slow as I p…

---

## [JRuby 1.5.5 Released](https://www.ruby-forum.com/t/jruby-1-5-5-released/198917)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 8\
**Last updated:** [December 5, 2010, 2:26am UTC](https://www.ruby-forum.com/t/jruby-1-5-5-released/198917 "2010-12-05T02:26:56Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.5.5. (Note: Due to a showstopper bug found after the release of the jruby-jars gem and the inability to remove gem releases from rubygems.org we have s…

---

## [Should I Learn RoR](https://www.ruby-forum.com/t/should-i-learn-ror/82322)

<div class="topic-metadata">

**Author:** [@MereMortal](https://www.ruby-forum.com/u/MereMortal)\
**Replies:** 8\
**Last updated:** [January 19, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/should-i-learn-ror/82322 "2007-01-19T16:27:03Z")

</div>

Hi Folks, I’m a veteran ASP.net programmer of 3 years, just got my MCTS for ASP.net 2.0 I would really appreciate if anyone could give me some thoughtful comments on wether I should learn RoR (knowing nothing about i…

---

## [Traceback Problem With Rails New](https://www.ruby-forum.com/t/traceback-problem-with-rails-new/246579)

<div class="topic-metadata">

**Author:** [@Andersson](https://www.ruby-forum.com/u/Andersson)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 6:15pm UTC](https://www.ruby-forum.com/t/traceback-problem-with-rails-new/246579 "2018-09-26T18:15:19Z")

</div>

Hi! I am all new to Ruby and Ruby on Rails. I entered Rails new myProject in order to create a new project, but I get the following error message: Traceback\*\* (most recent call last): 2: from /usr/local/bin/rails:23:i…

---

## [SQL error... :joins and :order in ActiveRecord find command](https://www.ruby-forum.com/t/sql-error-joins-and-order-in-activerecord-find-command/187535)

<div class="topic-metadata">

**Author:** [@lpdahito](https://www.ruby-forum.com/u/lpdahito)\
**Replies:** 2\
**Last updated:** [April 25, 2010, 9:28pm UTC](https://www.ruby-forum.com/t/sql-error-joins-and-order-in-activerecord-find-command/187535 "2010-04-25T21:28:43Z")

</div>

Hi guys! There’s a problem I’m dealing with since 2 days now and I haven’t quite figured out what’s wrong in my code. Here it is… Suppose I’ve got a pretty simple blogging app which has stories and comments. The co…

---

## [Why does a space changes the outcome?](https://www.ruby-forum.com/t/why-does-a-space-changes-the-outcome/261096)

<div class="topic-metadata">

**Author:** [@gabrielR](https://www.ruby-forum.com/u/gabrielR)\
**Replies:** 4\
**Last updated:** [March 12, 2021, 6:44pm UTC](https://www.ruby-forum.com/t/why-does-a-space-changes-the-outcome/261096 "2021-03-12T18:44:17Z")

</div>

Hello! I am new to ruby and have been playing around. I came across this situation and dont understand why: irb(main):043:0\> puts(“hello”) || true hello =\> true irb(main):044:0\> puts (“hello”) || true hello =\> nil w…

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

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