# Top

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

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

---

## [Weird result of replacing content](https://www.ruby-forum.com/t/weird-result-of-replacing-content/144775)

<div class="topic-metadata">

**Author:** [@cheyne](https://www.ruby-forum.com/u/cheyne)\
**Replies:** 3\
**Last updated:** [August 1, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/weird-result-of-replacing-content/144775 "2008-08-01T23:08:59Z")

</div>

Hi, there I’m stuck on replacing patterns in a file. I have http.log, which is generated from system; and a.txt, which is manually written; Also, i have a replace function that takes string and replace a pattern. co…

---

## [Gnuradio compile problems for i686](https://www.ruby-forum.com/t/gnuradio-compile-problems-for-i686/139303)

<div class="topic-metadata">

**Author:** [@isaacgerg](https://www.ruby-forum.com/u/isaacgerg)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 10:24pm UTC](https://www.ruby-forum.com/t/gnuradio-compile-problems-for-i686/139303 "2008-06-02T22:24:21Z")

</div>

I get the same errors with gnuradio 3.1.2 and 3.1.1 gr\_dispatcher.cc In member function ‘void gr\_dispatcher::loop(double)’: gr\_dispatcher.cc:177: error ‘perror’ was not declared in this scope. Thanks in advanced, Is…

---

## [Route #resource + member vs #connect](https://www.ruby-forum.com/t/route-resource-member-vs-connect/139061)

<div class="topic-metadata">

**Author:** [@overclokkato](https://www.ruby-forum.com/u/overclokkato)\
**Replies:** 3\
**Last updated:** [May 31, 2008, 1:18am UTC](https://www.ruby-forum.com/t/route-resource-member-vs-connect/139061 "2008-05-31T01:18:11Z")

</div>

Hello, I have a Hotel model and I mapped all routes for this class via map.resources. map.resources :hotels, :collection =\> { :search =\> :get, :cheapest =\> :get } I also mapped some additional actions including a se…

---

## [Routing issue with rails](https://www.ruby-forum.com/t/routing-issue-with-rails/138068)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 3\
**Last updated:** [May 20, 2008, 2:01am UTC](https://www.ruby-forum.com/t/routing-issue-with-rails/138068 "2008-05-20T02:01:17Z")

</div>

I have following routes: map.resources :users ruby script/console rs = ActionController::Routing::Routes rs.recognize\_path(’/users/2’) =\> {:controller=\>“users”, :action=\>“2”} The output is not correct. However…

---

## [Defined? a &&= 0](https://www.ruby-forum.com/t/defined-a-0/136604)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 3:42am UTC](https://www.ruby-forum.com/t/defined-a-0/136604 "2008-05-12T03:42:33Z")

</div>

e$B0J2\<$N$h$&$K!“e(Bdefined? a &&= 0 e$B$,e(B nil e$B$K$J$j$^$9$,!”$3$l$O0Ue(B e$B?^E\*$G$7$g$&$+e(B? % ./ruby -ve ‘p(defined? a &&= 0)’ ruby 1.9.0 (2008-05-02 revision 16284) \[i686-linux\] nil 1.8 e$B$G$Oe(B “expres…

---

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

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 3\
**Last updated:** [May 6, 2008, 5:40am UTC](https://www.ruby-forum.com/t/help-with-array/136717 "2008-05-06T05:40:40Z")

</div>

Team, On my never ending saga to learn Ruby, I am trying to write a program to solve Sudoku puzzles. Given a multidimensional array (9x9) I am trying to inspect each row and each column as follows: Assume the follow…

---

## [\[RUG-HH\] Treffen in Hamburg HEUTE 19:00 mindmatters GmbH & Co. KG](https://www.ruby-forum.com/t/rug-hh-treffen-in-hamburg-heute-19-00-mindmatters-gmbh-co-kg/134258)

<div class="topic-metadata">

**Author:** [@halfbyte](https://www.ruby-forum.com/u/halfbyte)\
**Replies:** 0\
**Last updated:** [April 9, 2008, 10:50am UTC](https://www.ruby-forum.com/t/rug-hh-treffen-in-hamburg-heute-19-00-mindmatters-gmbh-co-kg/134258 "2008-04-09T10:50:12Z")

</div>

Hallo zusammen, das nächste UG-Treffen der Hamburger Gruppe steht an, und zwar heute, wieder bei mindmatters. Leider hat sich bisher niemand bereit erklärt, einen Vortrag zu halten. Falls sich doch noch jemand traut:…

---

## [Net HTTP get response EOF error?](https://www.ruby-forum.com/t/net-http-get-response-eof-error/133018)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/net-http-get-response-eof-error/133018 "2008-03-26T19:10:08Z")

</div>

I am trying to access a url: http://www.steelbox.com using: link=“http://www.steelbox.com” uri = URI.parse(link) response = Net::HTTP.get\_response(uri) I am getting an EOF: end of file error in both my app and in irb…

---

## [XML to Canonical XML](https://www.ruby-forum.com/t/xml-to-canonical-xml/128931)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 3\
**Last updated:** [February 12, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/xml-to-canonical-xml/128931 "2008-02-12T21:01:51Z")

</div>

I’m trying to find a Ruby package that will convert valid XML into canonical XML. I found the genx4r gem, but that just generates canonical XML. Any pointers appreciated. Gary W.

---

## [Ricerca programmatore](https://www.ruby-forum.com/t/ricerca-programmatore/125575)

<div class="topic-metadata">

**Author:** [@dteti](https://www.ruby-forum.com/u/dteti)\
**Replies:** 3\
**Last updated:** [February 11, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/ricerca-programmatore/125575 "2008-02-11T16:32:13Z")

</div>

Buongiorno a tutti, Vitamino, studio di web design e comunicazione in provincia di Pordenone, ricerca un programmatore Ruby/Rails di provata esperienza per un progetto web in via di realizzazione. E’ richiesta capac…

---

## [A method accessible from all controllers and views ? How?](https://www.ruby-forum.com/t/a-method-accessible-from-all-controllers-and-views-how/126691)

<div class="topic-metadata">

**Author:** [@budu](https://www.ruby-forum.com/u/budu)\
**Replies:** 3\
**Last updated:** [January 21, 2008, 12:52pm UTC](https://www.ruby-forum.com/t/a-method-accessible-from-all-controllers-and-views-how/126691 "2008-01-21T12:52:40Z")

</div>

Hi, I’ve got this method : def is\_admin? @current\_user && @current\_user.admin == 1 end I want to be able to call this method from all my controllers and all my views. If I put this method in application\_controller…

---

## [Stack level too deep](https://www.ruby-forum.com/t/stack-level-too-deep/125929)

<div class="topic-metadata">

**Author:** [@extempore](https://www.ruby-forum.com/u/extempore)\
**Replies:** 3\
**Last updated:** [January 14, 2008, 1:16am UTC](https://www.ruby-forum.com/t/stack-level-too-deep/125929 "2008-01-14T01:16:49Z")

</div>

I have a problem why do I get a stack level too deep error when I just add def new @speler = Speler.new end I try to figure it out but I’m after 2 days of searching out off options I run ruby 1.8.6 and rails 2.0.…

---

## [Very strange behavior of script/generate ModelName field:type](https://www.ruby-forum.com/t/very-strange-behavior-of-script-generate-modelname-field-type/124583)

<div class="topic-metadata">

**Author:** [@le\_colibri](https://www.ruby-forum.com/u/le_colibri)\
**Replies:** 3\
**Last updated:** [December 30, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/very-strange-behavior-of-script-generate-modelname-field-type/124583 "2007-12-30T19:37:05Z")

</div>

After the typing the following in my terminal: ================================== ./script/generate model Paper user\_id:integer title:string body:text excerpt:text created\_at:datetime updated\_at:datetime the following…

---

## [Message to user while page loads](https://www.ruby-forum.com/t/message-to-user-while-page-loads/124433)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 28, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/message-to-user-while-page-loads/124433 "2007-12-28T18:40:55Z")

</div>

In my RoR project, I have an action that loads a ton of information than displays it to the user. When the user ask that resource, he has to wait a couple of seconds before something shows up. I’d like to give users…

---

## [Value of text\_with\_auto\_complete\_field for field observer](https://www.ruby-forum.com/t/value-of-text-with-auto-complete-field-for-field-observer/122946)

<div class="topic-metadata">

**Author:** [@d2kagw](https://www.ruby-forum.com/u/d2kagw)\
**Replies:** 3\
**Last updated:** [December 13, 2007, 2:30am UTC](https://www.ruby-forum.com/t/value-of-text-with-auto-complete-field-for-field-observer/122946 "2007-12-13T02:30:13Z")

</div>

I’m trying to use the results of an auto complete form in a field observer. The problem is the value of the field is just a select item in a UL. So if I have this: \<%= text\_field\_with\_auto\_complete :school, :name %\> …

---

## [\[TIP\] Working with columns that end with "?", like "male?"](https://www.ruby-forum.com/t/tip-working-with-columns-that-end-with-like-male/116373)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 3\
**Last updated:** [October 5, 2007, 4:01am UTC](https://www.ruby-forum.com/t/tip-working-with-columns-that-end-with-like-male/116373 "2007-10-05T04:01:59Z")

</div>

I was about to write a really long question asking how to do this, then I figured it out. I figured I’d post it in case anyone else runs into it. Lets say you have the following hypothetical table associated with the …

---

## [Inexperienced user needs advice with layouts](https://www.ruby-forum.com/t/inexperienced-user-needs-advice-with-layouts/115532)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 3\
**Last updated:** [September 26, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/inexperienced-user-needs-advice-with-layouts/115532 "2007-09-26T22:48:12Z")

</div>

I’m thinking that I want three levels of layouts: one level for the application, one level for each controller, and a third for each action. The top (application) would define the overall page with the header, side pa…

---

## [Which action?](https://www.ruby-forum.com/t/which-action/115592)

<div class="topic-metadata">

**Author:** [@DuzenburyS\_Rich](https://www.ruby-forum.com/u/DuzenburyS_Rich)\
**Replies:** 3\
**Last updated:** [September 26, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/which-action/115592 "2007-09-26T22:27:41Z")

</div>

Hi, I’ve got a partial that I call from more than one view. I need it to be slightly different when called from one of the views. Does rails set a variable to tell the partial which action or view is calling it, and…

---

## [Shared scripts and ruby gems](https://www.ruby-forum.com/t/shared-scripts-and-ruby-gems/112282)

<div class="topic-metadata">

**Author:** [@Michael\_Schidlowsky](https://www.ruby-forum.com/u/Michael_Schidlowsky)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 2:00am UTC](https://www.ruby-forum.com/t/shared-scripts-and-ruby-gems/112282 "2007-08-21T02:00:34Z")

</div>

Hello everyone, If I’m writing a ruby script that uses a certain library (e.g. Chronic) and I want to share that script with other users by making it publicly executable on a linux filesystem, do I need to do anything…

---

## [RDoc vs. alias\_method](https://www.ruby-forum.com/t/rdoc-vs-alias-method/111769)

<div class="topic-metadata">

**Author:** [@Noah\_E](https://www.ruby-forum.com/u/Noah_E)\
**Replies:** 3\
**Last updated:** [August 13, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/rdoc-vs-alias-method/111769 "2007-08-13T14:50:58Z")

</div>

I’m working on a script that has to work across several versions of ruby. Sometimes, some versions don’t have libraries that I require, so I get around that by having an alternate implementation for those versions. F…

---

## [Re: Preventing RSS/Atom Fragment Caching for FeedBurner Inte](https://www.ruby-forum.com/t/re-preventing-rss-atom-fragment-caching-for-feedburner-inte/111086)

<div class="topic-metadata">

**Author:** [@usrlocal](https://www.ruby-forum.com/u/usrlocal)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/re-preventing-rss-atom-fragment-caching-for-feedburner-inte/111086 "2007-08-02T14:46:00Z")

</div>

Actually, Ben Curren’s approach works perfectly. I just needed to comment out the line at the top of xml\_controller.rb: #caches\_action\_with\_params :feed Chalk another one up to RTFM… Now both Atom and RSS feed reque…

---

## [When to use Has Many and Has and Belongs to many](https://www.ruby-forum.com/t/when-to-use-has-many-and-has-and-belongs-to-many/110581)

<div class="topic-metadata">

**Author:** [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Replies:** 3\
**Last updated:** [July 27, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/when-to-use-has-many-and-has-and-belongs-to-many/110581 "2007-07-27T21:05:40Z")

</div>

I am trying to design an interface that handles user accounts and their email aliases. What is the relationship between a user and their email accounts? -Ron

---

## [Implementing search](https://www.ruby-forum.com/t/implementing-search/107713)

<div class="topic-metadata">

**Author:** [@arbirk](https://www.ruby-forum.com/u/arbirk)\
**Replies:** 3\
**Last updated:** [June 25, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/implementing-search/107713 "2007-06-25T20:51:26Z")

</div>

I am a newbie and have created a small blog-like app. Im have tried to implement the saerch function following this tutorial: http://snippets.dzone.com/posts/show/1691 Everything seems to work when the searchphase is …

---

## [RoR Forum Application](https://www.ruby-forum.com/t/ror-forum-application/107556)

<div class="topic-metadata">

**Author:** [@randall](https://www.ruby-forum.com/u/randall)\
**Replies:** 3\
**Last updated:** [June 24, 2007, 4:04am UTC](https://www.ruby-forum.com/t/ror-forum-application/107556 "2007-06-24T04:04:58Z")

</div>

Hello, I am working on a Ruby on Rails application that will have a forum and am looking for some guidance. I am currently able to add topics to forum sections or groups. Where I am struggling is to in the ability …

---

## [Unit test question!](https://www.ruby-forum.com/t/unit-test-question/106674)

<div class="topic-metadata">

**Author:** [@DBC\_User](https://www.ruby-forum.com/u/DBC_User)\
**Replies:** 3\
**Last updated:** [June 14, 2007, 5:36am UTC](https://www.ruby-forum.com/t/unit-test-question/106674 "2007-06-14T05:36:22Z")

</div>

Hi, I have a model and I am trying to do the testing. So my test code is something like the following def test\_first assert\_nil Person.find(1) end in this I am expecting the test to run against the development dat…

---

## [How to retrieve the XML from a POST API](https://www.ruby-forum.com/t/how-to-retrieve-the-xml-from-a-post-api/105649)

<div class="topic-metadata">

**Author:** [@tenzingk](https://www.ruby-forum.com/u/tenzingk)\
**Replies:** 3\
**Last updated:** [June 2, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/how-to-retrieve-the-xml-from-a-post-api/105649 "2007-06-02T17:56:30Z")

</div>

My Rails app. needs to retrieve XML statistical data from another site’s API. To get the XML page, I need to POST the username and password and date for the stats. So far I have managed to do this: within my app, I …

---

## [Real-world Ruby?](https://www.ruby-forum.com/t/real-world-ruby/91832)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 3\
**Last updated:** [April 13, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/real-world-ruby/91832 "2007-04-13T15:16:32Z")

</div>

Slashdot is currently featuring a story called “Boarding Pass Hacker Targets Bank of America” (Boarding Pass Hacker Targets Bank of America - Slashdot), which links to an entry in the “slight paranoia” blog (slight p…

---

## [Why is local variable created in one branch of if statement](https://www.ruby-forum.com/t/why-is-local-variable-created-in-one-branch-of-if-statement/91226)

<div class="topic-metadata">

**Author:** [@alexeyv](https://www.ruby-forum.com/u/alexeyv)\
**Replies:** 3\
**Last updated:** [April 5, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/why-is-local-variable-created-in-one-branch-of-if-statement/91226 "2007-04-05T20:54:28Z")

</div>

I find it hard to understand why this code prints nil instead of saying “unknown method or local variable foo”: cat hmm.rb def hmm if false foo = ‘quack’ else p foo end end hmm ruby hmm.rb nil Thoughts? …

---

## [Sorting the array](https://www.ruby-forum.com/t/sorting-the-array/90147)

<div class="topic-metadata">

**Author:** [@selvaraj](https://www.ruby-forum.com/u/selvaraj)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/sorting-the-array/90147 "2007-03-26T16:21:11Z")

</div>

Hai I am facing the problem while try to sort. For example i have one object which is the result of query. That contains two field message and updated\_at.Same way i ahve another object with the same field. Now i have…

---

## [Execution scope of Ruby artifacts running outside of an obje](https://www.ruby-forum.com/t/execution-scope-of-ruby-artifacts-running-outside-of-an-obje/89607)

<div class="topic-metadata">

**Author:** [@Griff](https://www.ruby-forum.com/u/Griff)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 9:57pm UTC](https://www.ruby-forum.com/t/execution-scope-of-ruby-artifacts-running-outside-of-an-obje/89607 "2007-03-21T21:57:40Z")

</div>

Hi folks, What is the scope of execution of a plain old Ruby script? For example, if you write a script that does not define any classes and you use reflection to get the current class, you discover that it is “Objec…

---

## [MD5 hash from crypt and openssl different?](https://www.ruby-forum.com/t/md5-hash-from-crypt-and-openssl-different/87096)

<div class="topic-metadata">

**Author:** [@eno](https://www.ruby-forum.com/u/eno)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 3:37am UTC](https://www.ruby-forum.com/t/md5-hash-from-crypt-and-openssl-different/87096 "2007-02-28T03:37:09Z")

</div>

Im authenticating (system) users by making PAM use a MySQL database. This means Unix passwords are stored as MD5 crypted strings. I can use “openssl passwd -1” on the command-line to generate passwords and set them …

---

## [AJAX status update to application just before a external sit](https://www.ruby-forum.com/t/ajax-status-update-to-application-just-before-a-external-sit/85378)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [February 13, 2007, 11:09am UTC](https://www.ruby-forum.com/t/ajax-status-update-to-application-just-before-a-external-sit/85378 "2007-02-13T11:09:40Z")

</div>

Hi, I’m incorporating a Palpal donate button on my site, however I’d like to be able to send an update (AJAX) to my application to alert it to the fact that the user has clicked on donate, and hence would be in the …

---

## [Upgrade to Rails 1.2.2 : RESTful routes not working anymore](https://www.ruby-forum.com/t/upgrade-to-rails-1-2-2-restful-routes-not-working-anymore/84729)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 3\
**Last updated:** [February 7, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/upgrade-to-rails-1-2-2-restful-routes-not-working-anymore/84729 "2007-02-07T16:53:59Z")

</div>

Hello, I just upgraded my app to Rails 1.2.2. My routes are : map.with\_options :path\_prefix =\> “/admin”, :name\_prefix =\> “admin\_” do |m| m.resources :requests, :controller =\> “admin/requests”, :collection =\> { :de…

---

## [Pedigree tree modeling RoR](https://www.ruby-forum.com/t/pedigree-tree-modeling-ror/81840)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 3\
**Last updated:** [January 16, 2007, 5:29am UTC](https://www.ruby-forum.com/t/pedigree-tree-modeling-ror/81840 "2007-01-16T05:29:09Z")

</div>

I modeling a pedigree web page: Model: Animals id name id\_sire id\_dam id\_sire is a animal id\_dam is a animal too, then how can I show the list of the model Animal?? 1 Tino Rito Princesa 2 …

---

## [Plain sql to find](https://www.ruby-forum.com/t/plain-sql-to-find/80490)

<div class="topic-metadata">

**Author:** [@Rajkumar\_S](https://www.ruby-forum.com/u/Rajkumar_S)\
**Replies:** 3\
**Last updated:** [December 28, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/plain-sql-to-find/80490 "2006-12-28T17:08:29Z")

</div>

Hi, I have a query like SELECT call\_queue\_id,agent\_id,count(\*) AS count FROM completed\_calls GROUP BY call\_queue\_id,agent\_id ORDER BY call\_queue\_id,agent\_id on a table with following structure: ±----------------±-…

---

## [Sessions in Layered Dispatching](https://www.ruby-forum.com/t/sessions-in-layered-dispatching/77948)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 3\
**Last updated:** [December 2, 2006, 12:27am UTC](https://www.ruby-forum.com/t/sessions-in-layered-dispatching/77948 "2006-12-02T00:27:32Z")

</div>

Can you use sessions in layered dispatching? I used them in direct dispatching without any problems, but switching to layered throws an error (saying session doesn’t exist). Sorry if this is a double post, Google G. i…

---

## [Which acts\_as to use?](https://www.ruby-forum.com/t/which-acts-as-to-use/77895)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 3\
**Last updated:** [December 1, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/which-acts-as-to-use/77895 "2006-12-01T14:45:58Z")

</div>

I’m planning a custom CMS for a job. The idea is that I want would like the user to build up the site using pages (these are model objects). These pages would be like a tree structure: one homepage then three sub pag…

---

## [Should I use Rails for a social networking site?](https://www.ruby-forum.com/t/should-i-use-rails-for-a-social-networking-site/75457)

<div class="topic-metadata">

**Author:** [@list\_junkie](https://www.ruby-forum.com/u/list_junkie)\
**Replies:** 3\
**Last updated:** [November 10, 2006, 6:04pm UTC](https://www.ruby-forum.com/t/should-i-use-rails-for-a-social-networking-site/75457 "2006-11-10T18:04:57Z")

</div>

I’ve been talking with a friend of a friend about perhaps being “the techie” of her new social networking site. She has a business background so she has no language biases one way or another, although she has been in…

---

## [Undefined method \`of' for Task:Class](https://www.ruby-forum.com/t/undefined-method-of-for-task-class/75503)

<div class="topic-metadata">

**Author:** [@sbarlow](https://www.ruby-forum.com/u/sbarlow)\
**Replies:** 3\
**Last updated:** [November 10, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/undefined-method-of-for-task-class/75503 "2006-11-10T13:56:09Z")

</div>

Apologies for simple question. I am getting the error… undefined method \`of’ for Task:Class c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active\_record/base.rb:1129:in method\_missing' #{RAILS\_ROOT}/app/model…

---

## [Design Dilemma - Please Help](https://www.ruby-forum.com/t/design-dilemma-please-help/73247)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 3\
**Last updated:** [October 23, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/design-dilemma-please-help/73247 "2006-10-23T16:29:22Z")

</div>

Hi, I’m new. :wink: I creating a little rails app, that will crawl the web on a regular basis and then show the results. The crawling will be scheduled, likely a cron job. I can’t wrap my head around where to put my …

---

## [RE: gestione gruppi in rails](https://www.ruby-forum.com/t/re-gestione-gruppi-in-rails/67062)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 3\
**Last updated:** [August 31, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/re-gestione-gruppi-in-rails/67062 "2006-08-31T14:59:49Z")

</div>

immagina un manager che gestisce persone in sedi distaccate… potrebbe volerle organizzare in gruppi che dipendono da lui… e che magari hanno dei sottogruppi poi magari lo stesso manager ha il suo segretario personale …

---

## [Output to browser in .rhtml templates](https://www.ruby-forum.com/t/output-to-browser-in-rhtml-templates/99124)

<div class="topic-metadata">

**Author:** [@viciu](https://www.ruby-forum.com/u/viciu)\
**Replies:** 3\
**Last updated:** [July 20, 2006, 4:02pm UTC](https://www.ruby-forum.com/t/output-to-browser-in-rhtml-templates/99124 "2006-07-20T16:02:28Z")

</div>

Hi! In .rhtml template I’m trying to create some output, which should be sent to browser. But this is inside \<% %\> not \<%= %\>, so how can it be accomplished? Default output is directed to log file, so puts “output” d…

---

## [Wondering how to do some clever DRYing up](https://www.ruby-forum.com/t/wondering-how-to-do-some-clever-drying-up/60672)

<div class="topic-metadata">

**Author:** [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Replies:** 3\
**Last updated:** [May 17, 2006, 4:54am UTC](https://www.ruby-forum.com/t/wondering-how-to-do-some-clever-drying-up/60672 "2006-05-17T04:54:45Z")

</div>

Hi there, I’m now getting to the point in my rails app where I can use all of the nice basic features like AJAX and engines etc… but, I want to get my hands a bit dirtier, whilst learning to DRY up my code a bit. I’…

---

## [Upload problem when file is small/StringIO](https://www.ruby-forum.com/t/upload-problem-when-file-is-small-stringio/59479)

<div class="topic-metadata">

**Author:** [@Ant\_Peacocke](https://www.ruby-forum.com/u/Ant_Peacocke)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/upload-problem-when-file-is-small-stringio/59479 "2006-05-03T19:08:26Z")

</div>

Hi I am having a problem with uploading small files. These are StringIO objects rather than temporary files as with the larger file uploads. The problem is that when it is a StringIO rather than a temporary file not…

---

## [Rails 1.1 and webrick/mysql problems](https://www.ruby-forum.com/t/rails-1-1-and-webrick-mysql-problems/56938)

<div class="topic-metadata">

**Author:** [@anabia](https://www.ruby-forum.com/u/anabia)\
**Replies:** 3\
**Last updated:** [April 24, 2006, 4:12am UTC](https://www.ruby-forum.com/t/rails-1-1-and-webrick-mysql-problems/56938 "2006-04-24T04:12:44Z")

</div>

i just upgraded to rails 1.1 yesterday and since then i couldÂ´nt make it work with mysql, for example i have my database “todo” and one table “todos”, i create the app and generate the model but when i try to genera…

---

## [Problems with multiple ActiveRecords and Validations](https://www.ruby-forum.com/t/problems-with-multiple-activerecords-and-validations/57426)

<div class="topic-metadata">

**Author:** [@Dominik](https://www.ruby-forum.com/u/Dominik)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/problems-with-multiple-activerecords-and-validations/57426 "2006-04-10T22:41:40Z")

</div>

Hi all, I am a RoR newbie and have the following scenario set up: There are 2 ActiveRecords involved, the first one being “User”, the second one being “Visibility”. The corresponding users table holds address informa…

---

## [Grouping Controllers into Modules - Doesn't work!?](https://www.ruby-forum.com/t/grouping-controllers-into-modules-doesnt-work/56225)

<div class="topic-metadata">

**Author:** [@Matt\_Richards](https://www.ruby-forum.com/u/Matt_Richards)\
**Replies:** 3\
**Last updated:** [March 30, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/grouping-controllers-into-modules-doesnt-work/56225 "2006-03-30T19:32:38Z")

</div>

Ok, what I want to achieve is: http:///admin/products calls app/controllers/admin/products\_controller.rb According to Agile Development with Rails this should work. I executed the follwing commands: rails myproj cd…

---

## [Pluralisation issue?](https://www.ruby-forum.com/t/pluralisation-issue/76152)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 3, 2006, 12:49pm UTC](https://www.ruby-forum.com/t/pluralisation-issue/76152 "2006-03-03T12:49:24Z")

</div>

I’m having trouble with rails and a table named ‘dives’. It seems to work fine if I try it with another table name. I’ve generated the scaffold with the script and have not made any modifications to it. When I try to …

---

## [Mongrel 0.3.2 Strangely Silent](https://www.ruby-forum.com/t/mongrel-0-3-2-strangely-silent/53774)

<div class="topic-metadata">

**Author:** [@jimweirich](https://www.ruby-forum.com/u/jimweirich)\
**Replies:** 3\
**Last updated:** [February 14, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/mongrel-0-3-2-strangely-silent/53774 "2006-02-14T15:13:16Z")

</div>

I wanted to check out the latest ruby craze: Mongrel. So I installed mongrel as a gem, whipped up a small example based on the docs. But no joy. Running the script shows no output on the terminal and a browser try…

---

## [Process watchdogging anyone?](https://www.ruby-forum.com/t/process-watchdogging-anyone/52936)

<div class="topic-metadata">

**Author:** [@Francois\_B](https://www.ruby-forum.com/u/Francois_B)\
**Replies:** 3\
**Last updated:** [January 20, 2006, 10:31pm UTC](https://www.ruby-forum.com/t/process-watchdogging-anyone/52936 "2006-01-20T22:31:47Z")

</div>

Hi ! I have Lighttpd and SCGI clusters running my applications. I self-host at RimuHosting, but I find that my processes die sometimes. I’m not a Linux administrator, so I simply want some kind of watchdogging proce…

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

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