# Top

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

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

---

## [Migration Broken?](https://www.ruby-forum.com/t/migration-broken/158749)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [January 27, 2009, 6:20pm UTC](https://www.ruby-forum.com/t/migration-broken/158749 "2009-01-27T18:20:48Z")

</div>

I’ve created a migration to create a new table. I’m noting that the format of the migration name created by the generator has changed. Up until now, the migration names were of the form “00n\_” … now the form is \_. Th…

---

## ["undefined method"-error](https://www.ruby-forum.com/t/undefined-method-error/155968)

<div class="topic-metadata">

**Author:** [@Daniel\_SSSS\_pke](https://www.ruby-forum.com/u/Daniel_SSSS_pke)\
**Replies:** 3\
**Last updated:** [December 22, 2008, 8:37am UTC](https://www.ruby-forum.com/t/undefined-method-error/155968 "2008-12-22T08:37:55Z")

</div>

Hi, I’m new to rails and so far think it’s great, but I’m having some major issues with a many-through relationship. There are three tables: reporttemplates articlestemplates\_reporttemplates (additional attribute “o…

---

## [Include files relative to nginx.conf](https://www.ruby-forum.com/t/include-files-relative-to-nginx-conf/153406)

<div class="topic-metadata">

**Author:** [@Joaquin\_Cuenca\_Abel](https://www.ruby-forum.com/u/Joaquin_Cuenca_Abel)\
**Replies:** 0\
**Last updated:** [November 16, 2008, 5:29pm UTC](https://www.ruby-forum.com/t/include-files-relative-to-nginx-conf/153406 "2008-11-16T17:29:58Z")

</div>

Hi, the docs say that “Since version 0.6.7, paths are relative to directory of nginx configuration file nginx.conf, but not to nginx prefix directory.” I have nginx.conf 0.7.21 in directory C:\\foo\\etc\\windows\\nginx.c…

---

## [RoR on Vista 64bit](https://www.ruby-forum.com/t/ror-on-vista-64bit/151518)

<div class="topic-metadata">

**Author:** [@sigma](https://www.ruby-forum.com/u/sigma)\
**Replies:** 3\
**Last updated:** [October 24, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/ror-on-vista-64bit/151518 "2008-10-24T19:00:25Z")

</div>

Hi all I’ve got my development-environment on a vista Notebook. Now I’d like to switch to 64bit Vista because of the bad RAM-Support of the 32bit Vista. My question: Is RoR running on vista 64bit? Thanks for your a…

---

## [Revising named\_scope semantics in associated classes](https://www.ruby-forum.com/t/revising-named-scope-semantics-in-associated-classes/151541)

<div class="topic-metadata">

**Author:** [@sven](https://www.ruby-forum.com/u/sven)\
**Replies:** 3\
**Last updated:** [October 22, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/revising-named-scope-semantics-in-associated-classes/151541 "2008-10-22T20:12:11Z")

</div>

Suppose I have the following models: class Post \< ActiveRecord::Base has\_and\_belongs\_to\_many :categories named\_scope :active, :conditions =\> {:active =\> true} end class Category \< ActiveRecord::Base has\_and\_belongs…

---

## [Description, what is it?](https://www.ruby-forum.com/t/description-what-is-it/150753)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 3\
**Last updated:** [October 12, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/description-what-is-it/150753 "2008-10-12T20:12:02Z")

</div>

I read a class like this.what’s the description work for? class Employee description “xxxxxxxx” #some code continue here end

---

## [Rails 2.1 cache problem](https://www.ruby-forum.com/t/rails-2-1-cache-problem/143987)

<div class="topic-metadata">

**Author:** [@Dmitrij\_S](https://www.ruby-forum.com/u/Dmitrij_S)\
**Replies:** 3\
**Last updated:** [September 17, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/rails-2-1-cache-problem/143987 "2008-09-17T22:20:46Z")

</div>

Hi, class User \< ActiveRecord::Base def self.get\_cache(id) Rails.cache.fetch(“users/#{id}”) { find(id) } end end Accesing a cached model object immediately after caching works as expected: User.get\_cache(1).cache…

---

## [Basics questions on rails](https://www.ruby-forum.com/t/basics-questions-on-rails/147401)

<div class="topic-metadata">

**Author:** [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Replies:** 3\
**Last updated:** [September 2, 2008, 12:11pm UTC](https://www.ruby-forum.com/t/basics-questions-on-rails/147401 "2008-09-02T12:11:47Z")

</div>

Hello, I started to use rails few weeks ago, and I have got basic question about it. There is a way to keep my form filled, after submit it (for example if I get errors) ? I would like to create a ‘tree’ with my…

---

## [Secure password storage](https://www.ruby-forum.com/t/secure-password-storage/145502)

<div class="topic-metadata">

**Author:** [@Jonathan\_Huizingh](https://www.ruby-forum.com/u/Jonathan_Huizingh)\
**Replies:** 3\
**Last updated:** [August 11, 2008, 11:38am UTC](https://www.ruby-forum.com/t/secure-password-storage/145502 "2008-08-11T11:38:48Z")

</div>

I am working on a project that needs to store the user’s login credentials for multiple other sites so that I can go and grab information for them. I am trying to figure out how to do this securely, but still make th…

---

## [Segfault - How do i find whats causing it?](https://www.ruby-forum.com/t/segfault-how-do-i-find-whats-causing-it/145512)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 3\
**Last updated:** [August 11, 2008, 7:27am UTC](https://www.ruby-forum.com/t/segfault-how-do-i-find-whats-causing-it/145512 "2008-08-11T07:27:42Z")

</div>

In my last couple of commits i’m getting a segfault, but i can’t work out what ruby function is causing it. Any suggestions on how I can work out what the issue is? Here is the trace from mongrel: \*\*\* glibc detected…

---

## [Handling exceptions in Threads](https://www.ruby-forum.com/t/handling-exceptions-in-threads/143126)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [July 16, 2008, 12:01pm UTC](https://www.ruby-forum.com/t/handling-exceptions-in-threads/143126 "2008-07-16T12:01:40Z")

</div>

Hello guys, I have made an multithreaded algorithm that triggers around a hundred concurrent threads. I have in fact, two versions of the same algorithm, one with threads and another with recursive calls. Each thread…

---

## [Limitations of all Ruby ORMs](https://www.ruby-forum.com/t/limitations-of-all-ruby-orms/139887)

<div class="topic-metadata">

**Author:** [@axyd80](https://www.ruby-forum.com/u/axyd80)\
**Replies:** 3\
**Last updated:** [July 12, 2008, 9:01am UTC](https://www.ruby-forum.com/t/limitations-of-all-ruby-orms/139887 "2008-07-12T09:01:15Z")

</div>

Hello, last days i investigated three ORM frameworks: ActiveRecords, DataMapper and Og. And found that they all shares almost same limitations (when i write ‘support’ i mean that tool allows to solve task ‘simply’ and …

---

## [Newbie Question On Ruby Quiz](https://www.ruby-forum.com/t/newbie-question-on-ruby-quiz/141717)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 3\
**Last updated:** [June 30, 2008, 10:45am UTC](https://www.ruby-forum.com/t/newbie-question-on-ruby-quiz/141717 "2008-06-30T10:45:24Z")

</div>

I’m a programming and Ruby newbie. I wanted to build some programs, so I started Best of Ruby Q… The first quiz is MadLibs (Ruby Quiz - Madlibs (#28)) and, given the answer, I can’t even get it to work. I have a rub…

---

## [ANN: Sequel 2.1.0 Released](https://www.ruby-forum.com/t/ann-sequel-2-1-0-released/140705)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 5:38am UTC](https://www.ruby-forum.com/t/ann-sequel-2-1-0-released/140705 "2008-06-18T05:38:32Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [Dynamic page caching directory based on subdomain name](https://www.ruby-forum.com/t/dynamic-page-caching-directory-based-on-subdomain-name/139411)

<div class="topic-metadata">

**Author:** [@sucrenoir](https://www.ruby-forum.com/u/sucrenoir)\
**Replies:** 3\
**Last updated:** [June 4, 2008, 1:28pm UTC](https://www.ruby-forum.com/t/dynamic-page-caching-directory-based-on-subdomain-name/139411 "2008-06-04T13:28:24Z")

</div>

I am looking for the best way to set the cache directory based on the subdomain. Example : if the subdomain host is fr.mydomain.com, i want to cache the file in ROOT/cache/fr and if it is en.mydomain.com, i want to c…

---

## [Model.update and associations](https://www.ruby-forum.com/t/model-update-and-associations/133023)

<div class="topic-metadata">

**Author:** [@simonr](https://www.ruby-forum.com/u/simonr)\
**Replies:** 3\
**Last updated:** [March 27, 2008, 12:30pm UTC](https://www.ruby-forum.com/t/model-update-and-associations/133023 "2008-03-27T12:30:29Z")

</div>

Hi all, Just a strange little one I came across this afternoon, I’d much appreciate any thoughts any of you might have on it… I was just implementing a small AJAX list sorter on a project, however when I passed the “…

---

## [Help with schedule and pdf](https://www.ruby-forum.com/t/help-with-schedule-and-pdf/132515)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 10:57am UTC](https://www.ruby-forum.com/t/help-with-schedule-and-pdf/132515 "2008-03-21T10:57:59Z")

</div>

I would like to be able to do this: I want to generate a pdf all Fridays at an specific time. This pdf should be stored in an specific place too. So I think something that makes the application able to look at what ti…

---

## [How to visualize mandatory fields](https://www.ruby-forum.com/t/how-to-visualize-mandatory-fields/132046)

<div class="topic-metadata">

**Author:** [@html-kurs](https://www.ruby-forum.com/u/html-kurs)\
**Replies:** 3\
**Last updated:** [March 16, 2008, 3:34pm UTC](https://www.ruby-forum.com/t/how-to-visualize-mandatory-fields/132046 "2008-03-16T15:34:48Z")

</div>

Hi, I’d like to display an input form with some mandatory fields (e.g. with an extra “"). Some fields aren’t mandatory ( so they don’t get the "”). How do I get the information about the field if there’s an “valida…

---

## [Using ERB in $() function?](https://www.ruby-forum.com/t/using-erb-in-function/128524)

<div class="topic-metadata">

**Author:** [@hashpipe](https://www.ruby-forum.com/u/hashpipe)\
**Replies:** 3\
**Last updated:** [February 8, 2008, 1:16pm UTC](https://www.ruby-forum.com/t/using-erb-in-function/128524 "2008-02-08T13:16:02Z")

</div>

Hi, I am new to Ajax, and I was wondering if it is possible to have an id passed to a $() function in runtime. Like I am generating id for an article at runtime doing something like id=article-\<%= article.id %\> Now …

---

## [Development Cycle](https://www.ruby-forum.com/t/development-cycle/128006)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 3\
**Last updated:** [February 4, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/development-cycle/128006 "2008-02-04T17:10:28Z")

</div>

Hey guys, I’m trying to work out the order of development for features in an app. I’m struggling with using stories to drive development. So when looking at things, it seems to me to be the best idea to first write s…

---

## [Rails hangs after inactivity](https://www.ruby-forum.com/t/rails-hangs-after-inactivity/127842)

<div class="topic-metadata">

**Author:** [@quirk07](https://www.ruby-forum.com/u/quirk07)\
**Replies:** 3\
**Last updated:** [February 2, 2008, 1:07am UTC](https://www.ruby-forum.com/t/rails-hangs-after-inactivity/127842 "2008-02-02T01:07:27Z")

</div>

I’m running ruby 1.8.6, WEBrick 1.3.1, & MySQL. On Localhost:3000. It works fine but if it sits idle for a few hours or more, it will hang and I needs to be restarted. Read similar problem before, said it has somethi…

---

## [Problema fixtures](https://www.ruby-forum.com/t/problema-fixtures/127213)

<div class="topic-metadata">

**Author:** [@cpecchia](https://www.ruby-forum.com/u/cpecchia)\
**Replies:** 3\
**Last updated:** [January 26, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/problema-fixtures/127213 "2008-01-26T13:34:55Z")

</div>

Salve ragazzi, ho riscontrato la seguente stranezza con le fixtures. Ho due modelli: class Entity \< ActiveRecord::Base has\_many :users belongs\_to :owner, :class\_name =\> ‘User’ validates\_presence\_of :owner end cla…

---

## [How to monitor an Array's change?](https://www.ruby-forum.com/t/how-to-monitor-an-arrays-change/125563)

<div class="topic-metadata">

**Author:** [@Magicloud\_M](https://www.ruby-forum.com/u/Magicloud_M)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 8:03am UTC](https://www.ruby-forum.com/t/how-to-monitor-an-arrays-change/125563 "2008-01-11T08:03:06Z")

</div>

Hello, Array under .net has some event on content changing. How to do monitor like this in ruby? Thanks.

---

## [Rforum download](https://www.ruby-forum.com/t/rforum-download/119971)

<div class="topic-metadata">

**Author:** [@ashabb\_uk](https://www.ruby-forum.com/u/ashabb_uk)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/rforum-download/119971 "2007-11-12T16:47:53Z")

</div>

Hi I am new to ruby on rails, I am using an apple mac and I am trying to download the rforum package for the mac osx but it appears to be a scrambled code which opens in the same page rather then being a zip file. I…

---

## [Making a RoR site search index friendly](https://www.ruby-forum.com/t/making-a-ror-site-search-index-friendly/118265)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/making-a-ror-site-search-index-friendly/118265 "2007-10-25T22:37:52Z")

</div>

I’ve added http://guildcorner.org/ to Google about a week ago, and uploaded a site map (in fact, the site map is dynamic and lists every character and guild currently registered.) I’ve seen googlebot hitting the site.…

---

## [Puts from #!, but with data structure chrome](https://www.ruby-forum.com/t/puts-from-but-with-data-structure-chrome/118279)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 11:50am UTC](https://www.ruby-forum.com/t/puts-from-but-with-data-structure-chrome/118279 "2007-10-25T11:50:01Z")

</div>

When playing with small scripts and using puts to output some results, I find it rather disappointing that outputting an array or hash does not have the data structure chrome of \[ \] and { } – I know IRB does this, but…

---

## [INSERTS with MS SQL Server columns with newid() default values](https://www.ruby-forum.com/t/inserts-with-ms-sql-server-columns-with-newid-default-values/115524)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/inserts-with-ms-sql-server-columns-with-newid-default-values/115524 "2007-09-25T23:41:07Z")

</div>

My first steps in RoR … and it turns into a bad dream when it come to SQL Server! I have this table ‘Tbl\_People’, with 2 fields id\_People primary key, automatically generated by SQL Server with newid() default…

---

## [Capture File format](https://www.ruby-forum.com/t/capture-file-format/103644)

<div class="topic-metadata">

**Author:** [@Jeffrey\_K](https://www.ruby-forum.com/u/Jeffrey_K)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/capture-file-format/103644 "2007-09-25T23:04:19Z")

</div>

Hello. I have an array in MATLAB that is the IQ data in complex form of a capture from my hardware. I wish to now feed this to GNURadio. What format do I export/save this array to file? Are there any example .m fil…

---

## [How to read values dynamically](https://www.ruby-forum.com/t/how-to-read-values-dynamically/114451)

<div class="topic-metadata">

**Author:** [@ruby](https://www.ruby-forum.com/u/ruby)\
**Replies:** 3\
**Last updated:** [September 14, 2007, 10:49am UTC](https://www.ruby-forum.com/t/how-to-read-values-dynamically/114451 "2007-09-14T10:49:35Z")

</div>

In ruby, is there any way to read the values from a fileI am actually giving the values in the code itself. Is there a way to read the value dynamically

---

## [How to find the full path of a file in a present in a direct](https://www.ruby-forum.com/t/how-to-find-the-full-path-of-a-file-in-a-present-in-a-direct/112897)

<div class="topic-metadata">

**Author:** [@advait](https://www.ruby-forum.com/u/advait)\
**Replies:** 3\
**Last updated:** [August 24, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/how-to-find-the-full-path-of-a-file-in-a-present-in-a-direct/112897 "2007-08-24T14:15:47Z")

</div>

Hi, I need to know how to determine the full path of o file which is present in a directory.

---

## [HOWTO generate the skeleton of rails](https://www.ruby-forum.com/t/howto-generate-the-skeleton-of-rails/196442)

<div class="topic-metadata">

**Author:** [@hhifnawi](https://www.ruby-forum.com/u/hhifnawi)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 4:02am UTC](https://www.ruby-forum.com/t/howto-generate-the-skeleton-of-rails/196442 "2007-08-22T04:02:12Z")

</div>

NEED help: My group are working on rails IDE and we’re in the wizard part now and we’re trying to generate the Rails skeleton and we looked in the rubygems and found in gems/1.8/gems/rails-1.2.2/lib/rails\_generator/g…

---

## [Plays well with others?](https://www.ruby-forum.com/t/plays-well-with-others/112631)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/plays-well-with-others/112631 "2007-08-21T22:04:48Z")

</div>

I’m at a large company with a world-wide SQL database. I’ve been asked to create an application which is going to start as a reporting tool, but will eventually (nlt v 1.4), start writing data. As usual, corporate I…

---

## [Regexp riddle; escaping escapes](https://www.ruby-forum.com/t/regexp-riddle-escaping-escapes/112330)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 3\
**Last updated:** [August 17, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/regexp-riddle-escaping-escapes/112330 "2007-08-17T17:41:06Z")

</div>

Rubies: Someone didn’t escape their & in their HTML correctly. Let’s fix it. This regexp correctly does not escape &dude, because we only want to escape raw & markers: p “yo &dude”.gsub(/&(\[^a-z\])/i, ‘&\\1’) That pa…

---

## [Running Rails as fast as possible on Cygwin?](https://www.ruby-forum.com/t/running-rails-as-fast-as-possible-on-cygwin/111803)

<div class="topic-metadata">

**Author:** [@michau](https://www.ruby-forum.com/u/michau)\
**Replies:** 3\
**Last updated:** [August 11, 2007, 3:39am UTC](https://www.ruby-forum.com/t/running-rails-as-fast-as-possible-on-cygwin/111803 "2007-08-11T03:39:55Z")

</div>

Helo, I’m running my RoR on Cygwin under WinXP. I was wondering if there is a way to make it work faster. There are many situations where it takes ages to wait for the result, e.g. running autotest - I have to wait lo…

---

## [Hpricot question](https://www.ruby-forum.com/t/hpricot-question/109808)

<div class="topic-metadata">

**Author:** [@apie](https://www.ruby-forum.com/u/apie)\
**Replies:** 3\
**Last updated:** [July 19, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/hpricot-question/109808 "2007-07-19T20:28:34Z")

</div>

I’m a total hpricot newbie, so this is only out of curiousity… Is the following expected behaviour? I found this while struggling through a nasty xml parsing bug. hstr = Hpricot(‘c’).to\_s #or to\_html returns =\> ‘c’ I…

---

## [Rails does not auto-re-read files in /lib in devel mode?](https://www.ruby-forum.com/t/rails-does-not-auto-re-read-files-in-lib-in-devel-mode/105722)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 3\
**Last updated:** [June 1, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/rails-does-not-auto-re-read-files-in-lib-in-devel-mode/105722 "2007-06-01T20:13:15Z")

</div>

In development mode my understanding is that Rails re-reads every file each time a client does something in order to make sure any new code is implemented. Bt it doesn’t seem to do this with files in /lib - is there a…

---

## [Randomize array content](https://www.ruby-forum.com/t/randomize-array-content/105320)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 28, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/randomize-array-content/105320 "2007-05-28T20:51:04Z")

</div>

Hello, After 2 months working with ruby i still bump to some of those: what would be the simplest way (couldn’t find a rand method) to achieve a subject’s task? thanks! t

---

## [Need some help with controlers](https://www.ruby-forum.com/t/need-some-help-with-controlers/105247)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [May 28, 2007, 3:03am UTC](https://www.ruby-forum.com/t/need-some-help-with-controlers/105247 "2007-05-28T03:03:35Z")

</div>

I am tring to set up a my directory structure for the pages. Right now i have /admin/news.rhtml and admin and news are controlers. Now i need to make the news section to be the place where i add all the news articals …

---

## [Acts\_as\_ferret; one search over multiple models?](https://www.ruby-forum.com/t/acts-as-ferret-one-search-over-multiple-models/103724)

<div class="topic-metadata">

**Author:** [@jdruse](https://www.ruby-forum.com/u/jdruse)\
**Replies:** 3\
**Last updated:** [May 10, 2007, 2:05am UTC](https://www.ruby-forum.com/t/acts-as-ferret-one-search-over-multiple-models/103724 "2007-05-10T02:05:11Z")

</div>

So i’ve been reading acts\_as\_ferret for about 3 days now and still have not figured out how to create one search over all my models. that way when people search my site, they can actually find what they’re looking fo…

---

## [Editing a text file](https://www.ruby-forum.com/t/editing-a-text-file/93138)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 3\
**Last updated:** [April 30, 2007, 11:26am UTC](https://www.ruby-forum.com/t/editing-a-text-file/93138 "2007-04-30T11:26:22Z")

</div>

There is a task to edit a text file. It is entirely possible that multiple people are going to be running the ruby script that edits this file at the same time. I have looked at Ruby cookbook recipe 6.13 and 20.11. …

---

## [Exec with string in variables?](https://www.ruby-forum.com/t/exec-with-string-in-variables/92259)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 3\
**Last updated:** [April 18, 2007, 7:33am UTC](https://www.ruby-forum.com/t/exec-with-string-in-variables/92259 "2007-04-18T07:33:03Z")

</div>

Hi, i have something like this and more in perl and would transform it to ruby. First i changed system to exec and than the points to plus , but the strings which are in the scalar’s seems not be applied in the ex…

---

## [Railsplayground MIA?](https://www.ruby-forum.com/t/railsplayground-mia/91918)

<div class="topic-metadata">

**Author:** [@xia](https://www.ruby-forum.com/u/xia)\
**Replies:** 3\
**Last updated:** [April 14, 2007, 2:57am UTC](https://www.ruby-forum.com/t/railsplayground-mia/91918 "2007-04-14T02:57:06Z")

</div>

Is anyone else having trouble getting in contact with railsplayground? I haven’t had even an automated response to support requests all week, and my forum registration is still pending. The toll free number on their s…

---

## [Get content in a xml element using hpricot](https://www.ruby-forum.com/t/get-content-in-a-xml-element-using-hpricot/91906)

<div class="topic-metadata">

**Author:** [@Bonita](https://www.ruby-forum.com/u/Bonita)\
**Replies:** 3\
**Last updated:** [April 13, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/get-content-in-a-xml-element-using-hpricot/91906 "2007-04-13T12:50:52Z")

</div>

Hi I’m using hpricot to parse the following file. \[from morwyn\] \* HTML for the Conceptually Challenged http://del.icio.us/url/50666d1a3fe2b942b20819ec2919d2b7#morwyn HTML for the Conceptually Challenged. Very basic t…

---

## [Rake rails:freeze:edge \[ERROR: Must have subversion (svn)\]](https://www.ruby-forum.com/t/rake-railsedge-error-must-have-subversion-svn/88399)

<div class="topic-metadata">

**Author:** [@san](https://www.ruby-forum.com/u/san)\
**Replies:** 3\
**Last updated:** [March 10, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/rake-railsedge-error-must-have-subversion-svn/88399 "2007-03-10T16:29:01Z")

</div>

Hola! como estan?, para ver si me pueden ayudar con este error. C:\\workbench\\blog\>rake rails:freeze:edge (in C:/workbench/blog) ERROR: Must have subversion (svn) available in the PATH to lock this application to Edge…

---

## [Debugging Ruby](https://www.ruby-forum.com/t/debugging-ruby/85513)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 3\
**Last updated:** [February 14, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/debugging-ruby/85513 "2007-02-14T15:42:29Z")

</div>

I am starting chapter 13 or Programming Ruby trying to debug the following factorial program (in file t.rb) on page 163: def fact(n) if n \<= 0 1 else n \* fact(n -1) end end p fact(5) When I run the command: ru…

---

## [Buffer problem](https://www.ruby-forum.com/t/buffer-problem/83324)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 25, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/buffer-problem/83324 "2007-01-25T13:45:44Z")

</div>

I am trying to spider a site using Hpricot, but I keep getting out of buffer error. It will only let me do about two sites at a time, is there a way to clear the buffer after I process each page so I won’t blow the bu…

---

## [New column "can't be blank," but it's not](https://www.ruby-forum.com/t/new-column-cant-be-blank-but-its-not/78734)

<div class="topic-metadata">

**Author:** [@justinskolnick](https://www.ruby-forum.com/u/justinskolnick)\
**Replies:** 3\
**Last updated:** [December 9, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/new-column-cant-be-blank-but-its-not/78734 "2006-12-09T18:21:33Z")

</div>

I’ve added a new column, “offset”, to my “users” table, set the corresponding model to validate\_presence\_of offset, and added the field to my “add user” view: \<%= select(“user”, “offset”, %w{ -6 }) %\> (Simplified her…

---

## [Que librerias necesito](https://www.ruby-forum.com/t/que-librerias-necesito/78433)

<div class="topic-metadata">

**Author:** [@jasv](https://www.ruby-forum.com/u/jasv)\
**Replies:** 3\
**Last updated:** [December 5, 2006, 10:20pm UTC](https://www.ruby-forum.com/t/que-librerias-necesito/78433 "2006-12-05T22:20:44Z")

</div>

En esta ocaciÃ³n quiero consultar sobre los requerimientos de ruby para ser funcional estoy trabajando con kubuntu dapper drake y he instalado ruby desde el adept, luego instalÃ© gem desde los fuentes y rails desde g…

---

## [ANN: RuPy Ruby & Python Conference 2007](https://www.ruby-forum.com/t/ann-rupy-ruby-python-conference-2007/77305)

<div class="topic-metadata">

**Author:** [@Katarzyna\_Bylec](https://www.ruby-forum.com/u/Katarzyna_Bylec)\
**Replies:** 3\
**Last updated:** [November 26, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/ann-rupy-ruby-python-conference-2007/77305 "2006-11-26T20:44:59Z")

</div>

Hello, we would like to invite you to one of the biggest Ruby and Python events in central-eastern Europe next year. RuPy Conference dedicated to Ruby and Python programming languages will take place in April 14-15, …

---

## [Recent RubyForge downtime](https://www.ruby-forum.com/t/recent-rubyforge-downtime/76454)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 3\
**Last updated:** [November 20, 2006, 3:23pm UTC](https://www.ruby-forum.com/t/recent-rubyforge-downtime/76454 "2006-11-20T15:23:56Z")

</div>

Hi all - Just wanted to post about the recent RubyForge downtime. Basically it was a cron job mistake on my part one evening, which is fixed, and I think it was a ViewVC problem the next time, and I’m looking into th…

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

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