# Top

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

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

---

## [AddrInfo.list\_ipaddr](https://www.ruby-forum.com/t/addrinfo-list-ipaddr/157570)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [January 21, 2009, 2:15pm UTC](https://www.ruby-forum.com/t/addrinfo-list-ipaddr/157570 "2009-01-21T14:15:12Z")

</div>

e$BDs0F$J$s$G$9$,!"%\[%9%H$,;}$C$F$$$ke(B IP e$B%"%I%l%9$N%j%9%H$rJV$9e(B e$B%a%=%C%I$rMQ0U$9$k$N$O$I$&$G$7$g$&$+!#e(B % ./ruby -rsocket -rpp -e ‘pp AddrInfo.list\_ipaddr’ \[#\<AddrInfo: 127.0.0.1\>, #\<AddrInfo: 150.82.17…

---

## [First page](https://www.ruby-forum.com/t/first-page/155931)

<div class="topic-metadata">

**Author:** [@rohith](https://www.ruby-forum.com/u/rohith)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 8:17am UTC](https://www.ruby-forum.com/t/first-page/155931 "2008-12-19T08:17:15Z")

</div>

Hello all… I am new to ruby development… I have completed the connection to Mysql and installation and i got the welcome page. Next i want to make a page with some user details and i need to save the data in to tabl…

---

## [Whether Merb 1.0 offers an alternative to Ruby on Rails](https://www.ruby-forum.com/t/whether-merb-1-0-offers-an-alternative-to-ruby-on-rails/151323)

<div class="topic-metadata">

**Author:** [@lostwarrior](https://www.ruby-forum.com/u/lostwarrior)\
**Replies:** 3\
**Last updated:** [October 22, 2008, 9:41am UTC](https://www.ruby-forum.com/t/whether-merb-1-0-offers-an-alternative-to-ruby-on-rails/151323 "2008-10-22T09:41:05Z")

</div>

http://www.sdtimes.com/MERB\_1\_0\_OFFERS\_AN\_ALTERNATIVE\_TO\_RUBY\_ON\_RAILS/About\_RUBY\_and\_SOFTWAREDEVELOPMENT\_and\_MERB\_and\_RAILS/32972 hi i got this link from my friend in new-jersey.whether merb is an alternative for rail…

---

## [Tableless models in Rails](https://www.ruby-forum.com/t/tableless-models-in-rails/150528)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 3\
**Last updated:** [October 9, 2008, 8:59pm UTC](https://www.ruby-forum.com/t/tableless-models-in-rails/150528 "2008-10-09T20:59:04Z")

</div>

Hi all I am looking for some informaiton about how to create forms using tableless models. What do you recommend?

---

## [C fwrite equivalent in ruby](https://www.ruby-forum.com/t/c-fwrite-equivalent-in-ruby/149865)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 3\
**Last updated:** [September 30, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/c-fwrite-equivalent-in-ruby/149865 "2008-09-30T23:01:24Z")

</div>

Hello list I want to know if there is an equivalent to the C function fwrite in ruby. Remeber that fwrite takes a buffer and a size of Bytes to write. the method “write” of the File object takes only the buffer to wr…

---

## [XML/Excel export?](https://www.ruby-forum.com/t/xml-excel-export/148619)

<div class="topic-metadata">

**Author:** [@nik](https://www.ruby-forum.com/u/nik)\
**Replies:** 3\
**Last updated:** [September 16, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/xml-excel-export/148619 "2008-09-16T12:46:19Z")

</div>

Good morning, all! Can anyone point me to the direction of creating a link that leads to the downloading of a rails generated XML file. I have an app and a database both called catalog, and I have a controller called…

---

## [Can't get redcloth to work on server](https://www.ruby-forum.com/t/cant-get-redcloth-to-work-on-server/146114)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 3\
**Last updated:** [August 19, 2008, 7:15am UTC](https://www.ruby-forum.com/t/cant-get-redcloth-to-work-on-server/146114 "2008-08-19T07:15:17Z")

</div>

I develop on a Mac, and have a redhat enterprise based server. I’m trying to use the redcloth gem in my app. I can get it to work just fine on the Mac (localhost), but I cannot seem to get it to work on the server. …

---

## [RForum for Usenet/NNTP sync?](https://www.ruby-forum.com/t/rforum-for-usenet-nntp-sync/145189)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 7:02pm UTC](https://www.ruby-forum.com/t/rforum-for-usenet-nntp-sync/145189 "2008-08-06T19:02:42Z")

</div>

I couldn’t find any information about this elsewhere so I thought I would ask here. Can RForum sync a forum with an NNTP newsgroup? I’m looking for some software that can do bidirectional syncing with a newsgroup but…

---

## [Most frequent searched query string - Ferret](https://www.ruby-forum.com/t/most-frequent-searched-query-string-ferret/196770)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/most-frequent-searched-query-string-ferret/196770 "2008-08-04T14:46:43Z")

</div>

Hi, I need to calculate most frequent searches on a particular model. I am using ferret for searching in full text mode. For eg: Search on hospital names. I have a form which allows user to enter a search query, and …

---

## [RedCloth 4.0 - paragraphs inside list items](https://www.ruby-forum.com/t/redcloth-4-0-paragraphs-inside-list-items/144712)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [August 1, 2008, 12:51pm UTC](https://www.ruby-forum.com/t/redcloth-4-0-paragraphs-inside-list-items/144712 "2008-08-01T12:51:59Z")

</div>

Hello, In the previous 3.0.4 version, I was able to create multiple paragraphs inside a list item by indenting the secondary paragraphs by two spaces like this: First para. Second para. Third para. In the new …

---

## [Encoding of Dir#path](https://www.ruby-forum.com/t/encoding-of-dir-path/144416)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [July 31, 2008, 3:29am UTC](https://www.ruby-forum.com/t/encoding-of-dir-path/144416 "2008-07-31T03:29:25Z")

</div>

e$B0J2\<$N$h$&$K!"e(BDir#path e$B$GJV$C$F$/$k$b$N$N%(%s%3!\<%G%#%s%0$,!"e(B Dir.open e$B$KEO$7$?$b$N$H0\[$J$k$N$OJQ$G$O$J$$$G$7$g$&$+!#e(B % ./ruby -Ku -ve ’ dirname = “/tmp/\\x91\\x92\\x93” Dir.mkdir(dirname) p \[dirname…

---

## [Create variables with caller scope](https://www.ruby-forum.com/t/create-variables-with-caller-scope/126458)

<div class="topic-metadata">

**Author:** [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Replies:** 3\
**Last updated:** [January 18, 2008, 1:39pm UTC](https://www.ruby-forum.com/t/create-variables-with-caller-scope/126458 "2008-01-18T13:39:17Z")

</div>

Is it possible for a method to create new variables that becomes in the scope of the caller (instead of the scope of the method)? I guess I mean to get a method to behave much like macros or templates in C/C++. Someth…

---

## [Creating variable](https://www.ruby-forum.com/t/creating-variable/125823)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 0\
**Last updated:** [January 12, 2008, 2:07pm UTC](https://www.ruby-forum.com/t/creating-variable/125823 "2008-01-12T14:07:16Z")

</div>

Good morning, I am beginning to develop a ruby part of a web. I I have the driver code “book” and I spend their ID in the variable Book.current\_book.id, but gives me the following error. undefined method \`current\_boo…

---

## [Login to lonked in is failing with Mechanize](https://www.ruby-forum.com/t/login-to-lonked-in-is-failing-with-mechanize/124400)

<div class="topic-metadata">

**Author:** [@rita\_amritkar](https://www.ruby-forum.com/u/rita_amritkar)\
**Replies:** 0\
**Last updated:** [December 28, 2007, 11:27am UTC](https://www.ruby-forum.com/t/login-to-lonked-in-is-failing-with-mechanize/124400 "2007-12-28T11:27:18Z")

</div>

Hi all, I am trying to login to linked in but it is failing with Mechanize. code is, agent = WWW::Mechanize.new page = agent.get(“https://www.linkedin.com”) link = page.links.find {|l| l.text =~ /Sign in/} page …

---

## [Date entry without date\_select](https://www.ruby-forum.com/t/date-entry-without-date-select/123171)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 3\
**Last updated:** [December 17, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/date-entry-without-date-select/123171 "2007-12-17T16:34:05Z")

</div>

I’m trying to display and edit dates without using select boxes (which we don’t like from a UI perspective) and without displaying the date values in MySQL date format (i.e., YYYY-MM-DD). My preference would be to hav…

---

## [Has\_many polymorphics problems](https://www.ruby-forum.com/t/has-many-polymorphics-problems/225956)

<div class="topic-metadata">

**Author:** [@juan](https://www.ruby-forum.com/u/juan)\
**Replies:** 3\
**Last updated:** [August 27, 2007, 7:39pm UTC](https://www.ruby-forum.com/t/has-many-polymorphics-problems/225956 "2007-08-27T19:39:05Z")

</div>

I have this situation: A ‘processable’ model has\_many :preprocessors and/or :postprocessors I do that: @processor\_and\_processable.id = @processor\_and\_processable.processable\_id = @processor\_and\_processable.processa…

---

## [Definire costanti nel controller](https://www.ruby-forum.com/t/definire-costanti-nel-controller/112460)

<div class="topic-metadata">

**Author:** [@Lucea](https://www.ruby-forum.com/u/Lucea)\
**Replies:** 3\
**Last updated:** [August 20, 2007, 11:44am UTC](https://www.ruby-forum.com/t/definire-costanti-nel-controller/112460 "2007-08-20T11:44:16Z")

</div>

Salve a tutti! Vorrei che una costante definita in un controller fosse visibile in tutti i metodi di quel controller (e fin qui niente di impossibile) ma anche nelle viste ad associate ai metodi del controller stesso.…

---

## [How to convert string into number](https://www.ruby-forum.com/t/how-to-convert-string-into-number/108685)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [July 6, 2007, 1:14am UTC](https://www.ruby-forum.com/t/how-to-convert-string-into-number/108685 "2007-07-06T01:14:42Z")

</div>

Hi all, I read several rows of numbers and split each row into an array. I get an array of array. By default Ruby treat each number as a string. I want to convert each string into a number. The only way I can think of…

---

## [Using a helper within a controller](https://www.ruby-forum.com/t/using-a-helper-within-a-controller/107867)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [June 27, 2007, 9:33pm UTC](https://www.ruby-forum.com/t/using-a-helper-within-a-controller/107867 "2007-06-27T21:33:27Z")

</div>

I would like to use the link\_to\_remote method in my controller so I can update a list within my .rhtml file without having to re-load the entire page. Basically, what I am doing is adding stuff to a list and then allo…

---

## [Error when running functional test - Errno::ENOENT](https://www.ruby-forum.com/t/error-when-running-functional-test-errno-enoent/106935)

<div class="topic-metadata">

**Author:** [@Nickb](https://www.ruby-forum.com/u/Nickb)\
**Replies:** 3\
**Last updated:** [June 15, 2007, 4:08pm UTC](https://www.ruby-forum.com/t/error-when-running-functional-test-errno-enoent/106935 "2007-06-15T16:08:04Z")

</div>

Hello, I’m getting an error when running functional tests as follows, using Mac OSX 10.4.9, Rails 1.2.3 . When I run: ruby test/functional/campaign\_controller\_test.rb I get this error: Started E Finished in 0.027…

---

## [Scaffold\_resource generator missing](https://www.ruby-forum.com/t/scaffold-resource-generator-missing/104556)

<div class="topic-metadata">

**Author:** [@Dion\_H](https://www.ruby-forum.com/u/Dion_H)\
**Replies:** 3\
**Last updated:** [May 20, 2007, 9:29am UTC](https://www.ruby-forum.com/t/scaffold-resource-generator-missing/104556 "2007-05-20T09:29:07Z")

</div>

Hi there, I have rails 1.2.3 installed but do not have the scaffold\_resource generator, should this be installed by default??? this is all I have: Installed Generators Builtin: controller, integration\_test, mailer, …

---

## [Rails Newbie | Advice please?](https://www.ruby-forum.com/t/rails-newbie-advice-please/103321)

<div class="topic-metadata">

**Author:** [@YoungSun](https://www.ruby-forum.com/u/YoungSun)\
**Replies:** 3\
**Last updated:** [May 4, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/rails-newbie-advice-please/103321 "2007-05-04T17:51:57Z")

</div>

Hi Guys… I am looking to create a Rails app for a Property Company that will allow for the administration of property, adding, editing, deleting etc… That will tie in with a CRM database so that information can be c…

---

## [Where to save a module?](https://www.ruby-forum.com/t/where-to-save-a-module/93094)

<div class="topic-metadata">

**Author:** [@chris\_finch](https://www.ruby-forum.com/u/chris_finch)\
**Replies:** 3\
**Last updated:** [April 27, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/where-to-save-a-module/93094 "2007-04-27T17:41:33Z")

</div>

Hi all, I wrote a module which contains some methods for doing math functions. I want the module to be included in one of my rails models. Where is the best place to put it? Should I make it into a gem and do a gem i…

---

## [Any Online Ruby Classes?](https://www.ruby-forum.com/t/any-online-ruby-classes/91476)

<div class="topic-metadata">

**Author:** [@Merrie](https://www.ruby-forum.com/u/Merrie)\
**Replies:** 3\
**Last updated:** [April 9, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/any-online-ruby-classes/91476 "2007-04-09T19:59:26Z")

</div>

Does anyone know of or teaches an interactive online ruby beginners class? Or if not, is willing to start one. I would be interested even if it cost a little money, does not have to be free, your time is valuable. I h…

---

## [Perfomance tuning](https://www.ruby-forum.com/t/perfomance-tuning/88657)

<div class="topic-metadata">

**Author:** [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Replies:** 3\
**Last updated:** [March 13, 2007, 11:58am UTC](https://www.ruby-forum.com/t/perfomance-tuning/88657 "2007-03-13T11:58:36Z")

</div>

Hi, I have an application that takes a little to long to execute. I would like to know where I could gain most. Whenever a metod is called, I would like to store the execution time and number of executions. Then, at…

---

## [DRb freezes YARV?](https://www.ruby-forum.com/t/drb-freezes-yarv/88076)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 3\
**Last updated:** [March 12, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/drb-freezes-yarv/88076 "2007-03-12T19:09:24Z")

</div>

dear all, Has anyone tried out drb on latest ruby1.9 including VM? Well, I tried out drb and found that DRb#start\_service won’t return on YARV as it does on Ruby1.8. It is so strange that I can not find a reasonable …

---

## [Abrir fichero](https://www.ruby-forum.com/t/abrir-fichero/81693)

<div class="topic-metadata">

**Author:** [@lourdes](https://www.ruby-forum.com/u/lourdes)\
**Replies:** 3\
**Last updated:** [January 11, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/abrir-fichero/81693 "2007-01-11T17:17:27Z")

</div>

Hola, tengo una base de datos en la que el usuario, puede adjuntar una archivo, ya sea de excel de word o pdf. utilizo el upload y me lo guarda en public\\images, hasta ahÃ­ todo bien, pero como puedo abrir luego ese a…

---

## [Re: Variables starting with ":"](https://www.ruby-forum.com/t/re-variables-starting-with/81561)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/re-variables-starting-with/81561 "2007-01-10T18:56:50Z")

</div>

From: Eduardo S. What’s the diference between regular variables defined as, lets say “example”, and the ones defined as “:example” ? If there’s a difference, when should each case be used? Items that start with a …

---

## [I'm searching for a ruby-programming penfriend](https://www.ruby-forum.com/t/im-searching-for-a-ruby-programming-penfriend/78165)

<div class="topic-metadata">

**Author:** [@anselmthecrack](https://www.ruby-forum.com/u/anselmthecrack)\
**Replies:** 3\
**Last updated:** [December 4, 2006, 6:43pm UTC](https://www.ruby-forum.com/t/im-searching-for-a-ruby-programming-penfriend/78165 "2006-12-04T18:43:47Z")

</div>

Hello! I know this post doesn’t really fit into here, because there isn’t really an off-topic forum where i could post. I’m searching for an English (or from an english-speaking coutry) penfriend who can programm rub…

---

## [Continuous Integration for Ruby projects](https://www.ruby-forum.com/t/continuous-integration-for-ruby-projects/76470)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 3\
**Last updated:** [November 24, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/continuous-integration-for-ruby-projects/76470 "2006-11-24T21:37:00Z")

</div>

I’m planning on setting up a Continuous Integration server for a Ruby based project. It should work with Perforce SCM, and send out email notifications. A web page (either as an app or simply overwriting a static ht…

---

## [Compartir el mismo cÃ³digo para varias aplicaciones](https://www.ruby-forum.com/t/compartir-el-mismo-ca-digo-para-varias-aplicaciones/76041)

<div class="topic-metadata">

**Author:** [@emili](https://www.ruby-forum.com/u/emili)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 4:02pm UTC](https://www.ruby-forum.com/t/compartir-el-mismo-ca-digo-para-varias-aplicaciones/76041 "2006-11-15T16:02:23Z")

</div>

He desarrollado una aplicaciÃ³n (tipo CMS, pero enfocada a galerÃ­as de arte) y me gustarÃ­a saber si hay alguna manera de compartir el cÃ³digo comÃºn de la aplicaciÃ³n (controladores, modelos, vistas, plugins…) de ma…

---

## [Timers](https://www.ruby-forum.com/t/timers/74641)

<div class="topic-metadata">

**Author:** [@Jeremy\_Chew](https://www.ruby-forum.com/u/Jeremy_Chew)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:57am UTC](https://www.ruby-forum.com/t/timers/74641 "2006-11-07T10:57:22Z")

</div>

Hello, I plan to use setitimer() for my GR development. I understand that each Linux process can have only one timer at a time. Is this right? If so, does GR use the timer? How do I avoid clashing with the GR over th…

---

## [Rails/YUI-Grid Question](https://www.ruby-forum.com/t/rails-yui-grid-question/74149)

<div class="topic-metadata">

**Author:** [@rmarmer1](https://www.ruby-forum.com/u/rmarmer1)\
**Replies:** 3\
**Last updated:** [November 1, 2006, 3:25am UTC](https://www.ruby-forum.com/t/rails-yui-grid-question/74149 "2006-11-01T03:25:24Z")

</div>

Hello. I’m looking at using the YUI grid component in a rails app. Typically I’d use an html table object, do a db call along the lines of @aCollection = AModel.find(:all) & use a partial to loop thru the collection & …

---

## [Duda sobre foreign keys](https://www.ruby-forum.com/t/duda-sobre-foreign-keys/71493)

<div class="topic-metadata">

**Author:** [@jfernandez](https://www.ruby-forum.com/u/jfernandez)\
**Replies:** 3\
**Last updated:** [October 9, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/duda-sobre-foreign-keys/71493 "2006-10-09T18:40:10Z")

</div>

Tengo una tabla con ofertas de coches: car\_offers (id, make\_id, model\_id…) Y otra con marcas de coches: makes (id, name) Mi pregunta es que tengo que hacer exactamente para, al listar, poder poner @car\_offers.make.n…

---

## [Exception Notifier plugin has stopped working](https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 3\
**Last updated:** [October 7, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158 "2006-10-07T15:44:35Z")

</div>

Exception Notifier seems to have ceased working for some reason. I thought perhaps a change in edge rails was to blame, but I rolled back to 4900 and the problem was still there. The problem is that it generates an e…

---

## [Rendering XML from the result of a find](https://www.ruby-forum.com/t/rendering-xml-from-the-result-of-a-find/70987)

<div class="topic-metadata">

**Author:** [@aginghipster](https://www.ruby-forum.com/u/aginghipster)\
**Replies:** 3\
**Last updated:** [October 4, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/rendering-xml-from-the-result-of-a-find/70987 "2006-10-04T18:59:58Z")

</div>

Hi, I am quite new to Rails. I have a model, store with belongs\_to :owner in my controller I have @store = Store.find(199, :include =\> :owner) render :xml @store.to\_xml The result is that the xml only contains the…

---

## [Render :update working incorrectly](https://www.ruby-forum.com/t/render-update-working-incorrectly/100297)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 3\
**Last updated:** [July 28, 2006, 8:32am UTC](https://www.ruby-forum.com/t/render-update-working-incorrectly/100297 "2006-07-28T08:32:22Z")

</div>

I have the following code render :update do |page| page.alert(‘Hey there’) end Why is it taking me to a blank page with the following text at the top: alert(“Hey there”); This text is in tags as well. Its kinda w…

---

## [Acts\_as\_ferret with has\_many relationship](https://www.ruby-forum.com/t/acts-as-ferret-with-has-many-relationship/99251)

<div class="topic-metadata">

**Author:** [@Rami\_Bitar](https://www.ruby-forum.com/u/Rami_Bitar)\
**Replies:** 3\
**Last updated:** [July 22, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-with-has-many-relationship/99251 "2006-07-22T20:22:18Z")

</div>

Using Ferret and the acts\_as\_ferret plugin, I would like to retrieve results based on models descended from a parent model: class Post \< ActiveRecord::Base acts\_as\_ferret :fields =\> \[ 'title', 'body', :post\_auth…

---

## [Where to put partials called from the application layout](https://www.ruby-forum.com/t/where-to-put-partials-called-from-the-application-layout/61211)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 3\
**Last updated:** [May 21, 2006, 10:23pm UTC](https://www.ruby-forum.com/t/where-to-put-partials-called-from-the-application-layout/61211 "2006-05-21T22:23:36Z")

</div>

Hello, My main application layout, app/views/layout/application.rhtml looks like this: something render partial\_1 something else render partial\_2 something else render partial\_3 The partials are not really doing…

---

## [Selective build of FPGA](https://www.ruby-forum.com/t/selective-build-of-fpga/58175)

<div class="topic-metadata">

**Author:** [@amit\_malani](https://www.ruby-forum.com/u/amit_malani)\
**Replies:** 3\
**Last updated:** [April 20, 2006, 3:12am UTC](https://www.ruby-forum.com/t/selective-build-of-fpga/58175 "2006-04-20T03:12:44Z")

</div>

i wish to build just one rx\_hb and one tx. present usrp\_std.vh has 2rx 1tx or 4rx… what do i need to do to… do i need to modify usrp\_std.vh or are the dependancies are deep rooted… thanks

---

## [Many to Many](https://www.ruby-forum.com/t/many-to-many/93922)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 3\
**Last updated:** [April 14, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/many-to-many/93922 "2006-04-14T14:56:58Z")

</div>

Hi, I have three tables, a domain of Sites, a domain of Users, and a junction of Sites\_Users with the tables named as such. My RoR application has a model and controller both User and Site. I tried to add a controlle…

---

## [\[Tip\] Application Wide Context Howto](https://www.ruby-forum.com/t/tip-application-wide-context-howto/57280)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 3\
**Last updated:** [April 12, 2006, 8:01pm UTC](https://www.ruby-forum.com/t/tip-application-wide-context-howto/57280 "2006-04-12T20:01:43Z")

</div>

Friends- I see more and more folks wanting an application wide context object that will work regardless of server software(webrick,mongrel, fcgi’s, scgi’s) This can be a very useful technique if done correctly. Here …

---

## [Ruby on Rails developers in Singapore?](https://www.ruby-forum.com/t/ruby-on-rails-developers-in-singapore/54638)

<div class="topic-metadata">

**Author:** [@Chang\_Sau\_S](https://www.ruby-forum.com/u/Chang_Sau_S)\
**Replies:** 3\
**Last updated:** [March 13, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developers-in-singapore/54638 "2006-03-13T14:34:33Z")

</div>

Hi, Kind of wondering if there are any in Singapore, and if so would like to meet up to chat and talk shop? Maybe even form a support group for Rails, or form a community of Rails developers here? I’ve been using Rai…

---

## [Migrations, data loads and changes to the model](https://www.ruby-forum.com/t/migrations-data-loads-and-changes-to-the-model/72943)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 3\
**Last updated:** [February 25, 2006, 11:42am UTC](https://www.ruby-forum.com/t/migrations-data-loads-and-changes-to-the-model/72943 "2006-02-25T11:42:08Z")

</div>

Guys, I’ve run across an interesting scenario with my migrations, and I hope you might share some insight. Let’s say I have 3 migrations and two Models (Person and Car): 001\_initial\_schema.rb 002\_data\_load.rb 003\_a…

---

## [GC Bug? Ruby 1.8.4 core dumps on a very small extension](https://www.ruby-forum.com/t/gc-bug-ruby-1-8-4-core-dumps-on-a-very-small-extension/54001)

<div class="topic-metadata">

**Author:** [@Danie\_Roux](https://www.ruby-forum.com/u/Danie_Roux)\
**Replies:** 3\
**Last updated:** [February 21, 2006, 8:35pm UTC](https://www.ruby-forum.com/t/gc-bug-ruby-1-8-4-core-dumps-on-a-very-small-extension/54001 "2006-02-21T20:35:34Z")

</div>

Hi all, Long (and tiring) story short: I have an extension that is 40 lines\* in total, the C code and Ruby code that exercise it. It core dumps, while I repeatedly call a method that just returns Qtrue. All it reall…

---

## [Mongrel 0.2.1 HTTP Library (Fancy URI Matching)](https://www.ruby-forum.com/t/mongrel-0-2-1-http-library-fancy-uri-matching/100233)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 3\
**Last updated:** [February 2, 2006, 10:03pm UTC](https://www.ruby-forum.com/t/mongrel-0-2-1-http-library-fancy-uri-matching/100233 "2006-02-02T22:03:28Z")

</div>

And now it’s time for yet another Mongrel release. Mongrel is a small fast HTTP library written in (partly) Ruby. It is intended to be used by web app framework authors to make their applications fast and deployable …

---

## [Pagination - why is it this hard?](https://www.ruby-forum.com/t/pagination-why-is-it-this-hard/53302)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 3\
**Last updated:** [February 1, 2006, 6:18pm UTC](https://www.ruby-forum.com/t/pagination-why-is-it-this-hard/53302 "2006-02-01T18:18:43Z")

</div>

Hi everyone, I’m at the end of my rope on this. I can’t get pagination to work with anything but a standard find on a model. If I try to do a search and customize the pagination, I get lots of different variations. …

---

## [Operator Expressions](https://www.ruby-forum.com/t/operator-expressions/242545)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [July 2, 2015, 7:46am UTC](https://www.ruby-forum.com/t/operator-expressions/242545 "2015-07-02T07:46:42Z")

</div>

Can anyone explain the following line of code? (a.\*(b)).+© # =\> 5 The textbook did not elaborate regarding the purpose of the period after the letter “a” and the big parentheses surrounding letters “a” and “b”.

---

## [Map attribute to object ID](https://www.ruby-forum.com/t/map-attribute-to-object-id/241459)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 8, 2015, 9:57am UTC](https://www.ruby-forum.com/t/map-attribute-to-object-id/241459 "2015-04-08T09:57:41Z")

</div>

Hello there, I would like to map an attribute to an object ID. How would I go about doing this? Example: A User ActiveRecord model exists with an id field A Message ActiveRecord model exists with id, from\_user\_id, …

---

## [Getting doublets of records while using an offset](https://www.ruby-forum.com/t/getting-doublets-of-records-while-using-an-offset/232791)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 5, 2014, 4:06pm UTC](https://www.ruby-forum.com/t/getting-doublets-of-records-while-using-an-offset/232791 "2014-11-05T16:06:46Z")

</div>

Consider this schenario where I’m having pagination on a page @recordings = Recording.order(:title).page(params\[:page\]).per(4) puts params\[:page\]@recordings.each do |recording| puts recording.id end page ----------…

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

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