# Top

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

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

---

## [POST/GET from sql database](https://www.ruby-forum.com/t/post-get-from-sql-database/91124)

<div class="topic-metadata">

**Author:** [@Josh\_Redding](https://www.ruby-forum.com/u/Josh_Redding)\
**Replies:** 2\
**Last updated:** [April 5, 2007, 7:30am UTC](https://www.ruby-forum.com/t/post-get-from-sql-database/91124 "2007-04-05T07:30:00Z")

</div>

I’ve been googling for hours now…and can’t seem to find much on the subject. I’m new to Ruby…slowly picking it up as I go along. I wanted to write something I could put to use right now…a simple ruby-embedded html pa…

---

## [Undefined method \`\[\]' for :stocktbl:Symbol](https://www.ruby-forum.com/t/undefined-method-for-symbol/88000)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/undefined-method-for-symbol/88000 "2007-03-07T16:49:01Z")

</div>

Hi, I have a user class as so: class Artisttbl \< ActiveRecord::Base set\_primary\_key “artist\_id” has\_one :artistbiogtbl, :foreign\_key =\> “artist\_id”, :dependent =\> :delete has\_many :artistimagestbl, :foreign\_key =\> …

---

## [How can I view HTTP trace on an incoming request?](https://www.ruby-forum.com/t/how-can-i-view-http-trace-on-an-incoming-request/87574)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [March 4, 2007, 12:22pm UTC](https://www.ruby-forum.com/t/how-can-i-view-http-trace-on-an-incoming-request/87574 "2007-03-04T12:22:48Z")

</div>

Hi, how can I view HTTP trace on an incoming request? I am sending test HTTP requests from my test application (app1) to my actually application (app2) but I am getting Recognition failed errors? There is nothing …

---

## [Ciao a tutti, mi presento brevemente!](https://www.ruby-forum.com/t/ciao-a-tutti-mi-presento-brevemente/85906)

<div class="topic-metadata">

**Author:** [@Francesco\_Levorato](https://www.ruby-forum.com/u/Francesco_Levorato)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/ciao-a-tutti-mi-presento-brevemente/85906 "2007-02-19T19:27:34Z")

</div>

Ciao a tutti, oggi ho deciso di iscrivermi a questa lista giusto per vedere che effetto che fa. Da circa un annetto con alti e bassi sono approdato a Ruby grazie a Rails e sto muovendo ancora i primi passi. E’ un mond…

---

## [Routes,maps, something\_url, some simple questions i am sure](https://www.ruby-forum.com/t/routes-maps-something-url-some-simple-questions-i-am-sure/85691)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 2\
**Last updated:** [February 15, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/routes-maps-something-url-some-simple-questions-i-am-sure/85691 "2007-02-15T16:29:18Z")

</div>

hi, i just started learning how to custimize my urls but i have a few questions that im sort of unsure about. first. if i do this. map.detail “nj/:id” in my view for controller ‘nj’ i can do something like this? \<%…

---

## [Beginner Q: Keeping the Ruby on Rails platform up to date](https://www.ruby-forum.com/t/beginner-q-keeping-the-ruby-on-rails-platform-up-to-date/84422)

<div class="topic-metadata">

**Author:** [@Kristen](https://www.ruby-forum.com/u/Kristen)\
**Replies:** 2\
**Last updated:** [February 4, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/beginner-q-keeping-the-ruby-on-rails-platform-up-to-date/84422 "2007-02-04T20:45:32Z")

</div>

Hello, I recently installed the ruby on rails framework from this tutorial: So, I installed: Ruby on Rails 1.1 Ruby 1.8.4 LightTPD 1.4.13 FastCGI 2.4.0 RubyGems 0.9.0 Readline 5.1 PCRE 6.6 FastCGI and MySQL bi…

---

## [Hello all (asking for some help)](https://www.ruby-forum.com/t/hello-all-asking-for-some-help/84100)

<div class="topic-metadata">

**Author:** [@eenrti](https://www.ruby-forum.com/u/eenrti)\
**Replies:** 2\
**Last updated:** [February 1, 2007, 8:38pm UTC](https://www.ruby-forum.com/t/hello-all-asking-for-some-help/84100 "2007-02-01T20:38:55Z")

</div>

I know it will sound strange since for the last day that I have been subscribed to this list I can see many advanced (at least to me) topics but I am new to it, I have just purchased the USRP motherboard and I have ma…

---

## [Nuovo articolo su TheRubyMine.com](https://www.ruby-forum.com/t/nuovo-articolo-su-therubymine-com/83730)

<div class="topic-metadata">

**Author:** [@gianusa](https://www.ruby-forum.com/u/gianusa)\
**Replies:** 2\
**Last updated:** [January 29, 2007, 10:25pm UTC](https://www.ruby-forum.com/t/nuovo-articolo-su-therubymine-com/83730 "2007-01-29T22:25:48Z")

</div>

Ciao, vi segnalo la pubblicazione di un nuovo articolo su http://www.therubymine.com “Programmare dall’interno!” HugeDomains.com. Buona lettura! Gianluca

---

## [Installing Ruby under Mac OS X](https://www.ruby-forum.com/t/installing-ruby-under-mac-os-x/83377)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 2\
**Last updated:** [January 26, 2007, 12:32am UTC](https://www.ruby-forum.com/t/installing-ruby-under-mac-os-x/83377 "2007-01-26T00:32:36Z")

</div>

I just downloaded the source for Ruby 1.8.5-p12 and built it under Mac OS X using the following steps. unzip and untar the downloaded file cd to the directory createed by untarring su root ./configure make make te…

---

## [Connect to two databases / Delegate authentication?](https://www.ruby-forum.com/t/connect-to-two-databases-delegate-authentication/81541)

<div class="topic-metadata">

**Author:** [@codex](https://www.ruby-forum.com/u/codex)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/connect-to-two-databases-delegate-authentication/81541 "2007-01-10T22:07:07Z")

</div>

Hello, I need to write a Rails application with user authentication. This is no problem so far, but the company that needs the rails application does have a large user database that is used for an already existing ap…

---

## [More\_like\_this not working?](https://www.ruby-forum.com/t/more-like-this-not-working/77890)

<div class="topic-metadata">

**Author:** [@corne](https://www.ruby-forum.com/u/corne)\
**Replies:** 2\
**Last updated:** [December 1, 2006, 11:52am UTC](https://www.ruby-forum.com/t/more-like-this-not-working/77890 "2006-12-01T11:52:16Z")

</div>

Hi all, using ferret 0.10.13 and aaf trunk, i cannot get more\_like\_this to work. I read other posts on this forum related to that, but that did not solve it. I have a model Question with a field question\_text. I do: …

---

## [Helpers that take a block from the view](https://www.ruby-forum.com/t/helpers-that-take-a-block-from-the-view/77859)

<div class="topic-metadata">

**Author:** [@wycats](https://www.ruby-forum.com/u/wycats)\
**Replies:** 2\
**Last updated:** [December 1, 2006, 2:38am UTC](https://www.ruby-forum.com/t/helpers-that-take-a-block-from-the-view/77859 "2006-12-01T02:38:20Z")

</div>

I’m trying to build a helper that takes a block from the view (like form\_for). Here’s what I have so far: def basic\_filters &block html = Builder::XmlMarkup.new html.p(:class =\> “filters”) do html.button(:class =\> …

---

## [Script.acul.us not working as expected](https://www.ruby-forum.com/t/script-acul-us-not-working-as-expected/76847)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [November 21, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/script-acul-us-not-working-as-expected/76847 "2006-11-21T18:58:18Z")

</div>

I’ve got: \<%= javascript\_include\_tag :defaults %\> in my layout. In the first case I have a form with button\_tag: radio\_button(‘subject’, ‘valid\_number\_T’, ‘T’, ‘id’=\> ‘valid\_number\_T’, ‘onclick’ =\> “Effect.SlideDown…

---

## [Ruby Way](https://www.ruby-forum.com/t/ruby-way/76123)

<div class="topic-metadata">

**Author:** [@Esteban](https://www.ruby-forum.com/u/Esteban)\
**Replies:** 2\
**Last updated:** [November 16, 2006, 9:16am UTC](https://www.ruby-forum.com/t/ruby-way/76123 "2006-11-16T09:16:56Z")

</div>

Aquí les dejo esta joya que me encontré navegando, nada como dominar bien el Ruby para aprovechar al máximo el Rais. :sunglasses: http://rapidshare.com/files/3472148/The.Ruby.Way.2nd.Edition.Oct.2006.chm Y pueden ver …

---

## [Re: regex capture and assign... in one line?](https://www.ruby-forum.com/t/re-regex-capture-and-assign-in-one-line/74619)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:50am UTC](https://www.ruby-forum.com/t/re-regex-capture-and-assign-in-one-line/74619 "2006-11-07T10:50:55Z")

</div>

From: Nate M. \[mailto:removed\_email\_address@domain.invalid\] $str = “foo123”; my ($foo,$bar) = $str =~ /(\\w+)(\\d+)/; irb(main):001:0\> str = “foo123” =\> “foo123” irb(main):004:0\> \_,foo,bar = /(\\w+)(\\d+)/.match( str …

---

## [Installing edge](https://www.ruby-forum.com/t/installing-edge/73929)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:46am UTC](https://www.ruby-forum.com/t/installing-edge/73929 "2006-11-07T10:46:48Z")

</div>

I need some features from edge, and have never installed it before. I’m using RoR on a hosted system, they do not have svn. It seems like I should take the files from http://dev.rubyonrails.org/svn/rails/trunk/ and p…

---

## [Kernel#caller for non-current thread](https://www.ruby-forum.com/t/kernel-caller-for-non-current-thread/73511)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 2\
**Last updated:** [October 26, 2006, 2:23am UTC](https://www.ruby-forum.com/t/kernel-caller-for-non-current-thread/73511 "2006-10-26T02:23:02Z")

</div>

Looks like it can be done in C by: set ruby\_frame to the particular th-\>frame, call backtrace(), and set it back. Is there a better way or has anybody already done it? Steve

---

## [Beginner questions - implementing MAC](https://www.ruby-forum.com/t/beginner-questions-implementing-mac/72509)

<div class="topic-metadata">

**Author:** [@Shravan\_Rayanchu](https://www.ruby-forum.com/u/Shravan_Rayanchu)\
**Replies:** 2\
**Last updated:** [October 18, 2006, 7:19pm UTC](https://www.ruby-forum.com/t/beginner-questions-implementing-mac/72509 "2006-10-18T19:19:56Z")

</div>

Hi all, I am new to gnuradio and I was wondering if you could help me out with some of the questions I have: I have a very little background of DSP/Comm. and I would to be able to experiment/build 802.11 like MAC ato…

---

## [Pipe binary data](https://www.ruby-forum.com/t/pipe-binary-data/70568)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [September 30, 2006, 10:47am UTC](https://www.ruby-forum.com/t/pipe-binary-data/70568 "2006-09-30T10:47:59Z")

</div>

Hi there, I have a little program that mines the web. It consists of two ruby programs. The first is responsible to get the data from the web; the second is responsible of mining that data. I connect the two via comm…

---

## [Why Thread.pass is so slow?](https://www.ruby-forum.com/t/why-thread-pass-is-so-slow/101561)

<div class="topic-metadata">

**Author:** [@gh198319](https://www.ruby-forum.com/u/gh198319)\
**Replies:** 2\
**Last updated:** [August 6, 2006, 9:05pm UTC](https://www.ruby-forum.com/t/why-thread-pass-is-so-slow/101561 "2006-08-06T21:05:17Z")

</div>

Hi, I’m absolutely new to Ruby, but one thing I found strange is that thread.pass takes a very long time compare to sched\_yield in C. Does any one know why is that?

---

## [How to avoid repeating code in controller](https://www.ruby-forum.com/t/how-to-avoid-repeating-code-in-controller/99676)

<div class="topic-metadata">

**Author:** [@remcoh](https://www.ruby-forum.com/u/remcoh)\
**Replies:** 2\
**Last updated:** [July 24, 2006, 10:34pm UTC](https://www.ruby-forum.com/t/how-to-avoid-repeating-code-in-controller/99676 "2006-07-24T22:34:30Z")

</div>

Hi, I created a calendar class and i now have a method which gives me a 1 day view with timeslots etc. now i want to re-use that code for generating 2 and 5 day views. how can i re-use my code so i can make a show\_tw…

---

## [Configuration search order](https://www.ruby-forum.com/t/configuration-search-order/98496)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 2\
**Last updated:** [July 15, 2006, 2:08am UTC](https://www.ruby-forum.com/t/configuration-search-order/98496 "2006-07-15T02:08:33Z")

</div>

Hi I’m in the process of deciding how a plugin should be designed to make configuration as easy as possible. Right now I require the plugin from init.rb, and set some configuration options (as class attribute accesso…

---

## [Include vs. extend](https://www.ruby-forum.com/t/include-vs-extend/97886)

<div class="topic-metadata">

**Author:** [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Replies:** 2\
**Last updated:** [July 11, 2006, 2:32am UTC](https://www.ruby-forum.com/t/include-vs-extend/97886 "2006-07-11T02:32:39Z")

</div>

I was under the impression that include and extend were basically module-level and object-level versions of the same thing, that including a module at the class level had the same effect as extending an object. But i…

---

## [Make install failed on gmsk.py?](https://www.ruby-forum.com/t/make-install-failed-on-gmsk-py/97526)

<div class="topic-metadata">

**Author:** [@Dave\_hartzell](https://www.ruby-forum.com/u/Dave_hartzell)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/make-install-failed-on-gmsk-py/97526 "2006-07-07T19:10:45Z")

</div>

Hi, I’m installing on Mac OS X and I ran into this today, during the “sudo make install”. The compile/make worked fine prior to the make install. I also think this installed fine on another mac…ideas? Am I missing …

---

## [Jcode.rb ruby-1.9](https://www.ruby-forum.com/t/jcode-rb-ruby-1-9/97464)

<div class="topic-metadata">

**Author:** [@WATANABE\_Tetsuya](https://www.ruby-forum.com/u/WATANABE_Tetsuya)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 10:29am UTC](https://www.ruby-forum.com/t/jcode-rb-ruby-1-9/97464 "2006-07-07T10:29:45Z")

</div>

e$BEOJUE/Li$G$9!#e(B jcode.rb e$B$G%(%i!\<$,$G$^$7$?$N$G!"$$7$i$;$7$Fe(B e$B$$-$^$9!#e(B $ ruby -v ruby 1.9.0 (2006-07-07) \[i686-linux\] e$B$K$F!"\<!$N%9%/%j%W%H$rF0$+$9$He(B #! /usr/local/bin/ruby -Ke e$B%F%9%H;~$O…

---

## [Script/console cursor goes crazy sometimes on XP](https://www.ruby-forum.com/t/script-console-cursor-goes-crazy-sometimes-on-xp/62659)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 2\
**Last updated:** [June 14, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/script-console-cursor-goes-crazy-sometimes-on-xp/62659 "2006-06-14T17:36:23Z")

</div>

I’m on WinXP SP2, Ruby 1.8.4, Rails 1.1.2. Sometimes when I’m editing a line in script/console - that is, I’m using the cursor keys or backspace key to edit the text on the current line - the cursor suddenly flies off…

---

## [My first hours with Ms Ruby](https://www.ruby-forum.com/t/my-first-hours-with-ms-ruby/62410)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 2\
**Last updated:** [June 4, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/my-first-hours-with-ms-ruby/62410 "2006-06-04T22:47:20Z")

</div>

was wondering how i would have to change things in order for Ms Ruby to run on my Apache as supposed to hangin on to this webRICK thing. Thanks. Also, what’s the best book out there, is it the one from manning?

---

## [Selected value](https://www.ruby-forum.com/t/selected-value/94149)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 27, 2006, 4:43am UTC](https://www.ruby-forum.com/t/selected-value/94149 "2006-05-27T04:43:51Z")

</div>

I would like to pass the value selected in a select statement back so that I can use it in the controller, through using a remote\_function call, and I cannot figure out what I am doing wrong: view rhtml: \<select id=“…

---

## [Using RSpec without runner - inconsistent context evaluation](https://www.ruby-forum.com/t/using-rspec-without-runner-inconsistent-context-evaluation/60393)

<div class="topic-metadata">

**Author:** [@Suraj\_NSKurapati](https://www.ruby-forum.com/u/Suraj_NSKurapati)\
**Replies:** 2\
**Last updated:** [May 13, 2006, 6:36am UTC](https://www.ruby-forum.com/t/using-rspec-without-runner-inconsistent-context-evaluation/60393 "2006-05-13T06:36:40Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I’m trying to use RSpec 0.5.3 with Ruby 1.8.4 in an embedded situation: (C program | (Ruby interpreter | | (RSpec library | | … my specification … | | ) | ) …

---

## [How to reference a file for download](https://www.ruby-forum.com/t/how-to-reference-a-file-for-download/59354)

<div class="topic-metadata">

**Author:** [@larrywright](https://www.ruby-forum.com/u/larrywright)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/how-to-reference-a-file-for-download/59354 "2006-05-03T18:58:26Z")

</div>

I have an app that uploads files into the directory RAILS\_ROOT/documents/ I tried to access the file for downloading using my file. Rails prepends the controller name to the link so I get \<a href=" http://localhost:…

---

## [Problem with auto-submitting AJAX form](https://www.ruby-forum.com/t/problem-with-auto-submitting-ajax-form/58887)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 2\
**Last updated:** [April 26, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/problem-with-auto-submitting-ajax-form/58887 "2006-04-26T23:42:08Z")

</div>

Hello, I have a form generated with form\_remote\_tag that contains a selection list. I would like to auto-submit the form when the user makes a choice in the selection list, so I added an option :onchange =\> ‘this.for…

---

## [Ror has problems with memory usage?](https://www.ruby-forum.com/t/ror-has-problems-with-memory-usage/58686)

<div class="topic-metadata">

**Author:** [@perherman](https://www.ruby-forum.com/u/perherman)\
**Replies:** 2\
**Last updated:** [April 24, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/ror-has-problems-with-memory-usage/58686 "2006-04-24T22:41:54Z")

</div>

I saw this on a forum for MODx (a CMS which seem very good, built on standards, with clean XHTML/CSS, using PHP). “RoR is a killer application, but is either a crusher when it comes to memory usage or SQL usage. Even …

---

## [Easy question about inspect method](https://www.ruby-forum.com/t/easy-question-about-inspect-method/57083)

<div class="topic-metadata">

**Author:** [@lazylester](https://www.ruby-forum.com/u/lazylester)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/easy-question-about-inspect-method/57083 "2006-04-07T12:12:47Z")

</div>

When I use myarray.inspect, the result has some odd asymmetrical formatting, like: #nil, “role\_id”=\>“1”, “last”=\>“Normal”, “first”=\>“Norman”, “id”=\>“17”}\> what is the significance of the # at the start, and the } and \>…

---

## [How do I format text before saving it?](https://www.ruby-forum.com/t/how-do-i-format-text-before-saving-it/56320)

<div class="topic-metadata">

**Author:** [@eleo](https://www.ruby-forum.com/u/eleo)\
**Replies:** 2\
**Last updated:** [March 30, 2006, 2:32pm UTC](https://www.ruby-forum.com/t/how-do-i-format-text-before-saving-it/56320 "2006-03-30T14:32:39Z")

</div>

I tried to use a before\_save and use simple\_format, it returns and undefined method error. Can I even use these methods within a model? I tried to use auto\_link and it failed too. What am I doing wrong? Furthermore…

---

## [Re: Can't get net/smtp to send outside of LAN?](https://www.ruby-forum.com/t/re-cant-get-net-smtp-to-send-outside-of-lan/79358)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 2\
**Last updated:** [March 13, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/re-cant-get-net-smtp-to-send-outside-of-lan/79358 "2006-03-13T14:19:04Z")

</div>

John N. Alegre \[mailto:removed\_email\_address@domain.invalid\] : #if usr@domain is outside the LAN the mail never gets sent #either if the code #is run on ‘localhost’ or on a machine on the LAN with #‘machine’ replaced…

---

## [Dealing with \*a lot\* of Mailers](https://www.ruby-forum.com/t/dealing-with-a-lot-of-mailers/69540)

<div class="topic-metadata">

**Author:** [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Replies:** 2\
**Last updated:** [February 17, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/dealing-with-a-lot-of-mailers/69540 "2006-02-17T20:20:11Z")

</div>

Anybody here deal with “a lot” of ActionMailers ? I have a lot of places within my application that send out emails to various parties. My /views directory has a directory for each type of mail… ie: new\_user\_mailer/ …

---

## [Lightpd / fcgi / RoR setup](https://www.ruby-forum.com/t/lightpd-fcgi-ror-setup/99593)

<div class="topic-metadata">

**Author:** [@jnicholson](https://www.ruby-forum.com/u/jnicholson)\
**Replies:** 2\
**Last updated:** [February 1, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/lightpd-fcgi-ror-setup/99593 "2006-02-01T16:29:34Z")

</div>

Hi, I’m running RoR and have set it up more or less like described in the wiki (for instance here http://wiki.rubyonrails.org/rails/pages/LighttpdWithProcessScripts). I can start the fcgi listener and see that ports …

---

## [Pagination and nested parameters](https://www.ruby-forum.com/t/pagination-and-nested-parameters/98035)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 2\
**Last updated:** [January 27, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/pagination-and-nested-parameters/98035 "2006-01-27T21:29:30Z")

</div>

Hi all, I’ve got a couple select\_date form helpers. For pagination, I need to submit these form values. I tried this, but it’s apparently wrong: link\_to ‘Previous page’, { :page =\> @schedule\_pages.current.previous,…

---

## [Help me understand association attributes](https://www.ruby-forum.com/t/help-me-understand-association-attributes/56004)

<div class="topic-metadata">

**Author:** [@aseldo](https://www.ruby-forum.com/u/aseldo)\
**Replies:** 2\
**Last updated:** [January 3, 2006, 4:36am UTC](https://www.ruby-forum.com/t/help-me-understand-association-attributes/56004 "2006-01-03T04:36:14Z")

</div>

I have a model with a belongs\_to association. The first model is called Thing and the associated model is User. I’m attempting to assign the user to the thing. To accomplish this I used a before\_save method, like thi…

---

## [Custom find methods and pagination](https://www.ruby-forum.com/t/custom-find-methods-and-pagination/72390)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 2\
**Last updated:** [December 19, 2005, 11:15pm UTC](https://www.ruby-forum.com/t/custom-find-methods-and-pagination/72390 "2005-12-19T23:15:58Z")

</div>

i’ve got several methods in my models i use to find based on certain criteria…i’ve done this so the controller code is less cluttered, plus the DRY factor. example: class Foo \< ActiveRecord::Base def find\_by\_someth…

---

## [Subfolders in Rails applications (newbie)](https://www.ruby-forum.com/t/subfolders-in-rails-applications-newbie/50535)

<div class="topic-metadata">

**Author:** [@PWills](https://www.ruby-forum.com/u/PWills)\
**Replies:** 2\
**Last updated:** [December 19, 2005, 7:27pm UTC](https://www.ruby-forum.com/t/subfolders-in-rails-applications-newbie/50535 "2005-12-19T19:27:21Z")

</div>

After about a week playing with Rails, I have built a couple of apps but am still unable to get one thing to work: subfolders. (I am probably using the wrong term here, but oh well…) I would like my rails application …

---

## [Going round in circles trying to save a HABTM](https://www.ruby-forum.com/t/going-round-in-circles-trying-to-save-a-habtm/49723)

<div class="topic-metadata">

**Author:** [@esloane](https://www.ruby-forum.com/u/esloane)\
**Replies:** 2\
**Last updated:** [December 8, 2005, 2:40am UTC](https://www.ruby-forum.com/t/going-round-in-circles-trying-to-save-a-habtm/49723 "2005-12-08T02:40:11Z")

</div>

G’Day Peter, Thanks again for your offer of help and once again my apologies for the prickly response(a result of hair-tearing frustration only). My problem, really, is grasping the concept of how it all hangs togeth…

---

## [Help with User.find() and rendering text](https://www.ruby-forum.com/t/help-with-user-find-and-rendering-text/48573)

<div class="topic-metadata">

**Author:** [@yehweh](https://www.ruby-forum.com/u/yehweh)\
**Replies:** 2\
**Last updated:** [November 19, 2005, 10:55pm UTC](https://www.ruby-forum.com/t/help-with-user-find-and-rendering-text/48573 "2005-11-19T22:55:42Z")

</div>

Hi all, I’m trying to do something for a project. Herez what im trying to do. The user name gets passes from the view to the controller. On line2: The user name gets displayed. On line 3: (If this command works the w…

---

## [Glimmer DSL for SWT Video Tutorial 16 - Weather](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-video-tutorial-16-weather/262918)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [May 19, 2022, 1:27am UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-video-tutorial-16-weather/262918 "2022-05-19T01:27:04Z")

</div>

Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! Glimmer DSL for SWT Video Tutoria…

---

## [How to get selected option in dropdown menu?](https://www.ruby-forum.com/t/how-to-get-selected-option-in-dropdown-menu/259478)

<div class="topic-metadata">

**Author:** [@ghjgjh](https://www.ruby-forum.com/u/ghjgjh)\
**Replies:** 0\
**Last updated:** [May 5, 2020, 6:07am UTC](https://www.ruby-forum.com/t/how-to-get-selected-option-in-dropdown-menu/259478 "2020-05-05T06:07:16Z")

</div>

I was wondering how to get the selected option in dropdown menu. \<% @quiz.codes.each do |code| %\> \<%= simple\_format code.code %\> \<%= simple\_format code.notes %\> \<%= form\_with(model: \[ c…

---

## [Require 'aws-sdk' - Newbie Question](https://www.ruby-forum.com/t/require-aws-sdk-newbie-question/251394)

<div class="topic-metadata">

**Author:** [@srsimonetta](https://www.ruby-forum.com/u/srsimonetta)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 2:41pm UTC](https://www.ruby-forum.com/t/require-aws-sdk-newbie-question/251394 "2018-12-14T14:41:50Z")

</div>

Hello, I am very new to ruby and am writing my first script. We are using RHEL and my script has the following in it: require ‘rubygems’ require ‘aws-sdk’ puts ‘This is a Test’ When I execute the script I am gettin…

---

## [Nginx + openssl 1.0.2 increased memory usage](https://www.ruby-forum.com/t/nginx-openssl-1-0-2-increased-memory-usage/244293)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [March 17, 2016, 12:56am UTC](https://www.ruby-forum.com/t/nginx-openssl-1-0-2-increased-memory-usage/244293 "2016-03-17T00:56:34Z")

</div>

Hello, We attempted to upgrade from nginx + openssl 1.0.1 to nginx + openssl 1.0.2, but unfortunately we ran into some memory related issues when running nginx openssl 1.0.2. When we are running nginx + openssl 1.…

---

## [Gem install libxml-ruby - extconf failure: need zlib](https://www.ruby-forum.com/t/gem-install-libxml-ruby-extconf-failure-need-zlib/243199)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 1, 2015, 7:58am UTC](https://www.ruby-forum.com/t/gem-install-libxml-ruby-extconf-failure-need-zlib/243199 "2015-09-01T07:58:09Z")

</div>

Hi, I am getting below error while installing libxml-ruby gem. As per peoples suggestion on other threads, I tried to install 32 bit version of libxml-ruby gem, but still getting the same error. I am using windows 7…

---

## [QT GUI Text Panel for my custom C++ block](https://www.ruby-forum.com/t/qt-gui-text-panel-for-my-custom-c-block/241795)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 30, 2015, 8:46pm UTC](https://www.ruby-forum.com/t/qt-gui-text-panel-for-my-custom-c-block/241795 "2015-04-30T20:46:07Z")

</div>

So… I just want to say a public “thanks” to Volker S. for his work on the gr-display module. It is not only functional, but the part of it that handles the QT displays is separated enough, and simple enough, to make i…

---

## [\[RAILS4\] How to escape HTML characters in email in rails mailer](https://www.ruby-forum.com/t/rails4-how-to-escape-html-characters-in-email-in-rails-mailer/234457)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 5, 2015, 8:52pm UTC](https://www.ruby-forum.com/t/rails4-how-to-escape-html-characters-in-email-in-rails-mailer/234457 "2015-03-05T20:52:59Z")

</div>

Hi All, I want to escape some of my email contents which are all having special characters such as below, what is best way to do it, html\_safe, h, & raw didnt escape the HTML characters in mailer views. “password\<\>”“…

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

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