# Top

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

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

---

## [Strings - trying to trim values](https://www.ruby-forum.com/t/strings-trying-to-trim-values/158391)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 2\
**Last updated:** [January 23, 2009, 4:01am UTC](https://www.ruby-forum.com/t/strings-trying-to-trim-values/158391 "2009-01-23T04:01:29Z")

</div>

What is the correct way to trim off the the first 37 characters of a string? I want to trim off the value from position 0 -\> pos 37 or take off all characters from right side and stopping at a specific character #. m…

---

## [Ruby & Javascript](https://www.ruby-forum.com/t/ruby-javascript/157364)

<div class="topic-metadata">

**Author:** [@Ernesto\_R](https://www.ruby-forum.com/u/Ernesto_R)\
**Replies:** 2\
**Last updated:** [January 10, 2009, 12:10am UTC](https://www.ruby-forum.com/t/ruby-javascript/157364 "2009-01-10T00:10:36Z")

</div>

Hey guys! Does anyone knows how to a ruby program communicate with the Google API, which one is written in Javascript ? I’ve heard something about a wrapper to do the communication, but i didn’t find anything yet. I…

---

## [Initializing list with account creation](https://www.ruby-forum.com/t/initializing-list-with-account-creation/155623)

<div class="topic-metadata">

**Author:** [@nek4life](https://www.ruby-forum.com/u/nek4life)\
**Replies:** 2\
**Last updated:** [December 15, 2008, 6:21am UTC](https://www.ruby-forum.com/t/initializing-list-with-account-creation/155623 "2008-12-15T06:21:49Z")

</div>

I have a model for users and a model for lists and a model for the items. I have a one-to-one relationship with the user and the list so only one list may be created. I’m having problems when I try to create the list…

---

## [Passing a block to a block](https://www.ruby-forum.com/t/passing-a-block-to-a-block/152488)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 2\
**Last updated:** [November 4, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/passing-a-block-to-a-block/152488 "2008-11-04T21:09:02Z")

</div>

I notice that if you pass a block to a block, you can’t use ‘yield’ to yield to that block: $ cat yield\_in\_block.rb foo = lambda { |e| puts e } blk = lambda { |e| yield e } blk.call(123, &foo) $ ruby yield\_in\_block…

---

## [Recreated app and now it can't load OpenSSL](https://www.ruby-forum.com/t/recreated-app-and-now-it-cant-load-openssl/151545)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 2\
**Last updated:** [October 22, 2008, 8:02pm UTC](https://www.ruby-forum.com/t/recreated-app-and-now-it-cant-load-openssl/151545 "2008-10-22T20:02:48Z")

</div>

hi - i have a hosted app on dreamhost, i made some change to environment.rb and it totally screwed up my app. I cannot remember what i did. So, i decided to recreate it by deleting environment.rb and running rails …

---

## [Graph view](https://www.ruby-forum.com/t/graph-view/150700)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 11, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/graph-view/150700 "2008-10-11T21:19:19Z")

</div>

Hi, I am working on the social networking application where I have to show all my connections in graph view uptoi some k levels of graph. I am almost done with the back end code and I am struggling to display the con…

---

## [Autocomplete for](https://www.ruby-forum.com/t/autocomplete-for/149765)

<div class="topic-metadata">

**Author:** [@vanight](https://www.ruby-forum.com/u/vanight)\
**Replies:** 2\
**Last updated:** [September 29, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/autocomplete-for/149765 "2008-09-29T18:23:46Z")

</div>

Hi, I’ve got an old ruby app to update. I’ve got 2.1.0 Rails and the controllers to update has an autocomplete\_for macro. How can I update this, the API says it’s deprecated. Thanks

---

## [Problem displaying correct price/decimal values](https://www.ruby-forum.com/t/problem-displaying-correct-price-decimal-values/146086)

<div class="topic-metadata">

**Author:** [@CPerry](https://www.ruby-forum.com/u/CPerry)\
**Replies:** 2\
**Last updated:** [August 18, 2008, 5:36am UTC](https://www.ruby-forum.com/t/problem-displaying-correct-price-decimal-values/146086 "2008-08-18T05:36:36Z")

</div>

Hey all, I am working on an app where people can post items for sale. When they post an item, they add a price to that item. When the item gets output to the page, it will not display the second number AFTER the decim…

---

## [Iterate over form data](https://www.ruby-forum.com/t/iterate-over-form-data/145455)

<div class="topic-metadata">

**Author:** [@rsoerensen](https://www.ruby-forum.com/u/rsoerensen)\
**Replies:** 2\
**Last updated:** [August 11, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/iterate-over-form-data/145455 "2008-08-11T23:22:58Z")

</div>

Hi, I’m building a system for registrering table soccer matches. I have however run into this problem: Each time a match is registered, a match is created in a match table. A match has\_many participants, and the Matc…

---

## [Error when running my unit test](https://www.ruby-forum.com/t/error-when-running-my-unit-test/143294)

<div class="topic-metadata">

**Author:** [@joernborup](https://www.ruby-forum.com/u/joernborup)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 1:56am UTC](https://www.ruby-forum.com/t/error-when-running-my-unit-test/143294 "2008-07-17T01:56:15Z")

</div>

Hi Rails team Learning ROR, and is doing the chapter with test… feel like skipping this, but… (using NetBeans IDE 6.1) I have created this story\_test.rb, and when I run the 'rake test:units (selected from the GUI), …

---

## [Ayuda con STI y relaciones entre modelos](https://www.ruby-forum.com/t/ayuda-con-sti-y-relaciones-entre-modelos/138677)

<div class="topic-metadata">

**Author:** [@sparkle](https://www.ruby-forum.com/u/sparkle)\
**Replies:** 2\
**Last updated:** [May 27, 2008, 4:33am UTC](https://www.ruby-forum.com/t/ayuda-con-sti-y-relaciones-entre-modelos/138677 "2008-05-27T04:33:45Z")

</div>

Hola a todos, vuelvo a pediros ayuda, esta vez relacionado con las clases STI. Por todos los sitios donde he buscado no he encontrado una situaciÃ³n como la que necesito. Tengo una clase base ‘entidad’ de la que here…

---

## [RESTful but use create in another controller](https://www.ruby-forum.com/t/restful-but-use-create-in-another-controller/135611)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/restful-but-use-create-in-another-controller/135611 "2008-04-23T20:04:46Z")

</div>

I have a RESTful setup, where one is for messages. In MessagesController I have the basic methods. But I have problems when I want to “create” from another controller. I took the form in new.erb.html from message view…

---

## [Module::class\_eval](https://www.ruby-forum.com/t/module-class-eval/135602)

<div class="topic-metadata">

**Author:** [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 3:23pm UTC](https://www.ruby-forum.com/t/module-class-eval/135602 "2008-04-23T15:23:28Z")

</div>

What’s the story with ModuleOps.Evaluate(CodeContext, RubyModule, MutableString) ? I could get the previous version to work by uncommenting the code at the bottom to call scriptCode.Run but in the new version, the si…

---

## [Tempfile.unlink $B8e$K(B tempfile.close](https://www.ruby-forum.com/t/tempfile-unlink-b8e-k-b-tempfile-close/132447)

<div class="topic-metadata">

**Author:** [@SATOH\_Fumiyasu](https://www.ruby-forum.com/u/SATOH_Fumiyasu)\
**Replies:** 2\
**Last updated:** [April 16, 2008, 7:28am UTC](https://www.ruby-forum.com/t/tempfile-unlink-b8e-k-b-tempfile-close/132447 "2008-04-16T07:28:04Z")

</div>

e$B$5$H$&$U$\_$d$9e(B @ OSS e$B%F%/%N%m%8$G$9!#e(B Tempfile e$B%\*%V%8%’%/%H$re(B unlink e$B$7$?8e$Ke(B close e$B$9$k$H!"e(B e$B0J2\<$N$h$&$KNc30$,H/@8$7$F$7$^$$$^$9!#e(B $ ruby -v ruby 1.8.6 (2008-03-03 patchlevel 114)…

---

## [Problem while printing the content of an array, which is pointed by a variable](https://www.ruby-forum.com/t/problem-while-printing-the-content-of-an-array-which-is-pointed-by-a-variable/134014)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 6:19pm UTC](https://www.ruby-forum.com/t/problem-while-printing-the-content-of-an-array-which-is-pointed-by-a-variable/134014 "2008-04-06T18:19:18Z")

</div>

Team, I am trying to print the content of array, which is “addressed?” by a variable. Instead of getting the content of the array, I am getting its name. I think it is better to take a look at the code bellow. PLEEE…

---

## [Â¿ "link\_to\_remote" a otro servido r?](https://www.ruby-forum.com/t/a-link-to-remote-a-otro-servido-r/129837)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 2\
**Last updated:** [February 22, 2008, 1:06am UTC](https://www.ruby-forum.com/t/a-link-to-remote-a-otro-servido-r/129837 "2008-02-22T01:06:23Z")

</div>

Hola, si no recuerdo mal el objeto XMLHttpRequest no vale para acceder a un servidor distinto del que aloja la pÃ¡gina que visualizamos en el navegador. Es decir, si estamos navegando una web en el servidor A, dicha …

---

## [Nonlinear performance of each\_char](https://www.ruby-forum.com/t/nonlinear-performance-of-each-char/126561)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 3:24am UTC](https://www.ruby-forum.com/t/nonlinear-performance-of-each-char/126561 "2008-01-20T03:24:13Z")

</div>

String#each\_char e$B$N=hM};~4V$,J8;zNsD9$KHfNc$7$J$$46$8$G$9!#e(B % ./ruby -v -e ’ c = “\\xa1\\xa1”.force\_encoding(“euc-jp”); 1000.step(20000, 1000) {|n| s = c \* n t1 = Process.times.utime s.each\_char {|x| } t2 = Pr…

---

## [Problem with symmetric behavior](https://www.ruby-forum.com/t/problem-with-symmetric-behavior/125140)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 3:54am UTC](https://www.ruby-forum.com/t/problem-with-symmetric-behavior/125140 "2008-01-08T03:54:43Z")

</div>

Hello, I created a flowgraph based upon the usrp\_nbfm\_ptt.py example. I am witnessing some weird, asymmetric behavior when running the graph. The code generates a tone from the user specified daughterboard and then…

---

## [Wanted: user-interface for many to many/habtm join operations](https://www.ruby-forum.com/t/wanted-user-interface-for-many-to-many-habtm-join-operations/124607)

<div class="topic-metadata">

**Author:** [@kaeptnhaddock](https://www.ruby-forum.com/u/kaeptnhaddock)\
**Replies:** 2\
**Last updated:** [December 31, 2007, 12:09pm UTC](https://www.ruby-forum.com/t/wanted-user-interface-for-many-to-many-habtm-join-operations/124607 "2007-12-31T12:09:15Z")

</div>

Dear group I’m on my first RoR project, and so far things are going fine. But now I’d like to achieve a simple m2m-join, with users and groups (–\> a join table groups\_users). I’d like to achieve a view/user interface …

---

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

<div class="topic-metadata">

**Author:** [@Ramiro\_Diaz\_Trepat](https://www.ruby-forum.com/u/Ramiro_Diaz_Trepat)\
**Replies:** 2\
**Last updated:** [December 17, 2007, 5:24am UTC](https://www.ruby-forum.com/t/mechanize/123365 "2007-12-17T05:24:18Z")

</div>

Hello list, I need to parse the contents of a weird web site, that uses a session id which is 80,000 characters long, on a hidden input tag. I try to use Mechanize for the task, but, since this web page has the 12th …

---

## [Rails2.0 scaffold generator](https://www.ruby-forum.com/t/rails2-0-scaffold-generator/123107)

<div class="topic-metadata">

**Author:** [@rails](https://www.ruby-forum.com/u/rails)\
**Replies:** 2\
**Last updated:** [December 14, 2007, 3:59am UTC](https://www.ruby-forum.com/t/rails2-0-scaffold-generator/123107 "2007-12-14T03:59:38Z")

</div>

In version rails1.2, we can use script/generate scaffold modelname controllername, but in version 2, the scafflod generator only receive the model parameter in this way: script/generate scaffold modelname. Now, i want…

---

## [Como se numera un proyecto Rails?](https://www.ruby-forum.com/t/como-se-numera-un-proyecto-rails/123035)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 2\
**Last updated:** [December 13, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/como-se-numera-un-proyecto-rails/123035 "2007-12-13T22:01:24Z")

</div>

Buenas lista, mi pregunta quizas tenga poco que ver con Rails, pero ando realizando unos cuantos proyectos con este framework y me gustaría seguir la numeración de versiones que sigue. Cuando hablamos de la versión 2.…

---

## [Regexp#names, MatchData#names, MatchData#regexp](https://www.ruby-forum.com/t/regexp-names-matchdata-names-matchdata-regexp/122551)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [December 9, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/regexp-names-matchdata-names-matchdata-regexp/122551 "2007-12-09T17:29:27Z")

</div>

named capture e$B$^$o$j$r$=$m$($F$$$F!"$d$O$jL\>A0$N%j%9%H$rF@$ke(B e$B%a%=%C%I$,I,MW$@$m$&$H$$$&$3$H$G!“e(BRegexp#names e$B$He(B MatchData#names e$B$r\<BAu$7$F$\_$^$7$?$,!”$I$&$G$7$g$&$+!#e(B e$B$"$H!“e(Bmatch.names e$B…

---

## [Ordinamento di una tabella x colonne](https://www.ruby-forum.com/t/ordinamento-di-una-tabella-x-colonne/120770)

<div class="topic-metadata">

**Author:** [@stefanof](https://www.ruby-forum.com/u/stefanof)\
**Replies:** 2\
**Last updated:** [November 21, 2007, 10:24am UTC](https://www.ruby-forum.com/t/ordinamento-di-una-tabella-x-colonne/120770 "2007-11-21T10:24:55Z")

</div>

Ciao a tutti, sono un neo-neofita di Ruby… mi piacerebbe imparare ad usarlo sempre meglio, ma per fare questo non bastano i libri, quindi passo ai forum… linfa vitale… ed eccomi al mio primo post… in breve… come fa…

---

## [GNU Radio 3.1.0 Release Tarballs Available](https://www.ruby-forum.com/t/gnu-radio-3-1-0-release-tarballs-available/118009)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/gnu-radio-3-1-0-release-tarballs-available/118009 "2007-10-23T22:50:07Z")

</div>

GNU Radio stable release 3.1.0 is now available for download: http://gnuradio.org/releases/gnuradio/gnuradio-3.1.0.tar.gz http://gnuradio.org/releases/gnuradio/gr-howto-write-a-block-3.1.0.tar.gz Binary installation p…

---

## [Transaction scope](https://www.ruby-forum.com/t/transaction-scope/116020)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 2\
**Last updated:** [October 5, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/transaction-scope/116020 "2007-10-05T15:20:51Z")

</div>

I just read this in the documentation and would like to clarify what it means: Both Base#save and Base#destroy come wrapped in a transaction that ensures that whatever you do in validations or callbacks will happen u…

---

## [File\_field e polymorphic associations](https://www.ruby-forum.com/t/file-field-e-polymorphic-associations/115064)

<div class="topic-metadata">

**Author:** [@enzo\_ferro](https://www.ruby-forum.com/u/enzo_ferro)\
**Replies:** 2\
**Last updated:** [September 20, 2007, 10:42am UTC](https://www.ruby-forum.com/t/file-field-e-polymorphic-associations/115064 "2007-09-20T10:42:19Z")

</div>

Ciao a tutti, nella mia applicazione ho una form per il caricamento di un file xml in tabelle DB2, una per ogni tipo di file, collegate ad una tabella “file\_list” tramite polymorphic associations. Nella form new.rhtm…

---

## [Multilanguage](https://www.ruby-forum.com/t/multilanguage/113916)

<div class="topic-metadata">

**Author:** [@mark.a.brand](https://www.ruby-forum.com/u/mark.a.brand)\
**Replies:** 2\
**Last updated:** [September 6, 2007, 6:18am UTC](https://www.ruby-forum.com/t/multilanguage/113916 "2007-09-06T06:18:52Z")

</div>

oops - in previous email forgot subject. ---------- Forwarded message ---------- From: mark. a. brand removed\_email\_address@domain.invalid Date: 06-Sep-2007 12:50 Subject: \[Radiant\] (no subject) To: removed\_email\_ad…

---

## [How do you calculate the max # of sales in a 5 day period?](https://www.ruby-forum.com/t/how-do-you-calculate-the-max-of-sales-in-a-5-day-period/113386)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 2\
**Last updated:** [August 30, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/how-do-you-calculate-the-max-of-sales-in-a-5-day-period/113386 "2007-08-30T17:59:50Z")

</div>

If I’m trying to calculate the record (max) number of sales within a 5 day period, how would I do it? I’m guessing it starts with a Sales.maximum, but being an absolute noob, I have no idea what next. Maybe like a Sal…

---

## [Download, desde pagina](https://www.ruby-forum.com/t/download-desde-pagina/113052)

<div class="topic-metadata">

**Author:** [@Angel\_Mauricio\_Pino](https://www.ruby-forum.com/u/Angel_Mauricio_Pino)\
**Replies:** 2\
**Last updated:** [August 27, 2007, 9:17am UTC](https://www.ruby-forum.com/t/download-desde-pagina/113052 "2007-08-27T09:17:44Z")

</div>

No se si estare entrando en algo de ficcion, pero necesito, que un sistema obtenga informacion, desde una apgina donde normalmente entraria como usuario/password, pasando luego a otra pagina marcar unos check y baj…

---

## [Block example that processes on another thread](https://www.ruby-forum.com/t/block-example-that-processes-on-another-thread/112279)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 2\
**Last updated:** [August 18, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/block-example-that-processes-on-another-thread/112279 "2007-08-18T21:50:58Z")

</div>

Can anyone direct me to a block that does its processing on a separate thread (i.e. other than the thread that calls gr\_sync\_block::work) Thanks, Chris

---

## [Have rails ignore validation](https://www.ruby-forum.com/t/have-rails-ignore-validation/111813)

<div class="topic-metadata">

**Author:** [@MarcS](https://www.ruby-forum.com/u/MarcS)\
**Replies:** 2\
**Last updated:** [August 11, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/have-rails-ignore-validation/111813 "2007-08-11T16:01:47Z")

</div>

Hi, I’m looking for a way to tell rails to ingore the validation just in one specific instance. I have one function in my controller where I wanna save the object no matter what. Is there a way to do that?

---

## [Extra text in puts command](https://www.ruby-forum.com/t/extra-text-in-puts-command/110058)

<div class="topic-metadata">

**Author:** [@Jenny\_P](https://www.ruby-forum.com/u/Jenny_P)\
**Replies:** 2\
**Last updated:** [July 22, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/extra-text-in-puts-command/110058 "2007-07-22T18:16:23Z")

</div>

This one seems incredibly simple and I’m sure I’m just missing something obvious. I have the following ‘puts’ command to push my results to a csv file: puts CSV.generate\_line(\[pole\_new\[j\], horse\_name\[j\], horse\_info\[j\]…

---

## [Collection\_select not selecting item, unless](https://www.ruby-forum.com/t/collection-select-not-selecting-item-unless/109926)

<div class="topic-metadata">

**Author:** [@atraeyu](https://www.ruby-forum.com/u/atraeyu)\
**Replies:** 2\
**Last updated:** [July 20, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/collection-select-not-selecting-item-unless/109926 "2007-07-20T17:12:31Z")

</div>

I’m fairly new to Rails, so this could just be my stupidity rather than Rails. My app has two simple models: record (id, category\_id, …) and category (id, name). In my generated scaffold \_form.html for the record mod…

---

## [Trouble installing/configuring RadRails on XP](https://www.ruby-forum.com/t/trouble-installing-configuring-radrails-on-xp/105241)

<div class="topic-metadata">

**Author:** [@r.g](https://www.ruby-forum.com/u/r.g)\
**Replies:** 2\
**Last updated:** [May 28, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/trouble-installing-configuring-radrails-on-xp/105241 "2007-05-28T15:53:27Z")

</div>

Hello, (I apologize if this isn’t the right place to post this.) I’m trying to get RadRails up and running on Eclipse 3.2 on Windows XP. I followed the instructions at \<Aptana.com | Axway Integrating\_RadRails\_with\_A…

---

## [Radiant + Apache](https://www.ruby-forum.com/t/radiant-apache/104080)

<div class="topic-metadata">

**Author:** [@saji](https://www.ruby-forum.com/u/saji)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 6:04am UTC](https://www.ruby-forum.com/t/radiant-apache/104080 "2007-05-14T06:04:00Z")

</div>

Dear All, I am afraid this may be a newbie question. How do I deploy my website made with Radiant using Apache? I am planning to add a homepage to serve climate information products, but this is to be linked to our o…

---

## [Setting parameters in link from javascript](https://www.ruby-forum.com/t/setting-parameters-in-link-from-javascript/92798)

<div class="topic-metadata">

**Author:** [@Anders\_EngstrSSSSm](https://www.ruby-forum.com/u/Anders_EngstrSSSSm)\
**Replies:** 2\
**Last updated:** [May 1, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/setting-parameters-in-link-from-javascript/92798 "2007-05-01T21:38:47Z")

</div>

Hi. I need to do an Ajax call to populate a span-tag with some text from the server-side. I’m using ‘link\_to\_remote’ but I need to fetch one of the parameters in the call from a form field. Initially I tried somethin…

---

## [Is inheiritance possible in layouts?](https://www.ruby-forum.com/t/is-inheiritance-possible-in-layouts/93068)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 2\
**Last updated:** [April 27, 2007, 4:06am UTC](https://www.ruby-forum.com/t/is-inheiritance-possible-in-layouts/93068 "2007-04-27T04:06:58Z")

</div>

Is it possible to have one layout extend another one? For example: normal.rhtml: \<%= @content\_for\_layout %\> extra\_stuff.rhtml somehow extends normal.rhtml: \<%= @content\_for\_layout %\> So any page that uses ext…

---

## [String subs](https://www.ruby-forum.com/t/string-subs/92634)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 2\
**Last updated:** [April 22, 2007, 12:39am UTC](https://www.ruby-forum.com/t/string-subs/92634 "2007-04-22T00:39:05Z")

</div>

lo there all, i have found how i can put a variable inside a string without the #{} stuff using %s and so on. But i don’t know how to do more than one. for example x = 5 y = 10 puts “i have %s foo and %s bar” % do…

---

## [Adding actions/methods to a controller via a plugin](https://www.ruby-forum.com/t/adding-actions-methods-to-a-controller-via-a-plugin/88735)

<div class="topic-metadata">

**Author:** [@pixellover](https://www.ruby-forum.com/u/pixellover)\
**Replies:** 2\
**Last updated:** [April 1, 2007, 10:20pm UTC](https://www.ruby-forum.com/t/adding-actions-methods-to-a-controller-via-a-plugin/88735 "2007-04-01T22:20:57Z")

</div>

Hi, I would like to develop a plugin, that if enabled in a controller, extends the controller with some basic methods (actions). Here’s what I’ve done so far: In init.rb: require ‘my\_scaffold’ ActionController::Ba…

---

## [Include core class extensions](https://www.ruby-forum.com/t/include-core-class-extensions/90327)

<div class="topic-metadata">

**Author:** [@sparkle](https://www.ruby-forum.com/u/sparkle)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/include-core-class-extensions/90327 "2007-03-28T16:41:03Z")

</div>

An internal application, the “manager”, will periodically locate a series of ruby files in a directory structure. The application will execute each ruby file using backticks (e.g. ruby myfile.rb). This means that a …

---

## [Pagination avec ez\_where](https://www.ruby-forum.com/t/pagination-avec-ez-where/88019)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 10:06pm UTC](https://www.ruby-forum.com/t/pagination-avec-ez-where/88019 "2007-03-08T22:06:10Z")

</div>

Bonjour à tous, J’utilise le plugin Ez\_where : def search # utilisation du plugin ez\_where patro = params\[:achercher\] button\_value = params\[:zone\]\[:int\] @mariages = ActMar.ez\_find(:all, :order =\> ‘c\_nom’) do |act\_m…

---

## [Nuovo appassionato.. info](https://www.ruby-forum.com/t/nuovo-appassionato-info/88110)

<div class="topic-metadata">

**Author:** [@godzail](https://www.ruby-forum.com/u/godzail)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 10:13am UTC](https://www.ruby-forum.com/t/nuovo-appassionato-info/88110 "2007-03-08T10:13:05Z")

</div>

Salve a tutti, anche io leggendo qua e lÃ e facendo qualche prova mi sono appassionato a Ruby. Mi piace molto la portabilitÃ , la sintassi, la potenza. Uso normalmente come script autoit, ma adesso mi stavo interess…

---

## [Clearing out submitted form](https://www.ruby-forum.com/t/clearing-out-submitted-form/86998)

<div class="topic-metadata">

**Author:** [@kturner](https://www.ruby-forum.com/u/kturner)\
**Replies:** 2\
**Last updated:** [February 28, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/clearing-out-submitted-form/86998 "2007-02-28T15:58:51Z")

</div>

I’m trying to put together a basic blog application for fun, and I’m using an RJS template to insert a new comment into existing comments. The comment data is inserted, but the comment form at the bottom of the page s…

---

## [Bypassing daughtercards](https://www.ruby-forum.com/t/bypassing-daughtercards/85703)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 16, 2007, 12:51am UTC](https://www.ruby-forum.com/t/bypassing-daughtercards/85703 "2007-02-16T00:51:29Z")

</div>

I am currently working with GNU radio and USRP board with its transceiver daughtercards for transmitting and receiving signals. I have recently aqcuired new RF front end hardware that can mix a baseband signal up to …

---

## [Can't view a ruby file after installation](https://www.ruby-forum.com/t/cant-view-a-ruby-file-after-installation/84489)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 2\
**Last updated:** [February 5, 2007, 10:33am UTC](https://www.ruby-forum.com/t/cant-view-a-ruby-file-after-installation/84489 "2007-02-05T10:33:36Z")

</div>

Hello every body, I’m new person to linux. I already installed PHP5 and MYSql on my system. Now I installed Ruby on the same system. I dont know how to start Ruby in my system . Cos when I create a file with the exten…

---

## ["rake db:migrate" error](https://www.ruby-forum.com/t/rake-db-migrate-error/83308)

<div class="topic-metadata">

**Author:** [@libsfan01](https://www.ruby-forum.com/u/libsfan01)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-error/83308 "2007-01-25T19:35:37Z")

</div>

Hi all Just setup ruby on rails. does anyone know what this error means when i try to run “rake db:migrate” on my new site. rake aborted! undefined method \`\[\]’ for false:FalseClass (See full trace by running task w…

---

## [Help with remote\_function](https://www.ruby-forum.com/t/help-with-remote-function/82984)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 2\
**Last updated:** [January 22, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/help-with-remote-function/82984 "2007-01-22T22:22:48Z")

</div>

Hello I have this in a partial called \_publish\_status.rhtml Published \<%= radio\_button('page', 'published',true, :onclick =\>remote\_function(:update =\> "@page.published", :url =\> { :action =\> :publish\_status, :i…

---

## [PlRuby(Postgres) and require](https://www.ruby-forum.com/t/plruby-postgres-and-require/81504)

<div class="topic-metadata">

**Author:** [@Bertram\_S](https://www.ruby-forum.com/u/Bertram_S)\
**Replies:** 2\
**Last updated:** [January 11, 2007, 9:12am UTC](https://www.ruby-forum.com/t/plruby-postgres-and-require/81504 "2007-01-11T09:12:53Z")

</div>

Hi, in PlRuby I am defining functions and I would like to load some library: create function dummy() returns void language ‘plruby’ as $$ require “yaml” $$; select dummy(); This yields in an “ERROR: Insecure opera…

---

## [Gettext and Rails Edge](https://www.ruby-forum.com/t/gettext-and-rails-edge/81490)

<div class="topic-metadata">

**Author:** [@carlosparamio](https://www.ruby-forum.com/u/carlosparamio)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 1:23am UTC](https://www.ruby-forum.com/t/gettext-and-rails-edge/81490 "2007-01-10T01:23:08Z")

</div>

Hi! I’m trying to use gettext in an application that uses Rails Edge (because the REST api). But I can’t get it to work at all. I’m using Gettext 1.8.0 gem and Rails revision 5875. This is what a traceback outputs wh…

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

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