# Top

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

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

---

## [Header spostato con explorer 7.0.5730.11?](https://www.ruby-forum.com/t/header-spostato-con-explorer-7-0-5730-11/109111)

<div class="topic-metadata">

**Author:** [@ghisirds](https://www.ruby-forum.com/u/ghisirds)\
**Replies:** 2\
**Last updated:** [July 18, 2007, 11:50am UTC](https://www.ruby-forum.com/t/header-spostato-con-explorer-7-0-5730-11/109111 "2007-07-18T11:50:34Z")

</div>

Ciao a tutti. Non mi riesce di risolvere un problema che ho con il mio sito: un problema suppongo di compatibilitÃ css con Internet Explorer. Quando lo visualizzo con la versione 7.0.5730.11 (che non ho ma hanno due…

---

## [Cygwin Compile Errors from trunk](https://www.ruby-forum.com/t/cygwin-compile-errors-from-trunk/108357)

<div class="topic-metadata">

**Author:** [@Ben\_Kelley](https://www.ruby-forum.com/u/Ben_Kelley)\
**Replies:** 2\
**Last updated:** [July 3, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/cygwin-compile-errors-from-trunk/108357 "2007-07-03T18:21:55Z")

</div>

Hi, I had checked out the source from trunk on Friday, and I keep running into an error where it appears to be dying on a linking stage. The ./configure line was $ ./configure --with-boost-include-dir=/usr/include/…

---

## [RE: problemi con Proc](https://www.ruby-forum.com/t/re-problemi-con-proc/108046)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 2\
**Last updated:** [June 29, 2007, 12:51pm UTC](https://www.ruby-forum.com/t/re-problemi-con-proc/108046 "2007-06-29T12:51:07Z")

</div>

azz… altro problema… dichiarare la proc a livello di classe per poi pasarla al metodo, non mi fÃ vedere le variabili d’istanza… vabbÃ¨, provo un pÃ² da solo, ma ogni aiuto Ã¨ gradito…

---

## [Best practice for fragment caching a dynamic listing?](https://www.ruby-forum.com/t/best-practice-for-fragment-caching-a-dynamic-listing/107097)

<div class="topic-metadata">

**Author:** [@openmind](https://www.ruby-forum.com/u/openmind)\
**Replies:** 2\
**Last updated:** [June 18, 2007, 4:37pm UTC](https://www.ruby-forum.com/t/best-practice-for-fragment-caching-a-dynamic-listing/107097 "2007-06-18T16:37:48Z")

</div>

Hi, I’m new to fragment caching, and was wondering the best way to do it for a dynamically generated page. I have been working off of the “Agile Web Development with Rails” book, but it’s rather brief on fragment cac…

---

## [Display a page for each user](https://www.ruby-forum.com/t/display-a-page-for-each-user/106172)

<div class="topic-metadata">

**Author:** [@pabloq](https://www.ruby-forum.com/u/pabloq)\
**Replies:** 2\
**Last updated:** [June 7, 2007, 10:19pm UTC](https://www.ruby-forum.com/t/display-a-page-for-each-user/106172 "2007-06-07T22:19:35Z")

</div>

Hi People! This is my first post here. I’m new in ruby on rails, radiant and other stuff. I need to display a page for each user with custom content; the users must be authenticated and can not change the content, j…

---

## [AR: abstract model and eager loading](https://www.ruby-forum.com/t/ar-abstract-model-and-eager-loading/105124)

<div class="topic-metadata">

**Author:** [@daxhuiberts](https://www.ruby-forum.com/u/daxhuiberts)\
**Replies:** 2\
**Last updated:** [May 29, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/ar-abstract-model-and-eager-loading/105124 "2007-05-29T17:09:40Z")

</div>

Hi, I have the following setup: class Item \< ActiveRecord::Base belongs\_to :item, :polymorphic =\> true end class AbstractItem \< ActiveRecord::Base has\_one :item, :as =\> :item def self.abstract\_class?; self == Abst…

---

## [Disabling textfields while submitting ajax call](https://www.ruby-forum.com/t/disabling-textfields-while-submitting-ajax-call/104615)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 21, 2007, 12:21am UTC](https://www.ruby-forum.com/t/disabling-textfields-while-submitting-ajax-call/104615 "2007-05-21T00:21:30Z")

</div>

Hi I have a form\_remote\_tag-form that submits the contents of a text- field to the server. I have added javascript calls that show a spinner and hide the submit button while the server is processing the request, and …

---

## [IRB as test interface to existing object](https://www.ruby-forum.com/t/irb-as-test-interface-to-existing-object/89126)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 2\
**Last updated:** [March 17, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/irb-as-test-interface-to-existing-object/89126 "2007-03-17T18:41:38Z")

</div>

Hello, I have some object classes to which I want to add an interactive command-line shell for testing. At the moment, at the end of the source file I have something like if FILE == $0 obj = MyClass.new(\*ARGV) CLI…

---

## [Attachment\_fu - one or multiple attachment tables?](https://www.ruby-forum.com/t/attachment-fu-one-or-multiple-attachment-tables/86361)

<div class="topic-metadata">

**Author:** [@ralph](https://www.ruby-forum.com/u/ralph)\
**Replies:** 2\
**Last updated:** [February 22, 2007, 9:10am UTC](https://www.ruby-forum.com/t/attachment-fu-one-or-multiple-attachment-tables/86361 "2007-02-22T09:10:54Z")

</div>

Hello, I am currently writing a rails application which includes multiple models that require attachments. Each model object does have zero or one attachment. The attributes to be saved on each attachment do not diffe…

---

## [Searching with a collection](https://www.ruby-forum.com/t/searching-with-a-collection/86084)

<div class="topic-metadata">

**Author:** [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 8:11pm UTC](https://www.ruby-forum.com/t/searching-with-a-collection/86084 "2007-02-19T20:11:39Z")

</div>

If I want to find all rows in a table where a field matches one of several possible values, what is the most efficient way to do it? So I have table groups, with field idcode I have idcodes = \[143, 482, 941\] I’m gues…

---

## [Flow of execution](https://www.ruby-forum.com/t/flow-of-execution/83733)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 2\
**Last updated:** [January 29, 2007, 11:26am UTC](https://www.ruby-forum.com/t/flow-of-execution/83733 "2007-01-29T11:26:25Z")

</div>

Hi all, Could someone explain the ‘flow’ of how the eg below is processed? My limited understanding is that the left hand side is the receiver and the right hand side the method being passed to the receiver? What I d…

---

## [How can integrate apache2 with ruby on rails?](https://www.ruby-forum.com/t/how-can-integrate-apache2-with-ruby-on-rails/83137)

<div class="topic-metadata">

**Author:** [@waxon\_antony](https://www.ruby-forum.com/u/waxon_antony)\
**Replies:** 2\
**Last updated:** [January 26, 2007, 3:35pm UTC](https://www.ruby-forum.com/t/how-can-integrate-apache2-with-ruby-on-rails/83137 "2007-01-26T15:35:34Z")

</div>

I use kubuntu. How can i install ruby on rails in kubuntu? is ruby on rails integrated with apache2? how can i do? can anyone give me brief step by step suitable installation procedure for my configuration(kubuntu+ap…

---

## [Glib2 errors](https://www.ruby-forum.com/t/glib2-errors/78962)

<div class="topic-metadata">

**Author:** [@WoodHacker](https://www.ruby-forum.com/u/WoodHacker)\
**Replies:** 2\
**Last updated:** [December 11, 2006, 1:06am UTC](https://www.ruby-forum.com/t/glib2-errors/78962 "2006-12-11T01:06:28Z")

</div>

Can anyone explain why I’m suddenly getting the following errors? The large program that reports them (an editor) was working fine before I updated my gentoo system. Get these at startup. Everything seems to be wo…

---

## [Parsing information from a forwarded e-mail](https://www.ruby-forum.com/t/parsing-information-from-a-forwarded-e-mail/78650)

<div class="topic-metadata">

**Author:** [@soulchild](https://www.ruby-forum.com/u/soulchild)\
**Replies:** 2\
**Last updated:** [December 8, 2006, 4:06pm UTC](https://www.ruby-forum.com/t/parsing-information-from-a-forwarded-e-mail/78650 "2006-12-08T16:06:49Z")

</div>

Is there an easy way to parse out the information in a forwarded e-mail from Outlook on a MAPI server ABOUT the original message? e.g. The date, time, and e-mail address of the original sender, not the person who forw…

---

## [Capistrano Connection Caching Question](https://www.ruby-forum.com/t/capistrano-connection-caching-question/77793)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 2\
**Last updated:** [December 1, 2006, 12:11am UTC](https://www.ruby-forum.com/t/capistrano-connection-caching-question/77793 "2006-12-01T00:11:51Z")

</div>

Hi, I’m trying to clear up my understanding of how some of the Capistrano connection stuff works. In the Capistrano manual, I found the following “All |run| does is attempt to execute the given command on all associa…

---

## [Test Fixtures - Oracle date](https://www.ruby-forum.com/t/test-fixtures-oracle-date/71707)

<div class="topic-metadata">

**Author:** [@Jadeler\_Amin](https://www.ruby-forum.com/u/Jadeler_Amin)\
**Replies:** 2\
**Last updated:** [October 11, 2006, 12:29am UTC](https://www.ruby-forum.com/t/test-fixtures-oracle-date/71707 "2006-10-11T00:29:17Z")

</div>

What is the proper way of setting a test fixture for a date field in Oracle db? I’ve tried various ways like switching the year and no luck. My test fixture is: first: id: 1 department\_id: 1 last\_name: test1 fir…

---

## [Binding parameters in ruby/postres queries](https://www.ruby-forum.com/t/binding-parameters-in-ruby-postres-queries/71420)

<div class="topic-metadata">

**Author:** [@larry](https://www.ruby-forum.com/u/larry)\
**Replies:** 2\
**Last updated:** [October 8, 2006, 4:36pm UTC](https://www.ruby-forum.com/t/binding-parameters-in-ruby-postres-queries/71420 "2006-10-08T16:36:26Z")

</div>

I’m using the postgres library and trying to improve the performance of a database query that gets repeated many (~1 million) times. The documentation suggests you can pass in bind parameters as so: Documentation ----…

---

## [Order\_by with property](https://www.ruby-forum.com/t/order-by-with-property/69724)

<div class="topic-metadata">

**Author:** [@huli](https://www.ruby-forum.com/u/huli)\
**Replies:** 2\
**Last updated:** [September 23, 2006, 3:56pm UTC](https://www.ruby-forum.com/t/order-by-with-property/69724 "2006-09-23T15:56:42Z")

</div>

I have an usual pagination in rails. But I am trying to sort by a property which is not in the same table on the database. (I have an Entry class which has a region\_id. Then I got a Region class with id and name. Now …

---

## [Radiant on Mongrel](https://www.ruby-forum.com/t/radiant-on-mongrel/100887)

<div class="topic-metadata">

**Author:** [@jfrench](https://www.ruby-forum.com/u/jfrench)\
**Replies:** 2\
**Last updated:** [August 3, 2006, 12:31pm UTC](https://www.ruby-forum.com/t/radiant-on-mongrel/100887 "2006-08-03T12:31:38Z")

</div>

Is anyone else using the mongrel 0.3.13.3/apache2/radiant combo on RHEL or FC and getting the memory leaks and mongrel server crashes that I am? One guy commented that he was getting weird segfaults from mongrel using …

---

## [Dreamhost - how to login to your unix account?](https://www.ruby-forum.com/t/dreamhost-how-to-login-to-your-unix-account/99270)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [July 21, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/dreamhost-how-to-login-to-your-unix-account/99270 "2006-07-21T13:04:15Z")

</div>

\[apologies but dreamhost forums are down & I’m keen to get a rails up on my dreamhost account but the following isn’t clear to me - I’m just hoping one of the rails dreamhost users can set me straight\] I’m having diff…

---

## [Hosting timezone differs of clients timezone](https://www.ruby-forum.com/t/hosting-timezone-differs-of-clients-timezone/63732)

<div class="topic-metadata">

**Author:** [@carlosparamio](https://www.ruby-forum.com/u/carlosparamio)\
**Replies:** 2\
**Last updated:** [June 21, 2006, 7:51am UTC](https://www.ruby-forum.com/t/hosting-timezone-differs-of-clients-timezone/63732 "2006-06-21T07:51:33Z")

</div>

Hi, I have a website in production wich uses a lot of date and time calculations to show specific information. The timezone of my hosting service (Dreamhost) is PDT, and the timezone of my potential clients is CEST. …

---

## [Propagating exceptions from File.new](https://www.ruby-forum.com/t/propagating-exceptions-from-file-new/59786)

<div class="topic-metadata">

**Author:** [@eliben](https://www.ruby-forum.com/u/eliben)\
**Replies:** 2\
**Last updated:** [May 8, 2006, 8:02pm UTC](https://www.ruby-forum.com/t/propagating-exceptions-from-file-new/59786 "2006-05-08T20:02:07Z")

</div>

Hello, Suppose I have a class with a constructor that accepts a configuration file (in XML format). Part of an object’s initialization is to read some data from the XML file. However, sometimes the file passed into t…

---

## [Foreign keys not showing!](https://www.ruby-forum.com/t/foreign-keys-not-showing/93557)

<div class="topic-metadata">

**Author:** [@Bealach\_Na\_Bo](https://www.ruby-forum.com/u/Bealach_Na_Bo)\
**Replies:** 2\
**Last updated:** [April 4, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/foreign-keys-not-showing/93557 "2006-04-04T20:09:16Z")

</div>

I’m new at this so please be patient. I have a very simple schema consisting of a around 10 tables in Postgresql. The aim is to provide a system for PC administrators to keep track of PC’s dotted around various venues…

---

## [Multiple polymorphic belongs\_to declarations](https://www.ruby-forum.com/t/multiple-polymorphic-belongs-to-declarations/55331)

<div class="topic-metadata">

**Author:** [@janke](https://www.ruby-forum.com/u/janke)\
**Replies:** 2\
**Last updated:** [March 20, 2006, 4:33am UTC](https://www.ruby-forum.com/t/multiple-polymorphic-belongs-to-declarations/55331 "2006-03-20T04:33:16Z")

</div>

I have the following models: class Card \< ActiveRecord::Base belongs\_to :deck belongs\_to :front, :polymorphic =\> true belongs\_to :back, :polymorphic =\> true end class TextContent \< ActiveRecord::Base has\_one :c…

---

## [How does it know?](https://www.ruby-forum.com/t/how-does-it-know/64491)

<div class="topic-metadata">

**Author:** [@Jacob\_Ezzell](https://www.ruby-forum.com/u/Jacob_Ezzell)\
**Replies:** 2\
**Last updated:** [February 7, 2006, 8:41pm UTC](https://www.ruby-forum.com/t/how-does-it-know/64491 "2006-02-07T20:41:55Z")

</div>

I’m a recent Ruby/rails initiate, coming from PHP. I’m working my way through the Agile web development book, (slowly) and I ran into a wierd bug where the method cart.empty! wasn’t being found when I tried to call i…

---

## [Using register\_template\_handler to serve CSS files (Making A](https://www.ruby-forum.com/t/using-register-template-handler-to-serve-css-files-making-a/52974)

<div class="topic-metadata">

**Author:** [@IvSSSSn\_Vega\_R](https://www.ruby-forum.com/u/IvSSSSn_Vega_R)\
**Replies:** 2\
**Last updated:** [January 22, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/using-register-template-handler-to-serve-css-files-making-a/52974 "2006-01-22T16:45:36Z")

</div>

Hi, I wanted to be able to use some Rails code inside CSS files, so I set up a controller (StylesController) to serve CSS files that reside inside the controller’s view folder when the browser requests /stylesheets/:…

---

## [Pretty Log Output on OS X](https://www.ruby-forum.com/t/pretty-log-output-on-os-x/50940)

<div class="topic-metadata">

**Author:** [@HunterSs\_Lists](https://www.ruby-forum.com/u/HunterSs_Lists)\
**Replies:** 2\
**Last updated:** [December 23, 2005, 7:35am UTC](https://www.ruby-forum.com/t/pretty-log-output-on-os-x/50940 "2005-12-23T07:35:10Z")

</div>

Howdy, I am using Apple’s Terminal and Rails 1.0 on Tiger. I am tailing my log files and it seems with one of these updates things changed a little. I see all these ‘ESC’ codes all over. How can I make the output pre…

---

## [Routing Requests with a database field](https://www.ruby-forum.com/t/routing-requests-with-a-database-field/48040)

<div class="topic-metadata">

**Author:** [@matt.ramos](https://www.ruby-forum.com/u/matt.ramos)\
**Replies:** 2\
**Last updated:** [November 16, 2005, 4:54am UTC](https://www.ruby-forum.com/t/routing-requests-with-a-database-field/48040 "2005-11-16T04:54:33Z")

</div>

Hello. I am building a website that has a growing list of projects. So lets say I’d like to go to http://localhost:3000/project/submarine/ and view the “Submarine Project”. I’d have a database, and an entry could be.…

---

## [Gr-filter tests](https://www.ruby-forum.com/t/gr-filter-tests/220852)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 26, 2012, 11:16am UTC](https://www.ruby-forum.com/t/gr-filter-tests/220852 "2012-06-26T11:16:48Z")

</div>

Hey everyone, If you don’t track our check-ins closely, you might have missed a fairly large change to the code yesterday. We pushed a new component called gr-filter that consolidates all of the filter blocks and rel…

---

## [Check box tag](https://www.ruby-forum.com/t/check-box-tag/146611)

<div class="topic-metadata">

**Author:** [@pipex](https://www.ruby-forum.com/u/pipex)\
**Replies:** 5\
**Last updated:** [May 17, 2011, 7:49am UTC](https://www.ruby-forum.com/t/check-box-tag/146611 "2011-05-17T07:49:57Z")

</div>

Need some help please!!! I have a hash that contain a group of post, i render this hash on html. I want that with a checkbox the person can select the post to save it on the database. Somebody know how to do this, …

---

## [Beginer: Question about routing on Rails 3](https://www.ruby-forum.com/t/beginer-question-about-routing-on-rails-3/201048)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 29, 2010, 4:55pm UTC](https://www.ruby-forum.com/t/beginer-question-about-routing-on-rails-3/201048 "2010-12-29T16:55:09Z")

</div>

I bought this book about rails for beginers (head first Rails) and its quite simple and good for someone who has no clue about Rails (or any other language) On chapter two it talks about routing but unfortunately the…

---

## [Re: Re: installed rails 2.3.9 but keep getting rails 2.3.2](https://www.ruby-forum.com/t/re-re-installed-rails-2-3-9-but-keep-getting-rails-2-3-2/200906)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 5\
**Last updated:** [December 24, 2010, 3:11pm UTC](https://www.ruby-forum.com/t/re-re-installed-rails-2-3-9-but-keep-getting-rails-2-3-2/200906 "2010-12-24T15:11:18Z")

</div>

Hmmm I’m pretty sure my older development and production servers have no trace of 3.0.3 gems. That is because I started developing since rails 2.3.2 and the project was live when rails 2.3.5 was out. Any ideas? My ne…

---

## [Render :partial with :collection](https://www.ruby-forum.com/t/render-partial-with-collection/199627)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 7, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/render-partial-with-collection/199627 "2010-12-07T16:37:06Z")

</div>

Hello, How does the “render :partial =\> ‘/comment/form’, :collection=\>@blog.comments” work? What object does this pass to the partial view? How do I access the comment object in partial view?

---

## [Rails in Ubuntu - need help](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 5\
**Last updated:** [July 30, 2010, 5:43pm UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430 "2010-07-30T17:43:01Z")

</div>

Hello RoR, When I try apt-get install rails in (K)Ubuntu, all I get is Rails 2.2.3 , what to do to install rails 2.3.8 (the latest version) Thanks in advance.

---

## [Continously running a script](https://www.ruby-forum.com/t/continously-running-a-script/187306)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 5\
**Last updated:** [May 6, 2010, 7:52pm UTC](https://www.ruby-forum.com/t/continously-running-a-script/187306 "2010-05-06T19:52:51Z")

</div>

I am writing a rails script that I need to run continuosly. It basiclly scans the a particular table in my DB and makes queries to an outside service and updates the table as needed. I would like to keep the script co…

---

## [Finding highest ratings with acts\_as\_rateable](https://www.ruby-forum.com/t/finding-highest-ratings-with-acts-as-rateable/71720)

<div class="topic-metadata">

**Author:** [@mr\_robot](https://www.ruby-forum.com/u/mr_robot)\
**Replies:** 5\
**Last updated:** [May 3, 2008, 7:13am UTC](https://www.ruby-forum.com/t/finding-highest-ratings-with-acts-as-rateable/71720 "2008-05-03T07:13:21Z")

</div>

hi so i can find and set a Posts rating with the acts\_as\_rateable plugin. but how would i go about searching for the highest rated Posts, ie. search by rating. tx

---

## [Tough modeling problem](https://www.ruby-forum.com/t/tough-modeling-problem/134888)

<div class="topic-metadata">

**Author:** [@Jables](https://www.ruby-forum.com/u/Jables)\
**Replies:** 5\
**Last updated:** [April 16, 2008, 7:31am UTC](https://www.ruby-forum.com/t/tough-modeling-problem/134888 "2008-04-16T07:31:35Z")

</div>

I have what I think is a fairly complex modeling problem for you guys. So I have a user class. There are three link type classes: picture, video, and story. A user can vote, bookmark, and add any of those types. Es…

---

## [New to ruby](https://www.ruby-forum.com/t/new-to-ruby/122644)

<div class="topic-metadata">

**Author:** [@imoo](https://www.ruby-forum.com/u/imoo)\
**Replies:** 5\
**Last updated:** [December 10, 2007, 11:29am UTC](https://www.ruby-forum.com/t/new-to-ruby/122644 "2007-12-10T11:29:13Z")

</div>

why does my while loop never end? puts ‘Please enter a number:’ number = gets.chomp.to\_i while number != ‘’ if number \> 0 puts ‘You have entered a number greater than 0’ end puts ‘Please enter a number’ number = …

---

## [Singleton is this easy?](https://www.ruby-forum.com/t/singleton-is-this-easy/119680)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 5\
**Last updated:** [November 10, 2007, 2:57am UTC](https://www.ruby-forum.com/t/singleton-is-this-easy/119680 "2007-11-10T02:57:05Z")

</div>

Is this all that’s required to ensure that there’s ever only one instance of an ArrayOfCreatures? Seems too easy! C:\\code\> C:\\code\> C:\\code\>type Driver.rb require ‘ArrayOfCreatures’ require ‘Dragon’ someCreatures…

---

## [Show info from table wich is joined](https://www.ruby-forum.com/t/show-info-from-table-wich-is-joined/119378)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 5\
**Last updated:** [November 8, 2007, 12:33am UTC](https://www.ruby-forum.com/t/show-info-from-table-wich-is-joined/119378 "2007-11-08T00:33:38Z")

</div>

Hi, \<% @user.email %\> …is working \<% @user.educations do |education| %\> \<%= education.name%\> …is NOT working. This is because there is a join-table involved…below the mirgation class AddTableEducationsUsers \< Acti…

---

## [Context based filters?](https://www.ruby-forum.com/t/context-based-filters/69377)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 5\
**Last updated:** [September 21, 2006, 12:29pm UTC](https://www.ruby-forum.com/t/context-based-filters/69377 "2006-09-21T12:29:22Z")

</div>

I’m looking for a way to DRY up some of my controller code. I’m having problems with code that keeps coming back where I have to check some very similar context dependant conditions. It can’t be moved into a filter b…

---

## [Acts\_as\_tree leads to high CPU occupied?](https://www.ruby-forum.com/t/acts-as-tree-leads-to-high-cpu-occupied/65885)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 5\
**Last updated:** [August 22, 2006, 4:28pm UTC](https://www.ruby-forum.com/t/acts-as-tree-leads-to-high-cpu-occupied/65885 "2006-08-22T16:28:30Z")

</div>

ActiveRecord: class Classify \< ActiveRecord::Base acts\_as\_tree :order=\>“name” end template: \<% root.children.each do|subtype| %\> \<%= "#{subtype.name}" %\> \<% subtype.chil…

---

## [How to get to the parent of a child object](https://www.ruby-forum.com/t/how-to-get-to-the-parent-of-a-child-object/98271)

<div class="topic-metadata">

**Author:** [@remcoh](https://www.ruby-forum.com/u/remcoh)\
**Replies:** 5\
**Last updated:** [July 13, 2006, 7:41pm UTC](https://www.ruby-forum.com/t/how-to-get-to-the-parent-of-a-child-object/98271 "2006-07-13T19:41:42Z")

</div>

Hi, i have a problem with the following: I have an application with patients \<–\>\>consults models are ok in the view list\_consults i do this: for consult in @consults%\> \<%= consult.patient.name %\> \<%= consult.r…

---

## [Newbie question: missing template](https://www.ruby-forum.com/t/newbie-question-missing-template/61476)

<div class="topic-metadata">

**Author:** [@akh](https://www.ruby-forum.com/u/akh)\
**Replies:** 5\
**Last updated:** [May 24, 2006, 5:48pm UTC](https://www.ruby-forum.com/t/newbie-question-missing-template/61476 "2006-05-24T17:48:33Z")

</div>

Hi I’m new to this forum and new to Rails so excuse me if this is a daft question. I’m following the ONLamp.com tuturial and all has been well untill changing the template for the recipes. I have followed the instru…

---

## [Filter a list](https://www.ruby-forum.com/t/filter-a-list/69308)

<div class="topic-metadata">

**Author:** [@Santiago\_Hirschfeld](https://www.ruby-forum.com/u/Santiago_Hirschfeld)\
**Replies:** 5\
**Last updated:** [February 18, 2006, 2:17am UTC](https://www.ruby-forum.com/t/filter-a-list/69308 "2006-02-18T02:17:29Z")

</div>

I’d like to add some filter choices to display a list of items. These items has some boolean fields for example, and would like to have a checkbox at the top of the window to let me select how to filter the list. her…

---

## [Manual path setting for gnuplot](https://www.ruby-forum.com/t/manual-path-setting-for-gnuplot/243348)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 29, 2015, 6:42am UTC](https://www.ruby-forum.com/t/manual-path-setting-for-gnuplot/243348 "2015-09-29T06:42:59Z")

</div>

how can i set a manual path - without using windows path for gnuplot?

---

## [Re: Suppressing UHD prints](https://www.ruby-forum.com/t/re-suppressing-uhd-prints/242606)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [July 6, 2015, 8:41pm UTC](https://www.ruby-forum.com/t/re-suppressing-uhd-prints/242606 "2015-07-06T20:41:50Z")

</div>

@Sebastion “Even if ’ uhd::msg::register\_handler’ would be exposed to python, you still can’t drop-in your own null-handler. Swig doesn’t support callbacks in the target language (python).” This seems precisely what …

---

## [\#count and #size](https://www.ruby-forum.com/t/count-and-size/242272)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 10, 2015, 9:55am UTC](https://www.ruby-forum.com/t/count-and-size/242272 "2015-06-10T09:55:49Z")

</div>

I have been pretty frustrated with the inconsistencies of AR’s #count method. In my humble opinion, the count method should always return an integer. The “grouped count” functionality is powerful but should not be lum…

---

## [Devise controller error](https://www.ruby-forum.com/t/devise-controller-error/241660)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 21, 2015, 6:39pm UTC](https://www.ruby-forum.com/t/devise-controller-error/241660 "2015-04-21T18:39:47Z")

</div>

I am using rail 4.2 and ruby 2.2.0p0, I need to submit form which belongs to user table, once the user authenticate and for authentication I am using devise, Do I need to create user controller and view manually or I…

---

## [Help with an assignment](https://www.ruby-forum.com/t/help-with-an-assignment/234136)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 23, 2015, 7:43am UTC](https://www.ruby-forum.com/t/help-with-an-assignment/234136 "2015-02-23T07:43:37Z")

</div>

Hi, is there any handy ruby programmer who will help me with my assignment? The topic is very wide. I am asked to implement some feature or fix some bug in open-source project. It doesnt matter what would be the proje…

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

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