# Top

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

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

---

## [Is there a centralized location (or link) by which to view a](https://www.ruby-forum.com/t/is-there-a-centralized-location-or-link-by-which-to-view-a/87355)

<div class="topic-metadata">

**Author:** [@gberz3](https://www.ruby-forum.com/u/gberz3)\
**Replies:** 3\
**Last updated:** [March 17, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/is-there-a-centralized-location-or-link-by-which-to-view-a/87355 "2007-03-17T21:19:57Z")

</div>

To my knowledge, I must manually open each “index” file as I desire to see them. Is there no plugin (or already created repository of which I’m simply not aware) that allows viewing of all RDoc in a project, centrall…

---

## [Unusual rendering behavior with render\_to\_string()](https://www.ruby-forum.com/t/unusual-rendering-behavior-with-render-to-string/75460)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [February 28, 2007, 9:08pm UTC](https://www.ruby-forum.com/t/unusual-rendering-behavior-with-render-to-string/75460 "2007-02-28T21:08:35Z")

</div>

I have an app. where I am generating PDF files. I use a .rxml template to generate content that I then write to a file using render\_to\_string(). That works fine, however, if I make a call to render(:text =\> ‘blah’) …

---

## [Newbie question on usersession](https://www.ruby-forum.com/t/newbie-question-on-usersession/86395)

<div class="topic-metadata">

**Author:** [@madmax](https://www.ruby-forum.com/u/madmax)\
**Replies:** 3\
**Last updated:** [February 25, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/newbie-question-on-usersession/86395 "2007-02-25T17:55:17Z")

</div>

all: prob a stupid question… new to ruby/rails. I have a working ruby on rails app on my server. However, i don’t provide authentication service. (login etc)… In my workplace, there is a centrally authenticated URL- …

---

## [How to delete a record with form data](https://www.ruby-forum.com/t/how-to-delete-a-record-with-form-data/84330)

<div class="topic-metadata">

**Author:** [@johan](https://www.ruby-forum.com/u/johan)\
**Replies:** 3\
**Last updated:** [February 3, 2007, 10:24am UTC](https://www.ruby-forum.com/t/how-to-delete-a-record-with-form-data/84330 "2007-02-03T10:24:15Z")

</div>

Hi fellow RoR’ers, I have a Rails app, where a user can subscribe and unsubscribe from a mailinglist. To unsubscribe, the user can fill in their email address in a form field. But I have no idea how to delete the rec…

---

## [MountainWest RubyConf: Open for Registration](https://www.ruby-forum.com/t/mountainwest-rubyconf-open-for-registration/82987)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 3\
**Last updated:** [January 22, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/mountainwest-rubyconf-open-for-registration/82987 "2007-01-22T23:01:54Z")

</div>

Wow! After months of hard work (and some wondering whether we were going to be able to pull this off) the MountainWest RubyConf is officially on. Head over to our site (sigh, yes, it’s an ugly little placeholder) an…

---

## [Help string](https://www.ruby-forum.com/t/help-string/81804)

<div class="topic-metadata">

**Author:** [@Gianluca](https://www.ruby-forum.com/u/Gianluca)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/help-string/81804 "2007-01-19T16:31:38Z")

</div>

Ciao Ragazzi non riesco a risolvere questo prblema in modo semplice ossia in php Ã¨ facile qui non riesco. Io apro un file e faccio leggere ogni riga e la passo a un blocco nel blocco controllo con scan se all’interno…

---

## [Best way to serve charts from Rails?](https://www.ruby-forum.com/t/best-way-to-serve-charts-from-rails/78609)

<div class="topic-metadata">

**Author:** [@roytruelove](https://www.ruby-forum.com/u/roytruelove)\
**Replies:** 3\
**Last updated:** [December 7, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/best-way-to-serve-charts-from-rails/78609 "2006-12-07T16:37:20Z")

</div>

I have been trying to find the “ideal” solution for a while. I’m leaning toward PlotKit, see below for my reasoning. My department has a database from which I want to serve up dynamic, current charts on my Rails app. …

---

## [Probando validaciones y error\_messages\_for](https://www.ruby-forum.com/t/probando-validaciones-y-error-messages-for/77431)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 3\
**Last updated:** [November 29, 2006, 1:38pm UTC](https://www.ruby-forum.com/t/probando-validaciones-y-error-messages-for/77431 "2006-11-29T13:38:55Z")

</div>

Estaba probando a hacer una validación, pero no me sale, el ejemplo del recetario que viene en el manual. En el modelo Receta he puesto: class Receta \< ActiveRecord::Base belongs\_to :categoria validates\_length\_of :t…

---

## [Power User Tipping Point: PHP to Ruby](https://www.ruby-forum.com/t/power-user-tipping-point-php-to-ruby/77422)

<div class="topic-metadata">

**Author:** [@johnw](https://www.ruby-forum.com/u/johnw)\
**Replies:** 3\
**Last updated:** [November 27, 2006, 10:32pm UTC](https://www.ruby-forum.com/t/power-user-tipping-point-php-to-ruby/77422 "2006-11-27T22:32:49Z")

</div>

I have been waiting for a tipping point to start using Ruby applications instead of PHP applications. My criteria include the availability of Ruby and RoR web hosts and Ruby equivalent applications readily available …

---

## [Ruby with regular expression](https://www.ruby-forum.com/t/ruby-with-regular-expression/77157)

<div class="topic-metadata">

**Author:** [@peppermonkey](https://www.ruby-forum.com/u/peppermonkey)\
**Replies:** 3\
**Last updated:** [November 25, 2006, 6:53pm UTC](https://www.ruby-forum.com/t/ruby-with-regular-expression/77157 "2006-11-25T18:53:27Z")

</div>

Hi, I’m new to Ruby (and Regular expressions in general) and as such, this is rather a newbie question but I’m trying to write a script in Ruby to open a file and do some string manipulation. Basically I’m getting hu…

---

## [Question about -r command line option, rubygems](https://www.ruby-forum.com/t/question-about-r-command-line-option-rubygems/76385)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [November 20, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/question-about-r-command-line-option-rubygems/76385 "2006-11-20T15:35:59Z")

</div>

Hi all, Ruby 1.8.5 (one click) Windows XP I’m trying to require a gem from the command line but it’s failing: C:\\ruby -rubygems -rturn test.rb ruby: no such file to load – turn (LoadError) But, I clearly have it …

---

## [Using ruby with photoshop - p objectroblem using the SaveAs](https://www.ruby-forum.com/t/using-ruby-with-photoshop-p-objectroblem-using-the-saveas/74052)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:47am UTC](https://www.ruby-forum.com/t/using-ruby-with-photoshop-p-objectroblem-using-the-saveas/74052 "2006-11-07T10:47:16Z")

</div>

help I have been trying to get a COM connection to work from ruby to photoshop Everything works fine until I try and save my image, I cant get the right syntax for the SaveAs function to work. I’ve tried reference bo…

---

## [File Management by User Permissions](https://www.ruby-forum.com/t/file-management-by-user-permissions/74144)

<div class="topic-metadata">

**Author:** [@roland](https://www.ruby-forum.com/u/roland)\
**Replies:** 3\
**Last updated:** [October 31, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/file-management-by-user-permissions/74144 "2006-10-31T15:38:39Z")

</div>

Hi, I was wondering what would be the best practices to handle a file managing system that needs to restrict files to users according to their authentication. If I were to put all uploaded files in /public/files one …

---

## [Patrones en RoR](https://www.ruby-forum.com/t/patrones-en-ror/72380)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 12:51am UTC](https://www.ruby-forum.com/t/patrones-en-ror/72380 "2006-10-18T00:51:02Z")

</div>

hola a todos hay alguna documentacion que hable de como crear patrones (paterns) en RoR, me refuero al singleton, facade, etc saludos

---

## [Question about navigation behavior](https://www.ruby-forum.com/t/question-about-navigation-behavior/67430)

<div class="topic-metadata">

**Author:** [@rane](https://www.ruby-forum.com/u/rane)\
**Replies:** 3\
**Last updated:** [September 4, 2006, 5:11pm UTC](https://www.ruby-forum.com/t/question-about-navigation-behavior/67430 "2006-09-04T17:11:41Z")

</div>

I’m using this code as navigation of my site but there’s a slight flaw. For example, when the page is one of the children of page ruby, r:here won’t be active. Any ideas?

---

## [Problem with date.succ](https://www.ruby-forum.com/t/problem-with-date-succ/65004)

<div class="topic-metadata">

**Author:** [@Russ\_P](https://www.ruby-forum.com/u/Russ_P)\
**Replies:** 3\
**Last updated:** [August 16, 2006, 11:19am UTC](https://www.ruby-forum.com/t/problem-with-date-succ/65004 "2006-08-16T11:19:50Z")

</div>

I’m having difficulty with a small program I’m writing dealing with dates. I’ve written the calendar class below. It works just fine when calling getMonth for all months EXCEPT NOVEMBER. Interrupting the call while…

---

## [Test ,](https://www.ruby-forum.com/t/test/101128)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 1:18pm UTC](https://www.ruby-forum.com/t/test/101128 "2006-08-03T13:18:33Z")

</div>

Not sure if my posts are getting through. Stuart

---

## [Behavior vs. Context](https://www.ruby-forum.com/t/behavior-vs-context/100197)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [July 28, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/behavior-vs-context/100197 "2006-07-28T15:52:05Z")

</div>

John et al, In an effort to extend Radiant for my own needs, I have discovered that I need to create some Radius tags. Ideally, I’d like these to be part of the PageContext class, but I’m not sure how to go about i…

---

## [Shared memory between servers](https://www.ruby-forum.com/t/shared-memory-between-servers/99586)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 4:34pm UTC](https://www.ruby-forum.com/t/shared-memory-between-servers/99586 "2006-07-24T16:34:56Z")

</div>

Hi all: I was thinking about this question all weekend. It’s possible to have shared memory or objets or repository of objets between servers?? Imagine this: I want that all servers (several) have same data (an array…

---

## [Postgres migration notices](https://www.ruby-forum.com/t/postgres-migration-notices/98376)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 3\
**Last updated:** [July 15, 2006, 12:47am UTC](https://www.ruby-forum.com/t/postgres-migration-notices/98376 "2006-07-15T00:47:40Z")

</div>

When I run “rake” using a postgres 8.1 database, I get a bunch of these notices. NOTICE: CREATE TABLE will create implicit sequence “categories\_id\_seq” for serial column “categories.id” NOTICE: CREATE TABLE / PRIMA…

---

## [Newbie validation](https://www.ruby-forum.com/t/newbie-validation/63821)

<div class="topic-metadata">

**Author:** [@montyman](https://www.ruby-forum.com/u/montyman)\
**Replies:** 3\
**Last updated:** [June 20, 2006, 10:19pm UTC](https://www.ruby-forum.com/t/newbie-validation/63821 "2006-06-20T22:19:37Z")

</div>

hi there. Here is the simple scenario: My active record connects to a table that contains an integer field. My form contains a text box that allows me to enter a value to get updated to the integer field. If anything…

---

## [Something inconsistent in ruby syntax?](https://www.ruby-forum.com/t/something-inconsistent-in-ruby-syntax/63100)

<div class="topic-metadata">

**Author:** [@uncutstone](https://www.ruby-forum.com/u/uncutstone)\
**Replies:** 3\
**Last updated:** [June 12, 2006, 10:36pm UTC](https://www.ruby-forum.com/t/something-inconsistent-in-ruby-syntax/63100 "2006-06-12T22:36:05Z")

</div>

Please take a look at some exemplary code first. class MailTruck instance\_eval \<\<-EOS define\_method(:hello1) {puts “hello1”} EOS define\_method(:hello2) {puts "hello2"} instance\_eval \<\<-EOS def hello3 puts "hello…

---

## [Signal to Noise Ratio](https://www.ruby-forum.com/t/signal-to-noise-ratio/62644)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 3\
**Last updated:** [June 8, 2006, 4:07am UTC](https://www.ruby-forum.com/t/signal-to-noise-ratio/62644 "2006-06-08T04:07:09Z")

</div>

Hello all, After getting past my initial assertion error, I’ve been reading the tutorials written by Dawei Shen trying to get a better understanding of the code that I’m dealing with. Granted the tutorials are a bit …

---

## [Building a library system (ActiveRecord question)](https://www.ruby-forum.com/t/building-a-library-system-activerecord-question/60544)

<div class="topic-metadata">

**Author:** [@mislav](https://www.ruby-forum.com/u/mislav)\
**Replies:** 3\
**Last updated:** [May 15, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/building-a-library-system-activerecord-question/60544 "2006-05-15T21:21:59Z")

</div>

I’m rebuilding a library/academic system (including public web) using excellent Rails. I’m trying to make the most out of ActiveRecord, but rethinking the database schema spawned some potential issues that may cause p…

---

## [Configuring Capistrano For Local To Remote Deployment](https://www.ruby-forum.com/t/configuring-capistrano-for-local-to-remote-deployment/60460)

<div class="topic-metadata">

**Author:** [@conz](https://www.ruby-forum.com/u/conz)\
**Replies:** 3\
**Last updated:** [May 15, 2006, 7:31am UTC](https://www.ruby-forum.com/t/configuring-capistrano-for-local-to-remote-deployment/60460 "2006-05-15T07:31:34Z")

</div>

How does one configure capistrano for moving local file to your remote server? In the docs it says that one cannot use file:// so what’s the configuration step for resolving this issue? Thanks in advance, -Conrad

---

## [Sanitize dangers](https://www.ruby-forum.com/t/sanitize-dangers/60209)

<div class="topic-metadata">

**Author:** [@Jonathan\_Baudanza](https://www.ruby-forum.com/u/Jonathan_Baudanza)\
**Replies:** 3\
**Last updated:** [May 12, 2006, 12:24am UTC](https://www.ruby-forum.com/t/sanitize-dangers/60209 "2006-05-12T00:24:25Z")

</div>

I’ve noticed that it is possible to pass javascript unaltered through the sanitize function using CSS. For example: sanitize( “body{background-image:url(‘javascript:window.alert(1)’) }” ) IE will execute the javascr…

---

## [Tagtools vs acts\_as\_taggable](https://www.ruby-forum.com/t/tagtools-vs-acts-as-taggable/89830)

<div class="topic-metadata">

**Author:** [@uranus](https://www.ruby-forum.com/u/uranus)\
**Replies:** 3\
**Last updated:** [March 30, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/tagtools-vs-acts-as-taggable/89830 "2006-03-30T14:20:25Z")

</div>

tagtools and acts\_as\_taggable are both folksonomy tools for rails,any one who has used them both and can give a compare between them? Grateful!

---

## [Uploading files and writing them to server?](https://www.ruby-forum.com/t/uploading-files-and-writing-them-to-server/56243)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [March 29, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/uploading-files-and-writing-them-to-server/56243 "2006-03-29T20:18:04Z")

</div>

Where should I look for information on how to use Rails and Ruby to accept the upload of a file and then to save that file to the file system of my server? I’m reading the “Uploading a file” section of Agile Web Dev w…

---

## [Would this be possible?](https://www.ruby-forum.com/t/would-this-be-possible/56087)

<div class="topic-metadata">

**Author:** [@craigb](https://www.ruby-forum.com/u/craigb)\
**Replies:** 3\
**Last updated:** [March 28, 2006, 2:46am UTC](https://www.ruby-forum.com/t/would-this-be-possible/56087 "2006-03-28T02:46:48Z")

</div>

Would this work to find the mean average and the number of elements greater than the average? Calculating Avg and # of elements greater than Avg. in Ruby sum = 0.0 n = 0 count = 0 while figure = STDIN.gets.to\_f sum…

---

## [Specify a controller action via attribute in INPUT tag?](https://www.ruby-forum.com/t/specify-a-controller-action-via-attribute-in-input-tag/87800)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [March 27, 2006, 11:11pm UTC](https://www.ruby-forum.com/t/specify-a-controller-action-via-attribute-in-input-tag/87800 "2006-03-27T23:11:51Z")

</div>

I have a pre-existing form with one existing “SUBMIT” tag generated by \<%= submit\_tag %\> I would like to add another \<INPUT type=“submit” …\> to my form. How do I successfully associate that tag with a different cont…

---

## [App design help for a newbie (trying again)](https://www.ruby-forum.com/t/app-design-help-for-a-newbie-trying-again/82331)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 3\
**Last updated:** [March 16, 2006, 1:32am UTC](https://www.ruby-forum.com/t/app-design-help-for-a-newbie-trying-again/82331 "2006-03-16T01:32:11Z")

</div>

Hi there, I’m working on a new student portal system using Rails for a large university. As part of this application, I plan on students being able to customize their own calendar, collection of commonly used links, …

---

## [Migrations schema\_info table, Rails Recipes Bug?](https://www.ruby-forum.com/t/migrations-schema-info-table-rails-recipes-bug/78225)

<div class="topic-metadata">

**Author:** [@mshah](https://www.ruby-forum.com/u/mshah)\
**Replies:** 3\
**Last updated:** [March 8, 2006, 11:47pm UTC](https://www.ruby-forum.com/t/migrations-schema-info-table-rails-recipes-bug/78225 "2006-03-08T23:47:40Z")

</div>

I have the rails recipes book and i was going through the migrations recipe. Everything seemed to work except for the last part in trying to do a rake migrate with a migration file version 1 and the schema\_info vers…

---

## [Validation issues](https://www.ruby-forum.com/t/validation-issues/71536)

<div class="topic-metadata">

**Author:** [@BuntinS\_SethSKATE](https://www.ruby-forum.com/u/BuntinS_SethSKATE)\
**Replies:** 3\
**Last updated:** [February 22, 2006, 3:51am UTC](https://www.ruby-forum.com/t/validation-issues/71536 "2006-02-22T03:51:59Z")

</div>

I have a form. Everything submits into the database if I don’t have any validation rules. When I put these rules: validates\_uniqueness\_of :title, :message =\> “already exists in database” validates\_presence\_of :titl…

---

## [Uninitialized constant error](https://www.ruby-forum.com/t/uninitialized-constant-error/70774)

<div class="topic-metadata">

**Author:** [@mjcharl](https://www.ruby-forum.com/u/mjcharl)\
**Replies:** 3\
**Last updated:** [February 20, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-error/70774 "2006-02-20T18:41:26Z")

</div>

Hi, On Saturday I installed Ruby 1.8.2, Rails 1.0.0 and MySql 5.0.18 on a new laptop running Windows XP home. I used Gem to install Rails. Gem came packaged with Rails in the standard download from www.rubyonrails.or…

---

## [Error: Before updating scaffolding from new DB schema, try c](https://www.ruby-forum.com/t/error-before-updating-scaffolding-from-new-db-schema-try-c/53573)

<div class="topic-metadata">

**Author:** [@Tirta\_KSUntario](https://www.ruby-forum.com/u/Tirta_KSUntario)\
**Replies:** 3\
**Last updated:** [February 10, 2006, 11:23am UTC](https://www.ruby-forum.com/t/error-before-updating-scaffolding-from-new-db-schema-try-c/53573 "2006-02-10T11:23:13Z")

</div>

Hi all, I’m new to Rails, I know this is a classic error, but I cannot resolve it anyhow :frowning: This is my system config: Windows XP SP2 Ruby 1.8.2 → installed using windows installer version Rails 1.0.0 MySql…

---

## [ActiveRecord model classes not allowed in :expects](https://www.ruby-forum.com/t/activerecord-model-classes-not-allowed-in-expects/90748)

<div class="topic-metadata">

**Author:** [@samwise23](https://www.ruby-forum.com/u/samwise23)\
**Replies:** 3\
**Last updated:** [January 26, 2006, 11:45pm UTC](https://www.ruby-forum.com/t/activerecord-model-classes-not-allowed-in-expects/90748 "2006-01-26T23:45:50Z")

</div>

Hi, I have a strange problem while using WebService API which expects an ActiveRecord derivate. This is the code of the API … class HarvesterApi \< ActionWebService::API::Base api\_method :send\_measurand, :expects =\>…

---

## [File\_column error](https://www.ruby-forum.com/t/file-column-error/52551)

<div class="topic-metadata">

**Author:** [@tomx](https://www.ruby-forum.com/u/tomx)\
**Replies:** 3\
**Last updated:** [January 20, 2006, 10:38am UTC](https://www.ruby-forum.com/t/file-column-error/52551 "2006-01-20T10:38:30Z")

</div>

Hi, Sebastian I downloaded FileColumn plugin and love the concept. But when I tried the example listed on the plugin web site, I got the following error: NoMethodError in Entry#new undefined method \`file\_column' f…

---

## [Template/variable confusion](https://www.ruby-forum.com/t/template-variable-confusion/52837)

<div class="topic-metadata">

**Author:** [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Replies:** 3\
**Last updated:** [January 19, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/template-variable-confusion/52837 "2006-01-19T17:51:22Z")

</div>

Hi there, I’m having some trouble working out where/when I can define template variables. I have a standard.rhtml layout template which is used across the application as the main xhtml wrapper. Inside there is some …

---

## [Is there a quick way to compare two arrays and](https://www.ruby-forum.com/t/is-there-a-quick-way-to-compare-two-arrays-and/60616)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 6:47am UTC](https://www.ruby-forum.com/t/is-there-a-quick-way-to-compare-two-arrays-and/60616 "2006-01-11T06:47:10Z")

</div>

I have two arrays of different sizes. Right now via find\_all I can find all the elements that are common to both arrays. All the elements in the smaller arrays can be found in the larger array. What I would like to …

---

## [Proper use of 'require'](https://www.ruby-forum.com/t/proper-use-of-require/51448)

<div class="topic-metadata">

**Author:** [@ZyLo](https://www.ruby-forum.com/u/ZyLo)\
**Replies:** 3\
**Last updated:** [January 1, 2006, 9:32pm UTC](https://www.ruby-forum.com/t/proper-use-of-require/51448 "2006-01-01T21:32:09Z")

</div>

Hello. I have been trying to find this answer out for quite a while, and I don’t think I’ve found an exact answer to my problem. I’m trying to use require to include a file that I wrote. Specifically, I’m using Why’s…

---

## [Help with error](https://www.ruby-forum.com/t/help-with-error/70103)

<div class="topic-metadata">

**Author:** [@Scott\_Phelps](https://www.ruby-forum.com/u/Scott_Phelps)\
**Replies:** 3\
**Last updated:** [December 16, 2005, 7:10pm UTC](https://www.ruby-forum.com/t/help-with-error/70103 "2005-12-16T19:10:14Z")

</div>

I am getting this error NoMethodError in Admin#add\_to\_project undefined method \`find’ for #Project:0x249da88 RAILS\_ROOT: script/…/config/… Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems…

---

## [Question about validate](https://www.ruby-forum.com/t/question-about-validate/47712)

<div class="topic-metadata">

**Author:** [@spmm\_pls](https://www.ruby-forum.com/u/spmm_pls)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 10:58pm UTC](https://www.ruby-forum.com/t/question-about-validate/47712 "2005-11-12T22:58:30Z")

</div>

Hi, I have this class called Myfile (cause file is a reserved word), when a validation of a field in this class fails the error message shows: “1 error prohibited this myfile from being saved”, of course I just want i…

---

## [Deleting directories matching a pattern](https://www.ruby-forum.com/t/deleting-directories-matching-a-pattern/222303)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/deleting-directories-matching-a-pattern/222303 "2012-08-27T14:00:25Z")

</div>

I cannot believe I’m having trouble with this - it should be utterly trivial, but I just can’t get Ruby to work correctly on this. I’ve got a directory with subdirectories that have names such as “Eb97503.120822”, whe…

---

## [Strange timestamps in server log](https://www.ruby-forum.com/t/strange-timestamps-in-server-log/201544)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 10, 2011, 5:43pm UTC](https://www.ruby-forum.com/t/strange-timestamps-in-server-log/201544 "2011-01-10T17:43:26Z")

</div>

Processing ZbsController#index (for 79.227.142.0 at 2010-10-12 16:21:43) \[GET\] Processing MController#menu (for 95.114.108.0 at 2010-10-12 18:51:02) \[GET\] … Processing MController#menu (for 173.201.36.0 at 2010-10-1…

---

## [Why catch block directly exeute](https://www.ruby-forum.com/t/why-catch-block-directly-exeute/200221)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 7, 2010, 11:56am UTC](https://www.ruby-forum.com/t/why-catch-block-directly-exeute/200221 "2010-12-07T11:56:03Z")

</div>

catch (:finish) do puts “Generated 1000 random numbers without generating 123!” end The above code if not throw or any thing call and execute directly . How is it works please any one explain and if possible give a e…

---

## [Need some information about the site twitter.com developed using RoR](https://www.ruby-forum.com/t/need-some-information-about-the-site-twitter-com-developed-using-ror/199099)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 16, 2010, 10:42pm UTC](https://www.ruby-forum.com/t/need-some-information-about-the-site-twitter-com-developed-using-ror/199099 "2010-11-16T22:42:29Z")

</div>

Hi, This is Santosh Gupta working in Accenture, India as project lead and J2EE architect. I need some information about twitter.com. This information I need to tell my management & team about the usage of Rails in tw…

---

## [Dont know where to look :(](https://www.ruby-forum.com/t/dont-know-where-to-look/187119)

<div class="topic-metadata">

**Author:** [@guru\_101](https://www.ruby-forum.com/u/guru_101)\
**Replies:** 4\
**Last updated:** [April 17, 2010, 3:53pm UTC](https://www.ruby-forum.com/t/dont-know-where-to-look/187119 "2010-04-17T15:53:45Z")

</div>

I get this error SQLite3::SQLException: no such column: blogs.user\_id: SELECT \* FROM blogs WHERE (blogs.user\_id = 1) LIMIT 1 well in my project, i will be creating railsspace Info: railsspace.com I realy need s…

---

## [Object with many paperclip photos](https://www.ruby-forum.com/t/object-with-many-paperclip-photos/186037)

<div class="topic-metadata">

**Author:** [@ESESES](https://www.ruby-forum.com/u/ESESES)\
**Replies:** 4\
**Last updated:** [March 31, 2010, 8:34pm UTC](https://www.ruby-forum.com/t/object-with-many-paperclip-photos/186037 "2010-03-31T20:34:28Z")

</div>

I have an object that has multiple photos uploaded to it, using the paperclip plugin. I used a virtual attribute to have mutliple photos in the form but I can’t figure out how to get the image to save. It works if I…

---

## [GEM install problem using setup.rb](https://www.ruby-forum.com/t/gem-install-problem-using-setup-rb/184328)

<div class="topic-metadata">

**Author:** [@grimlinda](https://www.ruby-forum.com/u/grimlinda)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 8:30pm UTC](https://www.ruby-forum.com/t/gem-install-problem-using-setup-rb/184328 "2010-03-01T20:30:50Z")

</div>

Desperate newbie spent most of the afternoon trying to get gem to work on her Mac (Leopard). Went so far as to compile and install ruby (went fine) and then ftp the zip file for Gems 1.3.6, dated 20-Feb-2010. Ran se…

---

## [Recursive expansition of \<% ... %\>](https://www.ruby-forum.com/t/recursive-expansition-of/183325)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 4\
**Last updated:** [February 11, 2010, 10:42pm UTC](https://www.ruby-forum.com/t/recursive-expansition-of/183325 "2010-02-11T22:42:45Z")

</div>

In a controller I have @message = “The size is \<% @a.size %\>.” In the view I have \<%= @message %\> which, sadly, produces The size is \<% @a.size %\>. rather than, say, The size is 4. If I try \<%= \<%= @ message %\> …

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

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