# Top

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

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

---

## [Validates\_each magic: How?](https://www.ruby-forum.com/t/validates-each-magic-how/179580)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 3\
**Last updated:** [November 29, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/validates-each-magic-how/179580 "2009-11-29T18:37:49Z")

</div>

I have an attribute :x in a form validates\_each manages to be able to get to the value of :x in the form. (Source for validates\_each from http://api.rubyonrails.org/) # File vendor/rails/activerecord/lib/active\_recor…

---

## [Call Ruby file from HTML](https://www.ruby-forum.com/t/call-ruby-file-from-html/176827)

<div class="topic-metadata">

**Author:** [@yousef\_1987](https://www.ruby-forum.com/u/yousef_1987)\
**Replies:** 3\
**Last updated:** [October 7, 2009, 9:24am UTC](https://www.ruby-forum.com/t/call-ruby-file-from-html/176827 "2009-10-07T09:24:45Z")

</div>

hi everybody is there a possible to call Ruby file from HTML file , and how I can do that. thanks in Advance

---

## [Put rack folder in vendo folder](https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690)

<div class="topic-metadata">

**Author:** [@marcos](https://www.ruby-forum.com/u/marcos)\
**Replies:** 3\
**Last updated:** [September 18, 2009, 9:36am UTC](https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690 "2009-09-18T09:36:43Z")

</div>

or in general how to put gems there? I have a patch to apply to “rack/ methodoverride.rb” but I can’t find it… how can I copy rack in vendor and not modify the system wide file? the rake gems:unpack or install don’t w…

---

## [Cleaning up code, eliminating repetition](https://www.ruby-forum.com/t/cleaning-up-code-eliminating-repetition/175382)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 3\
**Last updated:** [September 14, 2009, 10:01am UTC](https://www.ruby-forum.com/t/cleaning-up-code-eliminating-repetition/175382 "2009-09-14T10:01:43Z")

</div>

Hi guys, I am currently trying to clean up my views. As you can see in the example below, I’m having a new link to create a new resource dynamically. The controller is given by the params\[:controller\]. This way I cre…

---

## [Re: Need a Ruby-doc](https://www.ruby-forum.com/t/re-need-a-ruby-doc/175111)

<div class="topic-metadata">

**Author:** [@Eric\_Tucker](https://www.ruby-forum.com/u/Eric_Tucker)\
**Replies:** 3\
**Last updated:** [September 8, 2009, 2:26pm UTC](https://www.ruby-forum.com/t/re-need-a-ruby-doc/175111 "2009-09-08T14:26:21Z")

</div>

To generate something that looks like RDoc Documentation look at rdoc. Unless you’re trying to do something else?

---

## [How to search for a speciel file extension](https://www.ruby-forum.com/t/how-to-search-for-a-speciel-file-extension/172323)

<div class="topic-metadata">

**Author:** [@miss\_moviestar](https://www.ruby-forum.com/u/miss_moviestar)\
**Replies:** 3\
**Last updated:** [July 20, 2009, 11:27am UTC](https://www.ruby-forum.com/t/how-to-search-for-a-speciel-file-extension/172323 "2009-07-20T11:27:07Z")

</div>

hi i want to show just the powerpoint file among diffenet kind of file i uploaded. how can i do it? my model is mugshot for mugshot in @mugshot if … thanks alot

---

## [RE: Max temperature for usrp2](https://www.ruby-forum.com/t/re-max-temperature-for-usrp2/172052)

<div class="topic-metadata">

**Author:** [@Eric\_Matlis](https://www.ruby-forum.com/u/Eric_Matlis)\
**Replies:** 3\
**Last updated:** [July 14, 2009, 7:59pm UTC](https://www.ruby-forum.com/t/re-max-temperature-for-usrp2/172052 "2009-07-14T19:59:42Z")

</div>

The length of cable would have to be 100 ft; my signal becomes attenuated excessively. Thanks, eric

---

## [Make virtual attribute more "real"](https://www.ruby-forum.com/t/make-virtual-attribute-more-real/170125)

<div class="topic-metadata">

**Author:** [@Felix\_SchSSS\_fer](https://www.ruby-forum.com/u/Felix_SchSSS_fer)\
**Replies:** 3\
**Last updated:** [June 15, 2009, 3:55pm UTC](https://www.ruby-forum.com/t/make-virtual-attribute-more-real/170125 "2009-06-15T15:55:00Z")

</div>

Hello, I have tried to tackle this one with some people on IRC, but the proposed solution doesn’t really satisfy me, as it solves the problem only in a special case, and not in general. So I have two models in my rai…

---

## [301 Redirect Domain](https://www.ruby-forum.com/t/301-redirect-domain/168786)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 3\
**Last updated:** [May 25, 2009, 11:32pm UTC](https://www.ruby-forum.com/t/301-redirect-domain/168786 "2009-05-25T23:32:59Z")

</div>

Is there a way to redirect and old domain to a new one, For instance, all I did was change domains, the structure is all still the same. I just need to redirect xxxx.com to xxxy.com while still keeping the structure …

---

## [Ruby and mysql syntax? tried single quotes, double, none,](https://www.ruby-forum.com/t/ruby-and-mysql-syntax-tried-single-quotes-double-none/102232)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 3\
**Last updated:** [April 10, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/ruby-and-mysql-syntax-tried-single-quotes-double-none/102232 "2009-04-10T12:43:10Z")

</div>

Hi, how do i use passed in arguments and convert those to something sql can understand? do the aliases have to be double qouted? single qouted? i think i tried all but no avail…thanks! def get\_count(doctype, towne) @…

---

## [Capistrano deploy errors](https://www.ruby-forum.com/t/capistrano-deploy-errors/162931)

<div class="topic-metadata">

**Author:** [@mikec](https://www.ruby-forum.com/u/mikec)\
**Replies:** 3\
**Last updated:** [March 15, 2009, 11:02pm UTC](https://www.ruby-forum.com/t/capistrano-deploy-errors/162931 "2009-03-15T23:02:45Z")

</div>

Hi, when I do cap deploy:cold I get this error: rake aborted! undefined local variable or method acts\_as\_commentable' for #\<Class: 0x7fa1c34a2f10\> /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active\_record/…

---

## [Install rubygems](https://www.ruby-forum.com/t/install-rubygems/162550)

<div class="topic-metadata">

**Author:** [@ple\_mazako](https://www.ruby-forum.com/u/ple_mazako)\
**Replies:** 3\
**Last updated:** [March 13, 2009, 12:56pm UTC](https://www.ruby-forum.com/t/install-rubygems/162550 "2009-03-13T12:56:40Z")

</div>

i install ruby 1.8.8 on ubuntu and when i install rubygem by code are: wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz tar xzvf rubygems-1.3.1.tgz cd rubygems-1.3.1 but i used this command is \> …

---

## [SOAP and RoR](https://www.ruby-forum.com/t/soap-and-ror/162076)

<div class="topic-metadata">

**Author:** [@nuugii](https://www.ruby-forum.com/u/nuugii)\
**Replies:** 3\
**Last updated:** [March 5, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/soap-and-ror/162076 "2009-03-05T23:10:21Z")

</div>

Hey ror riders’ How to working SOAP server,client with Ruby on Rails. Please help me SOAP tutorials

---

## [Using request.env to persist data?](https://www.ruby-forum.com/t/using-request-env-to-persist-data/159353)

<div class="topic-metadata">

**Author:** [@tatyree](https://www.ruby-forum.com/u/tatyree)\
**Replies:** 3\
**Last updated:** [February 4, 2009, 12:46am UTC](https://www.ruby-forum.com/t/using-request-env-to-persist-data/159353 "2009-02-04T00:46:45Z")

</div>

Is it ever sensible to attempt to persist data across a session using request.env? Say something like: request.env\[‘user\_name’\] = ‘bob’ I’m discussing this with the maintainer of a commercial gem (where it doesn’t s…

---

## [NÃ¤chstes Treffen Rails-UG-Hambu rg](https://www.ruby-forum.com/t/na-chstes-treffen-rails-ug-hambu-rg/159150)

<div class="topic-metadata">

**Author:** [@Jan\_Krutisch\_S\_mind](https://www.ruby-forum.com/u/Jan_Krutisch_S_mind)\
**Replies:** 0\
**Last updated:** [February 1, 2009, 2:11pm UTC](https://www.ruby-forum.com/t/na-chstes-treffen-rails-ug-hambu-rg/159150 "2009-02-01T14:11:37Z")

</div>

Hallo zusammen, am Mittwoch, 11. Februar findet das nächste Treffen der Rails- Usergroup-Hamburg statt. Dankenswerterweise hat sich dieses Mal XING bereit erklärt, als Gastgeber zu fungieren. Vielen Dank an Philip fü…

---

## [Unit testing](https://www.ruby-forum.com/t/unit-testing/154292)

<div class="topic-metadata">

**Author:** [@sumanth\_tt](https://www.ruby-forum.com/u/sumanth_tt)\
**Replies:** 3\
**Last updated:** [November 28, 2008, 2:47am UTC](https://www.ruby-forum.com/t/unit-testing/154292 "2008-11-28T02:47:36Z")

</div>

Hello, Can somebody help me writing a unit test for existing method of a model. I am using 2 tables like users, articles and Method is like def get\_the\_user\_bought\_item(user\_id\_list) users\_list = User.find\_by\_sql(\[…

---

## [How to order @project.tasks?](https://www.ruby-forum.com/t/how-to-order-project-tasks/149000)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 3\
**Last updated:** [September 19, 2008, 12:02pm UTC](https://www.ruby-forum.com/t/how-to-order-project-tasks/149000 "2008-09-19T12:02:51Z")

</div>

I can access my a project’s tasks by @project.tasks. But how cam I order them by name? Currently it orders by ‘id’

---

## [Create Graphical charts using rails](https://www.ruby-forum.com/t/create-graphical-charts-using-rails/148999)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [September 19, 2008, 10:12am UTC](https://www.ruby-forum.com/t/create-graphical-charts-using-rails/148999 "2008-09-19T10:12:50Z")

</div>

Hi Could anybody please point me to some good links to draw Graphical charts using RubyOnRails and also suggest which is the best one? Thanks in advance Sijo

---

## [Mechanize for Ruby on Linux not working](https://www.ruby-forum.com/t/mechanize-for-ruby-on-linux-not-working/148479)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 3\
**Last updated:** [September 14, 2008, 9:25pm UTC](https://www.ruby-forum.com/t/mechanize-for-ruby-on-linux-not-working/148479 "2008-09-14T21:25:19Z")

</div>

The administrator for a server I’m using tried installing Mechanize for Ruby using the gem installer. Gem claims that the installation worked except that programs trying to use it disagree. Programs trying to use Me…

---

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

<div class="topic-metadata">

**Author:** [@Kyung\_won\_C](https://www.ruby-forum.com/u/Kyung_won_C)\
**Replies:** 3\
**Last updated:** [July 29, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/about-class-in-module/144402 "2008-07-29T17:51:51Z")

</div>

– test1.rb – class C def a end end class C def a puts “override” end end puts C.new.a # =\> override – test2.rb – class C def a end end module M class C def a puts “why not override?” end end end in…

---

## [REST and extra actions](https://www.ruby-forum.com/t/rest-and-extra-actions/144258)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 3\
**Last updated:** [July 28, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/rest-and-extra-actions/144258 "2008-07-28T13:09:37Z")

</div>

Hi, I’m trying to implement some charts in my REST application. But I can’t seem to use an extra action like “chart” in my controller. Becouse of the rest approach, it sees the action name as an id. Does anyone know …

---

## [ActiveRecord Associations issue](https://www.ruby-forum.com/t/activerecord-associations-issue/143756)

<div class="topic-metadata">

**Author:** [@CrazyMenConnected](https://www.ruby-forum.com/u/CrazyMenConnected)\
**Replies:** 3\
**Last updated:** [July 22, 2008, 11:40pm UTC](https://www.ruby-forum.com/t/activerecord-associations-issue/143756 "2008-07-22T23:40:25Z")

</div>

Hello all and thank you for reading this message. I am new to RoR, and ruby too, but i am quite excited about it. I am developing a RoR project and with active record associations in the following manner Tables (all…

---

## [Anonymous scopes against habtm relations](https://www.ruby-forum.com/t/anonymous-scopes-against-habtm-relations/140389)

<div class="topic-metadata">

**Author:** [@marzapower](https://www.ruby-forum.com/u/marzapower)\
**Replies:** 3\
**Last updated:** [June 13, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/anonymous-scopes-against-habtm-relations/140389 "2008-06-13T18:14:34Z")

</div>

I need help for using anonymous scopes in my application. Consider the problem of two model linked by a habtm relation. Let them be: class FirstModel \< ActiveBase:Model has\_and\_belongs\_to\_many :second\_models end cl…

---

## [Make question about building a signal processing block](https://www.ruby-forum.com/t/make-question-about-building-a-signal-processing-block/138040)

<div class="topic-metadata">

**Author:** [@Zhenghao\_Zhang](https://www.ruby-forum.com/u/Zhenghao_Zhang)\
**Replies:** 3\
**Last updated:** [May 20, 2008, 8:16pm UTC](https://www.ruby-forum.com/t/make-question-about-building-a-signal-processing-block/138040 "2008-05-20T20:16:32Z")

</div>

Hi, I was trying to see if I could build a signal processing block. I basically did nothing but copied the \`\`how-to-write-a-block’’ package and modified the name of the block in files according to the Shen tutorial. …

---

## [How to exec a module method when "include Module" from a Class?](https://www.ruby-forum.com/t/how-to-exec-a-module-method-when-include-module-from-a-class/136427)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [May 2, 2008, 11:37am UTC](https://www.ruby-forum.com/t/how-to-exec-a-module-method-when-include-module-from-a-class/136427 "2008-05-02T11:37:55Z")

</div>

Hi, I have a class C that includes a module M. I need that when a C object is created a module M method is runned automatically (without call it from “initialize” method) to fill an object attribute. Something as: m…

---

## [How to add parameter and condition in function dynamically?](https://www.ruby-forum.com/t/how-to-add-parameter-and-condition-in-function-dynamically/196651)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 6:34pm UTC](https://www.ruby-forum.com/t/how-to-add-parameter-and-condition-in-function-dynamically/196651 "2008-04-24T18:34:52Z")

</div>

Hi All, I have one function in that function i wanna add parameters and conditions dynamically. I hope you got me if yes please tell me what should i do. Thanks Varun K.

---

## [Mechanize confusion](https://www.ruby-forum.com/t/mechanize-confusion/132599)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 10:12pm UTC](https://www.ruby-forum.com/t/mechanize-confusion/132599 "2008-03-21T22:12:42Z")

</div>

I will admit I’ve never used Mechanize before and if I am asking painfully obvious feel free to push me out in traffic, however… I have an odd issue. I have grabbed a form off of CDW’s site and am trying to fill ou…

---

## [Rails 2 recetas](https://www.ruby-forum.com/t/rails-2-recetas/131278)

<div class="topic-metadata">

**Author:** [@Mauricio\_D](https://www.ruby-forum.com/u/Mauricio_D)\
**Replies:** 3\
**Last updated:** [March 7, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/rails-2-recetas/131278 "2008-03-07T17:06:37Z")

</div>

Hola, me e encontrado un problema con rails 2 y la verdad no se como solucionarlo, el problema espero solo sea en la vista acÃ¡ esta el cÃ³digo de como lo hacia con rails 1.2.6, pero con el 2 no tengo idea, Genero \<%…

---

## [Check\_box not being checked](https://www.ruby-forum.com/t/check-box-not-being-checked/123284)

<div class="topic-metadata">

**Author:** [@Marcelo\_Ruiz](https://www.ruby-forum.com/u/Marcelo_Ruiz)\
**Replies:** 3\
**Last updated:** [December 16, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/check-box-not-being-checked/123284 "2007-12-16T17:42:25Z")

</div>

I’m new to RoR and I’m having a little problem that I can’t solve. My model is simple. I have Lists and ListItems. I have a view that loops through all the list items, and I put the HTML for the each list item row in …

---

## [Rails Recipe 44 -- Write Tests for Your Helpers](https://www.ruby-forum.com/t/rails-recipe-44-write-tests-for-your-helpers/122441)

<div class="topic-metadata">

**Author:** [@kevin\_cline](https://www.ruby-forum.com/u/kevin_cline)\
**Replies:** 3\
**Last updated:** [December 7, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/rails-recipe-44-write-tests-for-your-helpers/122441 "2007-12-07T18:12:30Z")

</div>

I’m having trouble getting this to work. The recipe is simple: def setup @controll = SomeController.new request = ActionController::TestRequest.new @controller.instance\_eval { @params = {}, @request = request } @co…

---

## [Can't get out of development mode](https://www.ruby-forum.com/t/cant-get-out-of-development-mode/117471)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 3\
**Last updated:** [October 17, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/cant-get-out-of-development-mode/117471 "2007-10-17T22:21:42Z")

</div>

Up until a few days ago everything was fine, production was humming along in production mode without a problem, but then we did a push (using deprec) and now production won’t go back into production mode, but insists …

---

## [I Broke the Console](https://www.ruby-forum.com/t/i-broke-the-console/117159)

<div class="topic-metadata">

**Author:** [@banry](https://www.ruby-forum.com/u/banry)\
**Replies:** 3\
**Last updated:** [October 15, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/i-broke-the-console/117159 "2007-10-15T20:37:21Z")

</div>

Oops. I upgraded my Rails installation. I then noticed that the Ruby was an older version than what I saw on Ruby-lang.org so I download the MacOS X one-click installer and ran it. It didn’t seem to change the ruby ve…

---

## [Rspec couldn't find?](https://www.ruby-forum.com/t/rspec-couldnt-find/116475)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 3\
**Last updated:** [October 6, 2007, 10:47am UTC](https://www.ruby-forum.com/t/rspec-couldnt-find/116475 "2007-10-06T10:47:09Z")

</div>

Hello, I just installed rspec C:\\Instantrails\\rails\_apps\>gem install rspec Successfully installed rspec-1.0.8 Installing ri documentation for rspec-1.0.8… Installing RDoc documentation for rspec-1.0.8… C:\\Instantra…

---

## [Help understanding routes](https://www.ruby-forum.com/t/help-understanding-routes/85137)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/help-understanding-routes/85137 "2007-09-25T23:10:16Z")

</div>

Hi Trying to get my head around routes, particularly RESTful routes, and mapping to controllers, and the magic urls that go with them. I have a model called course\_materials which acts\_as\_tree which also belongs\_to a…

---

## [Design Patterns and Ruby](https://www.ruby-forum.com/t/design-patterns-and-ruby/91939)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/design-patterns-and-ruby/91939 "2007-09-25T23:06:09Z")

</div>

Are therre any good design pattern resources realted to coding in ruby on the web? I’ve only been able to find a bit on the singleton and decorator patterns. Don;t really waana buy a book at the mo. CIA -Ants

---

## [How to extend a method?](https://www.ruby-forum.com/t/how-to-extend-a-method/113599)

<div class="topic-metadata">

**Author:** [@Ye\_Dingding](https://www.ruby-forum.com/u/Ye_Dingding)\
**Replies:** 3\
**Last updated:** [September 3, 2007, 11:12am UTC](https://www.ruby-forum.com/t/how-to-extend-a-method/113599 "2007-09-03T11:12:53Z")

</div>

Class A attr\_accessor :a def initialize self.a = ‘a’ end end I want to extend class A and add a new instance variable b. How can i do this? Class A attr\_accessor :b def initialize How can i initialize the varia…

---

## [Php executing from rails](https://www.ruby-forum.com/t/php-executing-from-rails/113139)

<div class="topic-metadata">

**Author:** [@eagoweb](https://www.ruby-forum.com/u/eagoweb)\
**Replies:** 3\
**Last updated:** [August 28, 2007, 5:30am UTC](https://www.ruby-forum.com/t/php-executing-from-rails/113139 "2007-08-28T05:30:56Z")

</div>

Hello the subject xplain all, i know that i came to rails to left php, but i haven’t learned a lot of rails to do very heavy classes like in php, and i have to get some responses to my clients. What i want to know if …

---

## [Class X \< Hash ... how do I do X.new { |hash, key| ...}?](https://www.ruby-forum.com/t/class-x-hash-how-do-i-do-x-new-hash-key/113009)

<div class="topic-metadata">

**Author:** [@lfast](https://www.ruby-forum.com/u/lfast)\
**Replies:** 3\
**Last updated:** [August 26, 2007, 10:24pm UTC](https://www.ruby-forum.com/t/class-x-hash-how-do-i-do-x-new-hash-key/113009 "2007-08-26T22:24:26Z")

</div>

I created a child class of Hash and would like to internalize the equivalent of Hash.new {|hash,key| } The following code failed: class X \< Hash def initialize super { |hash,key| … } end end Any suggestions? I …

---

## [Printing variable names](https://www.ruby-forum.com/t/printing-variable-names/112441)

<div class="topic-metadata">

**Author:** [@darren\_kirby](https://www.ruby-forum.com/u/darren_kirby)\
**Replies:** 3\
**Last updated:** [August 19, 2007, 1:37am UTC](https://www.ruby-forum.com/t/printing-variable-names/112441 "2007-08-19T01:37:17Z")

</div>

Hello all, I have an array of variables here: foo = \[s0, s1, s2, s3, s4, s5, s6, s7\] I need to loop over the array and print each variable’s name and value: s0: 23 s1: 56 s2: 345345 etc… I cannot seem to find a w…

---

## [Question/Request: Advanced Search](https://www.ruby-forum.com/t/question-request-advanced-search/111134)

<div class="topic-metadata">

**Author:** [@swabianeagle](https://www.ruby-forum.com/u/swabianeagle)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/question-request-advanced-search/111134 "2007-08-02T22:59:32Z")

</div>

Hi, first of all thanks to all who are involved in making RForum available. It’s a great place to get information for Ruby. Is there a way to do a more specific search, for example restricted to a date intervall (let…

---

## [Gem installation without documentation](https://www.ruby-forum.com/t/gem-installation-without-documentation/110836)

<div class="topic-metadata">

**Author:** [@Sy\_Ali](https://www.ruby-forum.com/u/Sy_Ali)\
**Replies:** 3\
**Last updated:** [July 31, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/gem-installation-without-documentation/110836 "2007-07-31T15:43:41Z")

</div>

I’ve got Ruby running on my palmtop, and I don’t want to waste the extra space with ri or RDoc documentation for certain gems. I did some hunting and couldn’t find a simple answer for my questions so I thought I’d as…

---

## [Form not invoking "create" action in production](https://www.ruby-forum.com/t/form-not-invoking-create-action-in-production/90942)

<div class="topic-metadata">

**Author:** [@trevorturk](https://www.ruby-forum.com/u/trevorturk)\
**Replies:** 3\
**Last updated:** [May 29, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/form-not-invoking-create-action-in-production/90942 "2007-05-29T20:42:23Z")

</div>

I’ve officially lost my mind. I’ve got a form that looks like this: \<%= error\_messages\_for :avatar %\> \<% form\_for(:avatar, :url =\> avatars\_path, :html =\> { :multipart =\> true }) do |f| %\> \<%= f.file\_field :uploaded…

---

## [Sending mail with attachments](https://www.ruby-forum.com/t/sending-mail-with-attachments/105082)

<div class="topic-metadata">

**Author:** [@benemson](https://www.ruby-forum.com/u/benemson)\
**Replies:** 3\
**Last updated:** [May 26, 2007, 2:18am UTC](https://www.ruby-forum.com/t/sending-mail-with-attachments/105082 "2007-05-26T02:18:04Z")

</div>

Have been googeling on this one for a bit. There are commercial librarys that do this but is there any open source ones? Ben

---

## [Find objects without children](https://www.ruby-forum.com/t/find-objects-without-children/90304)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/find-objects-without-children/90304 "2007-03-28T14:05:21Z")

</div>

Hello all, I am a newbie and therefore I am currently discovering the delights of Activerecord. I have a collection of objects, some of which have children and some of which have not. I am trying to run a find which …

---

## [Engines friendly framework from scratch](https://www.ruby-forum.com/t/engines-friendly-framework-from-scratch/90070)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 0\
**Last updated:** [March 25, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/engines-friendly-framework-from-scratch/90070 "2007-03-25T19:31:52Z")

</div>

Hi, I’ve been thinking about web frameworks because I will write a small one in JavaScript to share code between client and server. I would like to be able layer an application like engines allow in Rails. What would…

---

## [Noob: Error object in controller?](https://www.ruby-forum.com/t/noob-error-object-in-controller/89850)

<div class="topic-metadata">

**Author:** [@Thogra](https://www.ruby-forum.com/u/Thogra)\
**Replies:** 3\
**Last updated:** [March 23, 2007, 9:18pm UTC](https://www.ruby-forum.com/t/noob-error-object-in-controller/89850 "2007-03-23T21:18:14Z")

</div>

Hi all. First some confession I have to make: I’m coming from Java. This will possibly explain my question :wink: In Java you have an error object when -hm- some error has happened. You can ask this object for the er…

---

## [\[ANN\] Israel.rb is brought into existence!](https://www.ruby-forum.com/t/ann-israel-rb-is-brought-into-existence/89642)

<div class="topic-metadata">

**Author:** [@folke](https://www.ruby-forum.com/u/folke)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/ann-israel-rb-is-brought-into-existence/89642 "2007-03-21T21:59:40Z")

</div>

I am pleased to announce that the Israeli Ruby Brigade has been unleashed upon an unsuspecting world. We’re having our first meetup in two weeks. Further details about the meetup, and everything Ruby in Israel, can be …

---

## [Passing data to rant/rake for a customized build?](https://www.ruby-forum.com/t/passing-data-to-rant-rake-for-a-customized-build/89475)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 5:20am UTC](https://www.ruby-forum.com/t/passing-data-to-rant-rake-for-a-customized-build/89475 "2007-03-21T05:20:25Z")

</div>

Summary: How do I use a single rantfile or rakefile to perform some varying commands based on data that I want to pass to it? Background: My company makes a Windows-based middleware product helping next-gen game devel…

---

## [Ayuda con Pound](https://www.ruby-forum.com/t/ayuda-con-pound/83428)

<div class="topic-metadata">

**Author:** [@rub3n](https://www.ruby-forum.com/u/rub3n)\
**Replies:** 3\
**Last updated:** [January 27, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/ayuda-con-pound/83428 "2007-01-27T16:51:56Z")

</div>

Que tal amigos, tengo un pequeño con pound, recien acabo de montar mi vps, y necesito servir tanto aplicaciones php como aplicacion ror, el problema es que mi pagina principal esta en ror, pero debo tambien acceder a …

---

## [Socket issue](https://www.ruby-forum.com/t/socket-issue/82949)

<div class="topic-metadata">

**Author:** [@mschipperheyn](https://www.ruby-forum.com/u/mschipperheyn)\
**Replies:** 3\
**Last updated:** [January 23, 2007, 5:29am UTC](https://www.ruby-forum.com/t/socket-issue/82949 "2007-01-23T05:29:48Z")

</div>

Hey all, While testing some edge cases in an app I came across a strange socket issue. If I have a server that dies unexpectedly, and then try to write to it from an already connected client, it doesn’t raise an exc…

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

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