# Top

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

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

---

## [Re: RecordTags extension](https://www.ruby-forum.com/t/re-recordtags-extension/104621)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 30, 2007, 7:41pm UTC](https://www.ruby-forum.com/t/re-recordtags-extension/104621 "2007-05-30T19:41:34Z")

</div>

Thank you, Mario, for making your extension available. It’s very well documented and record tags are easy to use. I have extended the ‘records’ tag adding a ‘SQL’ attribute where one can place a SQL statement that is …

---

## [OpenID Sample Application](https://www.ruby-forum.com/t/openid-sample-application/104267)

<div class="topic-metadata">

**Author:** [@Benjamin\_C](https://www.ruby-forum.com/u/Benjamin_C)\
**Replies:** 2\
**Last updated:** [May 17, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/openid-sample-application/104267 "2007-05-17T15:08:20Z")

</div>

In case you haven’t seen it, a few days ago I posted a sample Rails application that integrates the open\_id\_authentication and restful\_rails plugins to give you a good start at building a OpenID- enabled application. …

---

## [Proyecto il8n](https://www.ruby-forum.com/t/proyecto-il8n/103007)

<div class="topic-metadata">

**Author:** [@Manuel\_GonzSSSSlez\_S](https://www.ruby-forum.com/u/Manuel_GonzSSSSlez_S)\
**Replies:** 2\
**Last updated:** [April 30, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/proyecto-il8n/103007 "2007-04-30T18:58:09Z")

</div>

A raiz de una presentación de la Conferencia Hispana creo recordar que se gestó un proyecto de il8n para Rails, pero Google no me dice nada. ¿Alguien me pasa un enlace? – Manuel, que piensa que eres una excelente pe…

---

## [Attr\_accessible vs. attr\_reader](https://www.ruby-forum.com/t/attr-accessible-vs-attr-reader/93226)

<div class="topic-metadata">

**Author:** [@running\_idiot](https://www.ruby-forum.com/u/running_idiot)\
**Replies:** 2\
**Last updated:** [April 29, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/attr-accessible-vs-attr-reader/93226 "2007-04-29T19:34:19Z")

</div>

I got another question - what is difference between attr\_accessible and attr\_reader? I am not too smart from google’s results ( http://www.google.com/search?q=“attr\_accessible”+“attr\_reader” ), so I ask here. When s…

---

## [Nil instead of EOF](https://www.ruby-forum.com/t/nil-instead-of-eof/92745)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 2\
**Last updated:** [April 23, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/nil-instead-of-eof/92745 "2007-04-23T20:32:39Z")

</div>

Seeing as how Ruby will return nil when an I/O stream is empty, is there anything wrong with using nil where other languages might use EOF ? As in this example: File.open(“text.txt”) do |f| puts f.gets(nil) end

---

## [Unless Expression Parsing](https://www.ruby-forum.com/t/unless-expression-parsing/92508)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 2\
**Last updated:** [April 20, 2007, 7:06am UTC](https://www.ruby-forum.com/t/unless-expression-parsing/92508 "2007-04-20T07:06:37Z")

</div>

I just came across an unexpected parsing problem: x = 3 unless true # parses just fine, x = nil p(3 unless true) # parser chokes on unless p((3 unless true)) # OK, ‘nil’ is printed This seems like a bug …

---

## [CSV::Writer and Rails 1.2.3](https://www.ruby-forum.com/t/csv-writer-and-rails-1-2-3/91952)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [April 13, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/csv-writer-and-rails-1-2-3/91952 "2007-04-13T20:01:00Z")

</div>

This seems to no longer work… http://www.ruby-doc.org/core/classes/CSV/Writer.html from my console session (lifting code from my application) @qm\_monitorings = QmMonitoring.find(:all) =\> \[#\<QmMonitoring:0xb74d72b…

---

## [Best approach for dynamic table display](https://www.ruby-forum.com/t/best-approach-for-dynamic-table-display/91090)

<div class="topic-metadata">

**Author:** [@oliver](https://www.ruby-forum.com/u/oliver)\
**Replies:** 2\
**Last updated:** [April 4, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/best-approach-for-dynamic-table-display/91090 "2007-04-04T20:37:52Z")

</div>

hi, folks - Suppose I have a stream of data coming in periodically, what would be best way of displaying a table with dynamic update? Are there any “rails way” of doing this? thanks in advance, Oliver

---

## [Model.find(:first, :lock=\>true) Unknown key(s) :lock](https://www.ruby-forum.com/t/model-find-first-lock-true-unknown-key-s-lock/83270)

<div class="topic-metadata">

**Author:** [@jsmecham](https://www.ruby-forum.com/u/jsmecham)\
**Replies:** 2\
**Last updated:** [January 24, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/model-find-first-lock-true-unknown-key-s-lock/83270 "2007-01-24T22:40:50Z")

</div>

Rails 1.2.1 Has anyone ever gotten this error? According to the API, this is exactly how you are suppose to use it

---

## [mÃ¡s sobre fechas ... datetime\_select](https://www.ruby-forum.com/t/ma-s-sobre-fechas-datetime-select/83213)

<div class="topic-metadata">

**Author:** [@andres](https://www.ruby-forum.com/u/andres)\
**Replies:** 2\
**Last updated:** [January 24, 2007, 11:57am UTC](https://www.ruby-forum.com/t/ma-s-sobre-fechas-datetime-select/83213 "2007-01-24T11:57:24Z")

</div>

Hola: Aunque ya he estado leyendo en este foro lo q comentais sobre las fechas, tengo otra pregunta: En mi DB las fechas tiene que ir a la fuerza en este formato dÃ­a/mes/aÃ±o y datetime\_select me devuelve aÃ±o/mes/d…

---

## [Splitting a multirecord per file format to a single record p](https://www.ruby-forum.com/t/splitting-a-multirecord-per-file-format-to-a-single-record-p/82423)

<div class="topic-metadata">

**Author:** [@randy\_k](https://www.ruby-forum.com/u/randy_k)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/splitting-a-multirecord-per-file-format-to-a-single-record-p/82423 "2007-01-19T16:31:39Z")

</div>

I’m trying to write essentially what I guess you’d call a filter (or maybe not quite exactly). It needs to: read multi-line records from a file (one record at a time) then, with that one record: prepend some additi…

---

## [:include with conditions](https://www.ruby-forum.com/t/include-with-conditions/81951)

<div class="topic-metadata">

**Author:** [@RJRJRJ](https://www.ruby-forum.com/u/RJRJRJ)\
**Replies:** 2\
**Last updated:** [January 16, 2007, 3:27pm UTC](https://www.ruby-forum.com/t/include-with-conditions/81951 "2007-01-16T15:27:35Z")

</div>

Lets say I have an owner record which has\_many employees. If I want to eager load the employees then Owner.find(:all, :include =\> :employee) works fine and dandy. What if I only wanted to include male employees in the…

---

## [Email Injection Protection](https://www.ruby-forum.com/t/email-injection-protection/81879)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 2\
**Last updated:** [January 16, 2007, 7:57am UTC](https://www.ruby-forum.com/t/email-injection-protection/81879 "2007-01-16T07:57:21Z")

</div>

Does anyone have any suggestions for protecting against email injection attacks in Rails? Thanks, Jeff

---

## [Are there RESTful verbs for association actions?](https://www.ruby-forum.com/t/are-there-restful-verbs-for-association-actions/80868)

<div class="topic-metadata">

**Author:** [@jose](https://www.ruby-forum.com/u/jose)\
**Replies:** 2\
**Last updated:** [December 31, 2006, 8:37pm UTC](https://www.ruby-forum.com/t/are-there-restful-verbs-for-association-actions/80868 "2006-12-31T20:37:25Z")

</div>

I’m familiar with CRUD and the mapping of the four actions (create, read, update, delete) to the four SQL statements (insert, select, update, destroy). I have other actions dealing with associations. For example, I w…

---

## [Problem after switching to production mode](https://www.ruby-forum.com/t/problem-after-switching-to-production-mode/77904)

<div class="topic-metadata">

**Author:** [@john-anes](https://www.ruby-forum.com/u/john-anes)\
**Replies:** 2\
**Last updated:** [December 1, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/problem-after-switching-to-production-mode/77904 "2006-12-01T14:19:50Z")

</div>

Hi guys, On development mode the contact-us form worked fine on radiant after switching to production mode i get an error message like this… “Error encountered while trying to send email. 554-xx.xx.xx.xx has not been…

---

## [Re: rand random. You've got to be kidding](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77552)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [November 28, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77552 "2006-11-28T20:18:16Z")

</div>

In a message dated 11/28/2006 11:08:19 A.M. US Mountain Standard Tim, removed\_email\_address@domain.invalid writes: Surely it must be possible to initialize rand with current date and time. Documents seem to indicate…

---

## [Execute a file on read?](https://www.ruby-forum.com/t/execute-a-file-on-read/74858)

<div class="topic-metadata">

**Author:** [@eddieroger](https://www.ruby-forum.com/u/eddieroger)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:59am UTC](https://www.ruby-forum.com/t/execute-a-file-on-read/74858 "2006-11-07T10:59:29Z")

</div>

I am toying around with the concept of dynamic configuration files for Asterisk (http://www.asterisk.org), and I was wondering if its possible to have a dynamic file that’s executed on read. Basicly, when executed, th…

---

## [Traits-0.10.0](https://www.ruby-forum.com/t/traits-0-10-0/71180)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [October 5, 2006, 11:37pm UTC](https://www.ruby-forum.com/t/traits-0-10-0/71180 "2006-10-05T23:37:57Z")

</div>

URLS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/traits INSTALL yes|sudo gem install traits ABOUT traits.rb is set of attr\_\* like methods on steroids, caffeine, and botox. it en…

---

## [How to format floating point number](https://www.ruby-forum.com/t/how-to-format-floating-point-number/68269)

<div class="topic-metadata">

**Author:** [@kspt](https://www.ruby-forum.com/u/kspt)\
**Replies:** 2\
**Last updated:** [September 11, 2006, 11:45am UTC](https://www.ruby-forum.com/t/how-to-format-floating-point-number/68269 "2006-09-11T11:45:49Z")

</div>

hello i need to format the retrieved value to two decimal points in ruby. MY problem is: if the value is 15.0 i need to print it as 15.00 and if it is 12.5 it should be 12.50. please help me in this.

---

## [Include ActiveResource](https://www.ruby-forum.com/t/include-activeresource/67282)

<div class="topic-metadata">

**Author:** [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Replies:** 2\
**Last updated:** [September 1, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/include-activeresource/67282 "2006-09-01T21:35:27Z")

</div>

Hello, I want to give ActiveResource a spin. I have all the code checked out from SVN in vendor/rails (yes, including ActiveResource). I’m trying to make sure it gets loaded. I did this in environment.rb: config.lo…

---

## [Helper calendrier](https://www.ruby-forum.com/t/helper-calendrier/66158)

<div class="topic-metadata">

**Author:** [@fredix](https://www.ruby-forum.com/u/fredix)\
**Replies:** 2\
**Last updated:** [August 24, 2006, 11:29am UTC](https://www.ruby-forum.com/t/helper-calendrier/66158 "2006-08-24T11:29:37Z")

</div>

Bonjour, je test ce helper http://projects.exactlyoneturtle.com/date\_picker/ sur un projet rails vierge, et l’affichage de la popup js du calendrier s’Ã©talle sur toute la page. Quelqu’un d’autre a t-il Ã©galement c…

---

## [Problem with ^M (CR) in configure.ac and svn (Windows/MinGW)](https://www.ruby-forum.com/t/problem-with-m-cr-in-configure-ac-and-svn-windows-mingw/101888)

<div class="topic-metadata">

**Author:** [@walkins](https://www.ruby-forum.com/u/walkins)\
**Replies:** 2\
**Last updated:** [August 8, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/problem-with-m-cr-in-configure-ac-and-svn-windows-mingw/101888 "2006-08-08T17:00:04Z")

</div>

When I try to build with rev. 3220 on Windows with MinGW/msys, ./configure fails with configure: creating ./config.status ./config.status: line 529: syntax error near unexpected token \\"' ./config.status: line 529: …

---

## [Little bug in search\_behaviour when using UTF-8 (3)](https://www.ruby-forum.com/t/little-bug-in-search-behaviour-when-using-utf-8-3/101133)

<div class="topic-metadata">

**Author:** [@Ruben\_N](https://www.ruby-forum.com/u/Ruben_N)\
**Replies:** 2\
**Last updated:** [August 3, 2006, 1:24pm UTC](https://www.ruby-forum.com/t/little-bug-in-search-behaviour-when-using-utf-8-3/101133 "2006-08-03T13:24:00Z")

</div>

Third, and hopefully last revision of the patch. This time the code will fall-back to “standard” mode if unicode gem is not present, so no breakage for people missing the gem. Maybe I should have just given the patch …

---

## [Redirect if session is nil](https://www.ruby-forum.com/t/redirect-if-session-is-nil/62774)

<div class="topic-metadata">

**Author:** [@jasbur](https://www.ruby-forum.com/u/jasbur)\
**Replies:** 2\
**Last updated:** [June 8, 2006, 12:19am UTC](https://www.ruby-forum.com/t/redirect-if-session-is-nil/62774 "2006-06-08T00:19:21Z")

</div>

How exactly do i redirect a user if they’re not logged in? I have a cookie being written to the @session variable on login and I can pull info from it. For instance “@session\[‘user’\].login” pulls their username just f…

---

## [OT: MySQL Workbench](https://www.ruby-forum.com/t/ot-mysql-workbench/62707)

<div class="topic-metadata">

**Author:** [@Gustavo\_Beathyate](https://www.ruby-forum.com/u/Gustavo_Beathyate)\
**Replies:** 2\
**Last updated:** [June 7, 2006, 9:45pm UTC](https://www.ruby-forum.com/t/ot-mysql-workbench/62707 "2006-06-07T21:45:23Z")

</div>

Hi List, Has anyone tried MySQL Workbench on Mac OS X? I am using a MacBook Pro with 10.4.6. It looks like a pretty interesting tool to design the rails backend but I can’t even name a table before it crashes. Thanks…

---

## [Strange behaviour of Rb-Gsl random numbers (Windows one-clic](https://www.ruby-forum.com/t/strange-behaviour-of-rb-gsl-random-numbers-windows-one-clic/95594)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [June 7, 2006, 12:50am UTC](https://www.ruby-forum.com/t/strange-behaviour-of-rb-gsl-random-numbers-windows-one-clic/95594 "2006-06-07T00:50:48Z")

</div>

Dear all, I’ve installed Rb-gsl for the Ruby-one click installer, and tried GSL::Rng.new.uniform to get a random number. This works, but always gives the same number: require “gsl” res=\[\] for k in 0…20 res\<\<GSL::…

---

## [Gain value from form](https://www.ruby-forum.com/t/gain-value-from-form/60134)

<div class="topic-metadata">

**Author:** [@ssssss](https://www.ruby-forum.com/u/ssssss)\
**Replies:** 2\
**Last updated:** [May 11, 2006, 10:16am UTC](https://www.ruby-forum.com/t/gain-value-from-form/60134 "2006-05-11T10:16:44Z")

</div>

I have the following form \<%= start\_form\_tag :action =\> ‘rejectQuoteSave’, :id =\> @project %\> \* Reason \<%= text\_area 'offer', 'reason\_rejected' %\> \<%= submit\_tag ‘Update’ %\> \<%= end\_form\_tag %\> How can I gain the…

---

## [Accedere alle api di OpenOffice](https://www.ruby-forum.com/t/accedere-alle-api-di-openoffice/59218)

<div class="topic-metadata">

**Author:** [@andre](https://www.ruby-forum.com/u/andre)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/accedere-alle-api-di-openoffice/59218 "2006-05-03T19:07:18Z")

</div>

Qualcuno sa se Ã¨ possibile accedere alle api di openoffice da ruby? In python esiste il modulo pyuno che permette di connettersi ad openoffice e di creare o modificare documenti di openoffice. Purtroppo in ruby non h…

---

## [Page cache e query string in Rails](https://www.ruby-forum.com/t/page-cache-e-query-string-in-rails/57445)

<div class="topic-metadata">

**Author:** [@Massimiliano\_M](https://www.ruby-forum.com/u/Massimiliano_M)\
**Replies:** 2\
**Last updated:** [April 11, 2006, 1:26pm UTC](https://www.ruby-forum.com/t/page-cache-e-query-string-in-rails/57445 "2006-04-11T13:26:03Z")

</div>

Prima che mi tiri la zappa sui piedi mettendo quanto segue in produzione, qualcuno con esperienza con il page cache in Rails può dirmi se c’è una trappola? Leggevo che uno dei problemi del page cache è la query string…

---

## [ZenTest 3.1.0 Released](https://www.ruby-forum.com/t/zentest-3-1-0-released/56299)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 2\
**Last updated:** [March 30, 2006, 11:37pm UTC](https://www.ruby-forum.com/t/zentest-3-1-0-released/56299 "2006-03-30T23:37:38Z")

</div>

ZenTest version 3.1.0 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ == DESCRIPTION ZenTest provides 4 different tools: zentest, unit\_diff, autotest, and multiruby. ZenTest scans your target and u…

---

## [EXTREME Newbie Qestion - Is RoR the right tool?](https://www.ruby-forum.com/t/extreme-newbie-qestion-is-ror-the-right-tool/79283)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 2\
**Last updated:** [March 10, 2006, 6:33am UTC](https://www.ruby-forum.com/t/extreme-newbie-qestion-is-ror-the-right-tool/79283 "2006-03-10T06:33:48Z")

</div>

So, the question for you who are RoR Gurus: is RoR the way to go? Here’s the challenge… A community service site (application?) that includes: Community Forum Blog (kind of - more like an editoral comment section) We…

---

## [Adding a compile rule to mkmf.rb](https://www.ruby-forum.com/t/adding-a-compile-rule-to-mkmf-rb/54543)

<div class="topic-metadata">

**Author:** [@Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/u/Gerardo_SSGSSS_mez)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/adding-a-compile-rule-to-mkmf-rb/54543 "2006-03-08T21:23:48Z")

</div>

I want to write an extconf.rb file for a Ruby extension. The problem is that my source file has a suffix that is not any of the expected by mkmf.rb: ec. The suffixes expected are: SRC\_EXT = \[“c”, “cc”, “m”, “cxx”, “cp…

---

## [How to use it: require](https://www.ruby-forum.com/t/how-to-use-it-require/76927)

<div class="topic-metadata">

**Author:** [@Servando\_G](https://www.ruby-forum.com/u/Servando_G)\
**Replies:** 2\
**Last updated:** [March 5, 2006, 4:38pm UTC](https://www.ruby-forum.com/t/how-to-use-it-require/76927 "2006-03-05T16:38:46Z")

</div>

I have a custom file filled with a word list. How do call it in my main program. I have tried “require wordlist” but ruby can’t find the file In C/C++ I would have used Include\<wordlist.h\> or for python I would hav…

---

## [Find non-empty association?](https://www.ruby-forum.com/t/find-non-empty-association/75180)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 2\
**Last updated:** [March 1, 2006, 8:51pm UTC](https://www.ruby-forum.com/t/find-non-empty-association/75180 "2006-03-01T20:51:03Z")

</div>

I have two models, Category and Article. Article belongs\_to :category and Category has\_many :articles. I’d like to be able to find all non-empty categories. What’s the best way to do that? Pat

---

## [Comment out RHTML code?](https://www.ruby-forum.com/t/comment-out-rhtml-code/74665)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 2\
**Last updated:** [February 28, 2006, 7:28pm UTC](https://www.ruby-forum.com/t/comment-out-rhtml-code/74665 "2006-02-28T19:28:38Z")

</div>

I’d like to be able to comment out a few lines of RHTML code easily. With HTML you can just surround the code in , but if you do that with the RHTML, it still gets executed, then the resulting HTML is commented out. …

---

## [Accessing an attribute within an embedded object](https://www.ruby-forum.com/t/accessing-an-attribute-within-an-embedded-object/54085)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 2\
**Last updated:** [February 22, 2006, 9:25pm UTC](https://www.ruby-forum.com/t/accessing-an-attribute-within-an-embedded-object/54085 "2006-02-22T21:25:47Z")

</div>

When I dump an instance variable to the web browser using object.inspect I get the following: This: \<%= debug archive.inspect %\> Yields this: #\<RapturePost:0x2aaaacada118 @attributes={“date\_created”=\>“2006-02”}\>" H…

---

## [Effect queues with RJS templates and scriptaculous](https://www.ruby-forum.com/t/effect-queues-with-rjs-templates-and-scriptaculous/70083)

<div class="topic-metadata">

**Author:** [@gschaefer](https://www.ruby-forum.com/u/gschaefer)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/effect-queues-with-rjs-templates-and-scriptaculous/70083 "2006-02-18T18:17:07Z")

</div>

Hi. I was wondering if it’s possible to combine effects for individual elements with RJS templates. I notice that scriptaculous has support for a concept called effect queues (http://www.railsdevelopment.com/2006/01…

---

## [Webrick very unstable with MySQL 5.0 on Windows](https://www.ruby-forum.com/t/webrick-very-unstable-with-mysql-5-0-on-windows/66032)

<div class="topic-metadata">

**Author:** [@rawktron](https://www.ruby-forum.com/u/rawktron)\
**Replies:** 2\
**Last updated:** [February 12, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/webrick-very-unstable-with-mysql-5-0-on-windows/66032 "2006-02-12T19:11:23Z")

</div>

So, install Ruby and gem and then read the wiki post about getting MySQL working and installed that mysql.so into the right dirs, and actually everything works fine. Except that it’s unstable - after maybe 4 or 5 quer…

---

## [Best way to know the domain across all controllers?](https://www.ruby-forum.com/t/best-way-to-know-the-domain-across-all-controllers/102460)

<div class="topic-metadata">

**Author:** [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/best-way-to-know-the-domain-across-all-controllers/102460 "2006-02-08T20:34:53Z")

</div>

Hello, I would like to use something like domain=request.domain and be able to access the domain variable across all my controllers. What is the best way to do so? In which file can I put the above variable declarat…

---

## [Screenscraping using htmltools and rexml](https://www.ruby-forum.com/t/screenscraping-using-htmltools-and-rexml/53065)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/screenscraping-using-htmltools-and-rexml/53065 "2006-01-24T16:45:32Z")

</div>

Hi, I need to do some screen scraping and I’ve spent a couple hour getting htmltools and rexml do the right thing. Here’s the code: parser = HTMLTree::Parser.new(false, false) parser.feed(res.body) tree = parser.tre…

---

## [Login plugin](https://www.ruby-forum.com/t/login-plugin/80090)

<div class="topic-metadata">

**Author:** [@thila](https://www.ruby-forum.com/u/thila)\
**Replies:** 2\
**Last updated:** [December 29, 2005, 10:52am UTC](https://www.ruby-forum.com/t/login-plugin/80090 "2005-12-29T10:52:36Z")

</div>

All- I am new to Ruby; following are my two questions: Which is the best login plugin? I keep hearing about SALT and loginengine. For installing loginengine; I see the two following steps - Both these does not w…

---

## [Praise Switchtower (plus a quick question)](https://www.ruby-forum.com/t/praise-switchtower-plus-a-quick-question/51141)

<div class="topic-metadata">

**Author:** [@capnmidnight](https://www.ruby-forum.com/u/capnmidnight)\
**Replies:** 2\
**Last updated:** [December 27, 2005, 4:27pm UTC](https://www.ruby-forum.com/t/praise-switchtower-plus-a-quick-question/51141 "2005-12-27T16:27:32Z")

</div>

Switchtower is really cool once you get it going. Quick question, I do a: % rake deploy % rake remote\_exec ACTION=symlink\_pictures …but what’s the easiest way to combine the two in a single command? Thanks CM

---

## [Correct way to use DRb within a Rails Controller?](https://www.ruby-forum.com/t/correct-way-to-use-drb-within-a-rails-controller/50204)

<div class="topic-metadata">

**Author:** [@d0t1q](https://www.ruby-forum.com/u/d0t1q)\
**Replies:** 2\
**Last updated:** [December 17, 2005, 4:29am UTC](https://www.ruby-forum.com/t/correct-way-to-use-drb-within-a-rails-controller/50204 "2005-12-17T04:29:20Z")

</div>

\[not really rails specific\] I’m unsure about what should be placed where or if it even matters. Here’s the basic rails controller: -------please\_work\_controller.rb---------- class PleaseWork \< ApplicationController …

---

## [Nuby: method defined in two classes](https://www.ruby-forum.com/t/nuby-method-defined-in-two-classes/49651)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 2\
**Last updated:** [December 7, 2005, 8:20am UTC](https://www.ruby-forum.com/t/nuby-method-defined-in-two-classes/49651 "2005-12-07T08:20:27Z")

</div>

Hi Friends, I have the ff code below. It works but you can see that i have duplicated the “is\_odd?” method on both Fixnum and Bignum. I am just asking for something more cleaner/elegant… thanks and kind regards -botp …

---

## [Re: PostgreSQL 8.1, testing with constraints](https://www.ruby-forum.com/t/re-postgresql-8-1-testing-with-constraints/51241)

<div class="topic-metadata">

**Author:** [@drbrain](https://www.ruby-forum.com/u/drbrain)\
**Replies:** 2\
**Last updated:** [November 30, 2005, 8:29pm UTC](https://www.ruby-forum.com/t/re-postgresql-8-1-testing-with-constraints/51241 "2005-11-30T20:29:39Z")

</div>

On Nov 30, 2005, at 10:40 AM, removed\_email\_address@domain.invalid wrote: without the foreign key constraints, they run fine, but blow up when I active\_record/connection\_adapters/abstract\_adapter.rb:67:in \`log’: ERRO…

---

## [ActionMailer](https://www.ruby-forum.com/t/actionmailer/85177)

<div class="topic-metadata">

**Author:** [@blargity](https://www.ruby-forum.com/u/blargity)\
**Replies:** 2\
**Last updated:** [November 20, 2005, 9:34am UTC](https://www.ruby-forum.com/t/actionmailer/85177 "2005-11-20T09:34:29Z")

</div>

I’m trying to use ActionMailer without rails. Perhaps I’m tired, but I am quite confused by the following: irb(main):001:0\> require ‘action\_mailer’ =\> true irb(main):002:0\> irb(main):003:0\* class Emailer \< ActionM…

---

## [Uhd newbee problem with B200+TCXO](https://www.ruby-forum.com/t/uhd-newbee-problem-with-b200-tcxo/233593)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [December 27, 2014, 5:59pm UTC](https://www.ruby-forum.com/t/uhd-newbee-problem-with-b200-tcxo/233593 "2014-12-27T17:59:38Z")

</div>

I have a new ettus B200 with TCXO (no antenna) plugged into my ZOTAC ZBOX USB3 port running Debian 7.7. I recently built gnuradio with the build-gnuradio script. I was trying to build a broadcast FM radio receiver f…

---

## [Re: linking Gnuradio and Gpredict?](https://www.ruby-forum.com/t/re-linking-gnuradio-and-gpredict/233204)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [November 24, 2014, 8:24pm UTC](https://www.ruby-forum.com/t/re-linking-gnuradio-and-gpredict/233204 "2014-11-24T20:24:32Z")

</div>

I know this is going back a bit but I would like to do the same thing for my Gnuradio satellite ground station. I was actually tempted to compile satellite tracking into a Gnuradio block. One you could simply use in a …

---

## [Is it ok to call header filters twice for the same response](https://www.ruby-forum.com/t/is-it-ok-to-call-header-filters-twice-for-the-same-response/230672)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [July 1, 2014, 1:39am UTC](https://www.ruby-forum.com/t/is-it-ok-to-call-header-filters-twice-for-the-same-response/230672 "2014-07-01T01:39:34Z")

</div>

Hello When we configure nginx without modsecurity body filter, then the response is processed in two stages. First the headers are processed followed by the body filters If however, modsecurity is configured, then mo…

---

## [Ruby on Rails Tutorial stuck at 1.4.2](https://www.ruby-forum.com/t/ruby-on-rails-tutorial-stuck-at-1-4-2/230469)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 19, 2014, 6:25pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-tutorial-stuck-at-1-4-2/230469 "2014-06-19T18:25:26Z")

</div>

I posted a question on stackoverflow. I followed the instructions another user suggested but that did not seem to fix the problem. I really want to progress in this tutorial but pushing the app to heroku has delay…

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

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