# Top

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

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

---

## [Storing images: filesystem or database?](https://www.ruby-forum.com/t/storing-images-filesystem-or-database/58641)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 3\
**Last updated:** [April 24, 2006, 3:02pm UTC](https://www.ruby-forum.com/t/storing-images-filesystem-or-database/58641 "2006-04-24T15:02:23Z")

</div>

For a while i’ve been storing image in my PHP apps in the filesystem, but with the potential for a Rails project coming up i thought it was time for a review :0) In everyone’s experience, is it best to store uploaded …

---

## [Unit tests executed for every page load?](https://www.ruby-forum.com/t/unit-tests-executed-for-every-page-load/54716)

<div class="topic-metadata">

**Author:** [@gkogler](https://www.ruby-forum.com/u/gkogler)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/unit-tests-executed-for-every-page-load/54716 "2006-04-10T16:35:10Z")

</div>

After I installed the very sweet file\_column plugin I get strange output on my html pages. At the very end I always get something like this: "Loaded suite dispatch.cgi Started Finished in 0.000218 seconds. 0 tests, 0 …

---

## [How to 'space' certain things apart?](https://www.ruby-forum.com/t/how-to-space-certain-things-apart/89827)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 29, 2006, 11:34am UTC](https://www.ruby-forum.com/t/how-to-space-certain-things-apart/89827 "2006-03-29T11:34:08Z")

</div>

Hi, I’m trying to learn a programming language and this one came up in my searches as a fairly easy one. I’ve never taken any courses and have absolutely zero knowledge of programming or scripting. The main reason I …

---

## [Switch...err Capistrano hangs](https://www.ruby-forum.com/t/switch-err-capistrano-hangs/55442)

<div class="topic-metadata">

**Author:** [@joshua\_s](https://www.ruby-forum.com/u/joshua_s)\
**Replies:** 3\
**Last updated:** [March 22, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/switch-err-capistrano-hangs/55442 "2006-03-22T18:30:42Z")

</div>

I’m having a little bit of difficulty deploying my app. I’ve run the setup and it works with Cap, but when I try to deploy it hangs at “querying latest revision”. I can access my svn locally (I’m on a windows xp sp2…

---

## [Adding Gems and Plugins To A Shared Hosting Account?](https://www.ruby-forum.com/t/adding-gems-and-plugins-to-a-shared-hosting-account/54939)

<div class="topic-metadata">

**Author:** [@conz](https://www.ruby-forum.com/u/conz)\
**Replies:** 3\
**Last updated:** [March 15, 2006, 9:24pm UTC](https://www.ruby-forum.com/t/adding-gems-and-plugins-to-a-shared-hosting-account/54939 "2006-03-15T21:24:40Z")

</div>

Hi, I have a hosting account with godaddy.com and I guess after asking about RoR, it’s now installed on both the Deluxe and Premium shared plans. Now, it seems that I don’t have command line access (i.e ssh). Thus, I…

---

## [Accessing associated models in a validate method](https://www.ruby-forum.com/t/accessing-associated-models-in-a-validate-method/65155)

<div class="topic-metadata">

**Author:** [@Eddie\_Hillenbrand](https://www.ruby-forum.com/u/Eddie_Hillenbrand)\
**Replies:** 3\
**Last updated:** [February 10, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/accessing-associated-models-in-a-validate-method/65155 "2006-02-10T16:48:02Z")

</div>

Why can’t I access an associated model in a validate method? I have some code that looks like the following: Models: class Product \< ActiveRecord::Base has\_many: upcs end class Upc \< ActiveRecord::Base belongs\_to…

---

## [Ruby xmlrpc/server incompatible?](https://www.ruby-forum.com/t/ruby-xmlrpc-server-incompatible/100129)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 3\
**Last updated:** [February 4, 2006, 12:26pm UTC](https://www.ruby-forum.com/t/ruby-xmlrpc-server-incompatible/100129 "2006-02-04T12:26:27Z")

</div>

I have had a Ruby xmlrpc/server instance running for awhile now. Using both Ruby and Python xmlrpc client apps I have been able to successfully pass information back and forth. Trying a Dolphin Smalltalk xmlrpc client…

---

## [Date conversion](https://www.ruby-forum.com/t/date-conversion/51601)

<div class="topic-metadata">

**Author:** [@jhernandez](https://www.ruby-forum.com/u/jhernandez)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/date-conversion/51601 "2006-01-05T17:44:46Z")

</div>

I have the date saved in a database in the following format ‘20060102170020’. How do I go about converting the date in the format of January, 01, 1901? I searched all over and found something similiar using ‘to\_format…

---

## [Downcasing Legacy Table Column Names](https://www.ruby-forum.com/t/downcasing-legacy-table-column-names/49143)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 3\
**Last updated:** [December 1, 2005, 3:56pm UTC](https://www.ruby-forum.com/t/downcasing-legacy-table-column-names/49143 "2005-12-01T15:56:51Z")

</div>

I’m looking for the simplest way to automatically downcase the attribute names of Models mapped to legacy tables that use upper case. eg: class Workorder \< ActiveRecord::Base set\_table\_name “WORKORDER” end which ha…

---

## [WebServices & Ruby on Rails](https://www.ruby-forum.com/t/webservices-ruby-on-rails/48687)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [November 30, 2005, 6:07pm UTC](https://www.ruby-forum.com/t/webservices-ruby-on-rails/48687 "2005-11-30T18:07:37Z")

</div>

Hi, basically I have two questions: Is it possible to call WebServices via SOAP with Ruby? I thought of generation of client using WSDL and reading e.g. data from another system using SOAP. How is this done and how …

---

## [Appointment History template page](https://www.ruby-forum.com/t/appointment-history-template-page/197529)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [October 18, 2010, 6:42pm UTC](https://www.ruby-forum.com/t/appointment-history-template-page/197529 "2010-10-18T18:42:28Z")

</div>

Ok so I got an Appointments page (index.html.erb) How would I go about adding an Appointment History page? adding a history.html.erb and editing my routes? or use some kind of get parameter (e.g. /appointments/hist…

---

## [YAML interpretation](https://www.ruby-forum.com/t/yaml-interpretation/172565)

<div class="topic-metadata">

**Author:** [@gganesh](https://www.ruby-forum.com/u/gganesh)\
**Replies:** 6\
**Last updated:** [July 24, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/yaml-interpretation/172565 "2009-07-24T16:30:05Z")

</div>

I have one array in ruby as, arr= \[1, 2, ‘5’, ‘one’, ‘two’, ‘three’, “4,6”\] as after doing arr.to\_yaml, it prints as, 1 2 “5” one two three “4,6” This is my problem. It shows “4,6” as string (double-quoted) and (o…

---

## [Number of entries](https://www.ruby-forum.com/t/number-of-entries/157619)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 6\
**Last updated:** [January 14, 2009, 4:19am UTC](https://www.ruby-forum.com/t/number-of-entries/157619 "2009-01-14T04:19:37Z")

</div>

I use will\_paginate to get results: @results = Users.paginate(:all, :conditions =\> "… But how can I get a number of reults?

---

## [Configuring custom library](https://www.ruby-forum.com/t/configuring-custom-library/147898)

<div class="topic-metadata">

**Author:** [@javinto](https://www.ruby-forum.com/u/javinto)\
**Replies:** 6\
**Last updated:** [September 8, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/configuring-custom-library/147898 "2008-09-08T22:51:20Z")

</div>

Hi, I’ve added a custom library called lib\\AccountSystem like so: "module AccountSystem SINGLE = 1 MULTIPLE = 2 class \<\< self attr\_accessor :account\_system\_type end end" Now I wanna configure AccountSystem.acc…

---

## [Ruby On Rails Book](https://www.ruby-forum.com/t/ruby-on-rails-book/133100)

<div class="topic-metadata">

**Author:** [@israel](https://www.ruby-forum.com/u/israel)\
**Replies:** 6\
**Last updated:** [March 27, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-book/133100 "2008-03-27T21:02:49Z")

</div>

Hi, I’m going to buy only one book of Rails, what book do you recommend ? Regards. Israel.

---

## [Unit Tests of Models w/o Tables](https://www.ruby-forum.com/t/unit-tests-of-models-w-o-tables/119754)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 6\
**Last updated:** [November 10, 2007, 7:25am UTC](https://www.ruby-forum.com/t/unit-tests-of-models-w-o-tables/119754 "2007-11-10T07:25:49Z")

</div>

AWDWR focuses on unit tests for models with database tables. There’s no discussion for models w/o tables that I can see. First attempts kept complaining about data tables not existing. I figured out this seems to come…

---

## [Problem with has\_many :through association](https://www.ruby-forum.com/t/problem-with-has-many-through-association/116167)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 6\
**Last updated:** [October 4, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/problem-with-has-many-through-association/116167 "2007-10-04T19:10:25Z")

</div>

I have the following models class Caregiver \< ActiveRecord::Base has\_many :call\_orders has\_many :users, :through =\> :call\_orders end class User \< ActiveRecord::Base has\_many :call\_orders, :order =\> :position has\_many…

---

## [Which IDE has the best SVN integration?](https://www.ruby-forum.com/t/which-ide-has-the-best-svn-integration/115980)

<div class="topic-metadata">

**Author:** [@CCH](https://www.ruby-forum.com/u/CCH)\
**Replies:** 6\
**Last updated:** [October 3, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/which-ide-has-the-best-svn-integration/115980 "2007-10-03T21:26:21Z")

</div>

Hi AFAIK, Aptana RadRails, Netbeans RubyIDE and 3rdRail have SVN integration support. Which of these IDEs have the best SVN integration and why ?

---

## [Difficult RoR Project](https://www.ruby-forum.com/t/difficult-ror-project/111076)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [August 2, 2007, 2:11pm UTC](https://www.ruby-forum.com/t/difficult-ror-project/111076 "2007-08-02T14:11:56Z")

</div>

Hi, I’m currently working on a data analysis project that involves analysing and then injecting to my main database data held on a number of different remote servers. My main RoR application is basically a web viewer…

---

## [Address server](https://www.ruby-forum.com/t/address-server/80949)

<div class="topic-metadata">

**Author:** [@marco](https://www.ruby-forum.com/u/marco)\
**Replies:** 6\
**Last updated:** [January 3, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/address-server/80949 "2007-01-03T12:46:05Z")

</div>

Hi Do you know a method for find address of the server ? I have to do an “if” to find if I am in localhost:3000 or in Thank you an happy new year. Marco

---

## [When to Write Validation Code?](https://www.ruby-forum.com/t/when-to-write-validation-code/78471)

<div class="topic-metadata">

**Author:** [@toro04](https://www.ruby-forum.com/u/toro04)\
**Replies:** 6\
**Last updated:** [December 6, 2006, 2:01am UTC](https://www.ruby-forum.com/t/when-to-write-validation-code/78471 "2006-12-06T02:01:38Z")

</div>

I’m writing a blog post on validation in Rails, and I would like to get some opinions on when is the best time to write validation code? My tendency is to save them till last, but I know many people write them first t…

---

## [Access to mixed in method straight after its been mixedin?](https://www.ruby-forum.com/t/access-to-mixed-in-method-straight-after-its-been-mixedin/67859)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 6\
**Last updated:** [September 8, 2006, 11:15am UTC](https://www.ruby-forum.com/t/access-to-mixed-in-method-straight-after-its-been-mixedin/67859 "2006-09-08T11:15:43Z")

</div>

Hi, Can’t I access methods directly after they have been mixed in? In the code below I get an error at the marked location “undefined local variable or method \`current\_user’ for ApplicationController:Class” even thou…

---

## [Column.name](https://www.ruby-forum.com/t/column-name/67770)

<div class="topic-metadata">

**Author:** [@Biagio\_M](https://www.ruby-forum.com/u/Biagio_M)\
**Replies:** 6\
**Last updated:** [September 6, 2006, 7:04pm UTC](https://www.ruby-forum.com/t/column-name/67770 "2006-09-06T19:04:26Z")

</div>

Questo non funziona \<% if column.name == ‘data\_fattura’ %\> e neppure questo \<% if column.name == ‘data\_fattura’ %\> errore: undefined method \`data’ for #Hardware:0x3849d94 Certamente qualcuno potrÃ spiegarmene il m…

---

## [Getting started w/ Ruby on Rails](https://www.ruby-forum.com/t/getting-started-w-ruby-on-rails/102083)

<div class="topic-metadata">

**Author:** [@gustav](https://www.ruby-forum.com/u/gustav)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/getting-started-w-ruby-on-rails/102083 "2006-08-15T14:18:57Z")

</div>

Hi, I would like to get started with RoR, since it seems to be a terriffic platform for Webdevelopment. However, I’m unsure what “level” you need to be on in terms of programming to get started? Best regards, Gustav …

---

## [How odd is Ruby code allowed to be?](https://www.ruby-forum.com/t/how-odd-is-ruby-code-allowed-to-be/64200)

<div class="topic-metadata">

**Author:** [@roggan](https://www.ruby-forum.com/u/roggan)\
**Replies:** 6\
**Last updated:** [June 24, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/how-odd-is-ruby-code-allowed-to-be/64200 "2006-06-24T19:08:10Z")

</div>

Ok, strange question maybe. Anyway, Im new to Ruby and I decided to make a small Aop lib just to learn all the nice things about ruby… so in my lib I can define an aspect like this: class MyAspect \< Aspect apply\_…

---

## [Problem With Ruby](https://www.ruby-forum.com/t/problem-with-ruby/218918)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [April 16, 2012, 1:39pm UTC](https://www.ruby-forum.com/t/problem-with-ruby/218918 "2012-04-16T13:39:43Z")

</div>

Specs: XCode 4.3.2, Mac OS X 10.7.3, RVM 1.12.3 (stable). I really need help with this so anything is appreciated. I installed Ruby 1.8.7, then needed to update to 1.9.3 so I found RVM. I installed RVM and then tried …

---

## [Equivalent to View Page Source; No AJAX](https://www.ruby-forum.com/t/equivalent-to-view-page-source-no-ajax/199411)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 24, 2010, 11:37pm UTC](https://www.ruby-forum.com/t/equivalent-to-view-page-source-no-ajax/199411 "2010-11-24T23:37:12Z")

</div>

I am developing a website that does not use AJAX. What I would like to be able to do on the server side is find the point in RoR (assuming it exists) where the HTML is “rendered” and capture that string so that I can …

---

## [Require command problem](https://www.ruby-forum.com/t/require-command-problem/190017)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 5\
**Last updated:** [June 12, 2010, 8:46am UTC](https://www.ruby-forum.com/t/require-command-problem/190017 "2010-06-12T08:46:53Z")

</div>

i have write a class ,use command to put in the /usr/lib/ruby/1.8/rubygems/Webmovie.rb sudo cp /tmp/Webmovie.rb /usr/lib/ruby/1.8/rubygems/Webmovie.rb Code.rb is my calss ,also in /usr/lib/ruby/1.8/rubygems/ pt@pt-…

---

## [Why this works not right](https://www.ruby-forum.com/t/why-this-works-not-right/180645)

<div class="topic-metadata">

**Author:** [@Eva](https://www.ruby-forum.com/u/Eva)\
**Replies:** 5\
**Last updated:** [December 25, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/why-this-works-not-right/180645 "2009-12-25T18:54:01Z")

</div>

Hi, Please take a look at below: def mytest return \[1…10\] end x = mytest x.each do |c| puts c end this works not as I expected. I want the output of: 1 2 3 4 5 6 7 8 9 10 But if I change return \[1…10\] …

---

## [Model Association Question](https://www.ruby-forum.com/t/model-association-question/169387)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 5\
**Last updated:** [June 3, 2009, 10:25pm UTC](https://www.ruby-forum.com/t/model-association-question/169387 "2009-06-03T22:25:59Z")

</div>

It seems like there may be a rails method for the following situation: model User has\_many :appointments model Appointment has\_one :instruction belongs\_to :user model Instruction belongs\_to :appointment I would l…

---

## [Session\[:aa\]\[:bb\]](https://www.ruby-forum.com/t/session-aa-bb/158137)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 5\
**Last updated:** [January 19, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/session-aa-bb/158137 "2009-01-19T22:01:31Z")

</div>

Why this doesn’t work? session\[:aa\]\[:bb\] = “xxx”

---

## [Vacation](https://www.ruby-forum.com/t/vacation/156321)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 5\
**Last updated:** [December 27, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/vacation/156321 "2008-12-27T16:01:50Z")

</div>

27.12-10.01 I will be on vacation.

---

## [USRP2 questions](https://www.ruby-forum.com/t/usrp2-questions/148777)

<div class="topic-metadata">

**Author:** [@Juha\_V](https://www.ruby-forum.com/u/Juha_V)\
**Replies:** 5\
**Last updated:** [November 10, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/usrp2-questions/148777 "2008-11-10T14:24:11Z")

</div>

What does it mean that USRP2 can only do MIMO with eight receivers? What are the options for doing MIMO with, say 16 receviers? Why are there two A/D converters if you can only use one RX daughtercard? Or can you actu…

---

## [\[NEWBIE\] Error redirection](https://www.ruby-forum.com/t/newbie-error-redirection/149746)

<div class="topic-metadata">

**Author:** [@FMFMFM](https://www.ruby-forum.com/u/FMFMFM)\
**Replies:** 5\
**Last updated:** [September 29, 2008, 2:10pm UTC](https://www.ruby-forum.com/t/newbie-error-redirection/149746 "2008-09-29T14:10:05Z")

</div>

Dear all, I am learning Rails and to do so I am writing a blogging system. So far everything is going well but now I have a problem and I don’t know how to solve it. Basically the “article” page presents the current …

---

## [Working on a first plain Ruby script, need help with \`join'](https://www.ruby-forum.com/t/working-on-a-first-plain-ruby-script-need-help-with-join/142823)

<div class="topic-metadata">

**Author:** [@caiwangqin](https://www.ruby-forum.com/u/caiwangqin)\
**Replies:** 5\
**Last updated:** [July 11, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/working-on-a-first-plain-ruby-script-need-help-with-join/142823 "2008-07-11T21:31:25Z")

</div>

I need help in the block to create a csv file of these entries. the file, abridged: @verb\_index = " aah v 1 1 @ 1 0 00865776 abacinate v 1 1 @ 1 0 02168378 abandon v 5 4 @ ~ $ + 5 5 02228031 02227741 02076676 006133…

---

## [Suggestion: Enumerable#all?/any? with argument](https://www.ruby-forum.com/t/suggestion-enumerable-all-any-with-argument/141240)

<div class="topic-metadata">

**Author:** [@Farrel\_L](https://www.ruby-forum.com/u/Farrel_L)\
**Replies:** 5\
**Last updated:** [June 24, 2008, 9:35am UTC](https://www.ruby-forum.com/t/suggestion-enumerable-all-any-with-argument/141240 "2008-06-24T09:35:26Z")

</div>

I was thinking about Enumerable (one of Ruby’s more powerful modules) and I was wondering whether the following proposal to extend Enumerable#all?/any? would have any merit. In a nutshell I think any? and all? shoul…

---

## [Ruby on Rails 2.1 Tutorial](https://www.ruby-forum.com/t/ruby-on-rails-2-1-tutorial/140533)

<div class="topic-metadata">

**Author:** [@mcmohd](https://www.ruby-forum.com/u/mcmohd)\
**Replies:** 5\
**Last updated:** [June 16, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-2-1-tutorial/140533 "2008-06-16T13:54:50Z")

</div>

Hi, I have put all the basic things in place and you will find it a working tutorial for Ruby on Rails 2.1. I have covered Model, Controller and Views in detail and you will find a nice example on scaffolding. If …

---

## [Displaying/running ruby tags in static HTML](https://www.ruby-forum.com/t/displaying-running-ruby-tags-in-static-html/136139)

<div class="topic-metadata">

**Author:** [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Replies:** 5\
**Last updated:** [April 30, 2008, 11:52am UTC](https://www.ruby-forum.com/t/displaying-running-ruby-tags-in-static-html/136139 "2008-04-30T11:52:42Z")

</div>

Hi all. greetings… I have came across a situation where I let CMS user/admin on my site to create a page with the HTML editor(tiny\_mce)and he wants me to run some ruby code to generate the dynamic content through that…

---

## [Bring out an some size window when click a link in an ajax](https://www.ruby-forum.com/t/bring-out-an-some-size-window-when-click-a-link-in-an-ajax/134709)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 5\
**Last updated:** [April 21, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/bring-out-an-some-size-window-when-click-a-link-in-an-ajax/134709 "2008-04-21T17:25:04Z")

</div>

i want to ask you how to make an ajax call to bring out an some size window when click a link.Just tell me the outline instead of detail about how to.Thank you!

---

## [Problem installin rails](https://www.ruby-forum.com/t/problem-installin-rails/120634)

<div class="topic-metadata">

**Author:** [@ramesh](https://www.ruby-forum.com/u/ramesh)\
**Replies:** 5\
**Last updated:** [November 21, 2007, 1:13pm UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634 "2007-11-21T13:13:18Z")

</div>

i have rubygems installed. trying to install rails using the command: gem install rails -v1.2.5, it gives me the error: ERROR: while executing gem … (Gem::RemoteFetcher::FetchError) getaddrinfo: Temporary failure in n…

---

## [Ruby for arranging fencing competitions](https://www.ruby-forum.com/t/ruby-for-arranging-fencing-competitions/117394)

<div class="topic-metadata">

**Author:** [@milo](https://www.ruby-forum.com/u/milo)\
**Replies:** 5\
**Last updated:** [October 16, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/ruby-for-arranging-fencing-competitions/117394 "2007-10-16T20:51:12Z")

</div>

Sport fencing competitions are organised in pools, where every fencer fences every other and the total score is totted up at the end. Sheets like this are used to keep track of which bouts have been played and what th…

---

## [Gem Update Problems](https://www.ruby-forum.com/t/gem-update-problems/114167)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 5\
**Last updated:** [September 10, 2007, 8:33am UTC](https://www.ruby-forum.com/t/gem-update-problems/114167 "2007-09-10T08:33:05Z")

</div>

Hello all, I’m having problems using gem. I’m on Ubuntu Feisty, and when I try running ‘gem update’, it states “Bulk updating gem source index http://gems.rubyforge.org” and hangs there forever. Any idea what the p…

---

## [Funky character display in rails / mysql](https://www.ruby-forum.com/t/funky-character-display-in-rails-mysql/96314)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 5\
**Last updated:** [June 29, 2006, 10:00am UTC](https://www.ruby-forum.com/t/funky-character-display-in-rails-mysql/96314 "2006-06-29T10:00:05Z")

</div>

I’m getting complaints from one of my customers that characters in their text are getting mangled. This happens when they paste data into my textboxes in rails from MS word in particluar. Quotes are turning into quest…

---

## [How can i alter the validations error messages](https://www.ruby-forum.com/t/how-can-i-alter-the-validations-error-messages/64278)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [June 23, 2006, 9:00pm UTC](https://www.ruby-forum.com/t/how-can-i-alter-the-validations-error-messages/64278 "2006-06-23T21:00:26Z")

</div>

hello my name is reynaldo my question is the next. i want change the text of the validations error messages generated by ruby when you don’t wrote properly the data in the form.

---

## [Find last](https://www.ruby-forum.com/t/find-last/95332)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 5\
**Last updated:** [May 29, 2006, 5:18pm UTC](https://www.ruby-forum.com/t/find-last/95332 "2006-05-29T17:18:12Z")

</div>

This seems rather ugly. I am thinking that this needs to be in the model but I am looking to obtain the date for a tb test… @tb = Innoculation.find(:all, :conditions =\> \[“personnel\_id = 1 AND innoc\_type = ‘TB’”\], :…

---

## [Webrick startup error](https://www.ruby-forum.com/t/webrick-startup-error/61568)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 5\
**Last updated:** [May 25, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/webrick-startup-error/61568 "2006-05-25T21:44:33Z")

</div>

on: $ sudo webrick\_test.rb where webrick\_test.rb reads: #!/usr/local/bin/ruby require ‘webrick’ PORT = 8809 DOCUMENT\_ROOT = Dir.pwd s = WEBrick::HTTPServer.new :port =\> PORT, :DocumentRoot =\> DOCUMENT\_ROOT trap(…

---

## [Validates inclusion of include fails at plugin](https://www.ruby-forum.com/t/validates-inclusion-of-include-fails-at-plugin/239352)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 23, 2014, 11:37pm UTC](https://www.ruby-forum.com/t/validates-inclusion-of-include-fails-at-plugin/239352 "2014-02-23T23:37:43Z")

</div>

Hello, MyModel.rb, TYPES = { “type1” =\> 1 , “type2” =\> 2, “type3” =\> 3 }.freeze validates\_inclusion\_of :my\_type, :in =\> TYPES.keys MyModelPatch.rb, base.send(:remove\_const, :TYPES) base.\_validators\[:my\_type\].rejec…

---

## [Need help on Tmie#utc\_offset](https://www.ruby-forum.com/t/need-help-on-tmie-utc-offset/246294)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 27, 2013, 5:04pm UTC](https://www.ruby-forum.com/t/need-help-on-tmie-utc-offset/246294 "2013-09-27T17:04:59Z")

</div>

Hi, I was reading this method Class: Time (Ruby 2.0.0) and trying to understand,but seems not working for me. Follow the code: irb(main):001:0\> require ‘time’ =\> true irb(main):002:0\> irb(main):003:0\* t1 = Time.n…

---

## [Tutorial 1 (C++) QA testing](https://www.ruby-forum.com/t/tutorial-1-c-qa-testing/229788)

<div class="topic-metadata">

**Author:** [@Brooke\_H](https://www.ruby-forum.com/u/Brooke_H)\
**Replies:** 2\
**Last updated:** [February 12, 2013, 9:50am UTC](https://www.ruby-forum.com/t/tutorial-1-c-qa-testing/229788 "2013-02-12T09:50:37Z")

</div>

Martin, I’m creating a C++ block using the first tutorial like you assumed. I have re-done this tutorial about 10 times now. I have the latest version of GNU Radio installed. The part in the tutorial you pointed out…

---

## [How do you create a link to a resource that expires](https://www.ruby-forum.com/t/how-do-you-create-a-link-to-a-resource-that-expires/223321)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 29, 2012, 3:06pm UTC](https://www.ruby-forum.com/t/how-do-you-create-a-link-to-a-resource-that-expires/223321 "2012-09-29T15:06:22Z")

</div>

I would like to send a link to a user (via email) that expires after a period of time. When a user takes a certain action, they are emailed a link that allows them access to a certain resource. What I want to do is m…

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

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