# Top

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

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

---

## [Mod\_ruby or FastCGI multiple instances single file](https://www.ruby-forum.com/t/mod-ruby-or-fastcgi-multiple-instances-single-file/69962)

<div class="topic-metadata">

**Author:** [@frocco](https://www.ruby-forum.com/u/frocco)\
**Replies:** 4\
**Last updated:** [September 26, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/mod-ruby-or-fastcgi-multiple-instances-single-file/69962 "2006-09-26T22:08:26Z")

</div>

Hi, I’m in the process of moving from the J2EE to the Ruby world (+ Apache, Linux, MySQL, etc.), so this is likely to be a “stupid newbie” question. I use mod\_ruby and understand that FastCGI operates along similar li…

---

## [Can I simply delete the log files?](https://www.ruby-forum.com/t/can-i-simply-delete-the-log-files/68810)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 4\
**Last updated:** [September 24, 2006, 8:04am UTC](https://www.ruby-forum.com/t/can-i-simply-delete-the-log-files/68810 "2006-09-24T08:04:48Z")

</div>

Hi there I wanted to upload a Rails app and saw that the log files are 16mb big! Can I simply delete them? Will Rails create automatically new ones when needed? Or do I have to empty them so they aren’t that big anymo…

---

## [Problems with extensions, RHEL4, $LOAD\_PATH](https://www.ruby-forum.com/t/problems-with-extensions-rhel4-load-path/68019)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 4\
**Last updated:** [September 8, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/problems-with-extensions-rhel4-load-path/68019 "2006-09-08T19:00:40Z")

</div>

Ruby 1.8.5 RHEL 4, x86-64 gcc 3.4.5 make 3.80 Something very strange is happening here. The bigdecimal.so file clearly exists: \[ djberge@lxomp55e /usr/local/lib/ruby \] $ pwd /usr/local/lib/ruby \[ djberge@lxomp55…

---

## [Can't run rails](https://www.ruby-forum.com/t/cant-run-rails/101600)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [August 6, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/cant-run-rails/101600 "2006-08-06T17:41:00Z")

</div>

Yesterday, I was having a problem with db:migrate. I was told my version of rails was too old, and I needed to install it from gems instead of the version in my version of Ubuntu. Since then, I’ve done that, and I bui…

---

## [Displaying the load the server is under?](https://www.ruby-forum.com/t/displaying-the-load-the-server-is-under/98543)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 4\
**Last updated:** [July 19, 2006, 6:04am UTC](https://www.ruby-forum.com/t/displaying-the-load-the-server-is-under/98543 "2006-07-19T06:04:38Z")

</div>

On my program I want to display the load the server is currently under. The application I’m writing can get pretty intense and it based on a number of factors. I want the user to be able to tell when they are using th…

---

## [Sorta odd error handling](https://www.ruby-forum.com/t/sorta-odd-error-handling/64138)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 4\
**Last updated:** [June 22, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/sorta-odd-error-handling/64138 "2006-06-22T16:56:28Z")

</div>

When an exception gets raised ‘all the way out’, you get a nice little call-stack with line-numbers and function names, which really helps seeing what went wrong, and how. However, I want my application (which has an …

---

## [Edge rails and routes](https://www.ruby-forum.com/t/edge-rails-and-routes/62764)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 4\
**Last updated:** [June 8, 2006, 3:36am UTC](https://www.ruby-forum.com/t/edge-rails-and-routes/62764 "2006-06-08T03:36:52Z")

</div>

I have a route that works under 1.1.2 but does not work under edge rails. route.wishlist ‘wishlist/:id’, :action =\> ‘show\_wishlist’, :id =\> nil, :requirements =\> {:id =\> /\\d\*/} This worked great without an :id, but…

---

## [Selectboxes and Rails](https://www.ruby-forum.com/t/selectboxes-and-rails/62012)

<div class="topic-metadata">

**Author:** [@Ray\_M](https://www.ruby-forum.com/u/Ray_M)\
**Replies:** 4\
**Last updated:** [May 30, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/selectboxes-and-rails/62012 "2006-05-30T20:54:35Z")

</div>

Hey was wondering how to setup a select box that when I call Model.new(params\[:model\]) it will automatically putit into the db… I tried 0 … then when I do @home = Home.new(params\[:home\]) that field doesnt insert …

---

## [Collaborare a ItalyOnRails](https://www.ruby-forum.com/t/collaborare-a-italyonrails/60280)

<div class="topic-metadata">

**Author:** [@Gianluigi\_S](https://www.ruby-forum.com/u/Gianluigi_S)\
**Replies:** 4\
**Last updated:** [May 14, 2006, 10:57am UTC](https://www.ruby-forum.com/t/collaborare-a-italyonrails/60280 "2006-05-14T10:57:51Z")

</div>

salve, per chi einteressato a collaborare, in qualsiasi modo, all'organizzazione di ItalyOnRails e disponibile una mailing list all’indirizzo: http://lists.italyonrails.com/mailman/listinfo/rome06 saluti, Gianluigi

---

## [Soap4r 1.5.5 seems to break actionWebService tests](https://www.ruby-forum.com/t/soap4r-1-5-5-seems-to-break-actionwebservice-tests/51359)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 4\
**Last updated:** [March 7, 2006, 1:53am UTC](https://www.ruby-forum.com/t/soap4r-1-5-5-seems-to-break-actionwebservice-tests/51359 "2006-03-07T01:53:19Z")

</div>

Hi, I just upgraded to soap4r 1.5.5, and now all my Rails F.ctional tests for the action\_web\_services fail as follows, any ideas what I did wrong? Thanks TypeError: can't modify frozen object /usr/local/lib/ruby/1.8/…

---

## [Compile Ruby9i on Windows](https://www.ruby-forum.com/t/compile-ruby9i-on-windows/52462)

<div class="topic-metadata">

**Author:** [@Bertram\_S](https://www.ruby-forum.com/u/Bertram_S)\
**Replies:** 4\
**Last updated:** [January 16, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/compile-ruby9i-on-windows/52462 "2006-01-16T20:26:24Z")

</div>

Hi, in my company we use Oracle and Windows :-(. Now, I would like at least to start for some quick-and-dirty solutions to use Ruby. Maybe my boss could be convinced it’s worth a closer look. I’m afraid, I don’t suc…

---

## [Field validation](https://www.ruby-forum.com/t/field-validation/190125)

<div class="topic-metadata">

**Author:** [@stanislavua](https://www.ruby-forum.com/u/stanislavua)\
**Replies:** 6\
**Last updated:** [June 17, 2010, 5:17pm UTC](https://www.ruby-forum.com/t/field-validation/190125 "2010-06-17T17:17:00Z")

</div>

Hi I have a field called “cost”: \<%= f.text\_field :cost, :size=\>2, :maxlength=\>4 %\> I want to check that user enter numeral value and this value is integer In post.rb (model): def cost\_validate\_int errors.add\_to\_b…

---

## [Rails and Databases](https://www.ruby-forum.com/t/rails-and-databases/174266)

<div class="topic-metadata">

**Author:** [@GuruOne](https://www.ruby-forum.com/u/GuruOne)\
**Replies:** 6\
**Last updated:** [August 25, 2009, 5:02pm UTC](https://www.ruby-forum.com/t/rails-and-databases/174266 "2009-08-25T17:02:22Z")

</div>

Hi Everyone, I have a couple of questions A typical rails environment has 3 databases - development, test, production. Can I have more? Is there a limit? In most rails applications you usually have one database t…

---

## [My Take on Hello World for Ruby on Rails](https://www.ruby-forum.com/t/my-take-on-hello-world-for-ruby-on-rails/143759)

<div class="topic-metadata">

**Author:** [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Replies:** 6\
**Last updated:** [July 22, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/my-take-on-hello-world-for-ruby-on-rails/143759 "2008-07-22T18:43:53Z")

</div>

Morning folks, Following is my take on ruby on rails and highlighting its strength in this quick tutorial : Do proofread it and give me your thoughts on this…

---

## [How best to find items joined across several tables?](https://www.ruby-forum.com/t/how-best-to-find-items-joined-across-several-tables/140296)

<div class="topic-metadata">

**Author:** [@ant](https://www.ruby-forum.com/u/ant)\
**Replies:** 6\
**Last updated:** [June 12, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/how-best-to-find-items-joined-across-several-tables/140296 "2008-06-12T21:48:41Z")

</div>

Hi All, For the sake of argument I have these models user has\_many :posts post belongs\_to :user has\_many :responses response belongs\_to :post How do I find all responses that a user has had to all of their posts …

---

## [Back button behavior has changed again in Safari 3.1, after doing a dom update via ajax/RJS](https://www.ruby-forum.com/t/back-button-behavior-has-changed-again-in-safari-3-1-after-doing-a-dom-update-via-ajax-rjs/132413)

<div class="topic-metadata">

**Author:** [@Yuval](https://www.ruby-forum.com/u/Yuval)\
**Replies:** 6\
**Last updated:** [April 21, 2008, 6:07am UTC](https://www.ruby-forum.com/t/back-button-behavior-has-changed-again-in-safari-3-1-after-doing-a-dom-update-via-ajax-rjs/132413 "2008-04-21T06:07:39Z")

</div>

GAH! Here is the firefox behavior, which is perfect: View page 1 Update some text by using link\_to\_remote or remote\_form\_for, along with an RJS replace or replace\_html Navigate to page 2 Hit back Page was cached with…

---

## [Orphans](https://www.ruby-forum.com/t/orphans/127058)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 6\
**Last updated:** [January 25, 2008, 10:32am UTC](https://www.ruby-forum.com/t/orphans/127058 "2008-01-25T10:32:30Z")

</div>

I’m trying to solve the problem of orphaned records, and wondering what the best solution is, maybe someone can help me with a little example code. I have the following models. Enquiry Course and when someone gener…

---

## [Get error message](https://www.ruby-forum.com/t/get-error-message/111612)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 6\
**Last updated:** [August 9, 2007, 3:25pm UTC](https://www.ruby-forum.com/t/get-error-message/111612 "2007-08-09T15:25:11Z")

</div>

I have been programming in RoR for about 2 months now, but the projects that I have started I have aloways started in the middle, so I have never built anything from the ground up. I’m now trying to start from the beg…

---

## [Custom Validations for ActiveRecord](https://www.ruby-forum.com/t/custom-validations-for-activerecord/66768)

<div class="topic-metadata">

**Author:** [@GreenRuby](https://www.ruby-forum.com/u/GreenRuby)\
**Replies:** 6\
**Last updated:** [August 29, 2006, 5:13am UTC](https://www.ruby-forum.com/t/custom-validations-for-activerecord/66768 "2006-08-29T05:13:34Z")

</div>

I want to create a model validation that ensures that the two passwords entered on the password creation page are equivalent. Sure I could put this into my controller but that wouldn’t be as clean. So I created two at…

---

## [\[ANN\] Pin in the Map - "tinyurl for maps" rails app](https://www.ruby-forum.com/t/ann-pin-in-the-map-tinyurl-for-maps-rails-app/98611)

<div class="topic-metadata">

**Author:** [@Chris\_Parsons](https://www.ruby-forum.com/u/Chris_Parsons)\
**Replies:** 6\
**Last updated:** [July 18, 2006, 9:24am UTC](https://www.ruby-forum.com/t/ann-pin-in-the-map-tinyurl-for-maps-rails-app/98611 "2006-07-18T09:24:24Z")

</div>

Hi there, A little while ago we launched Pin in the Map (http://pininthemap.com), a rails application which allows you to easily mark a spot on a map, attach some text to it, and get a simple link to pass around. It’s …

---

## [Update the label text after button click and executing command proc](https://www.ruby-forum.com/t/update-the-label-text-after-button-click-and-executing-command-proc/253224)

<div class="topic-metadata">

**Author:** [@dootsquare](https://www.ruby-forum.com/u/dootsquare)\
**Replies:** 0\
**Last updated:** [October 20, 2019, 9:41am UTC](https://www.ruby-forum.com/t/update-the-label-text-after-button-click-and-executing-command-proc/253224 "2019-10-20T09:41:06Z")

</div>

I am trying to update the label text after pressing a button. So far I’ve encountered this problem NameError: unknown option 'codelabel' for #\<Tk::Button:0x00000000050146b8 @path=".w00003"\> (deleted widget?). I can’t se…

---

## [How to dynamically change chart data using buttons (for currency type)](https://www.ruby-forum.com/t/how-to-dynamically-change-chart-data-using-buttons-for-currency-type/251247)

<div class="topic-metadata">

**Author:** [@uahmed90](https://www.ruby-forum.com/u/uahmed90)\
**Replies:** 0\
**Last updated:** [December 3, 2018, 12:05am UTC](https://www.ruby-forum.com/t/how-to-dynamically-change-chart-data-using-buttons-for-currency-type/251247 "2018-12-03T00:05:32Z")

</div>

I am working on a project. I’ve got my graph up and running. The chart displays CryptoCurrency data. But currently I can only see data for 1 type of cryptocurrency. I want to implement a button that which upon clicking, …

---

## [Make test failure for qa\_pdu](https://www.ruby-forum.com/t/make-test-failure-for-qa-pdu/234928)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [May 24, 2013, 5:33pm UTC](https://www.ruby-forum.com/t/make-test-failure-for-qa-pdu/234928 "2013-05-24T17:33:23Z")

</div>

I just built and installed gnuradio-3.6.4 from tarball on my HP nx6115 running Ubuntu 13.04. only one test failed during make test. i.e, qa\_pdu. I could confirm it by running ctest -E qa\_pdu and ctest -R qa\_pdu. Will…

---

## [Re: confusion with singleton method call](https://www.ruby-forum.com/t/re-confusion-with-singleton-method-call/227491)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 18, 2013, 6:19am UTC](https://www.ruby-forum.com/t/re-confusion-with-singleton-method-call/227491 "2013-03-18T06:19:19Z")

</div>

Sent from my HTC ----- Reply message ----- From: “Love U Ruby” removed\_email\_address@domain.invalid To: removed\_email\_address@domain.invalid Subject: confusion with singleton method call Date: Mon, Mar 18, 2013 05:3…

---

## [Gem bundler is not install. I know, another one of these](https://www.ruby-forum.com/t/gem-bundler-is-not-install-i-know-another-one-of-these/226501)

<div class="topic-metadata">

**Author:** [@tak\_g](https://www.ruby-forum.com/u/tak_g)\
**Replies:** 3\
**Last updated:** [December 10, 2012, 9:59pm UTC](https://www.ruby-forum.com/t/gem-bundler-is-not-install-i-know-another-one-of-these/226501 "2012-12-10T21:59:57Z")

</div>

I know that there are so many of these threads, and I have looked through them but since there are so many its so difficult to find the right solution. I can run gem install bundler but I can’t run bundle install, it…

---

## [Unable to work with class variable](https://www.ruby-forum.com/t/unable-to-work-with-class-variable/223446)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 5, 2012, 6:46pm UTC](https://www.ruby-forum.com/t/unable-to-work-with-class-variable/223446 "2012-10-05T18:46:04Z")

</div>

Here is my code: class Test @@fields=“ok” attr\_accessor :fields #initialize attributes. def initialize() end end a= Test.fields It says: test.rb:11: undefined method \`fields’ for Test:Class (NoMethodError) Why…

---

## [File upload without entering the file](https://www.ruby-forum.com/t/file-upload-without-entering-the-file/221992)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 9, 2012, 12:51pm UTC](https://www.ruby-forum.com/t/file-upload-without-entering-the-file/221992 "2012-08-09T12:51:52Z")

</div>

require ‘rubygems’ require ‘spreadsheet’ Spreadsheet.client\_encoding = ‘UTF-8’ workbook = Spreadsheet.open params\[:dump\]\[:excel\_file\] sheet = workbook.worksheet ‘database’ I am getting an error if i click on upload …

---

## [Modifying C++ Files](https://www.ruby-forum.com/t/modifying-c-files/218746)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 12, 2012, 5:33am UTC](https://www.ruby-forum.com/t/modifying-c-files/218746 "2012-04-12T05:33:31Z")

</div>

Hello, I am attempting to modify the bpsk.py file in order to obtain OOK modulation. I would like to change my constellation points to 1+0i and 0+0i. I understand that the digital\_costellation.cc file is being used t…

---

## [Maintenance page with 3.1 and assets pipeline](https://www.ruby-forum.com/t/maintenance-page-with-3-1-and-assets-pipeline/213452)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 2, 2011, 5:47pm UTC](https://www.ruby-forum.com/t/maintenance-page-with-3-1-and-assets-pipeline/213452 "2011-11-02T17:47:59Z")

</div>

Prior to 3.1/pipeline, adding a maintenance page was as simple as dropping a file in place on the server, and a apache rewrite rule. Now… all my assets are dynamic. So the files that are referenced by my static main…

---

## [Request for unit tests for learning purposes](https://www.ruby-forum.com/t/request-for-unit-tests-for-learning-purposes/209533)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 16, 2011, 9:03pm UTC](https://www.ruby-forum.com/t/request-for-unit-tests-for-learning-purposes/209533 "2011-07-16T21:03:57Z")

</div>

I’m currently building a suite of unit tests inspired by Mike C.: http://clarkware.com/blog/2005/03/18/ruby-learning-test-1-are-you-there-world Needless to say, I’ve cloned his repository rather than starting from scr…

---

## [\<VirtualHost \*:80\> block is in config but still says no VirtualHosts](https://www.ruby-forum.com/t/virtualhost-80-block-is-in-config-but-still-says-no-virtualhosts/207857)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 4, 2011, 12:45pm UTC](https://www.ruby-forum.com/t/virtualhost-80-block-is-in-config-but-still-says-no-virtualhosts/207857 "2011-06-04T12:45:41Z")

</div>

So I keep getting the following warning when I try apachectl restart NameVirtualHost \*:80 has no VirtualHosts But in the config file, I did add the following Can someone tell me what I did wrong? NameVirtualHost \*:80 …

---

## [Error installing cucumber: - ERROR: Failed to build gem native extension](https://www.ruby-forum.com/t/error-installing-cucumber-error-failed-to-build-gem-native-extension/207816)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 11:36am UTC](https://www.ruby-forum.com/t/error-installing-cucumber-error-failed-to-build-gem-native-extension/207816 "2011-06-03T11:36:50Z")

</div>

Hello All, I am installing cucumber on my windows XP machine by using the command “gem install cucumber -v 0.10.0” But gets the following error : Temporarily enhancing PATH to include DevKit… Building native extensi…

---

## [Jagged array of 2D array](https://www.ruby-forum.com/t/jagged-array-of-2d-array/205456)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [April 7, 2011, 12:44am UTC](https://www.ruby-forum.com/t/jagged-array-of-2d-array/205456 "2011-04-07T00:44:51Z")

</div>

Hi I have a question about object creation of jagged array in IronRuby. C# double\[\]\[\] csArray0 = new double\[100\]\[\]; double\[\]\[,\] csArray1 = new double\[100\]\[,\]; IronRuby irArray0 = System::Array.CreateInstance(Syst…

---

## [Ruby on Rails on Kylin 2.1 (麒麟操作系统2.1)](https://www.ruby-forum.com/t/ruby-on-rails-on-kylin-2-1-2-1/201965)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 19, 2011, 6:20pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-kylin-2-1-2-1/201965 "2011-01-19T18:20:53Z")

</div>

Anyone have experience with Ruby on Rails and Kylin 2.1. I’m in process of setting up RVM and Rails 3.0.3 along with MongoDB on Kylin 2.1 for the ultimate in a scalable high performance Ruby on Rails environment to bu…

---

## [Python/digital examples and UHD](https://www.ruby-forum.com/t/python-digital-examples-and-uhd/199783)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 6, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/python-digital-examples-and-uhd/199783 "2010-12-06T18:45:59Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, over the weekend I spend some time trying to update the demos to work with the UHD, I just started playing with git, so if you see something stupid let me know …

---

## [Macruby - some basic questions](https://www.ruby-forum.com/t/macruby-some-basic-questions/193437)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 3\
**Last updated:** [August 18, 2010, 4:28pm UTC](https://www.ruby-forum.com/t/macruby-some-basic-questions/193437 "2010-08-18T16:28:31Z")

</div>

I am going thru the macruby site and tutorial. I’d like to know if macruby is essentially meant for developing GUI applications on OS X ? Is there some list of example applications developed with macruby ? I’d li…

---

## [Menu structure with multiple parents?](https://www.ruby-forum.com/t/menu-structure-with-multiple-parents/191585)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [July 16, 2010, 5:19pm UTC](https://www.ruby-forum.com/t/menu-structure-with-multiple-parents/191585 "2010-07-16T17:19:13Z")

</div>

Hello, my current menu is based on acts\_as\_tree which worked just fine so far but now I need some menu items being shown under more than one parent. Example: menu1 -submenu1 -submenu2 menu2 -submenu1 -submenu3 …

---

## [Console-based Pixel Editor (#231)](https://www.ruby-forum.com/t/console-based-pixel-editor-231/187089)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 7:17am UTC](https://www.ruby-forum.com/t/console-based-pixel-editor-231/187089 "2010-07-15T07:17:11Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Popolare una select](https://www.ruby-forum.com/t/popolare-una-select/191057)

<div class="topic-metadata">

**Author:** [@punkaruby](https://www.ruby-forum.com/u/punkaruby)\
**Replies:** 3\
**Last updated:** [July 12, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/popolare-una-select/191057 "2010-07-12T20:56:48Z")

</div>

Ciao a tutti, sono nei guai a causa di questa necessitÃ : devo popolare di una select. Le option non sono altro che i nominativi di alcuni studenti che sono in stato “attivo”. Allora: 1- sul form ho scritto la seg…

---

## [Dynamic attributes!](https://www.ruby-forum.com/t/dynamic-attributes/182209)

<div class="topic-metadata">

**Author:** [@demec](https://www.ruby-forum.com/u/demec)\
**Replies:** 3\
**Last updated:** [January 25, 2010, 9:07pm UTC](https://www.ruby-forum.com/t/dynamic-attributes/182209 "2010-01-25T21:07:55Z")

</div>

I want to create a general model ‘Product’ that I will be able to store several attributes in it. For example the attributes :id :name :description are pretty stantard. So each product will have this attributes. H…

---

## [\[ANN\] frubygems -- quicker loading rubygems:"spooky" version](https://www.ruby-forum.com/t/ann-frubygems-quicker-loading-rubygems-spooky-version/177935)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [October 27, 2009, 6:27pm UTC](https://www.ruby-forum.com/t/ann-frubygems-quicker-loading-rubygems-spooky-version/177935 "2009-10-27T18:27:22Z")

</div>

Please to announce release code-named “spooky” of fast rubygems. Changelog: added ‘frubygems’ as an additional require option Synopsis: require ‘frubygems’ # takes about 1/5th the time of doing a require ‘rubygems’ …

---

## [Mongrel + mysql can't connect in custom mysql install](https://www.ruby-forum.com/t/mongrel-mysql-cant-connect-in-custom-mysql-install/176531)

<div class="topic-metadata">

**Author:** [@cristie](https://www.ruby-forum.com/u/cristie)\
**Replies:** 3\
**Last updated:** [October 8, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/mongrel-mysql-cant-connect-in-custom-mysql-install/176531 "2009-10-08T20:41:11Z")

</div>

Hi all… The linux box I am working on I do not have root access to, and given I am at a government site all hope of that is lost. I have installed the mysql gem as follows: env ARCHFLAGS="-arch x86\_64" gem install my…

---

## [Handling arrow keys/Ctrl-keys/Alt-keys in the browser](https://www.ruby-forum.com/t/handling-arrow-keys-ctrl-keys-alt-keys-in-the-browser/176920)

<div class="topic-metadata">

**Author:** [@C\_K\_Kashyap](https://www.ruby-forum.com/u/C_K_Kashyap)\
**Replies:** 3\
**Last updated:** [October 8, 2009, 1:43pm UTC](https://www.ruby-forum.com/t/handling-arrow-keys-ctrl-keys-alt-keys-in-the-browser/176920 "2009-10-08T13:43:53Z")

</div>

Hi All, Does rails provide a browser agnostic way to detect arrow keys/ctrl/alt keys on the browser? Regards, Kashyap

---

## [Problem using ActiveRecord find with :joins and :select](https://www.ruby-forum.com/t/problem-using-activerecord-find-with-joins-and-select/176697)

<div class="topic-metadata">

**Author:** [@PierreW](https://www.ruby-forum.com/u/PierreW)\
**Replies:** 3\
**Last updated:** [October 6, 2009, 12:14am UTC](https://www.ruby-forum.com/t/problem-using-activerecord-find-with-joins-and-select/176697 "2009-10-06T00:14:17Z")

</div>

Hi guys, When I do: temp = User.find(:all, :joins =\> “INNER JOIN contents ON users.agent\_id = contents.id”, :select =\> “contents.id, users.id, users.u\_date”) temp.first.inspect It seems to work fine, but it only r…

---

## [How to use grc item's value in py](https://www.ruby-forum.com/t/how-to-use-grc-items-value-in-py/175090)

<div class="topic-metadata">

**Author:** [@nansai\_hu](https://www.ruby-forum.com/u/nansai_hu)\
**Replies:** 3\
**Last updated:** [September 8, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/how-to-use-grc-items-value-in-py/175090 "2009-09-08T22:01:05Z")

</div>

I generated a py file by GRC with a ratiobutton block.(ratiobutton have two button “Yes” & “No”) And now I want to modify the py file to implement a if logic by that ratiobutton: That means if user choose “Yes” the…

---

## [Compile ruby with the rubyinstaller](https://www.ruby-forum.com/t/compile-ruby-with-the-rubyinstaller/173229)

<div class="topic-metadata">

**Author:** [@shinwoo](https://www.ruby-forum.com/u/shinwoo)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 10:52am UTC](https://www.ruby-forum.com/t/compile-ruby-with-the-rubyinstaller/173229 "2009-08-05T10:52:28Z")

</div>

I saw the latest benchmark on rubyinstaller(mingw) which is much faster than normal mswin32 ruby. So, I decided to try it with ruby-gnome2. I only compile the ruby-gtk2-0.19.1 and it works quite well with some glitch.…

---

## [Problem loading plugin that depends on another plugin](https://www.ruby-forum.com/t/problem-loading-plugin-that-depends-on-another-plugin/172993)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 30, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/problem-loading-plugin-that-depends-on-another-plugin/172993 "2009-07-30T23:39:48Z")

</div>

I am trying to extract some code I have written into a plugin (an engine actually, since I want to share the views to new apps). I really like the organization I see in the new Clearance engine - esp with respect to h…

---

## [Store search paramters in database based on the current\_user](https://www.ruby-forum.com/t/store-search-paramters-in-database-based-on-the-current-user/172938)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 3\
**Last updated:** [July 30, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/store-search-paramters-in-database-based-on-the-current-user/172938 "2009-07-30T18:07:51Z")

</div>

Hi, This is my log-file output of the usercontroller. Processing UsersController#index (for 92.64.217.3 at 2009-07-30 08:57:46) \[GET\] Parameters: {“commit”=\>“Search”, “date”=\>"", “arrival”=\>“barcelona”, “departure”=\>…

---

## [Create 1000 items in DB](https://www.ruby-forum.com/t/create-1000-items-in-db/172275)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 3\
**Last updated:** [July 19, 2009, 3:30am UTC](https://www.ruby-forum.com/t/create-1000-items-in-db/172275 "2009-07-19T03:30:31Z")

</div>

Hi, I want to create 1000 items at once(vouchers) in my db. My class name is Voucher. How can ik realize this…? remco

---

## [Audio Sample rate problem](https://www.ruby-forum.com/t/audio-sample-rate-problem/171715)

<div class="topic-metadata">

**Author:** [@Abdalla\_Sokar](https://www.ruby-forum.com/u/Abdalla_Sokar)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 1:33pm UTC](https://www.ruby-forum.com/t/audio-sample-rate-problem/171715 "2009-07-11T13:33:22Z")

</div>

my audio sampling rate is 48000 not 32000 so all the the gnu examples that output an audio dont work and due to this 48000 i cant configure the decimation and interpolation to be even integers as required so is there …

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

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