# Top

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

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

---

## [Web/HTTP Testing](https://www.ruby-forum.com/t/web-http-testing/72452)

<div class="topic-metadata">

**Author:** [@thiagoalessio](https://www.ruby-forum.com/u/thiagoalessio)\
**Replies:** 5\
**Last updated:** [February 25, 2006, 9:28pm UTC](https://www.ruby-forum.com/t/web-http-testing/72452 "2006-02-25T21:28:41Z")

</div>

Hello, I am looking for a user test automation tool. When I say ‘user’, I mean it should mimic the user interacting with the app. That ultimately boils down to a tool that drives a browser or is able to make http req…

---

## [RoR still not working on SuSE 9.0 - incomplete headers recei](https://www.ruby-forum.com/t/ror-still-not-working-on-suse-9-0-incomplete-headers-recei/63216)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 5\
**Last updated:** [January 20, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/ror-still-not-working-on-suse-9-0-incomplete-headers-recei/63216 "2006-01-20T19:54:22Z")

</div>

Hi, I’ve already posted my problem a few weeks ago on several forums, or lists. I still have the same problem: I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR working with fastCGI. I have installed…

---

## [Multiple HABTM relationships with self?](https://www.ruby-forum.com/t/multiple-habtm-relationships-with-self/52892)

<div class="topic-metadata">

**Author:** [@plutes](https://www.ruby-forum.com/u/plutes)\
**Replies:** 5\
**Last updated:** [January 20, 2006, 12:02pm UTC](https://www.ruby-forum.com/t/multiple-habtm-relationships-with-self/52892 "2006-01-20T12:02:49Z")

</div>

I need to have a table related to itself via a join table. Will HABTM support this? That is: class Recipe \< ActiveRecord::Base has\_and\_belongs\_to\_many :recipes, :join\_table =\> “recipes\_recipes” end More importantly…

---

## [NOOB Ajax question: handling form input](https://www.ruby-forum.com/t/noob-ajax-question-handling-form-input/62237)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 5\
**Last updated:** [January 18, 2006, 6:38am UTC](https://www.ruby-forum.com/t/noob-ajax-question-handling-form-input/62237 "2006-01-18T06:38:06Z")

</div>

Hi, I was trying to modify how a standard edit form works so I could use Ajax to truncate a zip code field which became too long as the user is entering the value. The form was generated by the generate scaffold scr…

---

## [Mastering ruby or rails?](https://www.ruby-forum.com/t/mastering-ruby-or-rails/53004)

<div class="topic-metadata">

**Author:** [@tony](https://www.ruby-forum.com/u/tony)\
**Replies:** 5\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/mastering-ruby-or-rails/53004 "2005-12-11T17:27:22Z")

</div>

Let’s say that a person is a very good ruby programmer but so far hasn’t shown any interest for the web. And let’s say that now he wants to start programming with rails. How much of ruby “is in” programming with “rail…

---

## [Nginx php cgi interpreter](https://www.ruby-forum.com/t/nginx-php-cgi-interpreter/241663)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 22, 2015, 4:35am UTC](https://www.ruby-forum.com/t/nginx-php-cgi-interpreter/241663 "2015-04-22T04:35:10Z")

</div>

Hi all, I’m just trying to configure nginx to use use php, but it seemed too complicated. Why is it so complicated to tell nginx to use php-cgi interpreter \[1\]? When compared to mongoose it is just a matter of settin…

---

## [Text-mode spreadsheet reader](https://www.ruby-forum.com/t/text-mode-spreadsheet-reader/232869)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 1, 2014, 8:52pm UTC](https://www.ruby-forum.com/t/text-mode-spreadsheet-reader/232869 "2014-11-01T20:52:17Z")

</div>

Good morning, I feel dumb. Maybe you can help change that but let me first try to exclude misunderstandings. -) If a text-mode spreadsheet reader exists already, I do not care to know and will continue my own develop…

---

## [Prepend a php script in all requests](https://www.ruby-forum.com/t/prepend-a-php-script-in-all-requests/232215)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 25, 2014, 11:45pm UTC](https://www.ruby-forum.com/t/prepend-a-php-script-in-all-requests/232215 "2014-09-25T23:45:15Z")

</div>

Hey guys, Once i have nginx installed with php fastcgi. Is it possible to preppend a php script to be executed when serving any request? (similar to apache prepend function). If yes could I please have an example. Tha…

---

## [Re: Error in OP25 Decode block](https://www.ruby-forum.com/t/re-error-in-op25-decode-block/231056)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 18, 2014, 5:54pm UTC](https://www.ruby-forum.com/t/re-error-in-op25-decode-block/231056 "2014-07-18T17:54:50Z")

</div>

I built it with Pybombs. I just installed gr-baz. I didn’t know there was a way to install op25 decoder separately. I would like to know how to install the GNURadio 3.7.4 just announced. Doug On Fri, Jul 18, 2014…

---

## [Using variables on nginx](https://www.ruby-forum.com/t/using-variables-on-nginx/240402)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 11, 2014, 9:20pm UTC](https://www.ruby-forum.com/t/using-variables-on-nginx/240402 "2014-04-11T21:20:20Z")

</div>

I can Use variables to define IP:Port on upstreams directive? For example: upstream cluster-servers { $server01; $server02; } – Un abrazo! Ral Hugo http://twitter.com/raulhugo Miembro Asociadohttp://apesol.org.…

---

## [Is there an nginx queue that isn't logged via $response\_time](https://www.ruby-forum.com/t/is-there-an-nginx-queue-that-isnt-logged-via-response-time/246326)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 26, 2013, 9:42pm UTC](https://www.ruby-forum.com/t/is-there-an-nginx-queue-that-isnt-logged-via-response-time/246326 "2013-09-26T21:42:07Z")

</div>

We have a setup that looks like this: nginx-\>haproxy-\>app servers We are terminating SSL with nginx and it sits in front of everything. During our peak load times, we are experiencing about a 2x performance hit. Req…

---

## [\[ruby-trunk - Bug #8810\]\[Open\] SolarisでGDBM.open内で処理がブロックしたらTimeout.timeout が効かない](https://www.ruby-forum.com/t/ruby-trunk-bug-8810-open-solaris-gdbm-open-timeout-timeout/236291)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 24, 2013, 1:25am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8810-open-solaris-gdbm-open-timeout-timeout/236291 "2013-08-24T01:25:12Z")

</div>

Issue #8810 has been reported by ngoto (Naohisa G.). Bug #8810: SolarisでGDBM.open内で処理がブロックしたらTimeout.timeout が効かない Author: ngoto (Naohisa G.) Status: Open Priority: Normal Assignee: Category: ext Target version: …

---

## [Gem 'mechanize' in Ruby script](https://www.ruby-forum.com/t/gem-mechanize-in-ruby-script/227320)

<div class="topic-metadata">

**Author:** [@christophrost](https://www.ruby-forum.com/u/christophrost)\
**Replies:** 2\
**Last updated:** [March 11, 2013, 12:32pm UTC](https://www.ruby-forum.com/t/gem-mechanize-in-ruby-script/227320 "2013-03-11T12:32:24Z")

</div>

Hi, I would like to know exactly how this snippets work in Ruby script. gem ‘mechanize’, ‘=1.0.0’ require File.dirname(FILE) + “/logo.rb” require “rubygems” require “cashew” I can guess the lines (2~4) will require…

---

## [Data link protocol problem](https://www.ruby-forum.com/t/data-link-protocol-problem/205838)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 16, 2011, 9:26pm UTC](https://www.ruby-forum.com/t/data-link-protocol-problem/205838 "2011-04-16T21:26:56Z")

</div>

Hello ALL, I am using Ubuntu-10.04 and the latest gnuradio downloaded via git. UHD has been installed. However, I get ‘Destination Host Unreachable’ when ping 192.168.10.2 $ sudo ifconfig eth0 192.168.10.1 $ ping 1…

---

## [Detecting status of a spec in after block](https://www.ruby-forum.com/t/detecting-status-of-a-spec-in-after-block/202049)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 20, 2011, 6:48pm UTC](https://www.ruby-forum.com/t/detecting-status-of-a-spec-in-after-block/202049 "2011-01-20T18:48:29Z")

</div>

Hi inside an after :each block, whats the best way to find out if the current spec has run? Right now the only solution I have is self.example.instance\_variable\_get(:@exception).nil?. Is there a better solution? Als…

---

## [Moving development to Github?](https://www.ruby-forum.com/t/moving-development-to-github/198975)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 13, 2010, 5:58am UTC](https://www.ruby-forum.com/t/moving-development-to-github/198975 "2010-11-13T05:58:12Z")

</div>

Seeing as how the documentation is now maintained on Github, can we please move development of the ruby-gnome2 libraries to Github as well?

---

## [Beginner questions: parametrize tests and disable tests (skippy?)](https://www.ruby-forum.com/t/beginner-questions-parametrize-tests-and-disable-tests-skippy/192225)

<div class="topic-metadata">

**Author:** [@nathanvda](https://www.ruby-forum.com/u/nathanvda)\
**Replies:** 2\
**Last updated:** [July 27, 2010, 11:06am UTC](https://www.ruby-forum.com/t/beginner-questions-parametrize-tests-and-disable-tests-skippy/192225 "2010-07-27T11:06:47Z")

</div>

Hi there, i have two very specific questions. I am writing an application to send sms-es. Now i would like to be able, somehow, to disable the part of my tests that actually sends the sms-es. My code is tested, but t…

---

## [How to get dBm value from usrp\_spectrum\_sense.py](https://www.ruby-forum.com/t/how-to-get-dbm-value-from-usrp-spectrum-sense-py/190225)

<div class="topic-metadata">

**Author:** [@lishan\_wh](https://www.ruby-forum.com/u/lishan_wh)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/how-to-get-dbm-value-from-usrp-spectrum-sense-py/190225 "2010-06-17T16:50:35Z")

</div>

Hi, I wonder how can I get the dBm value by using usrp\_spectrum\_sense.py. should I do it as follows? fft = gr.fft\_vcc() c2mag = gr.complex\_to\_mag\_squared() (or without squared?) log = gr.nlog10\_ff() stats = gr.bi…

---

## [Find :include broken when upgrading to 2.2.2](https://www.ruby-forum.com/t/find-include-broken-when-upgrading-to-2-2-2/169499)

<div class="topic-metadata">

**Author:** [@bobm](https://www.ruby-forum.com/u/bobm)\
**Replies:** 2\
**Last updated:** [June 5, 2009, 10:40am UTC](https://www.ruby-forum.com/t/find-include-broken-when-upgrading-to-2-2-2/169499 "2009-06-05T10:40:42Z")

</div>

Hi, I’m upgrading an old 1.2 application to latest 2.2 and I got an error which is certainly due to :include @factures = Facture.find(:all, :include =\> \[\[:forfait =\> :vehicule\] =\> :client\], :conditions =\> \[“MONTH(fact…

---

## [\[ANN\] rSquery 0.1.1](https://www.ruby-forum.com/t/ann-rsquery-0-1-1/196961)

<div class="topic-metadata">

**Author:** [@Ivo\_D](https://www.ruby-forum.com/u/Ivo_D)\
**Replies:** 2\
**Last updated:** [May 16, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/ann-rsquery-0-1-1/196961 "2009-05-16T18:12:37Z")

</div>

Hello all rSquery aims to reduce the difficulties involved in writing selenium tests in cucumber environments for webapps that use jQuery. The project contains several methods to help you with writing javascript comm…

---

## [Status: 500 Internal Server Error when running mongrel](https://www.ruby-forum.com/t/status-500-internal-server-error-when-running-mongrel/167685)

<div class="topic-metadata">

**Author:** [@9tailsfox](https://www.ruby-forum.com/u/9tailsfox)\
**Replies:** 2\
**Last updated:** [May 11, 2009, 3:08pm UTC](https://www.ruby-forum.com/t/status-500-internal-server-error-when-running-mongrel/167685 "2009-05-11T15:08:25Z")

</div>

Hello everyone! I try run simple RoR application, I go to RoR default “hello page”,but I got error, when trying to open new views. Status: 500 Internal Server Error could not open database: unable to open database fi…

---

## [Radiant (master with rails 2.1) and Tag extension](https://www.ruby-forum.com/t/radiant-master-with-rails-2-1-and-tag-extension/154217)

<div class="topic-metadata">

**Author:** [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Replies:** 2\
**Last updated:** [November 26, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/radiant-master-with-rails-2-1-and-tag-extension/154217 "2008-11-26T16:19:19Z")

</div>

Hello, I tried to install the Tags extension (http://github.com/jomz/radiant-tags-extension/tree/master/README) with the Radiant master but I got the following problem : \[13:01\]\[vincentp@vincent-peress-macbook:~/NetB…

---

## [Renderizar una vista en una capa mediante el controlador](https://www.ruby-forum.com/t/renderizar-una-vista-en-una-capa-mediante-el-controlador/151208)

<div class="topic-metadata">

**Author:** [@bewhite](https://www.ruby-forum.com/u/bewhite)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/renderizar-una-vista-en-una-capa-mediante-el-controlador/151208 "2008-10-18T14:58:41Z")

</div>

Hola saludos soy novato en RoR y deseo hacer que el controlador me renderice una vista en una div existente en otra vista espero puedan solucionar mi problema. He estado investigando y no he encontrado la solucion, lo…

---

## [Weird error in Hash.to\_json](https://www.ruby-forum.com/t/weird-error-in-hash-to-json/147988)

<div class="topic-metadata">

**Author:** [@Mike\_Travers](https://www.ruby-forum.com/u/Mike_Travers)\
**Replies:** 2\
**Last updated:** [September 8, 2008, 7:35pm UTC](https://www.ruby-forum.com/t/weird-error-in-hash-to-json/147988 "2008-09-08T19:35:40Z")

</div>

{}.to\_json() =\> “{}” {}.to\_json({}) TypeError: wrong argument type Hash (expected Data) from (irb):4:in \`to\_json’ from (irb):4 This is in Ruby 1.8.6, Rails 2.1.1…but for some reason reloading the source fix…

---

## [Valor con submit\_to\_remote](https://www.ruby-forum.com/t/valor-con-submit-to-remote/144772)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 2\
**Last updated:** [August 1, 2008, 10:29pm UTC](https://www.ruby-forum.com/t/valor-con-submit-to-remote/144772 "2008-08-01T22:29:06Z")

</div>

hola lista tengo este submit\_to\_remote en una parte de mi cÃ³digo, que como vern me salta a la accion new y a ese new le quiero pasar valor =1 he probado con :with =\> pero no me funciona, hay otra forma de pasar un v…

---

## [Oferta de trabajo](https://www.ruby-forum.com/t/oferta-de-trabajo/138961)

<div class="topic-metadata">

**Author:** [@Juan\_JosSSSS\_Vidal](https://www.ruby-forum.com/u/Juan_JosSSSS_Vidal)\
**Replies:** 2\
**Last updated:** [May 30, 2008, 1:44am UTC](https://www.ruby-forum.com/t/oferta-de-trabajo/138961 "2008-05-30T01:44:47Z")

</div>

Muy buenas, Se busca persona para trabajar en webapp de gestiÃ³n de proyectos de ingenierÃ­a hecha en RoR. No importa si trabaja desde casa (freelance). 1 dÃ­a por semana por unos 500 EUR al mes. Requerimientos: Rub…

---

## [Uninitialized constant en un Sweeper](https://www.ruby-forum.com/t/uninitialized-constant-en-un-sweeper/137904)

<div class="topic-metadata">

**Author:** [@Marcelino\_L](https://www.ruby-forum.com/u/Marcelino_L)\
**Replies:** 2\
**Last updated:** [May 18, 2008, 2:26am UTC](https://www.ruby-forum.com/t/uninitialized-constant-en-un-sweeper/137904 "2008-05-18T02:26:07Z")

</div>

Hola hola estoy haciendo cacheo de mi aplicaciÃ³n, he seguido estas guÃ­as http://railsenvy.com/2007/2/28/rails-caching-tutorial el caso es que cuando creo el sweeper y aÃ±ado las configuraciones en development.rb (…

---

## [Problem with show and hide div on mouse events](https://www.ruby-forum.com/t/problem-with-show-and-hide-div-on-mouse-events/117032)

<div class="topic-metadata">

**Author:** [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Replies:** 2\
**Last updated:** [October 17, 2007, 9:41am UTC](https://www.ruby-forum.com/t/problem-with-show-and-hide-div-on-mouse-events/117032 "2007-10-17T09:41:14Z")

</div>

\*Problem with show and hide div on mouse eventshttp://www.ruby-forum.com/topic/127744#569797 \* Hi, Friends, I am new to Ruby On Rails, I want to implement show and hide div on mouseover and mouseout events, I have t…

---

## [rSpec / Nested Routes / Mocks](https://www.ruby-forum.com/t/rspec-nested-routes-mocks/114936)

<div class="topic-metadata">

**Author:** [@knb](https://www.ruby-forum.com/u/knb)\
**Replies:** 2\
**Last updated:** [September 18, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/rspec-nested-routes-mocks/114936 "2007-09-18T23:55:07Z")

</div>

I’m having a terrible time trying to test a nested route with rSpec. I can’t seem to tell rSpec to expect the call @item.user. The following error message plagues me not matter how I try to fuss with the mock: Spec:…

---

## [Extending Array class with a method](https://www.ruby-forum.com/t/extending-array-class-with-a-method/107175)

<div class="topic-metadata">

**Author:** [@Ben\_Nevile](https://www.ruby-forum.com/u/Ben_Nevile)\
**Replies:** 2\
**Last updated:** [June 18, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/extending-array-class-with-a-method/107175 "2007-06-18T20:35:59Z")

</div>

Hi, Let’s say I have an ActiveRecord::Base class and I want to be able to call a method on an Array of these items. For instance, perhaps there’s a class called Country and another called business, and I’d like to b…

---

## [Strange Record not saved errors](https://www.ruby-forum.com/t/strange-record-not-saved-errors/90135)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 2\
**Last updated:** [March 26, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/strange-record-not-saved-errors/90135 "2007-03-26T14:04:44Z")

</div>

I have a site with an acts\_as\_authenticated based login which has started throwing up some strange errors. Until a few days ago everything worked fine but all of a sudden ‘RecordNotSaved’ errors are popping up in my l…

---

## [Uninitialized constant CreateUsers](https://www.ruby-forum.com/t/uninitialized-constant-createusers/84844)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 2\
**Last updated:** [February 8, 2007, 2:18am UTC](https://www.ruby-forum.com/t/uninitialized-constant-createusers/84844 "2007-02-08T02:18:10Z")

</div>

what could be causing this? Execute environment \*\* Execute db:migrate rake aborted! uninitialized constant CreateUsers

---

## [RE: xmlto error encountered in trying to generate some doc f](https://www.ruby-forum.com/t/re-xmlto-error-encountered-in-trying-to-generate-some-doc-f/83402)

<div class="topic-metadata">

**Author:** [@Bahn\_William\_L\_Civ\_S](https://www.ruby-forum.com/u/Bahn_William_L_Civ_S)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/re-xmlto-error-encountered-in-trying-to-generate-some-doc-f/83402 "2007-01-25T20:09:51Z")

</div>

\-----Original Message----- From: Eric B. \[mailto:removed\_email\_address@domain.invalid\] Sent: Thursday, January 25, 2007 11:40 AM To: Bahn William L Civ USAFA/DFCS Cc: gnuradio mailing list Subject: Re: \[Discuss-gnu…

---

## [Fix for current Flickr ills](https://www.ruby-forum.com/t/fix-for-current-flickr-ills/80161)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 2\
**Last updated:** [December 27, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/fix-for-current-flickr-ills/80161 "2006-12-27T21:17:38Z")

</div>

I don’t know if other folks were hit with Flickr sidebar problems yesterday, but I muddled up a quick fix: http://mult.ifario.us/articles/2006/12/21/oh-no-you-didnt Changed flickr.rb is in the second comment. – Paul

---

## [Oscilloscope/FFT layout, data source, etc](https://www.ruby-forum.com/t/oscilloscope-fft-layout-data-source-etc/77799)

<div class="topic-metadata">

**Author:** [@Ryan\_Seal](https://www.ruby-forum.com/u/Ryan_Seal)\
**Replies:** 2\
**Last updated:** [November 30, 2006, 11:43pm UTC](https://www.ruby-forum.com/t/oscilloscope-fft-layout-data-source-etc/77799 "2006-11-30T23:43:47Z")

</div>

I have been working on a wxWidget based oscilloscope/spectrum widget and have a few questions: First, let me cover my idea of an oscilloscope/FFT program: Data is provided from a source (USRP or file). Data is format…

---

## [How to expire fragment cache from model?](https://www.ruby-forum.com/t/how-to-expire-fragment-cache-from-model/75169)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 2\
**Last updated:** [November 8, 2006, 12:44pm UTC](https://www.ruby-forum.com/t/how-to-expire-fragment-cache-from-model/75169 "2006-11-08T12:44:44Z")

</div>

Hi. I need to figure out how to call expire\_fragment from within a model. Seems to be a method which is not normally available to the model…? Situation is that I am feeding emails in via a MailReceiver model: class…

---

## [ActiveRecord::Associations ER diagram/macros](https://www.ruby-forum.com/t/activerecord-associations-er-diagram-macros/60773)

<div class="topic-metadata">

**Author:** [@goa103](https://www.ruby-forum.com/u/goa103)\
**Replies:** 2\
**Last updated:** [June 9, 2006, 9:01am UTC](https://www.ruby-forum.com/t/activerecord-associations-er-diagram-macros/60773 "2006-06-09T09:01:34Z")

</div>

Hello, I found an interesting ER diagram on the “Module: ActiveRecord::Associations::ClassMethods” page of the Rails Framework Documentation : http://ar.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.…

---

## [Controller stack got out of kilter!](https://www.ruby-forum.com/t/controller-stack-got-out-of-kilter/93822)

<div class="topic-metadata">

**Author:** [@jongretar](https://www.ruby-forum.com/u/jongretar)\
**Replies:** 2\
**Last updated:** [April 11, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/controller-stack-got-out-of-kilter/93822 "2006-04-11T13:56:51Z")

</div>

I decided to update both typo and rails. Rails is now 1.1.2. Then instead of svn updating my old typo directory i made a backup of it and removed it. Then I did a completely new svn update to a new directory. Just to …

---

## [Duplicity in Set](https://www.ruby-forum.com/t/duplicity-in-set/57483)

<div class="topic-metadata">

**Author:** [@Radek\_Skokan](https://www.ruby-forum.com/u/Radek_Skokan)\
**Replies:** 2\
**Last updated:** [April 11, 2006, 1:41pm UTC](https://www.ruby-forum.com/t/duplicity-in-set/57483 "2006-04-11T13:41:17Z")

</div>

Hello, I have a Set which should contains elements of my object Component. The component class implements method hash. I’m gathering data, createing Componets from them and storing it into the Set. It’s a Set just to …

---

## [Can anyone see the obvious msitake I've made?](https://www.ruby-forum.com/t/can-anyone-see-the-obvious-msitake-ive-made/89746)

<div class="topic-metadata">

**Author:** [@Kev\_J](https://www.ruby-forum.com/u/Kev_J)\
**Replies:** 2\
**Last updated:** [March 29, 2006, 7:49am UTC](https://www.ruby-forum.com/t/can-anyone-see-the-obvious-msitake-ive-made/89746 "2006-03-29T07:49:05Z")

</div>

Hi, I’m hacking up some scripts and I have a lot of repetitive code ie: #corporate name @@ie.text\_field(:id, @test\_data\[‘pg\_401’\]\[‘corp\_nm\_fld’\]).value=@test\_data\[‘pg\_401’\]\[‘corp\_nm’\] @@ie.text\_field(:id, @test\_dat…

---

## [Using multiple columns as primary key](https://www.ruby-forum.com/t/using-multiple-columns-as-primary-key/51595)

<div class="topic-metadata">

**Author:** [@mamatux](https://www.ruby-forum.com/u/mamatux)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 10:49pm UTC](https://www.ruby-forum.com/t/using-multiple-columns-as-primary-key/51595 "2006-02-08T22:49:27Z")

</div>

Hi! I’m trying to use a primary key made up of two columns in my model’s table. But looking at the docs, it looks like ActiveRecord only supports using one field as primary key. Can anyone point me in a direction of…

---

## [User\_engine question: session expiry](https://www.ruby-forum.com/t/user-engine-question-session-expiry/99441)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 2\
**Last updated:** [February 4, 2006, 6:38pm UTC](https://www.ruby-forum.com/t/user-engine-question-session-expiry/99441 "2006-02-04T18:38:09Z")

</div>

First, James thanks again for giving us these engines. This makes it so easy to control access to Rails sites in a flexible manner. Just what the Dr. ordered. I need to extensions to the basic user\_engine and I am won…

---

## [I need some help how to solve this problem. urgent!](https://www.ruby-forum.com/t/i-need-some-help-how-to-solve-this-problem-urgent/241588)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 17, 2015, 2:15pm UTC](https://www.ruby-forum.com/t/i-need-some-help-how-to-solve-this-problem-urgent/241588 "2015-04-17T14:15:47Z")

</div>

What is one major concern of the following code and how would you improve it? class BookController \< ApplicationController def rename @book = Books.find(params\[:id\]) if @book.update\_attribute(:title, sanitize(param…

---

## [Transmit time synchronization](https://www.ruby-forum.com/t/transmit-time-synchronization/232504)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 13, 2014, 6:08pm UTC](https://www.ruby-forum.com/t/transmit-time-synchronization/232504 "2014-10-13T18:08:52Z")

</div>

Hello all, I am trying to implement a multi-relay cooperative network using gnuradio and USRP B200. I cannot figure out how to synchronize the relay transmissions using GNU-Radio (without editing FPGA code or using …

---

## [How can get data from localhost:3000 in ruby on rails to heroku](https://www.ruby-forum.com/t/how-can-get-data-from-localhost-3000-in-ruby-on-rails-to-heroku/234797)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 8, 2014, 1:59pm UTC](https://www.ruby-forum.com/t/how-can-get-data-from-localhost-3000-in-ruby-on-rails-to-heroku/234797 "2014-07-08T13:59:46Z")

</div>

In my local machine i had input some data into database using SQLite3 .when i deployed it to heroku why i can’t get data that i input? i’m do like this -in Gemfile group :development do gem ‘sqlite3’ end group :p…

---

## [Something about forecast()](https://www.ruby-forum.com/t/something-about-forecast/230184)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 5, 2014, 4:15am UTC](https://www.ruby-forum.com/t/something-about-forecast/230184 "2014-06-05T04:15:11Z")

</div>

Hi all: I want to know something about the forecast(). I have already known that forcast() can tell scheduler how many input items are required for each output item. 1.But now i have read two example: The first one…

---

## [Couting coumn and get a specifiq record?](https://www.ruby-forum.com/t/couting-coumn-and-get-a-specifiq-record/240083)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 29, 2014, 7:17am UTC](https://www.ruby-forum.com/t/couting-coumn-and-get-a-specifiq-record/240083 "2014-03-29T07:17:35Z")

</div>

Hi suppose i have a table like this Name math English Science Jim 90 33 33 Mike 77 40 40 Mike 80 50 90 how will i count :- how many column this table has ? what the score for Mark in E…

---

## [How to install a gem without using gem command online](https://www.ruby-forum.com/t/how-to-install-a-gem-without-using-gem-command-online/235270)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [June 11, 2013, 8:18pm UTC](https://www.ruby-forum.com/t/how-to-install-a-gem-without-using-gem-command-online/235270 "2013-06-11T20:18:41Z")

</div>

Team, I have a server which is not allowed to access the web. I downloaded and installed ruby on it. Now I would like to install some of the ruby gems but the command: gem install gem\_name does not work obviously be…

---

## [Rendering a partial with ajax/jquery](https://www.ruby-forum.com/t/rendering-a-partial-with-ajax-jquery/224084)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 31, 2012, 9:37pm UTC](https://www.ruby-forum.com/t/rendering-a-partial-with-ajax-jquery/224084 "2012-10-31T21:37:31Z")

</div>

Hi there i have this issue I have a view that render a partial for each member inside the object @foo and I have a function for infinite scroll so the server will be doing request after request while scrolling down bu…

---

## [How can I redirect some IP addresses?](https://www.ruby-forum.com/t/how-can-i-redirect-some-ip-addresses/221116)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 2, 2012, 12:17pm UTC](https://www.ruby-forum.com/t/how-can-i-redirect-some-ip-addresses/221116 "2012-07-02T12:17:43Z")

</div>

Hi forulisters, I’ve got a bunch of IP addresses and IP ranges I’d like to redirect to, let’s say the amnesty international site (they’re mainly from gov). I read http://wiki.nginx.org/HttpAccessModule but as I’ve g…

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

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