# Top

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

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

---

## [Link\_to](https://www.ruby-forum.com/t/link-to/144141)

<div class="topic-metadata">

**Author:** [@dienmai](https://www.ruby-forum.com/u/dienmai)\
**Replies:** 0\
**Last updated:** [July 25, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/link-to/144141 "2008-07-25T20:30:49Z")

</div>

Any guy out there help me to when i have \<%= link\_to “Lock”,… action:‘lock’ \<%= link\_to “Lock”,… action: ‘unlock’ I do want to disable the link lock when i click the unlock link and vice versa

---

## [BackgrounDRb 1.0.4 release](https://www.ruby-forum.com/t/backgroundrb-1-0-4-release/142928)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 3\
**Last updated:** [July 13, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/backgroundrb-1-0-4-release/142928 "2008-07-13T19:01:59Z")

</div>

Hi, I am proud to release BackgrounDRb 1.0.4. This release contains, many fixes as listed below: Folks, as you are probably aware that I am working on getting cluster/distributed job handling support for BackgrounDR…

---

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

<div class="topic-metadata">

**Author:** [@nibbler61](https://www.ruby-forum.com/u/nibbler61)\
**Replies:** 3\
**Last updated:** [June 13, 2008, 11:43am UTC](https://www.ruby-forum.com/t/actionmailer/105624 "2008-06-13T11:43:48Z")

</div>

Salut Ã tous, Comme certains l’ont soulignÃ©, j’ai beaucoup plus de tps pour me consacrer Ã mon site dÃ©sormais :wink: Pour ceux qui n’auraient pas fait la part des choses, je tiens qd mm a preciser que je ne suis …

---

## [RJS scroll to DOM object](https://www.ruby-forum.com/t/rjs-scroll-to-dom-object/134584)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 3\
**Last updated:** [April 12, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/rjs-scroll-to-dom-object/134584 "2008-04-12T14:45:17Z")

</div>

Is there an rjs helper for zooming or scrolling to a DOM object, e.g. page.view\_object “object”? I’ve tried using named anchors in combination with link\_to\_function, but unless I’m doing something wrong, the onclick s…

---

## [Matchear varios Regexp secuencialmente](https://www.ruby-forum.com/t/matchear-varios-regexp-secuencialmente/131669)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [March 12, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/matchear-varios-regexp-secuencialmente/131669 "2008-03-12T16:15:12Z")

</div>

Hola, no consigo disponer de unas cuantas expresiones regulares y comparar un texto con ellas. El texto serÃ­a por ejemplo: texto = “INVITE sip:removed\_email\_address@domain.invalid SIP/2.0” Y necesito, para que sean …

---

## [Duda al trabajar con asociaciones en RSpec](https://www.ruby-forum.com/t/duda-al-trabajar-con-asociaciones-en-rspec/129253)

<div class="topic-metadata">

**Author:** [@rub3n](https://www.ruby-forum.com/u/rub3n)\
**Replies:** 3\
**Last updated:** [February 16, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/duda-al-trabajar-con-asociaciones-en-rspec/129253 "2008-02-16T16:21:34Z")

</div>

Hola comunidad, tengo un pequeÃ±o problema que tal vez me surge por la comprensiÃ³n incorrecta del trabajo de los Mocks, el escenario es el siguiente: Tendo 2 modelos: Aritulo y Comentario Un artÃ­culo tiene muchos c…

---

## [Escape character is strings](https://www.ruby-forum.com/t/escape-character-is-strings/121289)

<div class="topic-metadata">

**Author:** [@agnibhu](https://www.ruby-forum.com/u/agnibhu)\
**Replies:** 3\
**Last updated:** [November 26, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/escape-character-is-strings/121289 "2007-11-26T19:32:23Z")

</div>

Hi all, I’m very new to Ruby. My problem is simply to search for ‘’ character from a string. The string is the windows file path. I have to either escape the ‘’ character or substitute it with ‘/’. But String::include…

---

## [Object databases in Ruby?](https://www.ruby-forum.com/t/object-databases-in-ruby/85825)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/object-databases-in-ruby/85825 "2007-09-25T23:04:49Z")

</div>

Anyone ever tried one, or is this just crazy talk? I’ve been hearing a little bit about Magma and Gemstone in Smalltalk, and I’m curious if anyone’s ever created an OODB I could use with Ruby. Bit of a random question…

---

## [Has\_many :through two way multiple select](https://www.ruby-forum.com/t/has-many-through-two-way-multiple-select/111364)

<div class="topic-metadata">

**Author:** [@jkanta1](https://www.ruby-forum.com/u/jkanta1)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/has-many-through-two-way-multiple-select/111364 "2007-08-06T15:38:16Z")

</div>

I’m trying to generate a form that uses has\_many :through and multiple selects. I’m working directly with the join table controller and working with edge rails. I want to generate a list to populate the join table wi…

---

## [RegExp & File read help](https://www.ruby-forum.com/t/regexp-file-read-help/107922)

<div class="topic-metadata">

**Author:** [@Don\_L](https://www.ruby-forum.com/u/Don_L)\
**Replies:** 3\
**Last updated:** [June 27, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/regexp-file-read-help/107922 "2007-06-27T18:44:28Z")

</div>

Hi All, I am trying to parse out a list of elements from a set of xml file which match a given regular expression. I am sure there is probably a way to do this using an xml parsing library, but I thought it might be …

---

## [Collection\_select - adding an option for "all"](https://www.ruby-forum.com/t/collection-select-adding-an-option-for-all/85681)

<div class="topic-metadata">

**Author:** [@kathys39](https://www.ruby-forum.com/u/kathys39)\
**Replies:** 3\
**Last updated:** [February 16, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/collection-select-adding-an-option-for-all/85681 "2007-02-16T13:23:56Z")

</div>

I’m using collection\_select to populate a drop-down menu with items from a database. That part is working fine. I’d like to add an option for “all” in the drop-down menu in case the user wants to see data for all th…

---

## [Class Variables and Singelton Mix-Ins](https://www.ruby-forum.com/t/class-variables-and-singelton-mix-ins/83314)

<div class="topic-metadata">

**Author:** [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Replies:** 3\
**Last updated:** [January 25, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/class-variables-and-singelton-mix-ins/83314 "2007-01-25T13:57:13Z")

</div>

I’m trying to find a way to declare class variables in a module that can be mixed into class methods and retain scope for only that particular class instead of being defacto module-variables. Here’s a simplified examp…

---

## [SSL for login page only](https://www.ruby-forum.com/t/ssl-for-login-page-only/81732)

<div class="topic-metadata">

**Author:** [@donut](https://www.ruby-forum.com/u/donut)\
**Replies:** 3\
**Last updated:** [January 12, 2007, 5:37am UTC](https://www.ruby-forum.com/t/ssl-for-login-page-only/81732 "2007-01-12T05:37:59Z")

</div>

I’m having difficulty setting up my site so that only the login page uses SSL. I’m confused by the config. Can some please explain? I’m setting up my environment using WEBrick. I got WEBrick running with ssl on por…

---

## [Rubyscript2exe FileUtils error](https://www.ruby-forum.com/t/rubyscript2exe-fileutils-error/81671)

<div class="topic-metadata">

**Author:** [@conker](https://www.ruby-forum.com/u/conker)\
**Replies:** 3\
**Last updated:** [January 11, 2007, 4:40am UTC](https://www.ruby-forum.com/t/rubyscript2exe-fileutils-error/81671 "2007-01-11T04:40:25Z")

</div>

Hi, I am having trouble with rubyscript2exe when FileUtils is in my script. The error is easily reproducible: require “FileUtils” puts “Hello World” The error is: ruby\>ruby rubyscript2exe.rb hello.rb --rubyscript2ex…

---

## [\[File -\> Lines -\> Chars\] Logic issue (open)](https://www.ruby-forum.com/t/file-lines-chars-logic-issue-open/76022)

<div class="topic-metadata">

**Author:** [@flaab](https://www.ruby-forum.com/u/flaab)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 10:53am UTC](https://www.ruby-forum.com/t/file-lines-chars-logic-issue-open/76022 "2006-11-15T10:53:32Z")

</div>

Hi there Just a simple question from a newbie =) I have a file that can have N lines. Those lines are string of characters, and each character is a sign of a combination i have to store, but at the same time i have t…

---

## [Odd behavior on update](https://www.ruby-forum.com/t/odd-behavior-on-update/74832)

<div class="topic-metadata">

**Author:** [@ike](https://www.ruby-forum.com/u/ike)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:59am UTC](https://www.ruby-forum.com/t/odd-behavior-on-update/74832 "2006-11-07T10:59:18Z")

</div>

If I have the following two legacy data tables: CREATE TABLE statusactivities ( id int(11) NOT NULL auto\_increment, activity int(11) NOT NULL default ‘0’ ) CREATE TABLE activities ( id int(11) NOT NULL auto\_increme…

---

## [Automatizacion de tarea de envio de correo](https://www.ruby-forum.com/t/automatizacion-de-tarea-de-envio-de-correo/70746)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 3\
**Last updated:** [October 2, 2006, 5:29pm UTC](https://www.ruby-forum.com/t/automatizacion-de-tarea-de-envio-de-correo/70746 "2006-10-02T17:29:58Z")

</div>

Hola. Me gustarÃ­a utilizar ActionMailer para la implementaciÃ³n de tareas de envio de correo planificadas y no como respuesta a alguna periciÃ³n de cliente al servidor web. Alguien puede indicarme si existe un plug-…

---

## [Belongs\_to + foreign\_key](https://www.ruby-forum.com/t/belongs-to-foreign-key/66717)

<div class="topic-metadata">

**Author:** [@eyp](https://www.ruby-forum.com/u/eyp)\
**Replies:** 3\
**Last updated:** [August 29, 2006, 9:32am UTC](https://www.ruby-forum.com/t/belongs-to-foreign-key/66717 "2006-08-29T09:32:26Z")

</div>

Having these models: class League \< Tournament has\_many :league\_positions, :order =\> :position, :dependent =\> :destroy end class LeaguePosition \< ActiveRecord::Base belongs\_to :league, :class\_name =\> ‘League’, :for…

---

## [Implementing Enumerable#inject in Io](https://www.ruby-forum.com/t/implementing-enumerable-inject-in-io/61127)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 3\
**Last updated:** [May 20, 2006, 11:11pm UTC](https://www.ruby-forum.com/t/implementing-enumerable-inject-in-io/61127 "2006-05-20T23:11:58Z")

</div>

This has nothing to do with Ruby – I thought there might just be some Io users here, and I didn’t want to sign up for some Io mailing list just for this one question. I’m trying to implement Enumerable#inject in Io, j…

---

## [Proposta progetto: ROXI](https://www.ruby-forum.com/t/proposta-progetto-roxi/58139)

<div class="topic-metadata">

**Author:** [@Gabriele\_L](https://www.ruby-forum.com/u/Gabriele_L)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 12:36am UTC](https://www.ruby-forum.com/t/proposta-progetto-roxi/58139 "2006-04-19T00:36:23Z")

</div>

Ciao ragazzi, visto il furore sacro che aleggia nella comunita' italiana di Ruby, e viste le proposte fatte per iniziare nuovi progetti, propongo anche il mio Qualche tempo fa avevo iniziato un progetto che avrebbe d…

---

## [Construct AoA with REXML XPath?](https://www.ruby-forum.com/t/construct-aoa-with-rexml-xpath/54977)

<div class="topic-metadata">

**Author:** [@Chris\_McMahon](https://www.ruby-forum.com/u/Chris_McMahon)\
**Replies:** 3\
**Last updated:** [March 16, 2006, 5:56am UTC](https://www.ruby-forum.com/t/construct-aoa-with-rexml-xpath/54977 "2006-03-16T05:56:47Z")

</div>

Hi… say I have a document 123 ACTIVE RED BAR 456 BOGUS BLUE BAZ I know I can do ids = doc.elements.to\_a( “//plan/id”) jellybeans = doc.elements.to\_a( “//plan/jellyBean”) but is there some way to …

---

## [Gzip compression](https://www.ruby-forum.com/t/gzip-compression/54417)

<div class="topic-metadata">

**Author:** [@biji](https://www.ruby-forum.com/u/biji)\
**Replies:** 3\
**Last updated:** [March 5, 2006, 7:50am UTC](https://www.ruby-forum.com/t/gzip-compression/54417 "2006-03-05T07:50:08Z")

</div>

How to enable automatic gzip compression for all .js .html ? Thanks

---

## [Mail merging and printing decent documents? how?](https://www.ruby-forum.com/t/mail-merging-and-printing-decent-documents-how/98417)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 3\
**Last updated:** [January 29, 2006, 9:32pm UTC](https://www.ruby-forum.com/t/mail-merging-and-printing-decent-documents-how/98417 "2006-01-29T21:32:48Z")

</div>

Im just about to convert an access based system to ROR. But i have no idea how i would print out documents/letters from within ROR. Does anyone have any ideas how to mail merge my database into documents and then pri…

---

## [Require "../foo"](https://www.ruby-forum.com/t/require-foo/49689)

<div class="topic-metadata">

**Author:** [@boris](https://www.ruby-forum.com/u/boris)\
**Replies:** 3\
**Last updated:** [December 8, 2005, 1:33pm UTC](https://www.ruby-forum.com/t/require-foo/49689 "2005-12-08T13:33:00Z")

</div>

Hi, I have my code splitted up in several directories: … lib/foo.rb lib/bar.rb setttings/globalsettngs.rb setttings/othersettings.rb … If for example foo.rb want to use classes, modules or methods from “settings…

---

## [Using Ajax](https://www.ruby-forum.com/t/using-ajax/78754)

<div class="topic-metadata">

**Author:** [@jasonlee9](https://www.ruby-forum.com/u/jasonlee9)\
**Replies:** 3\
**Last updated:** [November 30, 2005, 4:58pm UTC](https://www.ruby-forum.com/t/using-ajax/78754 "2005-11-30T16:58:38Z")

</div>

I just got pagination to work with Ajax ( http://wiki.rubyonrails.com/ rails/pages/How+to+Paginate+With+Ajax ) and I’m pretty happy with it. However, I have a few observations. With my production app I am/was using th…

---

## [How to add data to array and increase qty for it?](https://www.ruby-forum.com/t/how-to-add-data-to-array-and-increase-qty-for-it/261107)

<div class="topic-metadata">

**Author:** [@hamedpanahi125](https://www.ruby-forum.com/u/hamedpanahi125)\
**Replies:** 1\
**Last updated:** [March 14, 2021, 11:52am UTC](https://www.ruby-forum.com/t/how-to-add-data-to-array-and-increase-qty-for-it/261107 "2021-03-14T11:52:27Z")

</div>

hi . i have a mining that create dimension each time and immediately pushing to an array , i want to increase quantity if data be same my mining each time create \[x,y,qty\] b = \[\] b.push \[10,10,1\] b.push\[10,10,1\] b.pus…

---

## [Webdav & chunk encoding : error code 500](https://www.ruby-forum.com/t/webdav-chunk-encoding-error-code-500/237192)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [October 29, 2013, 11:42am UTC](https://www.ruby-forum.com/t/webdav-chunk-encoding-error-code-500/237192 "2013-10-29T11:42:22Z")

</div>

Hello, We’re trying to use an appliance with the Nginx Webdav server. It is a streaming encoding plateform which is trying to send chunks. But for each chunks, we got a 500 error. We noticed the following error logs …

---

## [No package 'usrp' found](https://www.ruby-forum.com/t/no-package-usrp-found/160720)

<div class="topic-metadata">

**Author:** [@Woody\_D](https://www.ruby-forum.com/u/Woody_D)\
**Replies:** 1\
**Last updated:** [October 2, 2011, 10:47am UTC](https://www.ruby-forum.com/t/no-package-usrp-found/160720 "2011-10-02T10:47:21Z")

</div>

Hi, While installing openbts, I am getting the following error: checking for USRP… configure: error: Package requirements (usrp \> 3.1) were not met: No package ‘usrp’ found Consider adjusting the PKG\_CONFIG\_PATH env…

---

## [Using GMail to send e-mail causing email](https://www.ruby-forum.com/t/using-gmail-to-send-e-mail-causing-email/189428)

<div class="topic-metadata">

**Author:** [@circlefusion](https://www.ruby-forum.com/u/circlefusion)\
**Replies:** 1\
**Last updated:** [May 31, 2010, 8:59pm UTC](https://www.ruby-forum.com/t/using-gmail-to-send-e-mail-causing-email/189428 "2010-05-31T20:59:54Z")

</div>

Hi, I am attempting to setup my development environment to use gmail to send e-mails. I have the following in development.rb config.action\_mailer.raise\_delivery\_errors = true config.action\_mailer.perform\_deliveries …

---

## [FileUtils noop?](https://www.ruby-forum.com/t/fileutils-noop/179779)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [December 3, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/fileutils-noop/179779 "2009-12-03T18:07:03Z")

</div>

http://ruby-doc.org/core/classes/FileUtils.html#M004315 states that some methods can accept a :noop flag Any guesses why this would ever be useful? -r

---

## [How can I use the "test/unit" right](https://www.ruby-forum.com/t/how-can-i-use-the-test-unit-right/167969)

<div class="topic-metadata">

**Author:** [@artoxvw](https://www.ruby-forum.com/u/artoxvw)\
**Replies:** 1\
**Last updated:** [May 14, 2009, 10:18pm UTC](https://www.ruby-forum.com/t/how-can-i-use-the-test-unit-right/167969 "2009-05-14T22:18:05Z")

</div>

when I run the following code require ‘test/unit’ class TC\_Pram \< Test::Unit::TestCase def initialize(name) @name=name end def test\_array puts assert\_equal(2,@name\[2\]) end end tc=TC\_Pram.new(“wang”) tc.test\_ar…

---

## [Singular Table name](https://www.ruby-forum.com/t/singular-table-name/164641)

<div class="topic-metadata">

**Author:** [@sushrut](https://www.ruby-forum.com/u/sushrut)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/singular-table-name/164641 "2009-04-03T16:17:33Z")

</div>

Hi, I am using oracle, & the table name is in singular (for ex. test)type then how i use that table in my application without changing the table name. i.e. I have to use that table name (test) as it is.

---

## [Problems after updating app from 0.6.7 =\> 0.6.9](https://www.ruby-forum.com/t/problems-after-updating-app-from-0-6-7-0-6-9/154614)

<div class="topic-metadata">

**Author:** [@nateless](https://www.ruby-forum.com/u/nateless)\
**Replies:** 1\
**Last updated:** [December 2, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/problems-after-updating-app-from-0-6-7-0-6-9/154614 "2008-12-02T19:55:41Z")

</div>

I have an app that I tried to update from 0.6.7 to 0.6.9 and have run into a couple of problems. It started a bit like this. I ran “rake radiant:update” which seemed to complete successfully. But when I tried to “rak…

---

## [GStreamer and GLib::MainLoop](https://www.ruby-forum.com/t/gstreamer-and-glib-mainloop/151276)

<div class="topic-metadata">

**Author:** [@Marcin\_L](https://www.ruby-forum.com/u/Marcin_L)\
**Replies:** 1\
**Last updated:** [October 20, 2008, 1:20am UTC](https://www.ruby-forum.com/t/gstreamer-and-glib-mainloop/151276 "2008-10-20T01:20:56Z")

</div>

Hi, I am building a system for audio processing. Web UI is based on Ruby on Rails, so I am considering using Ruby/GStreamer to build audio processing part - it will greatly integrate with rest of the software. Unfor…

---

## [Stack level too deep for method missing when using drb](https://www.ruby-forum.com/t/stack-level-too-deep-for-method-missing-when-using-drb/92383)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 1\
**Last updated:** [April 19, 2007, 12:15am UTC](https://www.ruby-forum.com/t/stack-level-too-deep-for-method-missing-when-using-drb/92383 "2007-04-19T00:15:12Z")

</div>

I set up ferret and it’s running fine normally. Now I want to hook up the backgroundrb server. However whenever I try to do a search, I get this error: (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:107…

---

## [RoR: Torrent Tracker](https://www.ruby-forum.com/t/ror-torrent-tracker/87347)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/ror-torrent-tracker/87347 "2007-03-01T23:04:48Z")

</div>

Hello their, I managed to find torrent tracker made in RoR language, now I downloaded and trying to run it, but I get error saying: Could not find RubyGem bencode (\>= 0.0.0) I don’t know where i can get the bencode, …

---

## [\<r:url /\> and \<r:if\_url matches\> help plz](https://www.ruby-forum.com/t/r-url-and-r-if-url-matches-help-plz/86503)

<div class="topic-metadata">

**Author:** [@nexflo](https://www.ruby-forum.com/u/nexflo)\
**Replies:** 1\
**Last updated:** [February 22, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/r-url-and-r-if-url-matches-help-plz/86503 "2007-02-22T23:59:55Z")

</div>

hey guys… im a bit confused… \<r:url /\> doesnt seem to give me the full path to the current page… first I thought thats coz im using navigation tag, but even after calling \<r:find url="\<r:url /\>\<r:slug /\>"\> \<r:url /\>…

---

## [Get "Uninitialized constant" with Globalize](https://www.ruby-forum.com/t/get-uninitialized-constant-with-globalize/82088)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 1\
**Last updated:** [January 17, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/get-uninitialized-constant-with-globalize/82088 "2007-01-17T12:07:52Z")

</div>

Hey there :slight\_smile: Wondering what’s up with this… I just installed the Globalize plug-in in my current project, ran the rake globalize:setup script, then added “include Globalize” to my config/environment.rb. N…

---

## [Error in login\_engine tests](https://www.ruby-forum.com/t/error-in-login-engine-tests/80011)

<div class="topic-metadata">

**Author:** [@Rasila\_F\_S](https://www.ruby-forum.com/u/Rasila_F_S)\
**Replies:** 1\
**Last updated:** [December 20, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/error-in-login-engine-tests/80011 "2006-12-20T21:23:55Z")

</div>

I am working with Edge rails and edge engines version. I am also using login\_engine in my application. While running tests in login\_engine the following errors are being displayed: Error: test\_auth(UserTest): NoMe…

---

## ['wrong number of arguments' for text\_field?](https://www.ruby-forum.com/t/wrong-number-of-arguments-for-text-field/58154)

<div class="topic-metadata">

**Author:** [@arnoldcano](https://www.ruby-forum.com/u/arnoldcano)\
**Replies:** 1\
**Last updated:** [April 19, 2006, 12:39am UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-for-text-field/58154 "2006-04-19T00:39:24Z")

</div>

This is probably something very simple but I can’t seem to figure out why I keep getting the ‘wrong number of arguments (1 for 2)’ error with the following code when I try to create a new record. If anyone can see wha…

---

## [Delete a string from config](https://www.ruby-forum.com/t/delete-a-string-from-config/222126)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [August 14, 2012, 2:06pm UTC](https://www.ruby-forum.com/t/delete-a-string-from-config/222126 "2012-08-14T14:06:18Z")

</div>

hi i am trying to automate a Firewall config and i have a bellow line in a congig … “user1” “user2” “user3” “User4” … “user100” now i need to delete string “user2” but dont understand what would be the best way i w…

---

## [Class Variable](https://www.ruby-forum.com/t/class-variable/211180)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [August 29, 2011, 1:34am UTC](https://www.ruby-forum.com/t/class-variable/211180 "2011-08-29T01:34:18Z")

</div>

Hi everyone, I have a question about class variable in Rails: I have a class Point that contains an class variable @@color\_points=“green” In a first web Page I want to set up this variable, hence i do Point.color\_p…

---

## [Understanding rails project](https://www.ruby-forum.com/t/understanding-rails-project/202999)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 10, 2011, 9:38pm UTC](https://www.ruby-forum.com/t/understanding-rails-project/202999 "2011-02-10T21:38:30Z")

</div>

For me to understand the rails project is not enough to see the model or controller diagrams and how many attributes and actions they’re having. I understand more if I know where actions are initialized and how they e…

---

## [How to have \*\_url generate urls with https:// protocol](https://www.ruby-forum.com/t/how-to-have-url-generate-urls-with-https-protocol/189254)

<div class="topic-metadata">

**Author:** [@errolsiegel](https://www.ruby-forum.com/u/errolsiegel)\
**Replies:** 6\
**Last updated:** [May 28, 2010, 11:36am UTC](https://www.ruby-forum.com/t/how-to-have-url-generate-urls-with-https-protocol/189254 "2010-05-28T11:36:54Z")

</div>

Hello, I accidentally posted this to the “Ruby” forum when it should have gone here – sorry. I am using \*\_path in views and \*\_url in controllers (with redirect\_to, for example). It is my understanding that this is g…

---

## [Changing names in an app -- advice wanted](https://www.ruby-forum.com/t/changing-names-in-an-app-advice-wanted/188556)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 6\
**Last updated:** [May 14, 2010, 5:49am UTC](https://www.ruby-forum.com/t/changing-names-in-an-app-advice-wanted/188556 "2010-05-14T05:49:07Z")

</div>

Hi, I’ve got an app close to ready as version 1, but client wants labels on a form and corresponding column names in the database changed, e.g. the label/column named “purpose” to “description”. I’ve got a form def…

---

## [Action Mailer new DSL merged](https://www.ruby-forum.com/t/action-mailer-new-dsl-merged/182284)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 6\
**Last updated:** [January 26, 2010, 1:26pm UTC](https://www.ruby-forum.com/t/action-mailer-new-dsl-merged/182284 "2010-01-26T13:26:01Z")

</div>

Hi all, Just letting you know we have a new DSL for Action Mailer. class Notifier \< ActionMailer::Base delivers\_from(“removed\_email\_address@domain.invalid”) def signup\_notification(recipient) @account = recipient a…

---

## [Development environment bug? (config.load\_paths doesn't take)](https://www.ruby-forum.com/t/development-environment-bug-config-load-paths-doesnt-take/117522)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 6\
**Last updated:** [January 6, 2010, 4:25pm UTC](https://www.ruby-forum.com/t/development-environment-bug-config-load-paths-doesnt-take/117522 "2010-01-06T16:25:40Z")

</div>

This works for me in production but not development. Problem: I have a need to group models into subdirectories which in no way map to models. Suggested solution (as per article): Add the following code to the Rails…

---

## [About class and module](https://www.ruby-forum.com/t/about-class-and-module/180188)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 6\
**Last updated:** [December 15, 2009, 3:17am UTC](https://www.ruby-forum.com/t/about-class-and-module/180188 "2009-12-15T03:17:10Z")

</div>

Hello, Coz Ruby’s class and module are close to Perl’s, I think it’s not hard to understand for them. I wrote a note below for learning them, if I’m not correct, please point it out, thanks. class is defined with t…

---

## [About joinTable](https://www.ruby-forum.com/t/about-jointable/173277)

<div class="topic-metadata">

**Author:** [@karthik](https://www.ruby-forum.com/u/karthik)\
**Replies:** 6\
**Last updated:** [August 6, 2009, 10:23am UTC](https://www.ruby-forum.com/t/about-jointable/173277 "2009-08-06T10:23:43Z")

</div>

Hi Below Table1: name\_table id name 1 name1 2 name2 Table2: address\_table id address 1 address1 2 address2 jointable : name\_a…

---

## [Segfault when requiring both mysql and mechanize](https://www.ruby-forum.com/t/segfault-when-requiring-both-mysql-and-mechanize/170196)

<div class="topic-metadata">

**Author:** [@roddik](https://www.ruby-forum.com/u/roddik)\
**Replies:** 6\
**Last updated:** [June 19, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/segfault-when-requiring-both-mysql-and-mechanize/170196 "2009-06-19T23:56:10Z")

</div>

Hello, there’s a simple script require ‘rubygems’ require ‘mysql’ require ‘mechanize’ #it works if I delete this string m = Mysql.new(‘localhost’, ‘h3’, ‘h3’, ‘h3’) that fails with C:/Program Files/ActiveState Komo…

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

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