# Top

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

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

---

## [Passenger can't find apache installation](https://www.ruby-forum.com/t/passenger-cant-find-apache-installation/194815)

<div class="topic-metadata">

**Author:** [@sereno](https://www.ruby-forum.com/u/sereno)\
**Replies:** 0\
**Last updated:** [September 11, 2010, 8:57am UTC](https://www.ruby-forum.com/t/passenger-cant-find-apache-installation/194815 "2010-09-11T08:57:33Z")

</div>

Hi all, I’m trying install passenger to work as a module of my apache 2 server, but the installation script is returning the follow message: Apache 2…not found. I have searched for a hack all day and, every site say…

---

## [MediaCtrl audio not playing](https://www.ruby-forum.com/t/mediactrl-audio-not-playing/192853)

<div class="topic-metadata">

**Author:** [@remosewa](https://www.ruby-forum.com/u/remosewa)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 12:32am UTC](https://www.ruby-forum.com/t/mediactrl-audio-not-playing/192853 "2010-08-07T00:32:04Z")

</div>

Ok, so I have this weird problem, where I load an audio file into a mediacontrol with an unspecified backend.(i call it like this: @mediacontrol = Wx::MediaControl.new(self)) I wanted the audio to play after the audio…

---

## [No se ejecutan bloques JS](https://www.ruby-forum.com/t/no-se-ejecutan-bloques-js/190085)

<div class="topic-metadata">

**Author:** [@matias\_fierro](https://www.ruby-forum.com/u/matias_fierro)\
**Replies:** 0\
**Last updated:** [June 14, 2010, 3:20pm UTC](https://www.ruby-forum.com/t/no-se-ejecutan-bloques-js/190085 "2010-06-14T15:20:09Z")

</div>

Levante un sitio recientemente y por algun motivo, todos los llamados ajax que devuelven cÃ³digo JS, como link\_to\_remote o renderizaciones de .rjs no estan funcionando. El Firebug no me devuelve ningun error. Puedo ob…

---

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

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [May 11, 2010, 3:43am UTC](https://www.ruby-forum.com/t/link-to-error-in-beta3/188354 "2010-05-11T03:43:03Z")

</div>

Can anybody take a quick look at the following problem, occurring with beta3 on Ruby 1.9.2 ? I used the scaffold generator for the above, so this is just using defaults (the example is in an index view; specifying a…

---

## [Ruby performing 2nd loop, before finishing 1st loop](https://www.ruby-forum.com/t/ruby-performing-2nd-loop-before-finishing-1st-loop/185347)

<div class="topic-metadata">

**Author:** [@pradeep\_236](https://www.ruby-forum.com/u/pradeep_236)\
**Replies:** 3\
**Last updated:** [March 18, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/ruby-performing-2nd-loop-before-finishing-1st-loop/185347 "2010-03-18T15:44:32Z")

</div>

Hi, My code is like this: if (row.abc1== ‘pnc’) action1 end if (abc2 == ‘hjayu’) action2 end Now the probelm is, before finishing the action1, it is going to perform action2 & resulting crashing the system. …

---

## [Inconsistent noMethod error](https://www.ruby-forum.com/t/inconsistent-nomethod-error/183855)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [February 22, 2010, 10:24am UTC](https://www.ruby-forum.com/t/inconsistent-nomethod-error/183855 "2010-02-22T10:24:33Z")

</div>

Hi There, I’m following a tutorial to introduce a search feature. It comprises of a series of boxes, (A-Z) which are links. These links when clicked, trigger the search code in index (in infocontroller.rb) Code below…

---

## [Ruby IDE for MacOS-X](https://www.ruby-forum.com/t/ruby-ide-for-macos-x/181852)

<div class="topic-metadata">

**Author:** [@Jean\_Guillaume\_Pyra](https://www.ruby-forum.com/u/Jean_Guillaume_Pyra)\
**Replies:** 3\
**Last updated:** [January 19, 2010, 7:11pm UTC](https://www.ruby-forum.com/t/ruby-ide-for-macos-x/181852 "2010-01-19T19:11:01Z")

</div>

What’s the best one to use with beginners ? Something with integrated syntax editor, browser of doc… Thanks, JG

---

## [Parsing of Html/Text files](https://www.ruby-forum.com/t/parsing-of-html-text-files/181044)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 3\
**Last updated:** [January 4, 2010, 12:51pm UTC](https://www.ruby-forum.com/t/parsing-of-html-text-files/181044 "2010-01-04T12:51:01Z")

</div>

Hi Guyz, back with a new problem :slight\_smile: Actually the situation is that i have a txt file or can be html file. In that file the contents are written as:- Model Name:- ABC Item Name :- ABC There are hundreds o…

---

## [I want to link html pages to my app](https://www.ruby-forum.com/t/i-want-to-link-html-pages-to-my-app/180755)

<div class="topic-metadata">

**Author:** [@Oluwayomi\_O](https://www.ruby-forum.com/u/Oluwayomi_O)\
**Replies:** 3\
**Last updated:** [December 29, 2009, 2:44am UTC](https://www.ruby-forum.com/t/i-want-to-link-html-pages-to-my-app/180755 "2009-12-29T02:44:41Z")

</div>

Hello,I have app-an online B2C site selling books.I want to put hyperlinks on my page.Where do i store the html files that my views will call? Regards and Respects, Kindness in thought leads to wisdom. Kindness in s…

---

## [About 80211\_mac.tar.gz](https://www.ruby-forum.com/t/about-80211-mac-tar-gz/177659)

<div class="topic-metadata">

**Author:** [@chenchen](https://www.ruby-forum.com/u/chenchen)\
**Replies:** 3\
**Last updated:** [October 24, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/about-80211-mac-tar-gz/177659 "2009-10-24T16:15:54Z")

</div>

Hi, I see from the mailing list in May 5th, 2009 that Ben Yahmed report using the 80211\_mac.tar.gz and it works. Does anyone know what version of GNU Radio can this script work? Does it only for USRP2? I noticed tha…

---

## [Iterators in ruby](https://www.ruby-forum.com/t/iterators-in-ruby/176088)

<div class="topic-metadata">

**Author:** [@Ramana\_V](https://www.ruby-forum.com/u/Ramana_V)\
**Replies:** 3\
**Last updated:** [September 25, 2009, 6:15am UTC](https://www.ruby-forum.com/t/iterators-in-ruby/176088 "2009-09-25T06:15:20Z")

</div>

hi i am new to rails would u tell me types of each iterator i used some of each iterators like each,each\_index… Thanks – Regards, Ramanavel Selvaraju,

---

## [Cannot get my password to validate](https://www.ruby-forum.com/t/cannot-get-my-password-to-validate/175381)

<div class="topic-metadata">

**Author:** [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Replies:** 3\
**Last updated:** [September 12, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/cannot-get-my-password-to-validate/175381 "2009-09-12T20:46:25Z")

</div>

Hello, I am working through the railsspace tutorrial, and i’ve noticed that the password validation is no longer working. I can get screen\_name and email to validate, but for some reason, the password field is ignore…

---

## [Functional testing with different data sets](https://www.ruby-forum.com/t/functional-testing-with-different-data-sets/174369)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 3\
**Last updated:** [August 26, 2009, 9:52am UTC](https://www.ruby-forum.com/t/functional-testing-with-different-data-sets/174369 "2009-08-26T09:52:02Z")

</div>

Hello, I just ran into a bug in my application in which the behavior differed depending on whether there was a single element in a particular table or multiple elements in the table. Right after I fixed the bug, I t…

---

## [Use of Ruby Gem and Plugin](https://www.ruby-forum.com/t/use-of-ruby-gem-and-plugin/172871)

<div class="topic-metadata">

**Author:** [@milindkanchan](https://www.ruby-forum.com/u/milindkanchan)\
**Replies:** 3\
**Last updated:** [July 29, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/use-of-ruby-gem-and-plugin/172871 "2009-07-29T16:36:21Z")

</div>

Hi, I need to know what should we use in ROR application gems or plugins. Which is the best for any ROR application? Can anyone brief me about this. Thanks

---

## [Strange Passenger behavior on OS X](https://www.ruby-forum.com/t/strange-passenger-behavior-on-os-x/172379)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 3\
**Last updated:** [July 21, 2009, 12:25am UTC](https://www.ruby-forum.com/t/strange-passenger-behavior-on-os-x/172379 "2009-07-21T00:25:03Z")

</div>

I’ve just spent several days intermittently trying to get a development rails app working again under passenger on OS X. I still don’t understand what happened. This app was working fine until a few days ago. All of …

---

## [Help: Nginx provide blank content](https://www.ruby-forum.com/t/help-nginx-provide-blank-content/170676)

<div class="topic-metadata">

**Author:** [@tonyy](https://www.ruby-forum.com/u/tonyy)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 5:19pm UTC](https://www.ruby-forum.com/t/help-nginx-provide-blank-content/170676 "2009-06-22T17:19:26Z")

</div>

I have set nginx to cache files. But sometimes, we get blank content. I find below message in the logs: cache file: “/cache/6/cc/5fa7f740d0cf7c2e33cb6c87bb92fcc6” But this file actually does not exist. Is this becua…

---

## [GeoSearch with Ferret](https://www.ruby-forum.com/t/geosearch-with-ferret/170226)

<div class="topic-metadata">

**Author:** [@Christian\_Aust](https://www.ruby-forum.com/u/Christian_Aust)\
**Replies:** 0\
**Last updated:** [June 14, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/geosearch-with-ferret/170226 "2009-06-14T12:43:37Z")

</div>

Hi all, unfortunately, the site tourb.us has been closed, but the wayback machine still reveals their approach to geo-searches with ferret \[1\]. In 2006, Dave (Balman?) replied that things could be handled differently…

---

## [Ferret Server with Multiple Application](https://www.ruby-forum.com/t/ferret-server-with-multiple-application/168559)

<div class="topic-metadata">

**Author:** [@djtal](https://www.ruby-forum.com/u/djtal)\
**Replies:** 0\
**Last updated:** [May 22, 2009, 11:38am UTC](https://www.ruby-forum.com/t/ferret-server-with-multiple-application/168559 "2009-05-22T11:38:18Z")

</div>

Hi, I do host 5 RoR apps on my server, which all needs ferret server. So i run 5 differents instances of ferret server. I wondered if it will be possible to only run one instance of ferret server for all of these app…

---

## [Gem remote Fetch error](https://www.ruby-forum.com/t/gem-remote-fetch-error/163968)

<div class="topic-metadata">

**Author:** [@sts](https://www.ruby-forum.com/u/sts)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/gem-remote-fetch-error/163968 "2009-03-26T15:30:16Z")

</div>

I keep getting this error while trying to run gem update: D:\\blog\>gem update --system Updating RubyGems… ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) Bad file descriptor - connect(2)(Errno::EBADF) c…

---

## [Change the start of auto\_increment?](https://www.ruby-forum.com/t/change-the-start-of-auto-increment/162220)

<div class="topic-metadata">

**Author:** [@loader](https://www.ruby-forum.com/u/loader)\
**Replies:** 3\
**Last updated:** [March 7, 2009, 1:34am UTC](https://www.ruby-forum.com/t/change-the-start-of-auto-increment/162220 "2009-03-07T01:34:07Z")

</div>

Hello everyone! I have a table, “posts”. And I want to start the id from 1000. Is that possible? Do I need a migration? Thank your for your help!

---

## [Simple Captcha setup problem](https://www.ruby-forum.com/t/simple-captcha-setup-problem/161765)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 3\
**Last updated:** [March 2, 2009, 1:34pm UTC](https://www.ruby-forum.com/t/simple-captcha-setup-problem/161765 "2009-03-02T13:34:42Z")

</div>

$ rake simple\_captcha:setup rake aborted! libMagickCore.so.1: cannot open shared object file: No such file or directory - /usr/lib/ruby/site\_ruby/1.8/x86\_64-linux/RMagick.so (See full trace by running task with --tra…

---

## [Mysql warning](https://www.ruby-forum.com/t/mysql-warning/154711)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 3\
**Last updated:** [December 3, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/mysql-warning/154711 "2008-12-03T17:19:07Z")

</div>

Hi everyone. In development.log one message always appears as WARNING: You’re using the Ruby-based MySQL library that ships with Rails. This library is not suited for production. Please install the C-based MySQL l…

---

## [\[Hilfe\] Partial rendern mit link\_to\_function und effekten](https://www.ruby-forum.com/t/hilfe-partial-rendern-mit-link-to-function-und-effekten/154442)

<div class="topic-metadata">

**Author:** [@mathao](https://www.ruby-forum.com/u/mathao)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/hilfe-partial-rendern-mit-link-to-function-und-effekten/154442 "2008-11-29T17:46:10Z")

</div>

Hallo zusammen, ich habe folgende Funktion in meinem such.helper def suchen tags = @tags.strip tags\_array = tags.split(’ ') such\_tags = tags\_array.collect do |tag| %(#{tag}hier) end end Diese Funktion wird in me…

---

## [Text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/text-field-with-auto-complete/153808)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 3\
**Last updated:** [November 21, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete/153808 "2008-11-21T16:13:17Z")

</div>

Hi, I have text\_field\_with\_auto\_complete , The problem i faced here is when type the text like “firstname&lastname”.When i get value of text field in controller i only get the firstname. i couldn’t get text value …

---

## [Override precedence](https://www.ruby-forum.com/t/override-precedence/152997)

<div class="topic-metadata">

**Author:** [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Replies:** 3\
**Last updated:** [November 11, 2008, 12:27am UTC](https://www.ruby-forum.com/t/override-precedence/152997 "2008-11-11T00:27:38Z")

</div>

Hi, I am having trouble overriding methods in a plugin. I am trying to apply a patch to attachment\_fu by overriding a method in on of the attachment\_fu modules from with a file in my libs folder. I am using the sugge…

---

## [Ruby Manor tickets now available](https://www.ruby-forum.com/t/ruby-manor-tickets-now-available/149986)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 3\
**Last updated:** [October 22, 2008, 3:19pm UTC](https://www.ruby-forum.com/t/ruby-manor-tickets-now-available/149986 "2008-10-22T15:19:59Z")

</div>

Firstly, apologies if you’ve already received this information. But in case you haven’t… Ruby Manor Registration Super Monkey Tiger Force, GO! Tickets for the most bad-ass’d Ruby shindig the Commonwealth has ever see…

---

## [List of features to be concluded for create a Rails Demo?](https://www.ruby-forum.com/t/list-of-features-to-be-concluded-for-create-a-rails-demo/150774)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/list-of-features-to-be-concluded-for-create-a-rails-demo/150774 "2008-10-14T18:33:38Z")

</div>

hey all, i need to create a good & attractive Rails-2.1.1 Demo presentation(with the full working flow) what are the main features should be concluded in presentation ?

---

## [Allow a "$" in a price field](https://www.ruby-forum.com/t/allow-a-in-a-price-field/150620)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 6:51pm UTC](https://www.ruby-forum.com/t/allow-a-in-a-price-field/150620 "2008-10-10T18:51:32Z")

</div>

Hi guys. My Property model has a “price” attribute, which is an integer. When creating a property, I’d like users to be able to submit “$1234” as the price, and have my app remove the “$”. I thought this could be acco…

---

## [Code Review: systemstack](https://www.ruby-forum.com/t/code-review-systemstack/140719)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 3\
**Last updated:** [June 17, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/code-review-systemstack/140719 "2008-06-17T22:43:52Z")

</div>

Ruby Only Changes the exception inheritance tree to put SystemStackError under StandardError to match CRuby

---

## [Rake SshFilePublisher on port different from standard 22](https://www.ruby-forum.com/t/rake-sshfilepublisher-on-port-different-from-standard-22/138963)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [May 29, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/rake-sshfilepublisher-on-port-different-from-standard-22/138963 "2008-05-29T17:37:17Z")

</div>

I am testing rake file upload, running well rcp in a terminal scp -v -P 666 -q /Users/kadoudal/musicians.xml removed\_email\_address@domain.invalid:httpdocs/var/www/html/jazz\_people but when running from the rake fil…

---

## [Detail on a regex?](https://www.ruby-forum.com/t/detail-on-a-regex/137497)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 12:15am UTC](https://www.ruby-forum.com/t/detail-on-a-regex/137497 "2008-05-14T00:15:32Z")

</div>

Is there a way to pull details out of a regular expression’s failure? I’m running into a situation where I’ve got some validation methods, and I’m resorting to passing in both a regular expression and a range. I know …

---

## [Problems with displaying validation message](https://www.ruby-forum.com/t/problems-with-displaying-validation-message/135128)

<div class="topic-metadata">

**Author:** [@fries88](https://www.ruby-forum.com/u/fries88)\
**Replies:** 3\
**Last updated:** [April 21, 2008, 3:20am UTC](https://www.ruby-forum.com/t/problems-with-displaying-validation-message/135128 "2008-04-21T03:20:03Z")

</div>

Hi, Sorry I didn’t post the right thing. I have two tables category and book. I have a hidden category\_id field in the create book page. So by right if I submit an empty create book form, an error message box will s…

---

## [Help me create primary\_key with ActiveRecord::Migration](https://www.ruby-forum.com/t/help-me-create-primary-key-with-activerecord-migration/134812)

<div class="topic-metadata">

**Author:** [@sumo](https://www.ruby-forum.com/u/sumo)\
**Replies:** 3\
**Last updated:** [April 16, 2008, 7:08am UTC](https://www.ruby-forum.com/t/help-me-create-primary-key-with-activerecord-migration/134812 "2008-04-16T07:08:11Z")

</div>

I have two tables books and categories. I create a join table books\_categories. Now how to create couple primary key(book\_id,category\_id) class BooksCategories \< ActiveRecord::Migration def self.up create\_table :boo…

---

## [Oh inheritacne, wherefore art thou](https://www.ruby-forum.com/t/oh-inheritacne-wherefore-art-thou/132525)

<div class="topic-metadata">

**Author:** [@nibble70](https://www.ruby-forum.com/u/nibble70)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 5:21am UTC](https://www.ruby-forum.com/t/oh-inheritacne-wherefore-art-thou/132525 "2008-03-21T05:21:39Z")

</div>

Is there anyway to achieve inheritance of specifications? Suppose I had an action like def index filter = params\[:filter\] ? params\[:filter\] : ‘%’ order = params\[:order\] ? params\[:order\] : ‘created\_at DESC’ @posts = …

---

## [Whats the latest on getting MySQL onto Leopard?](https://www.ruby-forum.com/t/whats-the-latest-on-getting-mysql-onto-leopard/132307)

<div class="topic-metadata">

**Author:** [@nahabed](https://www.ruby-forum.com/u/nahabed)\
**Replies:** 3\
**Last updated:** [March 19, 2008, 11:05am UTC](https://www.ruby-forum.com/t/whats-the-latest-on-getting-mysql-onto-leopard/132307 "2008-03-19T11:05:32Z")

</div>

I just moved to a Mac OS X Leopard machine and have been reading the posts on setting-up MySQL and frankly, its intimating given that a standard package doesn’t exist that works. I am posting to see what the latest an…

---

## [Can Rails and PHP work together?](https://www.ruby-forum.com/t/can-rails-and-php-work-together/129620)

<div class="topic-metadata">

**Author:** [@wemagor](https://www.ruby-forum.com/u/wemagor)\
**Replies:** 3\
**Last updated:** [February 20, 2008, 5:39am UTC](https://www.ruby-forum.com/t/can-rails-and-php-work-together/129620 "2008-02-20T05:39:09Z")

</div>

Hello everyone, I am new to RoR, coming from an ASP.NET background. I’m currently working on a politically-themed social network, and I want to have multiple bloggers who will blog about various topics. My web hos…

---

## [Allow/deny for a single location, with other location handler](https://www.ruby-forum.com/t/allow-deny-for-a-single-location-with-other-location-handler/127894)

<div class="topic-metadata">

**Author:** [@rjberry](https://www.ruby-forum.com/u/rjberry)\
**Replies:** 3\
**Last updated:** [February 3, 2008, 3:58am UTC](https://www.ruby-forum.com/t/allow-deny-for-a-single-location-with-other-location-handler/127894 "2008-02-03T03:58:52Z")

</div>

Hi, I’m using nginx to proxy through to apache, with a simple location / { proxy\_pass ... } However, there is one location ( /account/sync\_profile/) which I’d like to restrict to just one IP address. If I add…

---

## [Has\_many: get all objects, not only associated](https://www.ruby-forum.com/t/has-many-get-all-objects-not-only-associated/127756)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 3\
**Last updated:** [February 1, 2008, 9:30am UTC](https://www.ruby-forum.com/t/has-many-get-all-objects-not-only-associated/127756 "2008-02-01T09:30:40Z")

</div>

Hi all, I have a model user. A user has\_many :roles Roles: admin, super admin, user This specific user has the admin role. But for a view I want to list all roles. Is it possible to do something like: “user.roles\_…

---

## [Newbie: add few lines to file ..?](https://www.ruby-forum.com/t/newbie-add-few-lines-to-file/127699)

<div class="topic-metadata">

**Author:** [@newman](https://www.ruby-forum.com/u/newman)\
**Replies:** 3\
**Last updated:** [January 31, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/newbie-add-few-lines-to-file/127699 "2008-01-31T15:55:30Z")

</div>

Hi! I try to write code which adding extra lines to my file ruby -e 'readlines.each{… } ’ myfile\_name~ \> myfile\_name How to make it. I should use readlines…?

---

## [Singleton initilized twice](https://www.ruby-forum.com/t/singleton-initilized-twice/105836)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 2:45am UTC](https://www.ruby-forum.com/t/singleton-initilized-twice/105836 "2008-01-11T02:45:58Z")

</div>

HI I have a little problem here, I am doing a webserver and I put some calculations on the singleton’s initialization and call the methods fo this class to do some calculations for me (no active record, just memory).…

---

## [Updating your rails application?](https://www.ruby-forum.com/t/updating-your-rails-application/122037)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 4, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/updating-your-rails-application/122037 "2007-12-04T21:42:01Z")

</div>

How can I update my rails application to work with the current release of rails? For example, I had rails 0.9 and created an application. I installed the will paginate plugin and now the application can’t run. I upgra…

---

## [Newbie... be gentle](https://www.ruby-forum.com/t/newbie-be-gentle/116588)

<div class="topic-metadata">

**Author:** [@bamm](https://www.ruby-forum.com/u/bamm)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/newbie-be-gentle/116588 "2007-10-08T23:03:02Z")

</div>

I am trying to access the US Postal Service web tool for tracking. I am new to Ruby and web programming in general so if this is a really stupid question I apologize in advance. According to their site the if I access…

---

## [Get server url](https://www.ruby-forum.com/t/get-server-url/116221)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 3\
**Last updated:** [October 3, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/get-server-url/116221 "2007-10-03T18:20:23Z")

</div>

Hi all, How do i get the server url? Much like the PHP function $\_SERVER\[“REQUEST\_URI”\] Regards, Stijn

---

## [Tarball anyone](https://www.ruby-forum.com/t/tarball-anyone/116061)

<div class="topic-metadata">

**Author:** [@barsalou](https://www.ruby-forum.com/u/barsalou)\
**Replies:** 3\
**Last updated:** [October 2, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/tarball-anyone/116061 "2007-10-02T19:24:39Z")

</div>

Anyone willing to tar me up the 1.0.8 of rspec and rspec\_on\_rails? I’m interested in giving the story runner stuff a try. I really got to get svn going somehow. Mike B.

---

## [How Can I display XML file?](https://www.ruby-forum.com/t/how-can-i-display-xml-file/112400)

<div class="topic-metadata">

**Author:** [@Zhan\_feng\_W](https://www.ruby-forum.com/u/Zhan_feng_W)\
**Replies:** 3\
**Last updated:** [August 18, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/how-can-i-display-xml-file/112400 "2007-08-18T16:20:49Z")

</div>

Hi,friends, I have a XML string, such as xs="\<?xml version='1.0' ?\>\<test1 1/\>\<test2 2/\>",how can I display(current window or a new window) it as XML like: âˆ’ 1 2 \</testh I wrote as following, but do not work…

---

## [XML file processing using REXML (beginner's question)](https://www.ruby-forum.com/t/xml-file-processing-using-rexml-beginners-question/109228)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 3\
**Last updated:** [July 13, 2007, 9:48am UTC](https://www.ruby-forum.com/t/xml-file-processing-using-rexml-beginners-question/109228 "2007-07-13T09:48:26Z")

</div>

Hello! I try to understand REXML using the tutorial in http://www.germane-software.com/software/rexml/docs/tutorial.html However, I have problems applying the path expressions to my application. Consider for example…

---

## [Unicode string conversion](https://www.ruby-forum.com/t/unicode-string-conversion/103393)

<div class="topic-metadata">

**Author:** [@airmind](https://www.ruby-forum.com/u/airmind)\
**Replies:** 3\
**Last updated:** [May 9, 2007, 1:53am UTC](https://www.ruby-forum.com/t/unicode-string-conversion/103393 "2007-05-09T01:53:15Z")

</div>

I’m reading a binary file in my program. It contains strings in the Windows Unicode format, which it says is stored as little-endian in the spefication. I’m loading it and trying to convert using Iconv, but I’m gettin…

---

## [Quick Ruby Array question](https://www.ruby-forum.com/t/quick-ruby-array-question/103495)

<div class="topic-metadata">

**Author:** [@Terry\_D](https://www.ruby-forum.com/u/Terry_D)\
**Replies:** 3\
**Last updated:** [May 7, 2007, 5:07pm UTC](https://www.ruby-forum.com/t/quick-ruby-array-question/103495 "2007-05-07T17:07:26Z")

</div>

In code like: for line\_item in @cart.line\_items #Do Stuff end Am I guaranteed to traverse the array from the first element successively through each index number from first to last? If not, what’s the proper ruby…

---

## [Assigning constant as an unbound dynamic method](https://www.ruby-forum.com/t/assigning-constant-as-an-unbound-dynamic-method/79185)

<div class="topic-metadata">

**Author:** [@asherwood](https://www.ruby-forum.com/u/asherwood)\
**Replies:** 3\
**Last updated:** [December 13, 2006, 8:51pm UTC](https://www.ruby-forum.com/t/assigning-constant-as-an-unbound-dynamic-method/79185 "2006-12-13T20:51:26Z")

</div>

Disclaimer: I am new to Ruby, and am not a professional programmer. I work in Network Support, and have used Perl in the past for various scripting tasks. On a lark I picked up the ‘pickaxe’ book and wanted to try my …

---

## [Min. decimation value](https://www.ruby-forum.com/t/min-decimation-value/78196)

<div class="topic-metadata">

**Author:** [@Shravan\_Rayanchu](https://www.ruby-forum.com/u/Shravan_Rayanchu)\
**Replies:** 3\
**Last updated:** [December 6, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/min-decimation-value/78196 "2006-12-06T18:25:18Z")

</div>

Hello everyone, My understanding is that the decimation value for the fpga has to be between \[4, 256\]. In usrp\_spectrum\_sense.py, when I set the decimation values to 16 or 8 (spanning 4Mhz and 8Mhz chunk at once), the…

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

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