# Top

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

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

---

## [Strange send\_file problem](https://www.ruby-forum.com/t/strange-send-file-problem/77851)

<div class="topic-metadata">

**Author:** [@minka](https://www.ruby-forum.com/u/minka)\
**Replies:** 3\
**Last updated:** [December 1, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/strange-send-file-problem/77851 "2006-12-01T14:47:15Z")

</div>

Or perhaps I am stumbling in newbie fashion (tho I have active\_merchant and a store site basically up and running in development mode - still I don’t feel I always understand what is going on.) So, when I have send\_f…

---

## [MySQL query optimization](https://www.ruby-forum.com/t/mysql-query-optimization/76218)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [November 16, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/mysql-query-optimization/76218 "2006-11-16T21:21:33Z")

</div>

We have created a Ruby on Rails website which is based on searching a table of 70,000+ object. Each object searched then returns a list of id’s in another table, of about 30,000. The id’s are listed for each object in…

---

## [Collecting checked checkboxes from table](https://www.ruby-forum.com/t/collecting-checked-checkboxes-from-table/76058)

<div class="topic-metadata">

**Author:** [@rudy](https://www.ruby-forum.com/u/rudy)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/collecting-checked-checkboxes-from-table/76058 "2006-11-15T18:41:01Z")

</div>

Hi, I’m new to RoR, so this is a beginners question, I know. (Bought Agile 2 in pdf, Recipes and Ruby For Rails, stillstudying) So please forgive me this very simpel request. I have a list with rubrics, each with a ch…

---

## [Messed-up habtm relationship](https://www.ruby-forum.com/t/messed-up-habtm-relationship/75905)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 3\
**Last updated:** [November 14, 2006, 2:12pm UTC](https://www.ruby-forum.com/t/messed-up-habtm-relationship/75905 "2006-11-14T14:12:50Z")

</div>

Hi, I have a many-to-many relationship between dishes and ingredients class Dish \< ActiveRecord::Base has\_and\_belongs\_to\_many :ingredients end class Ingredient \< ActiveRecord::Base has\_and\_belongs\_to\_many :dishes …

---

## [Carriage return retrievel using RoR](https://www.ruby-forum.com/t/carriage-return-retrievel-using-ror/74263)

<div class="topic-metadata">

**Author:** [@darrenevans](https://www.ruby-forum.com/u/darrenevans)\
**Replies:** 3\
**Last updated:** [November 3, 2006, 3:53pm UTC](https://www.ruby-forum.com/t/carriage-return-retrievel-using-ror/74263 "2006-11-03T15:53:14Z")

</div>

Hi If I have for example: Test 1 Test 2 in the field result in the picture table in my database, then using @picture.result I get: Test 1 Test 2 i.e. the carriage return is missing. Does anyone know an easy way to …

---

## [Help with validates\_presence\_of](https://www.ruby-forum.com/t/help-with-validates-presence-of/73611)

<div class="topic-metadata">

**Author:** [@sarah\_hutchinson](https://www.ruby-forum.com/u/sarah_hutchinson)\
**Replies:** 3\
**Last updated:** [October 29, 2006, 3:28pm UTC](https://www.ruby-forum.com/t/help-with-validates-presence-of/73611 "2006-10-29T15:28:53Z")

</div>

I’m trying to specify specific instances when ‘validates\_presence\_of’ should be used in a particular model. I looked in the docs and found that you can set :on to specify when the particular validation should occur. H…

---

## [Error with show](https://www.ruby-forum.com/t/error-with-show/94326)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [October 3, 2006, 5:11am UTC](https://www.ruby-forum.com/t/error-with-show/94326 "2006-10-03T05:11:29Z")

</div>

Hello everyone, I have a problem while opening something like /main/show/1 Here is the template for show.rhtml \<% for name in @names %\> \<%= name.full\_name %\> \<% end %\> And here is the code specific to the show …

---

## [Find\_by\_column\_name and for loop returns undef method \`each'](https://www.ruby-forum.com/t/find-by-column-name-and-for-loop-returns-undef-method-each/101010)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/find-by-column-name-and-for-loop-returns-undef-method-each/101010 "2006-08-03T13:04:15Z")

</div>

I’m trying to understand how to select only certain rows in my database using RoR. As a test I try to find certain clients by adding this code in my list view… \<% clientlist = Client.find\_by\_client\_status\_id(1) %\> \<%…

---

## [RE: test su classi modulate](https://www.ruby-forum.com/t/re-test-su-classi-modulate/100008)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 3\
**Last updated:** [July 27, 2006, 10:00am UTC](https://www.ruby-forum.com/t/re-test-su-classi-modulate/100008 "2006-07-27T10:00:15Z")

</div>

Non sò se vi può interessare, immagino di no visto che non mi avete aiutato e sono dovuto arrivare da solo alla soluzione ( scherzetto :)))) ), ma comunque per risolvere il problema è sufficente impostare all’interno …

---

## [RailsConf Europe : Early bird](https://www.ruby-forum.com/t/railsconf-europe-early-bird/96404)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 3\
**Last updated:** [July 1, 2006, 12:55pm UTC](https://www.ruby-forum.com/t/railsconf-europe-early-bird/96404 "2006-07-01T12:55:53Z")

</div>

Hello, Juste pour rappeler que c’est bientÃ´t le 30 juin et la fin de la rÃ©duction la plus importante pour assister Ã RailsConf Europe : June 30th and pay just Â£450/delegate July 30th and pay Â£475/delegate Augus…

---

## [Using a variable as substitute for a method](https://www.ruby-forum.com/t/using-a-variable-as-substitute-for-a-method/62944)

<div class="topic-metadata">

**Author:** [@zerohalo](https://www.ruby-forum.com/u/zerohalo)\
**Replies:** 3\
**Last updated:** [June 9, 2006, 8:12pm UTC](https://www.ruby-forum.com/t/using-a-variable-as-substitute-for-a-method/62944 "2006-06-09T20:12:52Z")

</div>

That probably isn’t the right title for this topic, but I’m not sure how else to explain in succintly. I’m sorry if this is obvious but I couldn’t find the answer in the Ruby/Rails docs. How do I use a variable as a s…

---

## [Database can't connect -](https://www.ruby-forum.com/t/database-cant-connect/62072)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [May 31, 2006, 9:16am UTC](https://www.ruby-forum.com/t/database-cant-connect/62072 "2006-05-31T09:16:36Z")

</div>

I’m sorry guys. I’m really still such a newbie at this. i’ve been having trouble getting my Rails apps to run on Dreamhost, and I think it might be a problem with the database connection. Anyway, I read on Code Snippe…

---

## [Nil? takes much time](https://www.ruby-forum.com/t/nil-takes-much-time/59031)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 3\
**Last updated:** [April 28, 2006, 10:15am UTC](https://www.ruby-forum.com/t/nil-takes-much-time/59031 "2006-04-28T10:15:11Z")

</div>

Hello all. In one my class I’ve had very simple method: … def stored? !@db.nil? end … And I’ve suddenly noticed (due to profile) that nil? Takes a significant amount of time here. Redefining the above method lik…

---

## [Website monitor?](https://www.ruby-forum.com/t/website-monitor/79858)

<div class="topic-metadata">

**Author:** [@joe-black](https://www.ruby-forum.com/u/joe-black)\
**Replies:** 3\
**Last updated:** [March 11, 2006, 9:39pm UTC](https://www.ruby-forum.com/t/website-monitor/79858 "2006-03-11T21:39:36Z")

</div>

hi all. i have a site powered by ROR. now, i try to find a monitor based on ruby. any one have any idea? regards.

---

## [Stupid basic concept problem](https://www.ruby-forum.com/t/stupid-basic-concept-problem/78369)

<div class="topic-metadata">

**Author:** [@thomasl](https://www.ruby-forum.com/u/thomasl)\
**Replies:** 3\
**Last updated:** [March 8, 2006, 1:46pm UTC](https://www.ruby-forum.com/t/stupid-basic-concept-problem/78369 "2006-03-08T13:46:54Z")

</div>

Hy there I just saw some rails videos. NICE!!! So I got this basic principle question: Now I created my jawdropping application. But it’s just running localy. Can I kind of export my project to php&sql. so I can im…

---

## [RE: Can Ruby and PHP play nice together?](https://www.ruby-forum.com/t/re-can-ruby-and-php-play-nice-together/77847)

<div class="topic-metadata">

**Author:** [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Replies:** 3\
**Last updated:** [March 7, 2006, 8:00pm UTC](https://www.ruby-forum.com/t/re-can-ruby-and-php-play-nice-together/77847 "2006-03-07T20:00:34Z")

</div>

I’m doing the opposite on Dreamhost… I have a wordpress blog in the public folder of my Rails application. Everything seems to work just fine there. I don’t recall if I had to do anything special to make that work… I …

---

## [Dynamic queries](https://www.ruby-forum.com/t/dynamic-queries/54413)

<div class="topic-metadata">

**Author:** [@idrifter](https://www.ruby-forum.com/u/idrifter)\
**Replies:** 3\
**Last updated:** [March 4, 2006, 1:41am UTC](https://www.ruby-forum.com/t/dynamic-queries/54413 "2006-03-04T01:41:37Z")

</div>

Is there an easy (and secure) way to search your database when you don’t know the number of parameters ahead of time? I can see doing it by concatenating together an sql query, but hopefully rails provides a more ele…

---

## [Acts\_as\_taggable tests appear to rely on special database se](https://www.ruby-forum.com/t/acts-as-taggable-tests-appear-to-rely-on-special-database-se/102392)

<div class="topic-metadata">

**Author:** [@samj](https://www.ruby-forum.com/u/samj)\
**Replies:** 3\
**Last updated:** [February 8, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-tests-appear-to-rely-on-special-database-se/102392 "2006-02-08T17:38:56Z")

</div>

Hi, I’ve posted this to rubyforge, but I thought I’d post here as well in case anyone outside the acts\_as\_taggable project has experienced this. I’m trying to run the acts\_as\_taggable unit tests. I found I had to cr…

---

## [Related drop down list / ajax](https://www.ruby-forum.com/t/related-drop-down-list-ajax/52411)

<div class="topic-metadata">

**Author:** [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Replies:** 3\
**Last updated:** [January 21, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/related-drop-down-list-ajax/52411 "2006-01-21T15:39:59Z")

</div>

Hi all, I’m trying to create a related dropdown box: In my view: Select category \<% @categories.each do |category| %\> \<%= category.title %\> \<% end %\> No Brand \<% for brand in…

---

## [FCGI Malformed Header?](https://www.ruby-forum.com/t/fcgi-malformed-header/49893)

<div class="topic-metadata">

**Author:** [@lists](https://www.ruby-forum.com/u/lists)\
**Replies:** 3\
**Last updated:** [December 11, 2005, 11:09pm UTC](https://www.ruby-forum.com/t/fcgi-malformed-header/49893 "2005-12-11T23:09:26Z")

</div>

Until yesterday my app was chugging along… Something has happened and I am now getting FCGI errors but only on certain pages: \[Fri Dec 09 10:20:44 2005\] \[error\] \[client xx.xx.xx.xx\] FastCGI: comm with server “/home/…

---

## [Matching roll\_no then loop 3 times, next loop](https://www.ruby-forum.com/t/matching-roll-no-then-loop-3-times-next-loop/209725)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [July 21, 2011, 5:54pm UTC](https://www.ruby-forum.com/t/matching-roll-no-then-loop-3-times-next-loop/209725 "2011-07-21T17:54:25Z")

</div>

Hi, I am beginner RoR. I need your advanced programming… @rollresults = RollResult.where(:banker\_id =\>‘3’) | banker\_id | roll\_no | | 3 | 332 | | 3 | 512 | \<-- when roll\_no match …

---

## [Model validation](https://www.ruby-forum.com/t/model-validation/174274)

<div class="topic-metadata">

**Author:** [@wap](https://www.ruby-forum.com/u/wap)\
**Replies:** 5\
**Last updated:** [August 24, 2009, 12:18pm UTC](https://www.ruby-forum.com/t/model-validation/174274 "2009-08-24T12:18:42Z")

</div>

hello guys i am using model validation with ajax i have new.html.erb it is call through link\_\_to\_remote() then press create if any validate require page will redirect to it actual controller for ex. admins/new somet…

---

## [Two Dimensional Array](https://www.ruby-forum.com/t/two-dimensional-array/141633)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 5\
**Last updated:** [June 30, 2008, 1:57am UTC](https://www.ruby-forum.com/t/two-dimensional-array/141633 "2008-06-30T01:57:41Z")

</div>

class Tda def initialize(width=0, height=0) if((width==0) && width\<height) raise NotImplementedError, “(#{width}) width Tda cannot have a height.” else @tda = Array.new(width).map!{ Array.new(height) } end end d…

---

## [Mod\_rails is defaulting to development mode](https://www.ruby-forum.com/t/mod-rails-is-defaulting-to-development-mode/139105)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 5\
**Last updated:** [June 1, 2008, 10:03am UTC](https://www.ruby-forum.com/t/mod-rails-is-defaulting-to-development-mode/139105 "2008-06-01T10:03:27Z")

</div>

I just installed mod\_rails on a brand new Hardy server and for some reason it is defaulting to development mode. I even put RailsEnv in the apache config file. Any ideas on what might be causing this?

---

## [Where to start?](https://www.ruby-forum.com/t/where-to-start/138063)

<div class="topic-metadata">

**Author:** [@pleiva](https://www.ruby-forum.com/u/pleiva)\
**Replies:** 5\
**Last updated:** [May 20, 2008, 8:11am UTC](https://www.ruby-forum.com/t/where-to-start/138063 "2008-05-20T08:11:35Z")

</div>

Does anyone have a good website or book, to start on Ruby and Rubyonrails ?

---

## [Where do I start?](https://www.ruby-forum.com/t/where-do-i-start/121537)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [November 28, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/where-do-i-start/121537 "2007-11-28T22:18:07Z")

</div>

Ok, in line with my last post - I have the original Agile book, and I’ve been googling tutorials and whatnot. From what I can see, the ONLamp.com tutorial seems popular (Rolling with Ruby) - but it is 2 years old as w…

---

## [NaN return](https://www.ruby-forum.com/t/nan-return/90734)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 5\
**Last updated:** [March 31, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/nan-return/90734 "2007-03-31T18:05:42Z")

</div>

I am using a method ‘distance\_to’ from a lib returning a distance in Float type based on latitude/longitude @ proposals.each do | proposal | cd = proposal.distance\_to(current\_city) @d = cd if (@d \<=\> cd) \> 0…

---

## [Irb question](https://www.ruby-forum.com/t/irb-question/68960)

<div class="topic-metadata">

**Author:** [@randw](https://www.ruby-forum.com/u/randw)\
**Replies:** 5\
**Last updated:** [September 18, 2006, 10:01am UTC](https://www.ruby-forum.com/t/irb-question/68960 "2006-09-18T10:01:14Z")

</div>

Greetings All I have a question about bindings in the irb when you load a file into it. Here is a sample file I tried loading: def hello puts “hello there” end jello = 42 puts jello I load this file from the irb…

---

## [Re: Reflection and files](https://www.ruby-forum.com/t/re-reflection-and-files/68356)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 5\
**Last updated:** [September 12, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/re-reflection-and-files/68356 "2006-09-12T20:11:38Z")

</div>

Suppose I have a ruby file with a single class. Is it possible to write a ruby script that can extract the class name from the file? \[…\] Is it possible to extract the class name via reflection? Well, here’s one te…

---

## [Inheritance in ruby](https://www.ruby-forum.com/t/inheritance-in-ruby/212969)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 21, 2011, 5:28am UTC](https://www.ruby-forum.com/t/inheritance-in-ruby/212969 "2011-10-21T05:28:55Z")

</div>

Hi, all. I’m creating an automation framework, and met this inheritance private/protected problem. Say I’m having SshCon and LinuxSshCon class SshCon def connect cmd() end def cmd end def search cmd("") end …

---

## [Installing gem problem](https://www.ruby-forum.com/t/installing-gem-problem/210210)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 3, 2011, 2:43pm UTC](https://www.ruby-forum.com/t/installing-gem-problem/210210 "2011-08-03T14:43:38Z")

</div>

Hi when I want to install feed tools gem I face a problem . I take a picture and attach it to this post, please see it and solve my problem. thanks

---

## [Building JSON Doc with certain rows](https://www.ruby-forum.com/t/building-json-doc-with-certain-rows/208777)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 27, 2011, 4:46pm UTC](https://www.ruby-forum.com/t/building-json-doc-with-certain-rows/208777 "2011-06-27T16:46:44Z")

</div>

Hi all, I’m building a site that delivers some data to a mobile device using JSON. The data is all about music events, and each event has\_many bands, and belongs\_to a venue, and these associated models i’m also inclu…

---

## [Anything special needed to migrate test::unit tests from Rails 2x to Rails3?](https://www.ruby-forum.com/t/anything-special-needed-to-migrate-test-unit-tests-from-rails-2x-to-rails3/198215)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 28, 2010, 6:10pm UTC](https://www.ruby-forum.com/t/anything-special-needed-to-migrate-test-unit-tests-from-rails-2x-to-rails3/198215 "2010-10-28T18:10:50Z")

</div>

Looks like I’ve gotten my app upgraded successfully, at least in the browser. When I ‘rake test’ I get no love. I know I can start digging through the Rails rake tasks, first want to see if anyone has an idea what is…

---

## [QED v2.2.0 released](https://www.ruby-forum.com/t/qed-v2-2-0-released/190431)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 7:23pm UTC](https://www.ruby-forum.com/t/qed-v2-2-0-released/190431 "2010-06-23T19:23:39Z")

</div>

QED 2.2.0 has been released. QED (Quality Ensured Demonstrations) is a TDD/BDD framework utilizing Literate Programming techniques. home: http://proutils.github.com/qed work: http://github.com/protuils/qed This re…

---

## [Separate validation file for each model](https://www.ruby-forum.com/t/separate-validation-file-for-each-model/189955)

<div class="topic-metadata">

**Author:** [@krunal\_shah](https://www.ruby-forum.com/u/krunal_shah)\
**Replies:** 4\
**Last updated:** [June 10, 2010, 8:04pm UTC](https://www.ruby-forum.com/t/separate-validation-file-for-each-model/189955 "2010-06-10T20:04:21Z")

</div>

I have a too many models and want to maitain separate validation and relationship files for each model. Is there any way i can maintain it with rails? Any specific advantage to do it?

---

## [Ruby is not rails](https://www.ruby-forum.com/t/ruby-is-not-rails/182953)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 4\
**Last updated:** [February 5, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/ruby-is-not-rails/182953 "2010-02-05T17:36:42Z")

</div>

GNU was more popular due to the combination with Linux. But Richard Stallman said “GNU is not Unix”. Today ruby is most likely popular due to its killer application Rails. But other than Rails, ruby itself is yet anot…

---

## [Inserting multiple records from one table (model) to another](https://www.ruby-forum.com/t/inserting-multiple-records-from-one-table-model-to-another/177999)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 4\
**Last updated:** [October 29, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/inserting-multiple-records-from-one-table-model-to-another/177999 "2009-10-29T20:15:55Z")

</div>

Hello all, I’ve been getter better with Rails but I’m still just learning. Here’s what I have. I have one table (imports) and I read in a csv into this table. I must do some preliminary editing to each record, afterw…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/174425)

<div class="topic-metadata">

**Author:** [@DoyleS\_John](https://www.ruby-forum.com/u/DoyleS_John)\
**Replies:** 4\
**Last updated:** [August 27, 2009, 8:12am UTC](https://www.ruby-forum.com/t/unsubscribe/174425 "2009-08-27T08:12:08Z")

</div>

help unsubscribe Finance Australian Business Number (ABN): 61 970 632 495 Finance Web S.: www.finance.gov.au IMPORTANT: This transmission is intended only for the use of the addressee and may contain confidenti…

---

## [Rails site on CD](https://www.ruby-forum.com/t/rails-site-on-cd/169109)

<div class="topic-metadata">

**Author:** [@Robin\_F](https://www.ruby-forum.com/u/Robin_F)\
**Replies:** 4\
**Last updated:** [May 29, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/rails-site-on-cd/169109 "2009-05-29T17:26:47Z")

</div>

Hi All I’ve been asked to provide a copy of a site I’ve just put together on a CD so that it can be tailed in with a Powerpoint presentation (I presume links from the presentation to a local copy of the site). Does a…

---

## [Ubuntu 9.04 and GNU Radio](https://www.ruby-forum.com/t/ubuntu-9-04-and-gnu-radio/166477)

<div class="topic-metadata">

**Author:** [@Robert\_McGwier](https://www.ruby-forum.com/u/Robert_McGwier)\
**Replies:** 4\
**Last updated:** [April 26, 2009, 2:36am UTC](https://www.ruby-forum.com/t/ubuntu-9-04-and-gnu-radio/166477 "2009-04-26T02:36:56Z")

</div>

I am not able to configure and compile GR on Ubuntu 9.04 using the directions from the gnuradio.org/trac on any of three different machines on which I attempted to do the upgrade. I then tried on one of them doing a …

---

## [Rails security model defaults to non-escaped output](https://www.ruby-forum.com/t/rails-security-model-defaults-to-non-escaped-output/142326)

<div class="topic-metadata">

**Author:** [@chovy](https://www.ruby-forum.com/u/chovy)\
**Replies:** 4\
**Last updated:** [July 6, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/rails-security-model-defaults-to-non-escaped-output/142326 "2008-07-06T23:32:17Z")

</div>

Is there a way to toggle the security model so all output is escaped by default, and passing \<%=n (paragraph) %\> when I do not want my output escaped? Having to add \<%=h () %\> currently to do it is cumbersome and pron…

---

## [Looping](https://www.ruby-forum.com/t/looping/140407)

<div class="topic-metadata">

**Author:** [@twaters](https://www.ruby-forum.com/u/twaters)\
**Replies:** 4\
**Last updated:** [June 13, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/looping/140407 "2008-06-13T17:35:43Z")

</div>

Can someone explain why my code is stopping after looking at the first file? There are at least 20 files in this directory and it stops after checking just one. require ‘net/ftp’ class Download ftp = Net::FTP.new(‘f…

---

## [Location of ancillary files](https://www.ruby-forum.com/t/location-of-ancillary-files/139898)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 4\
**Last updated:** [June 9, 2008, 12:38am UTC](https://www.ruby-forum.com/t/location-of-ancillary-files/139898 "2008-06-09T00:38:47Z")

</div>

Let’s say, for example, that I want to create an order form and that I want to assign an order number to each submitted order form for tracking purposes. So, I create a little file to store the latest number. Then w…

---

## [First, above the Rails::Initializer.run block put](https://www.ruby-forum.com/t/first-above-the-rails-initializer-run-block-put/137455)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 4\
**Last updated:** [May 18, 2008, 1:53am UTC](https://www.ruby-forum.com/t/first-above-the-rails-initializer-run-block-put/137455 "2008-05-18T01:53:19Z")

</div>

I’m puzzling through these instructions: And I’ve gotten as far as the instructions that read … “First, above the Rails::Initializer.run block put …” but I don’t have any “Rails::Initializer.run” block. Am I mis…

---

## [Dynamic class instantiation by iteration](https://www.ruby-forum.com/t/dynamic-class-instantiation-by-iteration/136272)

<div class="topic-metadata">

**Author:** [@Frisco\_Del\_R](https://www.ruby-forum.com/u/Frisco_Del_R)\
**Replies:** 4\
**Last updated:** [April 30, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/dynamic-class-instantiation-by-iteration/136272 "2008-04-30T16:32:49Z")

</div>

I’m curious as to why the following does not create three instances of class Cat: class Cat def initialize(name) @name = name end end toons = \[“Felix”, “Garfield”, “Heathcliff”\] toons.each {|t| t = Cat.new(t)} I…

---

## [How to clean up this code?](https://www.ruby-forum.com/t/how-to-clean-up-this-code/133170)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 4\
**Last updated:** [March 28, 2008, 8:34pm UTC](https://www.ruby-forum.com/t/how-to-clean-up-this-code/133170 "2008-03-28T20:34:42Z")

</div>

OK, I’ve got my code working. As you will no doubt infer from my questions below, I am completely new to web development. If clueless n00b questions drive you crazy, then hit now and move on… For those of you I hav…

---

## [Over Loading](https://www.ruby-forum.com/t/over-loading/133055)

<div class="topic-metadata">

**Author:** [@selva](https://www.ruby-forum.com/u/selva)\
**Replies:** 4\
**Last updated:** [March 27, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/over-loading/133055 "2008-03-27T14:31:47Z")

</div>

Hai All, Question looks like simple Why ruby is not supporting over loading?? I think we can pass any number of argument as an array to method. is this the reason or any other ???

---

## [Creating a Controller](https://www.ruby-forum.com/t/creating-a-controller/132943)

<div class="topic-metadata">

**Author:** [@cz231](https://www.ruby-forum.com/u/cz231)\
**Replies:** 4\
**Last updated:** [March 26, 2008, 12:00am UTC](https://www.ruby-forum.com/t/creating-a-controller/132943 "2008-03-26T00:00:13Z")

</div>

Hi, I’m new to ruby on rails, but let me let you know, I’m very excited about learning it. Anyway, I’m trying to create a controller through the console but something makes it not work. I am running windows vista and…

---

## [Problems with 3 deep restful nesting](https://www.ruby-forum.com/t/problems-with-3-deep-restful-nesting/131048)

<div class="topic-metadata">

**Author:** [@betaband](https://www.ruby-forum.com/u/betaband)\
**Replies:** 4\
**Last updated:** [March 5, 2008, 4:41pm UTC](https://www.ruby-forum.com/t/problems-with-3-deep-restful-nesting/131048 "2008-03-05T16:41:06Z")

</div>

I have a :user has\_many :events has\_many :signups map.resources :users do |user| user.resources :events do |event| event.resources :signups end end But in the 3rd nested resource im having trouble with the form\_fo…

---

## [Looking for suggestions on well architected Open Source Projects in ROR for Code Review](https://www.ruby-forum.com/t/looking-for-suggestions-on-well-architected-open-source-projects-in-ror-for-code-review/127893)

<div class="topic-metadata">

**Author:** [@Chad](https://www.ruby-forum.com/u/Chad)\
**Replies:** 4\
**Last updated:** [February 3, 2008, 1:40am UTC](https://www.ruby-forum.com/t/looking-for-suggestions-on-well-architected-open-source-projects-in-ror-for-code-review/127893 "2008-02-03T01:40:01Z")

</div>

Hello, I have spent the last few weeks learning Ruby coming from a PHP and C# background. I was hoping get suggestions on some really well architected Open Source Projects in ROR so that I can poke around, see how t…

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

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