# Top

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

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

---

## [Tiny mce and link to remote](https://www.ruby-forum.com/t/tiny-mce-and-link-to-remote/184795)

<div class="topic-metadata">

**Author:** [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Replies:** 2\
**Last updated:** [March 10, 2010, 10:50pm UTC](https://www.ruby-forum.com/t/tiny-mce-and-link-to-remote/184795 "2010-03-10T22:50:06Z")

</div>

I uses tiny mce in my rails application successfully, but when I try to use it in a form\_for on a page that have been loaded by link\_to\_remote tiny mce does not work any more. How to solve this problem ? Any other h…

---

## [Home files on desktop](https://www.ruby-forum.com/t/home-files-on-desktop/183977)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 2\
**Last updated:** [February 23, 2010, 3:19pm UTC](https://www.ruby-forum.com/t/home-files-on-desktop/183977 "2010-02-23T15:19:27Z")

</div>

One of my users managed to display all her $HOME files and dirs on her desktop, although ~/Desktop is empty. How can this happen?

---

## [Retrieving memcache value for further processing](https://www.ruby-forum.com/t/retrieving-memcache-value-for-further-processing/182971)

<div class="topic-metadata">

**Author:** [@mflive](https://www.ruby-forum.com/u/mflive)\
**Replies:** 2\
**Last updated:** [February 5, 2010, 1:15pm UTC](https://www.ruby-forum.com/t/retrieving-memcache-value-for-further-processing/182971 "2010-02-05T13:15:52Z")

</div>

Hello list, I need some advice on how to solve my use-case. I have a memcache backend with some keys and values. Every HTTP request carries a cookie with a SHA1 hash as value, this cookie value is also a key in memc…

---

## [Usrp2 unit tests + valgrind](https://www.ruby-forum.com/t/usrp2-unit-tests-valgrind/180609)

<div class="topic-metadata">

**Author:** [@Gaetano\_M](https://www.ruby-forum.com/u/Gaetano_M)\
**Replies:** 2\
**Last updated:** [December 25, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/usrp2-unit-tests-valgrind/180609 "2009-12-25T17:13:44Z")

</div>

Hi all, at the moment I’m following a project in where we use as development technique the “test driven development”. We are using the libusrp2 as only component from gnuradio, and what we are missing is a sort of Us…

---

## [Where is my fragment cache?](https://www.ruby-forum.com/t/where-is-my-fragment-cache/176351)

<div class="topic-metadata">

**Author:** [@zaczheng](https://www.ruby-forum.com/u/zaczheng)\
**Replies:** 2\
**Last updated:** [September 29, 2009, 2:11pm UTC](https://www.ruby-forum.com/t/where-is-my-fragment-cache/176351 "2009-09-29T14:11:14Z")

</div>

I have been tearing my hair out trying to locate my fragment cache files. For some reason they have recently disappeared. Let me explain. I am using: Rails 2.3.4 Ruby 1.8.7 Ubuntu 9.04 I have set my cache to file\_s…

---

## [Error\_messages\_for question](https://www.ruby-forum.com/t/error-messages-for-question/175486)

<div class="topic-metadata">

**Author:** [@aldoitalo](https://www.ruby-forum.com/u/aldoitalo)\
**Replies:** 2\
**Last updated:** [September 14, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/error-messages-for-question/175486 "2009-09-14T16:56:30Z")

</div>

a question about error\_messages\_for: when i retrieve the error messages the error\_messages\_for display a list errors with the name of input followed the customizable string error. But if i want to change the name of …

---

## [Deleting Data After Viewing On Page](https://www.ruby-forum.com/t/deleting-data-after-viewing-on-page/174388)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 2\
**Last updated:** [August 26, 2009, 10:09am UTC](https://www.ruby-forum.com/t/deleting-data-after-viewing-on-page/174388 "2009-08-26T10:09:35Z")

</div>

I’m creating a site that allows users to upload a picture. The picture they uploaded will be shown randomly for a period of time then another one will come on. When they upload it, they pay a certain price, depending …

---

## [HF explorer](https://www.ruby-forum.com/t/hf-explorer/173490)

<div class="topic-metadata">

**Author:** [@Andrew\_Gilbett](https://www.ruby-forum.com/u/Andrew_Gilbett)\
**Replies:** 2\
**Last updated:** [August 12, 2009, 10:32am UTC](https://www.ruby-forum.com/t/hf-explorer/173490 "2009-08-12T10:32:51Z")

</div>

Hi All, I have been trying to run the HF explorer example that was provide with gnuradio with a basic RX board in the USRP, by I continually get this error. /usr/share/gnuradio/examples/hf\_explorer$ ./hfx2.py -R B -…

---

## [Why not use matched filter in GMSK demodulator](https://www.ruby-forum.com/t/why-not-use-matched-filter-in-gmsk-demodulator/172912)

<div class="topic-metadata">

**Author:** [@Shizheng\_Li](https://www.ruby-forum.com/u/Shizheng_Li)\
**Replies:** 2\
**Last updated:** [July 30, 2009, 6:01am UTC](https://www.ruby-forum.com/t/why-not-use-matched-filter-in-gmsk-demodulator/172912 "2009-07-30T06:01:23Z")

</div>

Dear all, I am reading the GMSK demodulator code (gmsk.py) and I have a question. In the modulator, Gaussian filter is used before the FM modulator. In the demodulator, no matched filter is used. The signal go throug…

---

## [Minimum and Maximum Bit rates for USRP2 benchmark\_rx and tx](https://www.ruby-forum.com/t/minimum-and-maximum-bit-rates-for-usrp2-benchmark-rx-and-tx/172216)

<div class="topic-metadata">

**Author:** [@srinivas](https://www.ruby-forum.com/u/srinivas)\
**Replies:** 2\
**Last updated:** [July 17, 2009, 10:36pm UTC](https://www.ruby-forum.com/t/minimum-and-maximum-bit-rates-for-usrp2-benchmark-rx-and-tx/172216 "2009-07-17T22:36:03Z")

</div>

Hi All: I am new to GNU Radio and I am experiencing a few anomalies. My experimental setup is as follows: I am using USPR2 with GNU Radio ver. 3.2 installed on an Intel 64-bit Quad Core machine with GigEthernet. I…

---

## [Wrong number of arguments (0 for 1) in \[\]](https://www.ruby-forum.com/t/wrong-number-of-arguments-0-for-1-in/171474)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 2\
**Last updated:** [July 3, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-0-for-1-in/171474 "2009-07-03T23:29:19Z")

</div>

I am creating a multiple-selection list box with : \<% form\_\_list1 = \[\] %\> \<%= select\_tag, options\_for\_select(\[“A”,“B”,“C”,“D”\], selected =“A”), html\_options = {“size” =\> 5, “multiple” =\> true}) %\> I get wrong number…

---

## [What might prevent hot deployment with JRuby + Jetty?](https://www.ruby-forum.com/t/what-might-prevent-hot-deployment-with-jruby-jetty/169956)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 2\
**Last updated:** [June 10, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/what-might-prevent-hot-deployment-with-jruby-jetty/169956 "2009-06-10T18:57:30Z")

</div>

I’m developing a JRuby on Rails application on top of Google App Engine for Java which uses the Jetty server integrated into Eclipse. Development is painfully slow - to the point of being impossible - because in Ecl…

---

## [Rails e mysql](https://www.ruby-forum.com/t/rails-e-mysql/165280)

<div class="topic-metadata">

**Author:** [@Angelbit](https://www.ruby-forum.com/u/Angelbit)\
**Replies:** 2\
**Last updated:** [April 11, 2009, 11:44am UTC](https://www.ruby-forum.com/t/rails-e-mysql/165280 "2009-04-11T11:44:55Z")

</div>

Ciao sto testando rails2.2, ho provato a creare una nuova applicazione ma quando lancio il comando “rake db:create” mi informa che devo installare con gem la libreria mysql non essendo piu integrata in rails, provo a …

---

## [If else not working?](https://www.ruby-forum.com/t/if-else-not-working/162457)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 2\
**Last updated:** [March 10, 2009, 3:28pm UTC](https://www.ruby-forum.com/t/if-else-not-working/162457 "2009-03-10T15:28:47Z")

</div>

I get the following error when I try to login into my admin back end: NoMethodError in MemberController#index You have a nil object when you didn’t expect it! The error occurred while evaluating nil.login RAILS\_ROOT:…

---

## [Parsing html files =\> putting them in fixtures for testing](https://www.ruby-forum.com/t/parsing-html-files-putting-them-in-fixtures-for-testing/162248)

<div class="topic-metadata">

**Author:** [@costi](https://www.ruby-forum.com/u/costi)\
**Replies:** 2\
**Last updated:** [March 7, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/parsing-html-files-putting-them-in-fixtures-for-testing/162248 "2009-03-07T17:45:47Z")

</div>

I’m using Hpricot parser to scrape web pages. I saved two of these pages for a test in lack of a better way, I put the html files in the fixtures like this: dl\_found\_tickets: html: “\<%= File.read( ‘test/fixtures/html…

---

## [Hook Exist in Rails for System-Wide Exception Logging?](https://www.ruby-forum.com/t/hook-exist-in-rails-for-system-wide-exception-logging/160323)

<div class="topic-metadata">

**Author:** [@mrpete](https://www.ruby-forum.com/u/mrpete)\
**Replies:** 2\
**Last updated:** [February 16, 2009, 6:42am UTC](https://www.ruby-forum.com/t/hook-exist-in-rails-for-system-wide-exception-logging/160323 "2009-02-16T06:42:22Z")

</div>

On our production servers, I’d like all exceptions to be automatically logged to the database. In other C# project I wrote that meant putting a try/catch in every entry point method with the catch calling a generic ro…

---

## [Needing some serious help :P](https://www.ruby-forum.com/t/needing-some-serious-help-p/159035)

<div class="topic-metadata">

**Author:** [@Shamunda](https://www.ruby-forum.com/u/Shamunda)\
**Replies:** 2\
**Last updated:** [January 30, 2009, 11:16pm UTC](https://www.ruby-forum.com/t/needing-some-serious-help-p/159035 "2009-01-30T23:16:10Z")

</div>

Hi All Ok here’s my delima. I have nginx acting as my reverse proxy, and a backend IIS server assigned with multiple addresses. nginx server address: 10.100.50.7 IIS server Addresses: 10.100.50.1 10.100.50.2 10.…

---

## [Letting users create forms using web interface](https://www.ruby-forum.com/t/letting-users-create-forms-using-web-interface/158926)

<div class="topic-metadata">

**Author:** [@joey-alva](https://www.ruby-forum.com/u/joey-alva)\
**Replies:** 2\
**Last updated:** [January 29, 2009, 5:35pm UTC](https://www.ruby-forum.com/t/letting-users-create-forms-using-web-interface/158926 "2009-01-29T17:35:45Z")

</div>

Hi, I am working on an RoR application and one of the features of the application would need the following functionality. Any user should be able to create forms (or questionnaires). He should be able to specify (on …

---

## [Mongrel and thin Server only in Development envirement](https://www.ruby-forum.com/t/mongrel-and-thin-server-only-in-development-envirement/156822)

<div class="topic-metadata">

**Author:** [@chaosbanane](https://www.ruby-forum.com/u/chaosbanane)\
**Replies:** 2\
**Last updated:** [January 3, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/mongrel-and-thin-server-only-in-development-envirement/156822 "2009-01-03T19:36:49Z")

</div>

Hi what could be the reasen, that I only can start the mongrel or the thin server if i set the envirement on development? On development -\> everything works fine. On production: andreasP:/var/www/web1/aekschen# mong…

---

## [Need help DRYing this code](https://www.ruby-forum.com/t/need-help-drying-this-code/156718)

<div class="topic-metadata">

**Author:** [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Replies:** 2\
**Last updated:** [January 2, 2009, 4:31pm UTC](https://www.ruby-forum.com/t/need-help-drying-this-code/156718 "2009-01-02T16:31:51Z")

</div>

I am new to this and need some help DRYing this view code: drop task name Projects \<% for project in @projects %\> \<% project\_id = "project\_#{project.id}" %\> \<%=h project.name %\> \<% #TODO need to …

---

## [Gem version issue prevent server starting](https://www.ruby-forum.com/t/gem-version-issue-prevent-server-starting/156549)

<div class="topic-metadata">

**Author:** [@codecarpenter](https://www.ruby-forum.com/u/codecarpenter)\
**Replies:** 2\
**Last updated:** [December 30, 2008, 1:44am UTC](https://www.ruby-forum.com/t/gem-version-issue-prevent-server-starting/156549 "2008-12-30T01:44:22Z")

</div>

Hi All, I backed up my rails project and then reinstall Windows due to OS crash. Then I install the latest Ruby, RubyGem, and Rails and copy back the rails project. But now I cannot start the server (ruby script/serv…

---

## [Rails 2.2 connection to MySQL](https://www.ruby-forum.com/t/rails-2-2-connection-to-mysql/156284)

<div class="topic-metadata">

**Author:** [@geneeyuss](https://www.ruby-forum.com/u/geneeyuss)\
**Replies:** 2\
**Last updated:** [December 24, 2008, 5:57am UTC](https://www.ruby-forum.com/t/rails-2-2-connection-to-mysql/156284 "2008-12-24T05:57:32Z")

</div>

I have been trying to connect to MySQL thru rails. Initially I had rails 2.1.2 and upgraded to rails 2.2 to use RestAPI in sproutcore. Once I have upgraded my rails version to 2.2, I have been getting this error. All …

---

## [Mutiple signals with the usrp](https://www.ruby-forum.com/t/mutiple-signals-with-the-usrp/83577)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://www.ruby-forum.com/u/Josh_B)\
**Replies:** 2\
**Last updated:** [December 15, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/mutiple-signals-with-the-usrp/83577 "2008-12-15T22:33:41Z")

</div>

Hello, I am interested in sending and receiving multiple signals (2 or more?) with a single USRP. It seems that to transmit 2 signals to different daughter boards you can interleave the signals, set up 2 subdevices, …

---

## [A proper Ruby way to call a procedure by name](https://www.ruby-forum.com/t/a-proper-ruby-way-to-call-a-procedure-by-name/155605)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [December 15, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/a-proper-ruby-way-to-call-a-procedure-by-name/155605 "2008-12-15T13:37:30Z")

</div>

I know how to do this using a case statement but I want to know if there’s a more Rubyesque way of doing things. I’m screen scraping from a lot of different sources. They all have much same data but it’s presented in …

---

## [To het element's height and width](https://www.ruby-forum.com/t/to-het-elements-height-and-width/154622)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 2\
**Last updated:** [December 3, 2008, 5:06am UTC](https://www.ruby-forum.com/t/to-het-elements-height-and-width/154622 "2008-12-03T05:06:16Z")

</div>

Hi… i m trying to give my form opacity effect with external javascript. In that i want to get div element’s height and width. My div width is fixed like 500px. Height is not fixed one. According to the content it il…

---

## [How do I get a Time for today at a specific hour?](https://www.ruby-forum.com/t/how-do-i-get-a-time-for-today-at-a-specific-hour/150279)

<div class="topic-metadata">

**Author:** [@hotspoons](https://www.ruby-forum.com/u/hotspoons)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/how-do-i-get-a-time-for-today-at-a-specific-hour/150279 "2008-10-06T21:38:57Z")

</div>

I’m using Time Zones – and would like to get a time for today at 3 am? Is there something available like this? Time.zone.now.parse(‘03:00:00’)

---

## [The very model of confusion with models and adding a record to joins](https://www.ruby-forum.com/t/the-very-model-of-confusion-with-models-and-adding-a-record-to-joins/147624)

<div class="topic-metadata">

**Author:** [@Ruby\_on\_RailsS\_Talk](https://www.ruby-forum.com/u/Ruby_on_RailsS_Talk)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/the-very-model-of-confusion-with-models-and-adding-a-record-to-joins/147624 "2008-09-03T21:29:00Z")

</div>

Hi (this is an update to a previous problem) I’ve decided my fundamental problem here is a lack of understanding about models. I have enough to get my started by getting lost quickly. So, following previous advice I h…

---

## [High-pass filters in soundcards - an issue with I/Q-sampling?](https://www.ruby-forum.com/t/high-pass-filters-in-soundcards-an-issue-with-i-q-sampling/142974)

<div class="topic-metadata">

**Author:** [@Hansi\_DSSS\_mpfle](https://www.ruby-forum.com/u/Hansi_DSSS_mpfle)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/high-pass-filters-in-soundcards-an-issue-with-i-q-sampling/142974 "2008-07-14T15:45:01Z")

</div>

Hello, I’m trying to go the poor man’s approach to gnuradio with a soundcard attached to the IF of my receiver. I will mod my receiver with a 10.7MHz IF-output and feed it into a tayloe-mixer clocked also at 10.7MHz. …

---

## [Remote MySQL server and Ruby on Rails](https://www.ruby-forum.com/t/remote-mysql-server-and-ruby-on-rails/141230)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [June 26, 2008, 3:00am UTC](https://www.ruby-forum.com/t/remote-mysql-server-and-ruby-on-rails/141230 "2008-06-26T03:00:23Z")

</div>

Hello, I have 1 DB server (MySQL) and 1 server with my application. I’ve setup the host in my database.yml file to match my DB server. When I run the application, I get this error: Errno::ENOENT in TestController#ind…

---

## [Onmouseover similar to any Clothing Store?](https://www.ruby-forum.com/t/onmouseover-similar-to-any-clothing-store/138204)

<div class="topic-metadata">

**Author:** [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Replies:** 2\
**Last updated:** [May 21, 2008, 4:38am UTC](https://www.ruby-forum.com/t/onmouseover-similar-to-any-clothing-store/138204 "2008-05-21T04:38:01Z")

</div>

Hi everyone, I was wondering what would be needed in doing something similar to the onmouseover events on webpages such as old navy or similar clothing stores? So for example, old navy’s site, when you’re looking at …

---

## [MySQL Query - number of rows](https://www.ruby-forum.com/t/mysql-query-number-of-rows/135194)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 2\
**Last updated:** [April 19, 2008, 1:46am UTC](https://www.ruby-forum.com/t/mysql-query-number-of-rows/135194 "2008-04-19T01:46:12Z")

</div>

Hello, Stupid question, but how can I find out how many rows my SQL query returned? @grab\_new\_entries = NewEntries.connection.select\_all(“SELECT displayname AS displayname FROM new\_entries”) @grab\_new\_entries.num\_ro…

---

## [Chiave esterna rimane NIL](https://www.ruby-forum.com/t/chiave-esterna-rimane-nil/133557)

<div class="topic-metadata">

**Author:** [@1w4n](https://www.ruby-forum.com/u/1w4n)\
**Replies:** 2\
**Last updated:** [April 2, 2008, 9:34am UTC](https://www.ruby-forum.com/t/chiave-esterna-rimane-nil/133557 "2008-04-02T09:34:46Z")

</div>

Ho un problema con un record che non viene salvato - quando viene creato nuovo - con la corrispondente chiave esterna. Mostro il codice e poi qualche spiegazione: def new\_lavoro @ilcandidato = session\[‘user’\] # aggi…

---

## [Testing Plugins + Lib Code](https://www.ruby-forum.com/t/testing-plugins-lib-code/130862)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 2\
**Last updated:** [March 4, 2008, 1:47am UTC](https://www.ruby-forum.com/t/testing-plugins-lib-code/130862 "2008-03-04T01:47:24Z")

</div>

Hi, I’m quite new to Rspec and I’m embarking on a new project. One thing I’m really not sure about is how to test plugins and code in your ‘lib/’ folder. Where would these specs actually live in the dir structure? Sh…

---

## [Rspec problem in testing RoR application](https://www.ruby-forum.com/t/rspec-problem-in-testing-ror-application/126450)

<div class="topic-metadata">

**Author:** [@antonk](https://www.ruby-forum.com/u/antonk)\
**Replies:** 2\
**Last updated:** [January 18, 2008, 11:31am UTC](https://www.ruby-forum.com/t/rspec-problem-in-testing-ror-application/126450 "2008-01-18T11:31:12Z")

</div>

Hello. I install gems rspec and rspec\_on\_rails I have this Error when try to run Rspec tests on my RoR application: /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active\_support/dependencies.rb:263:in \`load\_missing\_c…

---

## [Nested resources and \_path methods](https://www.ruby-forum.com/t/nested-resources-and-path-methods/121757)

<div class="topic-metadata">

**Author:** [@jonas\_s](https://www.ruby-forum.com/u/jonas_s)\
**Replies:** 2\
**Last updated:** [November 30, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/nested-resources-and-path-methods/121757 "2007-11-30T20:13:05Z")

</div>

Hi guys, I was thinking aboiut this for a while: If I have nested resource routes, for example /building/1/floor/2/ room/ 3 (building has\_many floors and so on), I have to call the room\_path method like this: room\_…

---

## [Using RSpec to drive the design of a GUI desktop application](https://www.ruby-forum.com/t/using-rspec-to-drive-the-design-of-a-gui-desktop-application/120521)

<div class="topic-metadata">

**Author:** [@mlangenberg](https://www.ruby-forum.com/u/mlangenberg)\
**Replies:** 2\
**Last updated:** [November 18, 2007, 1:49am UTC](https://www.ruby-forum.com/t/using-rspec-to-drive-the-design-of-a-gui-desktop-application/120521 "2007-11-18T01:49:16Z")

</div>

Hello everybody, I’ve been using RSpec as a tool to create web applications for some time now, in Rails, and using plain Ruby with WEBrick as well. The tool suits my needs and the story runner is great. Now there ar…

---

## [Story adapter and SQLite Was:What command to run all stories?](https://www.ruby-forum.com/t/story-adapter-and-sqlite-was-what-command-to-run-all-stories/120314)

<div class="topic-metadata">

**Author:** [@Ed\_Howland](https://www.ruby-forum.com/u/Ed_Howland)\
**Replies:** 2\
**Last updated:** [November 15, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/story-adapter-and-sqlite-was-what-command-to-run-all-stories/120314 "2007-11-15T20:39:06Z")

</div>

Hi, by switching to MySQL from SQLite, it fixed the problem. I ran rdebug on it and it is trying to call I ActiveRecord::Base.connection.begin\_db\_transaction. from ActiveRecordSafetyListener.scenario\_started. I don’t …

---

## [Use of case statement doesn't work as I expected, what am I doing wrong?](https://www.ruby-forum.com/t/use-of-case-statement-doesnt-work-as-i-expected-what-am-i-doing-wrong/118954)

<div class="topic-metadata">

**Author:** [@mobileamusement](https://www.ruby-forum.com/u/mobileamusement)\
**Replies:** 2\
**Last updated:** [November 1, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/use-of-case-statement-doesnt-work-as-i-expected-what-am-i-doing-wrong/118954 "2007-11-01T18:56:07Z")

</div>

Hi all, I have an object ( a website tester) that can return various values. One of which is Net:HTTPOK, I want to use a case statement to evaluate this and set a variable called ‘severity’, as follows: result = Test…

---

## [Check if a parameter is a constant or an object?](https://www.ruby-forum.com/t/check-if-a-parameter-is-a-constant-or-an-object/118733)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [October 30, 2007, 6:08pm UTC](https://www.ruby-forum.com/t/check-if-a-parameter-is-a-constant-or-an-object/118733 "2007-10-30T18:08:57Z")

</div>

Hi all def some\_method(arg) How do I check here if arg is a constant or an object? end Thanks :slight\_smile: Josh

---

## [Passing dynamic parameter in a bloc](https://www.ruby-forum.com/t/passing-dynamic-parameter-in-a-bloc/116008)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 2\
**Last updated:** [October 2, 2007, 12:27pm UTC](https://www.ruby-forum.com/t/passing-dynamic-parameter-in-a-bloc/116008 "2007-10-02T12:27:23Z")

</div>

in a RoR plugin, I am passing a string parameter (column name) i.e ‘karma’ as the sort parameter: User.select { |u| u.id \> 20 }.sort\_by { |u| u.id } “SELECT \* FROM users WHERE (users.karma \> 20) ORDER BY users.karma” …

---

## [Undefined method \`each' for \*\*\*:Class PROBLEM](https://www.ruby-forum.com/t/undefined-method-each-for-class-problem/107760)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/undefined-method-each-for-class-problem/107760 "2007-09-25T23:01:05Z")

</div>

Hi, i am very new to ROR, this is my 2nd day since i solve the problem of database connection. when i started to write some codes, i got stuck. here is the situation and please give me some help. i have a “posts” tab…

---

## [Newbie: ruby and i18n (java-like approach)](https://www.ruby-forum.com/t/newbie-ruby-and-i18n-java-like-approach/114465)

<div class="topic-metadata">

**Author:** [@eckobar](https://www.ruby-forum.com/u/eckobar)\
**Replies:** 2\
**Last updated:** [September 19, 2007, 2:37am UTC](https://www.ruby-forum.com/t/newbie-ruby-and-i18n-java-like-approach/114465 "2007-09-19T02:37:19Z")

</div>

hi everybody! i am very new to ruby and tried to I18Ns my applications (ruby-scripts and rails-applications). for that task i found to approaches: GETTEXT GLOBALIZE but in my point of view both tools have contras. G…

---

## [Modal dialog is not geting closed second time in RUBY:WATIR](https://www.ruby-forum.com/t/modal-dialog-is-not-geting-closed-second-time-in-ruby-watir/113924)

<div class="topic-metadata">

**Author:** [@chetanpatil](https://www.ruby-forum.com/u/chetanpatil)\
**Replies:** 2\
**Last updated:** [September 6, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/modal-dialog-is-not-geting-closed-second-time-in-ruby-watir/113924 "2007-09-06T16:12:12Z")

</div>

model=$browser.modal\_dialog model.close While closing the forst modal dialog in RUBY : WATIR we used the following code model=$browser.modal\_dialog model.close if we tried to close the same modal dialog second time…

---

## [Can FILTERS AND VERIFICATION functions take arguments?](https://www.ruby-forum.com/t/can-filters-and-verification-functions-take-arguments/113076)

<div class="topic-metadata">

**Author:** [@ungsophy](https://www.ruby-forum.com/u/ungsophy)\
**Replies:** 2\
**Last updated:** [August 27, 2007, 10:48am UTC](https://www.ruby-forum.com/t/can-filters-and-verification-functions-take-arguments/113076 "2007-08-27T10:48:13Z")

</div>

Hi, I have some problems in using filter. My filter functions need to have arguments, but filter functions take only symbol that refer to function name. Consider the following code: class BlogController \< Application…

---

## [Restful authentication - session\_path](https://www.ruby-forum.com/t/restful-authentication-session-path/112961)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 2\
**Last updated:** [August 25, 2007, 12:44am UTC](https://www.ruby-forum.com/t/restful-authentication-session-path/112961 "2007-08-25T00:44:55Z")

</div>

trying to make use of the restful-authentication plugin, however the login page gives… ActionController::RoutingError in Sessions#new Showing app/views/sessions/new.rhtml where line #1 raised: session\_url failed to g…

---

## [Stuck in a Redirect Loop While Crawling](https://www.ruby-forum.com/t/stuck-in-a-redirect-loop-while-crawling/106649)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 2\
**Last updated:** [June 12, 2007, 9:13pm UTC](https://www.ruby-forum.com/t/stuck-in-a-redirect-loop-while-crawling/106649 "2007-06-12T21:13:13Z")

</div>

Hello, I am writing a crawler in Ruby to crawl websites. One of the sites I crawl is very picky about headers so I am mimicking my FireFox browser as closely as possible. One of the GETs I make to this site results in …

---

## [Is mock Object the best way to test scheduling system with a](https://www.ruby-forum.com/t/is-mock-object-the-best-way-to-test-scheduling-system-with-a/106102)

<div class="topic-metadata">

**Author:** [@Kevin\_Yang](https://www.ruby-forum.com/u/Kevin_Yang)\
**Replies:** 2\
**Last updated:** [June 6, 2007, 1:35pm UTC](https://www.ruby-forum.com/t/is-mock-object-the-best-way-to-test-scheduling-system-with-a/106102 "2007-06-06T13:35:56Z")

</div>

Hi everyone, I hope everyone is doing well. I am working on a scheduling system that dealing with Time.now a lot. It is getting tricky to write test code for the function. suppose a function in a model: def expired…

---

## [Rails/mongrel cluster - keeping media in sync across nodes w](https://www.ruby-forum.com/t/rails-mongrel-cluster-keeping-media-in-sync-across-nodes-w/106015)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/rails-mongrel-cluster-keeping-media-in-sync-across-nodes-w/106015 "2007-06-05T18:37:04Z")

</div>

Hi all, I figured I would see what other people would do and get some ideas on what route I want to take. Let me first give you a brief summary of my network and application. I have a Cisco PIX FW and a Cisco 11501 C…

---

## [Form fields cleared out because of validation](https://www.ruby-forum.com/t/form-fields-cleared-out-because-of-validation/103235)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 7, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/form-fields-cleared-out-because-of-validation/103235 "2007-05-07T20:14:46Z")

</div>

Hi there Implementing my first “update” procedure worked fine. I took this as a template for a “create” procedure, but that does not work as expected: when I enter invalid data, the validation stops me from saving th…

---

## [Is routing to application controller possible?](https://www.ruby-forum.com/t/is-routing-to-application-controller-possible/103276)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [May 3, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/is-routing-to-application-controller-possible/103276 "2007-05-03T19:34:14Z")

</div>

All, I added this: map.connect '', :controller =\> 'application', :action =\> 'index' to my routes.rb file. But I don’t see ApplicationController#index being called when I request ‘/’ from my server. Is it cool to ro…

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

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