# Top

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

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

---

## [Loading up a hash with variables if they are defined](https://www.ruby-forum.com/t/loading-up-a-hash-with-variables-if-they-are-defined/156265)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 4\
**Last updated:** [December 23, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/loading-up-a-hash-with-variables-if-they-are-defined/156265 "2008-12-23T18:35:16Z")

</div>

Is there a cleaner, more Rubyesque way to do this? Return a hash of the navigation parameters def nav\_params params = {} params\[:prefix\] = @prefix if @prefix params\[:category\_id\] = @category\_id if @category\_…

---

## [Ruby block as text](https://www.ruby-forum.com/t/ruby-block-as-text/149219)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 4\
**Last updated:** [September 23, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/ruby-block-as-text/149219 "2008-09-23T18:32:50Z")

</div>

We want to be able to send a chunk of Ruby code (block/proc) to a server and have the code run there. The code is essentially used as the WHERE clause in an OO database select. The code needs to run on the db server,…

---

## [Select through proxy objects without joins](https://www.ruby-forum.com/t/select-through-proxy-objects-without-joins/146119)

<div class="topic-metadata">

**Author:** [@daniel304](https://www.ruby-forum.com/u/daniel304)\
**Replies:** 4\
**Last updated:** [August 18, 2008, 8:58am UTC](https://www.ruby-forum.com/t/select-through-proxy-objects-without-joins/146119 "2008-08-18T08:58:21Z")

</div>

Company has many Departments, Department has many Employees. Is there nice easy way to select all Employees of certain Company? I mean using just proxy objects, without joins.

---

## [Filling multidimensional array problem](https://www.ruby-forum.com/t/filling-multidimensional-array-problem/143744)

<div class="topic-metadata">

**Author:** [@indra](https://www.ruby-forum.com/u/indra)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/filling-multidimensional-array-problem/143744 "2008-07-22T14:09:27Z")

</div>

Hi, I want to extend a complex, multidimensional array with (code snippet): results.each do |result| result\[1\] \<\< \[string, array\] puts result\[1\] end puts results The output of “result\[1\]” is correct, showing the \[…

---

## [Controller test - setting session values not working](https://www.ruby-forum.com/t/controller-test-setting-session-values-not-working/131733)

<div class="topic-metadata">

**Author:** [@syg6](https://www.ruby-forum.com/u/syg6)\
**Replies:** 4\
**Last updated:** [July 17, 2008, 10:59pm UTC](https://www.ruby-forum.com/t/controller-test-setting-session-values-not-working/131733 "2008-07-17T22:59:35Z")

</div>

I have a functional test and am trying to set a session value … def test\_should\_check\_number\_of\_jobs session\[:employee\_id\] = 1 #@fred.id post :index assert\_equal 1, assigns(:jobs).size end … when I try to run thi…

---

## [Re: Large number of invalid packets detected](https://www.ruby-forum.com/t/re-large-number-of-invalid-packets-detected/137935)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 4\
**Last updated:** [May 20, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/re-large-number-of-invalid-packets-detected/137935 "2008-05-20T16:09:39Z")

</div>

Is it possible to deactive the iptables, due the fact that a lot of the high performance setups out there have seen that the connection tracking with iptables have really bad performance impacts? Thanks for your rep…

---

## [Hash keys](https://www.ruby-forum.com/t/hash-keys/135732)

<div class="topic-metadata">

**Author:** [@twaters](https://www.ruby-forum.com/u/twaters)\
**Replies:** 4\
**Last updated:** [April 24, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/hash-keys/135732 "2008-04-24T17:45:55Z")

</div>

Morning, I am working on some code to gather accounts and their balances from a text file and have a question about adding that data to a hash. While checking to see if the account number is a key in the existing …

---

## [Calling all those who have experience with Rails in industry](https://www.ruby-forum.com/t/calling-all-those-who-have-experience-with-rails-in-industry/132080)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 4\
**Last updated:** [March 29, 2008, 4:40pm UTC](https://www.ruby-forum.com/t/calling-all-those-who-have-experience-with-rails-in-industry/132080 "2008-03-29T16:40:53Z")

</div>

Hi, I am currently doing a research/development project with Rails as part of my Computer Science degree (my final year project). I have been looking for those who have had previous experience with Rails in industry.…

---

## [Error](https://www.ruby-forum.com/t/error/132767)

<div class="topic-metadata">

**Author:** [@Mauricio\_D](https://www.ruby-forum.com/u/Mauricio_D)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/error/132767 "2008-03-25T17:21:58Z")

</div>

Hola buenos dias Alguno sabe por que se puede generar este error http://pastie.caboo.se/pastes/169691 Gracias Mauricio D. +57 (03) 300 325 0335 +57 (01) 7 04 1424 Trasn 9c No. 130c-21 Distrito Capital, BogotÃ¡, C…

---

## [Error using FasterCSV](https://www.ruby-forum.com/t/error-using-fastercsv/132018)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 4\
**Last updated:** [March 16, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/error-using-fastercsv/132018 "2008-03-16T16:51:21Z")

</div>

Hi, I am trying to use FasterCSV and am getting an error. I installed the fastercsv gem and it appeared to install correctly. This is the error that I’m getting: …/fastercsv.rb:3: uninitialized constant FasterCSV (Na…

---

## [Strange thing with find\_by\_sql in oracle](https://www.ruby-forum.com/t/strange-thing-with-find-by-sql-in-oracle/129199)

<div class="topic-metadata">

**Author:** [@hei](https://www.ruby-forum.com/u/hei)\
**Replies:** 4\
**Last updated:** [February 18, 2008, 10:09am UTC](https://www.ruby-forum.com/t/strange-thing-with-find-by-sql-in-oracle/129199 "2008-02-18T10:09:13Z")

</div>

I did two sql queries in the same environment and at the same time: First: Message.find\_by\_sql(\[“select \* from messages where id = ?”, 1\]) Returns: gumentError: wrong number of arguments (0 for 1) from c:/ruby/lib/r…

---

## [Run ruby script.rb from rails](https://www.ruby-forum.com/t/run-ruby-script-rb-from-rails/109150)

<div class="topic-metadata">

**Author:** [@dkitchel](https://www.ruby-forum.com/u/dkitchel)\
**Replies:** 4\
**Last updated:** [July 12, 2007, 11:16am UTC](https://www.ruby-forum.com/t/run-ruby-script-rb-from-rails/109150 "2007-07-12T11:16:29Z")

</div>

I’ve spent way too long searching for a way to run a ruby script which parses and ingests an xml document as named by a parameter into mysql. on the console it works fine - script/myscript myxmlfile I just need to be…

---

## [Question for those developing GUI apps with Ruby](https://www.ruby-forum.com/t/question-for-those-developing-gui-apps-with-ruby/104407)

<div class="topic-metadata">

**Author:** [@Karl\_von\_Laudermann](https://www.ruby-forum.com/u/Karl_von_Laudermann)\
**Replies:** 4\
**Last updated:** [May 18, 2007, 4:13pm UTC](https://www.ruby-forum.com/t/question-for-those-developing-gui-apps-with-ruby/104407 "2007-05-18T16:13:29Z")

</div>

This is a question for those of you who use Ruby to develop GUI-based applications, using wxWidgets, or Qt, or GTK, etc. and the appropriate Ruby bindings. My question is, how do you actually package and distribute yo…

---

## [Redbox w/ IE 7](https://www.ruby-forum.com/t/redbox-w-ie-7/103924)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/redbox-w-ie-7/103924 "2007-05-12T20:48:52Z")

</div>

I’ve got redbox working perfectly on Firefox but I get nothing on IE7. I’ve exported version 9 (the most recent) which says it has compatibility for Internet Explorer. Without firebug on IE7 I’m at a loss as to where …

---

## [Having trouble with #method() method](https://www.ruby-forum.com/t/having-trouble-with-method-method/88135)

<div class="topic-metadata">

**Author:** [@builderchad](https://www.ruby-forum.com/u/builderchad)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 2:36am UTC](https://www.ruby-forum.com/t/having-trouble-with-method-method/88135 "2007-03-09T02:36:46Z")

</div>

I am having trouble with the use of method() method. I am successfully creating a new ActiveRecord object for a model I have called Person: new\_foreign\_object = case foreign\_class when 'Person' then …

---

## [Ruby-doc.org search for your browser toolbar](https://www.ruby-forum.com/t/ruby-doc-org-search-for-your-browser-toolbar/87501)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [March 3, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/ruby-doc-org-search-for-your-browser-toolbar/87501 "2007-03-03T16:44:11Z")

</div>

Thanks to Greg Whiteley, ruby-doc.org has a slick new feature. I recently changed the search function on the site. The search covers not just ruby-doc, but a number of other informative Ruby Web resources. That part …

---

## [Gain ahead of Basic RX?](https://www.ruby-forum.com/t/gain-ahead-of-basic-rx/80905)

<div class="topic-metadata">

**Author:** [@John\_Ackermann\_N8UR](https://www.ruby-forum.com/u/John_Ackermann_N8UR)\
**Replies:** 4\
**Last updated:** [January 2, 2007, 5:12am UTC](https://www.ruby-forum.com/t/gain-ahead-of-basic-rx/80905 "2007-01-02T05:12:55Z")

</div>

As mentioned earlier, I’m working on a front-end board for the Basic-RX to provide some gain and selectivity for HF use. Question – has anyone figured out what sort of gain is optimum ahead of the the Basic-RX for use…

---

## [TXP to Radiant](https://www.ruby-forum.com/t/txp-to-radiant/80506)

<div class="topic-metadata">

**Author:** [@gareth\_rushgrove](https://www.ruby-forum.com/u/gareth_rushgrove)\
**Replies:** 4\
**Last updated:** [December 28, 2006, 3:20am UTC](https://www.ruby-forum.com/t/txp-to-radiant/80506 "2006-12-28T03:20:37Z")

</div>

Hi All Just came upon Radiant and am busy porting my site as rapidly as possible. Just wondering if their are any handy scripts for moving textpattern posts to radiant. I’m not looking to maintain everything, just mo…

---

## [Render from your Model](https://www.ruby-forum.com/t/render-from-your-model/79049)

<div class="topic-metadata">

**Author:** [@Wiliam\_Langshaw](https://www.ruby-forum.com/u/Wiliam_Langshaw)\
**Replies:** 4\
**Last updated:** [December 11, 2006, 10:11pm UTC](https://www.ruby-forum.com/t/render-from-your-model/79049 "2006-12-11T22:11:51Z")

</div>

Ok, with MVC anti-purism aside, how can I render an RXML template from a Model? I have a Model object which I want to serialize to XML. I originally had all my XML generation methods inside the Model object itself and…

---

## [Need one step deeper into a search and verify](https://www.ruby-forum.com/t/need-one-step-deeper-into-a-search-and-verify/76410)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 4\
**Last updated:** [November 18, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/need-one-step-deeper-into-a-search-and-verify/76410 "2006-11-18T20:05:16Z")

</div>

hello all. i have a model with a model called site.rb i have a method in it that will check to see if any of the options for this site has a pressure sensor. def has\_pressure\_sensor? self.site\_options.any? {|option|…

---

## [=?iso-8859-1?q?calcolo\_et=E0?=](https://www.ruby-forum.com/t/iso-8859-1-q-calcolo-et-e0/73170)

<div class="topic-metadata">

**Author:** [@stb](https://www.ruby-forum.com/u/stb)\
**Replies:** 4\
**Last updated:** [October 22, 2006, 10:11pm UTC](https://www.ruby-forum.com/t/iso-8859-1-q-calcolo-et-e0/73170 "2006-10-22T22:11:09Z")

</div>

Ciao, nel database ho la data di nascita espressa nel formato mysql AAA-MM- GG, come posso calcolare l’ età di quella persona a runtime? In php se nn ricordo male si doveva trasformare la data in secondi e calcolare …

---

## [Applying conditions to ActiveRecord call in model.rb](https://www.ruby-forum.com/t/applying-conditions-to-activerecord-call-in-model-rb/100980)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 12:06pm UTC](https://www.ruby-forum.com/t/applying-conditions-to-activerecord-call-in-model-rb/100980 "2006-08-03T12:06:39Z")

</div>

If @c is an instance for the User class and lets say I want to call @c.pictures, which would be the user’s pictures. How can I setup up RoR so that I could append the condition “status=‘available’” to the conditions …

---

## [Why I don't like to use some 3rd party plugins](https://www.ruby-forum.com/t/why-i-dont-like-to-use-some-3rd-party-plugins/98233)

<div class="topic-metadata">

**Author:** [@orotone](https://www.ruby-forum.com/u/orotone)\
**Replies:** 4\
**Last updated:** [July 13, 2006, 10:18pm UTC](https://www.ruby-forum.com/t/why-i-dont-like-to-use-some-3rd-party-plugins/98233 "2006-07-13T22:18:02Z")

</div>

I’m not a professional developer in the sense that I’ve had any formal training or experience. I taught myself programming two years ago and have since moved to ruby and shortly after to rails - even now, i only deve…

---

## [Win32ole copying excel sheets](https://www.ruby-forum.com/t/win32ole-copying-excel-sheets/96870)

<div class="topic-metadata">

**Author:** [@railsroad](https://www.ruby-forum.com/u/railsroad)\
**Replies:** 4\
**Last updated:** [July 3, 2006, 1:56am UTC](https://www.ruby-forum.com/t/win32ole-copying-excel-sheets/96870 "2006-07-03T01:56:33Z")

</div>

Hi, I’m am trying to write a Ruby script that copies a worksheet from one Excel workbook to another. Does anyone know where there is some documentation on the specifically for the Excel Object Model for win32ole. N…

---

## [Ruby script/console fails to launch](https://www.ruby-forum.com/t/ruby-script-console-fails-to-launch/63681)

<div class="topic-metadata">

**Author:** [@dugla](https://www.ruby-forum.com/u/dugla)\
**Replies:** 4\
**Last updated:** [June 18, 2006, 12:55am UTC](https://www.ruby-forum.com/t/ruby-script-console-fails-to-launch/63681 "2006-06-18T00:55:02Z")

</div>

Can someone please explain why I am see the following: rails/uploadimage\> ruby script/console Loading development environment. /usr/local/lib/ruby/1.8/irb/completion.rb:10:in require': no such file to load -- readline…

---

## [Some help with fun SQL stuff](https://www.ruby-forum.com/t/some-help-with-fun-sql-stuff/95766)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [June 13, 2006, 5:05am UTC](https://www.ruby-forum.com/t/some-help-with-fun-sql-stuff/95766 "2006-06-13T05:05:19Z")

</div>

I have one table that stores data related to math problems, and another table that stores users’ answers to those problems. To make this very simple, we’ll say that the math table has two numbers that get subtracted,…

---

## [Settare una variabile ad Infinite](https://www.ruby-forum.com/t/settare-una-variabile-ad-infinite/59641)

<div class="topic-metadata">

**Author:** [@health](https://www.ruby-forum.com/u/health)\
**Replies:** 4\
**Last updated:** [May 5, 2006, 12:06pm UTC](https://www.ruby-forum.com/t/settare-una-variabile-ad-infinite/59641 "2006-05-05T12:06:39Z")

</div>

come cacchio si setta direttamente una variabile ad Infinito?? irb(main):001:0\> 1.0 / 0 =\> Infinity bene… ma come faccio a dire a = Infinity dove cacchio lo trovo? non lo trovo definito da nessuna parte e mi pare …

---

## [Adding values from a db the rails way?](https://www.ruby-forum.com/t/adding-values-from-a-db-the-rails-way/59177)

<div class="topic-metadata">

**Author:** [@n1c](https://www.ruby-forum.com/u/n1c)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/adding-values-from-a-db-the-rails-way/59177 "2006-05-03T18:56:25Z")

</div>

I have a log table which has a column recording the number of hours worked on a task. So there’ll be multiple lines for a particular task. I want to retrieve the total number of hours worked on a task, so that I can i…

---

## [Update\_page yields escaped code in callback](https://www.ruby-forum.com/t/update-page-yields-escaped-code-in-callback/58077)

<div class="topic-metadata">

**Author:** [@evronm](https://www.ruby-forum.com/u/evronm)\
**Replies:** 4\
**Last updated:** [April 18, 2006, 6:49pm UTC](https://www.ruby-forum.com/t/update-page-yields-escaped-code-in-callback/58077 "2006-04-18T18:49:05Z")

</div>

Hi All, The subject pretty well describes what I am experiencing. This line in an .rhtml template: \<%= link\_to\_remote menu\_item.humanize, {:update =\> ‘section’, :url =\>{:controller =\> menu\_item}, :complete =\> upd…

---

## [Deleting from hash question](https://www.ruby-forum.com/t/deleting-from-hash-question/83114)

<div class="topic-metadata">

**Author:** [@jimmyether](https://www.ruby-forum.com/u/jimmyether)\
**Replies:** 4\
**Last updated:** [March 17, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/deleting-from-hash-question/83114 "2006-03-17T20:42:03Z")

</div>

I’m a ruby newbie and have what is probably a relatively simple problem I’m trying to solve (though I’m using rails, this is more a ruby question). Say that I created a hash: TASKS = { “homework” =\> “Do Your Homework…

---

## [Mixing in modules?](https://www.ruby-forum.com/t/mixing-in-modules/102297)

<div class="topic-metadata">

**Author:** [@konsu](https://www.ruby-forum.com/u/konsu)\
**Replies:** 4\
**Last updated:** [February 8, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/mixing-in-modules/102297 "2006-02-08T22:17:38Z")

</div>

hello, given: class C that implements some arbitrary methods a database with code fragments stored as text i create a variable ‘var’ of class C and then read some code fragments from the database. each fragment i r…

---

## [Delete row without th eid field](https://www.ruby-forum.com/t/delete-row-without-th-eid-field/64365)

<div class="topic-metadata">

**Author:** [@sainaba](https://www.ruby-forum.com/u/sainaba)\
**Replies:** 4\
**Last updated:** [January 23, 2006, 6:18am UTC](https://www.ruby-forum.com/t/delete-row-without-th-eid-field/64365 "2006-01-23T06:18:54Z")

</div>

Hi all, I have a table structure with me not having an id column. When I try to delete the row i get an error ‘Unknown column “table.id”’. Can i do the action with any other method than destroy/delete? Or with the sam…

---

## [Make test-all with 1.8.4 on os x gives me 1 failure and 79 e](https://www.ruby-forum.com/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-e/94650)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [January 11, 2006, 5:30am UTC](https://www.ruby-forum.com/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-e/94650 "2006-01-11T05:30:51Z")

</div>

Ok, so I just got the latest ruby 1.8.4, compiled, ran the tests and I ended up with 1 failure and 79 errors (running ‘make test-all’) Am I the only one experiencing this ? (I am on os x 10.4.3, using gcc 4.0.0) Basic…

---

## [\[ruby-trunk - Bug #10615\] \[Assigned\] SIGKILL is not supported by signal() of some versions of MSVCRT](https://www.ruby-forum.com/t/ruby-trunk-bug-10615-assigned-sigkill-is-not-supported-by-signal-of-some-versions-of-msvcrt/233496)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 18, 2014, 6:24am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-10615-assigned-sigkill-is-not-supported-by-signal-of-some-versions-of-msvcrt/233496 "2014-12-18T06:24:53Z")

</div>

Issue #10615 has been reported by Usaku NAKAMURA. Bug #10615: SIGKILL is not supported by signal() of some versions of MSVCRT Author: Usaku NAKAMURA Status: Assigned Priority: Normal Assignee: Usaku NAKAMURA Catego…

---

## [SSPI NTLM proxy auth using httpclient](https://www.ruby-forum.com/t/sspi-ntlm-proxy-auth-using-httpclient/232881)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 2, 2014, 11:20am UTC](https://www.ruby-forum.com/t/sspi-ntlm-proxy-auth-using-httpclient/232881 "2014-11-02T11:20:07Z")

</div>

Hi, I’ve actually become interested in Ruby as as a direct result of trying to solve the problem of accessing the internet through a corporate proxy. The ONLY way this appears to be possible is via the combination of…

---

## [The inefficiency of horizontally scaling websockets with the websocket-rails gem](https://www.ruby-forum.com/t/the-inefficiency-of-horizontally-scaling-websockets-with-the-websocket-rails-gem/232166)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 22, 2014, 11:18pm UTC](https://www.ruby-forum.com/t/the-inefficiency-of-horizontally-scaling-websockets-with-the-websocket-rails-gem/232166 "2014-09-22T23:18:26Z")

</div>

I’m trying understand how to horizontally scale a real-time tic-tac-toe web app. I’m using Ruby on Rails to serve the content, websockets to update the state of a game, and Heroku to host it all. Since Heroku’s websoc…

---

## [Build error](https://www.ruby-forum.com/t/build-error/198002)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 7\
**Last updated:** [May 6, 2013, 8:31am UTC](https://www.ruby-forum.com/t/build-error/198002 "2013-05-06T08:31:27Z")

</div>

I am trying a new build from the source tree on fedora 12. Configure gives the result shown at the end of the email. Make and make check complete fine, but sudo make install completes with the message: \*\*\* Post-Insta…

---

## [Any way to get all records from a partial into a JavaScript array to test?](https://www.ruby-forum.com/t/any-way-to-get-all-records-from-a-partial-into-a-javascript-array-to-test/209680)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [July 24, 2011, 2:14am UTC](https://www.ruby-forum.com/t/any-way-to-get-all-records-from-a-partial-into-a-javascript-array-to-test/209680 "2011-07-24T02:14:10Z")

</div>

I have a partial called people that has a radio button called hoh for head of household. I’m trying to have JavaScript look at each person and find the one that has hoh=1. This record then has it’s name copied to anot…

---

## [Calling a static method of a Java class without knowing the class name](https://www.ruby-forum.com/t/calling-a-static-method-of-a-java-class-without-knowing-the-class-name/206936)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 16, 2011, 12:04pm UTC](https://www.ruby-forum.com/t/calling-a-static-method-of-a-java-class-without-knowing-the-class-name/206936 "2011-05-16T12:04:42Z")

</div>

I decided to make a script that would take a jar filename as an argument and then run the jar by finding out its main class and executing its static main(args) method. To load the main class I use a JRuby class derive…

---

## [Blog tutorial and postgres](https://www.ruby-forum.com/t/blog-tutorial-and-postgres/193519)

<div class="topic-metadata">

**Author:** [@skywriter](https://www.ruby-forum.com/u/skywriter)\
**Replies:** 1\
**Last updated:** [August 19, 2010, 11:56am UTC](https://www.ruby-forum.com/t/blog-tutorial-and-postgres/193519 "2010-08-19T11:56:18Z")

</div>

Hello; I have begun the “Getting Started with Rails” guide at which is supposed to create a simple blog. I execute the command “rails blog -d postgresql” without incident. I am having trouble with the next command i…

---

## [Problem rendering partial in the application layout](https://www.ruby-forum.com/t/problem-rendering-partial-in-the-application-layout/179685)

<div class="topic-metadata">

**Author:** [@toltec](https://www.ruby-forum.com/u/toltec)\
**Replies:** 7\
**Last updated:** [December 2, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/problem-rendering-partial-in-the-application-layout/179685 "2009-12-02T15:03:48Z")

</div>

Here’s the call in the application.html.erb file: \<%= render :partial =\> ‘tasks/\_new’ %\> Here’s the partial being rendered (\_new.html.erb): \<% form\_for @task do |f| -%\> \<%= f.text\_field :body %\> \<%= submit\_tag “Sub…

---

## [Ruby like Php](https://www.ruby-forum.com/t/ruby-like-php/170633)

<div class="topic-metadata">

**Author:** [@caruso\_g](https://www.ruby-forum.com/u/caruso_g)\
**Replies:** 7\
**Last updated:** [June 20, 2009, 12:02am UTC](https://www.ruby-forum.com/t/ruby-like-php/170633 "2009-06-20T00:02:34Z")

</div>

Hi, I am studying Ruby for web development and I was guessing if there is a way to use Ruby, embedded into the html code like one can do with Php. I know that this could not be such a popular topic here, but I think i…

---

## [Upgrade nginx.net](https://www.ruby-forum.com/t/upgrade-nginx-net/169547)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 7\
**Last updated:** [June 6, 2009, 1:56am UTC](https://www.ruby-forum.com/t/upgrade-nginx-net/169547 "2009-06-06T01:56:05Z")

</div>

This is a little silly, but shouldn’t poor old nginx.net be upgraded from nginx 0.6.31 to the current stable production release? :wink:

---

## [Form Submission](https://www.ruby-forum.com/t/form-submission/139421)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 7\
**Last updated:** [June 3, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/form-submission/139421 "2008-06-03T23:09:58Z")

</div>

I have created a test for kids to take online. Right now I have all the navigation going through a submit button of a form. So, when a child hits the submit button it saves the response and redirects to the next que…

---

## [Lockdown 0.4.6](https://www.ruby-forum.com/t/lockdown-0-4-6/137608)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 7:13pm UTC](https://www.ruby-forum.com/t/lockdown-0-4-6/137608 "2008-05-14T19:13:18Z")

</div>

“Lockdown is a authentication/authorization system for RubyOnRails (ver 2.x). While Merb functionality is in place, it is not complete. There will be a release solely focused on getting the Merb functionality up to p…

---

## [Really simple question - how do I call information from the](https://www.ruby-forum.com/t/really-simple-question-how-do-i-call-information-from-the/130837)

<div class="topic-metadata">

**Author:** [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Replies:** 7\
**Last updated:** [March 7, 2008, 3:34am UTC](https://www.ruby-forum.com/t/really-simple-question-how-do-i-call-information-from-the/130837 "2008-03-07T03:34:46Z")

</div>

I know how to create controllers and models. However what I do not know is how to call information into the front end of the site - particularly I do not know how to even place the graphic design into the site. I imag…

---

## [Installing RoR with Mongrel: What does "Path to config file not valid" mean?](https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689 "2008-03-03T15:17:16Z")

</div>

Hi, I’m trying to install Ruby on Rails 2.0.2 with Mongrel, following the instructions here – http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/. I install the gem…

---

## [Validate email address?](https://www.ruby-forum.com/t/validate-email-address/127710)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 7\
**Last updated:** [January 31, 2008, 9:10pm UTC](https://www.ruby-forum.com/t/validate-email-address/127710 "2008-01-31T21:10:54Z")

</div>

Anyone have a code snippet that tells whether an email address is “valid” but not necessarily whether it is a working address because that much I can sort out through my mail server through any bounces. I have a datab…

---

## [Can someone please tell me why these test are failing?](https://www.ruby-forum.com/t/can-someone-please-tell-me-why-these-test-are-failing/121149)

<div class="topic-metadata">

**Author:** [@specpro](https://www.ruby-forum.com/u/specpro)\
**Replies:** 7\
**Last updated:** [November 25, 2007, 5:22pm UTC](https://www.ruby-forum.com/t/can-someone-please-tell-me-why-these-test-are-failing/121149 "2007-11-25T17:22:17Z")

</div>

Failure: test\_login\_failure\_with\_nonexistent\_screen\_name(UserControllerTest) \[./ test/functional/user\_controller\_test.rb:140\]: \<“Invalid screen name/password combination”\> expected but was . Failure: test\_login…

---

## [Undefined method \`subclasses' error](https://www.ruby-forum.com/t/undefined-method-subclasses-error/89836)

<div class="topic-metadata">

**Author:** [@bithai80](https://www.ruby-forum.com/u/bithai80)\
**Replies:** 1\
**Last updated:** [May 3, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/undefined-method-subclasses-error/89836 "2007-05-03T14:39:46Z")

</div>

hi, I moved up from rails 1.1.6 to 1.2.3 and now i get this error: Processing ApplicationController#login (for 74.193.67.252 at 2007-03-22 18:04:47) \[GET\] Session ID: 3cf7c4e3edc74e0912bf74c9e309750a Parameters: {“ac…

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

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