# Top

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

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

---

## [Dealing with "jruby" shell calls for the complete jar file](https://www.ruby-forum.com/t/dealing-with-jruby-shell-calls-for-the-complete-jar-file/213332)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 9, 2011, 6:09pm UTC](https://www.ruby-forum.com/t/dealing-with-jruby-shell-calls-for-the-complete-jar-file/213332 "2011-11-09T18:09:07Z")

</div>

I am currently trying to package a complete ruby environment for our QA machines. It should work as follows: Add bundler gem to jruby-complete jar file and deploy it2. Run bundle install --path3. Execute tests with t…

---

## [QT Gui Sink](https://www.ruby-forum.com/t/qt-gui-sink/205269)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 5, 2011, 1:23pm UTC](https://www.ruby-forum.com/t/qt-gui-sink/205269 "2011-04-05T13:23:35Z")

</div>

Is there a way to control the update rate on the QT Gui sink? I have it running on the E100, but it would be helpful if I could slow down the update rate. Philip

---

## [Making a Keyword Search](https://www.ruby-forum.com/t/making-a-keyword-search/170584)

<div class="topic-metadata">

**Author:** [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Replies:** 4\
**Last updated:** [June 19, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/making-a-keyword-search/170584 "2009-06-19T18:52:17Z")

</div>

Hello I created a search engine on my site but it only works when you type the full name of the string. My string name are on average 9 characters long. I would like to be able to search one word of the string and the…

---

## [Yarn optional dependancies? do I need them? crashing my heroku build](https://www.ruby-forum.com/t/yarn-optional-dependancies-do-i-need-them-crashing-my-heroku-build/260782)

<div class="topic-metadata">

**Author:** [@merlin2049er](https://www.ruby-forum.com/u/merlin2049er)\
**Replies:** 1\
**Last updated:** [January 8, 2021, 1:21am UTC](https://www.ruby-forum.com/t/yarn-optional-dependancies-do-i-need-them-crashing-my-heroku-build/260782 "2021-01-08T01:21:08Z")

</div>

Trying to deploy on heroku, but it failed and aborted. Only thing I found out was that these yarn optional dependencies are crashing it and are not needed. \[2/4\] Fetching packages… info fsevents@2.1.3: The platform “l…

---

## [Rails 3 : Upload image file using AJAX form submission](https://www.ruby-forum.com/t/rails-3-upload-image-file-using-ajax-form-submission/228800)

<div class="topic-metadata">

**Author:** [@Varun\_Jain](https://www.ruby-forum.com/u/Varun_Jain)\
**Replies:** 1\
**Last updated:** [May 8, 2013, 11:59am UTC](https://www.ruby-forum.com/t/rails-3-upload-image-file-using-ajax-form-submission/228800 "2013-05-08T11:59:36Z")

</div>

I am trying to upload an image in RAILS 3 using AJAX form submission , this is my code : \<%= form\_for(:image, :remote =\> true, :url =\> {:controller=\> ‘questions’,:action =\> ‘upload’}, :html =\> {:id=\>‘qimage\_upload’})…

---

## [Nginx Log Parser](https://www.ruby-forum.com/t/nginx-log-parser/196203)

<div class="topic-metadata">

**Author:** [@valor](https://www.ruby-forum.com/u/valor)\
**Replies:** 1\
**Last updated:** [June 14, 2012, 10:59pm UTC](https://www.ruby-forum.com/t/nginx-log-parser/196203 "2012-06-14T22:59:09Z")

</div>

Hello Everyone, First pardon me if this have already been discussed in the russian mailinglist. Second, thank you igor for this wonderful software, it’s amazing speed and stability. After googling and searching arou…

---

## [ERROR: Must have git available in the PATH to lock this application to Edge Radiant](https://www.ruby-forum.com/t/error-must-have-git-available-in-the-path-to-lock-this-application-to-edge-radiant/204330)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 10, 2011, 2:49am UTC](https://www.ruby-forum.com/t/error-must-have-git-available-in-the-path-to-lock-this-application-to-edge-radiant/204330 "2011-03-10T02:49:21Z")

</div>

Hi all I am trying to install radiant in MAc Os X 10.6 and I am getting the following error message ERROR: Must have git available in the PATH to lock this application to Edge Radiant when I type: rake radiant:freez…

---

## [Why can't Ruby automatically cast variables?](https://www.ruby-forum.com/t/why-cant-ruby-automatically-cast-variables/70613)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 8\
**Last updated:** [October 6, 2006, 12:50am UTC](https://www.ruby-forum.com/t/why-cant-ruby-automatically-cast-variables/70613 "2006-10-06T00:50:02Z")

</div>

One thing that annoys me about Ruby is that casting variables is required: i = 5 a = ‘logan’ puts a + i.to\_s Or a=‘2’ b=3 puts a.to\_i + b Why can’t (or can?) Ruby just handle ‘puts a + i’ or ‘puts a+b’? Joe

---

## [Merge and group multiple hashes by key](https://www.ruby-forum.com/t/merge-and-group-multiple-hashes-by-key/245220)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 25, 2017, 12:36am UTC](https://www.ruby-forum.com/t/merge-and-group-multiple-hashes-by-key/245220 "2017-01-25T00:36:30Z")

</div>

Hello, i have a problem i my program that i can’t solve. i’m recieving multiple hashes and i what to merge them into only one hash and group them by string, something like this: {“Leadership”=\>\[3,2,5\], “Motivation”=\>\[…

---

## [Calcoli su activerecord](https://www.ruby-forum.com/t/calcoli-su-activerecord/234716)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [March 24, 2015, 2:54pm UTC](https://www.ruby-forum.com/t/calcoli-su-activerecord/234716 "2015-03-24T14:54:49Z")

</div>

Ho il seguente problema. Semplificando ho un metodo che esegue una query su un activerecord in due step: prima fa una where (in realtà parametrizzata) e poi fa dei calcoli su un attributo : def foo res = Sale.where(…

---

## [Error in production only: \`method\_missing': undefined method \`has\_attachment' for #\<Class:0xb72b6cb](https://www.ruby-forum.com/t/error-in-production-only-method-missing-undefined-method-has-attachment-for-class-0xb72b6cb/169727)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 7, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/error-in-production-only-method-missing-undefined-method-has-attachment-for-class-0xb72b6cb/169727 "2009-06-07T23:29:03Z")

</div>

Hello guys, I’m having a problem with running an application in production. The error I’m getting is as follows: /home/www/bandera/releases/20090607191259/vendor/rails/activerecord/ lib/active\_record/base.rb:1964:in m…

---

## ["Komplexere" Formular Validation Ã¼ber AJAX (inklusive Tests)](https://www.ruby-forum.com/t/komplexere-formular-validation-a-ber-ajax-inklusive-tests/160230)

<div class="topic-metadata">

**Author:** [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Replies:** 6\
**Last updated:** [February 19, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/komplexere-formular-validation-a-ber-ajax-inklusive-tests/160230 "2009-02-19T16:09:01Z")

</div>

Hallo, ich arbeite gerade an einem Formular zum Anlegen eines neues Eintrages und mÃ¶chte dies mittels AJAX noch vor der Speicherung auf eventuelle Duplikate Ã¼berprÃ¼fen. Wir ein Ã¤hnlicher Eintrag gefunden, soll der …

---

## [Page Caching, Paginierung und permanente URLs](https://www.ruby-forum.com/t/page-caching-paginierung-und-permanente-urls/120078)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 6\
**Last updated:** [November 14, 2007, 8:24am UTC](https://www.ruby-forum.com/t/page-caching-paginierung-und-permanente-urls/120078 "2007-11-14T08:24:26Z")

</div>

Hallo, ich benÃ¶tige einen Tip zum Page Caching fÃ¼r ein bestimmtes Anwendungsszenario. Der Content der Web-Site, um die es geht, ist in Themen geordnet und diese Themen kÃ¶nnen widerum Artikel enthalten, und diese …

---

## [MDArray: Float becomes Double](https://www.ruby-forum.com/t/mdarray-float-becomes-double/243358)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 22, 2015, 5:43pm UTC](https://www.ruby-forum.com/t/mdarray-float-becomes-double/243358 "2015-10-22T17:43:05Z")

</div>

How do I transform objects of class “DoubleMDMatrix2D” into “FloatMDMatrix2D”? And does it matter? require ‘MDArray’ A = MDMatrix.float(\[m,m\],\[graph\]) # a sparse matrix, m×m y = MDMatrix.float(\[m,1\],\[vector\]) # a one…

---

## [GNURadio retrictions](https://www.ruby-forum.com/t/gnuradio-retrictions/233198)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [November 26, 2014, 2:52am UTC](https://www.ruby-forum.com/t/gnuradio-retrictions/233198 "2014-11-26T02:52:21Z")

</div>

Hello GNURadioers! I’ve been working with GNURadio since about one year ago. I just figured out the following limitation of GNURadio’s framework that I want to diacuss them to clarify whether I’m wrong or not: 1- Fo…

---

## [Rails on JRuby - different behavior in console and server?](https://www.ruby-forum.com/t/rails-on-jruby-different-behavior-in-console-and-server/229351)

<div class="topic-metadata">

**Author:** [@Chris\_McCann](https://www.ruby-forum.com/u/Chris_McCann)\
**Replies:** 7\
**Last updated:** [January 4, 2013, 12:52am UTC](https://www.ruby-forum.com/t/rails-on-jruby-different-behavior-in-console-and-server/229351 "2013-01-04T00:52:16Z")

</div>

I’m using JRuby 1.7.1 with a Rails 3.2.9 application. The application uses Java code in a JAR file which is loaded via a ‘require’ statement. When I execute some JRuby code that uses the Java classes in the rails co…

---

## [Documentation for Psych in Ruby 1.9.3?](https://www.ruby-forum.com/t/documentation-for-psych-in-ruby-1-9-3/223840)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 22, 2012, 1:36pm UTC](https://www.ruby-forum.com/t/documentation-for-psych-in-ruby-1-9-3/223840 "2012-10-22T13:36:01Z")

</div>

I’m searching and searching… but I can not find the documentation for Psych on http://www.ruby-doc.org/stdlib-1.9.3/. If I am not mistaken it practically replaces YAML and is part of the standard library.

---

## [\[Ruby 1.9 - Bug #4926\]\[Open\] --gc-stress付きtest/ruby/enc/test emoji.rbが失敗する](https://www.ruby-forum.com/t/ruby-1-9-bug-4926-open-gc-stress-test-ruby-enc-test-emoji-rb/208732)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [June 30, 2011, 3:17pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4926-open-gc-stress-test-ruby-enc-test-emoji-rb/208732 "2011-06-30T15:17:36Z")

</div>

Issue #4926 has been reported by Kazuki Tsujimoto. Bug #4926: --gc-stress付きtest/ruby/enc/test\_emoji.rbが失敗する Author: Kazuki Tsujimoto Status: Open Priority: Normal Assignee: Category: core Target version: ruby -…

---

## [We're sorry, but something went wrong](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/206288)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [April 29, 2011, 12:47pm UTC](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/206288 "2011-04-29T12:47:26Z")

</div>

I’m learning about Paperclip: Attaching Files in Rails, following this link http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html I place these code to display image on show.html.erb \<%= image\_tag @u…

---

## [Segmentation fault (ferret/index.rb:394)](https://www.ruby-forum.com/t/segmentation-fault-ferret-index-rb-394/184524)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 1\
**Last updated:** [May 5, 2010, 7:04am UTC](https://www.ruby-forum.com/t/segmentation-fault-ferret-index-rb-394/184524 "2010-05-05T07:04:09Z")

</div>

/usr/lib64/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:394: \[BUG\] Segmentation fault ruby 1.8.6 (2008-08-11) \[x86\_64-linux\] Any idea ?

---

## [Newwer to Ironruby/ruby](https://www.ruby-forum.com/t/newwer-to-ironruby-ruby/181006)

<div class="topic-metadata">

**Author:** [@samckayak](https://www.ruby-forum.com/u/samckayak)\
**Replies:** 7\
**Last updated:** [January 13, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/newwer-to-ironruby-ruby/181006 "2010-01-13T18:36:27Z")

</div>

Hey, I have a couple questions dealing with a couple modifications I did to eliminate errors I was receiving while using rails on IronRuby. First, mssql\_adapter.rb: In the execute method I commented out set\_identity\_i…

---

## [Saber mÃ©todos que acceden a una tabla de la BBDD](https://www.ruby-forum.com/t/saber-ma-todos-que-acceden-a-una-tabla-de-la-bbdd/169259)

<div class="topic-metadata">

**Author:** [@David\_GonzSSSSlez](https://www.ruby-forum.com/u/David_GonzSSSSlez)\
**Replies:** 7\
**Last updated:** [June 2, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/saber-ma-todos-que-acceden-a-una-tabla-de-la-bbdd/169259 "2009-06-02T15:05:27Z")

</div>

Hola, Â¿Alguien conoce un mÃ©todo sencillo de saber cuales son los mÃ©todos que realizan accesos a una tabla de la BBDD de una aplicaciÃ³n? Explico un poco mi caso por si pudiera aclarar algo, tengo que agregar una …

---

## [Text\_field\_with\_auto\_complete problem](https://www.ruby-forum.com/t/text-field-with-auto-complete-problem/124983)

<div class="topic-metadata">

**Author:** [@damien](https://www.ruby-forum.com/u/damien)\
**Replies:** 7\
**Last updated:** [January 18, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-problem/124983 "2008-01-18T14:52:19Z")

</div>

I can’t get the autocomplete feature of script.aculo.us to work. I have tried every guide I could find and several books to no avail. As you can probably tell from the code, I’m new to this and just used the scaffoldi…

---

## [Rails 3.2.1 breaks stub?](https://www.ruby-forum.com/t/rails-3-2-1-breaks-stub/216190)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 29, 2012, 4:04pm UTC](https://www.ruby-forum.com/t/rails-3-2-1-breaks-stub/216190 "2012-01-29T16:04:48Z")

</div>

Hi, First things first: Thanks for the GREAT gem and all of the work that you and others put into this - it is much appreciated! I read on David C.'s blog that Rails 3.2 broke “stub\_model” and that upgrading to rspec…

---

## [JSON matcher](https://www.ruby-forum.com/t/json-matcher/164891)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [May 19, 2011, 10:03pm UTC](https://www.ruby-forum.com/t/json-matcher/164891 "2011-05-19T22:03:17Z")

</div>

Curiously, there doesn’t seem to be a matcher around that matches a JSON string against an expected ruby object. Below is what I’ve come up with, including some Rails idiosyncrasies. Any suggestions for improvements? …

---

## [My web app seed data and cucumber](https://www.ruby-forum.com/t/my-web-app-seed-data-and-cucumber/191287)

<div class="topic-metadata">

**Author:** [@costi](https://www.ruby-forum.com/u/costi)\
**Replies:** 3\
**Last updated:** [July 8, 2010, 10:29pm UTC](https://www.ruby-forum.com/t/my-web-app-seed-data-and-cucumber/191287 "2010-07-08T22:29:52Z")

</div>

I’m writing a web app which is used a SaS. Each customer has their own db and app directory. I have a rake task which creates all necessary minimum data to run their website: default rights and roles, a superadmin use…

---

## [HABTM problem not saving all associations](https://www.ruby-forum.com/t/habtm-problem-not-saving-all-associations/51752)

<div class="topic-metadata">

**Author:** [@Keith\_Veleba](https://www.ruby-forum.com/u/Keith_Veleba)\
**Replies:** 3\
**Last updated:** [February 28, 2006, 12:50am UTC](https://www.ruby-forum.com/t/habtm-problem-not-saving-all-associations/51752 "2006-02-28T00:50:43Z")

</div>

Hello all, I have an Order object that has and belongs to many Products and has and belongs to many Loan Types. This is so I can select multiples of each in my order entry screen via checkbox groups. I’m having some…

---

## [Could not install Rmagick Gem in rails 4 (Ubuntu 13.04)](https://www.ruby-forum.com/t/could-not-install-rmagick-gem-in-rails-4-ubuntu-13-04/231735)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [November 21, 2014, 3:18pm UTC](https://www.ruby-forum.com/t/could-not-install-rmagick-gem-in-rails-4-ubuntu-13-04/231735 "2014-11-21T15:18:27Z")

</div>

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/anil/.rvm/rubies/ruby-2.0.0-p481/bin/ruby extconf.rb checking for Ruby version \>= 1.8.5… yes checking for gcc… yes checking for Magick-config… …

---

## [Which Payment Gateway?](https://www.ruby-forum.com/t/which-payment-gateway/63402)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 5\
**Last updated:** [March 11, 2019, 1:48pm UTC](https://www.ruby-forum.com/t/which-payment-gateway/63402 "2019-03-11T13:48:17Z")

</div>

I am working on an application where users sign up for one of several plans. Each plan has a different monthly fee. There is no long term contract but I would like to bill the users automatically each month unless…

---

## [Upgrading mysql and configurating my custom 404.html page](https://www.ruby-forum.com/t/upgrading-mysql-and-configurating-my-custom-404-html-page/233213)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [November 26, 2014, 9:24pm UTC](https://www.ruby-forum.com/t/upgrading-mysql-and-configurating-my-custom-404-html-page/233213 "2014-11-26T21:24:27Z")

</div>

I have two problems : Upgrading mysql and configurating my custom 404.html page. I wanted to install an admin page, but need to the consistency of mysql and php version, so I wanted upgrade mysql as the same version …

---

## [Send 502 when all php-fpm workers are in use](https://www.ruby-forum.com/t/send-502-when-all-php-fpm-workers-are-in-use/230797)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 8, 2014, 2:56am UTC](https://www.ruby-forum.com/t/send-502-when-all-php-fpm-workers-are-in-use/230797 "2014-07-08T02:56:11Z")

</div>

I have a php-fpm pool of workers which is 6. There are long running requests being sent, so I have the following fastcgi directives set: fastcgi\_connect\_timeout 15; fastcgi\_send\_timeout 1200; fastcgi\_read\_timeout 12…

---

## [Uhd\_find\_devices not detecting USRP2](https://www.ruby-forum.com/t/uhd-find-devices-not-detecting-usrp2/237974)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 9, 2013, 7:56pm UTC](https://www.ruby-forum.com/t/uhd-find-devices-not-detecting-usrp2/237974 "2013-12-09T19:56:37Z")

</div>

Hi Everyone, I recently found a couple USRP2’s that have not been used for some time in my lab, and decided to use them for some testing. One of the USRP2’s worked perfectly when I connected it up to the host comp…

---

## [Patch levels and ruby](https://www.ruby-forum.com/t/patch-levels-and-ruby/228975)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 5\
**Last updated:** [May 14, 2013, 6:55pm UTC](https://www.ruby-forum.com/t/patch-levels-and-ruby/228975 "2013-05-14T18:55:07Z")

</div>

How do you know which patch level to use for ruby? I have one project that uses ruby-1.9.3-p0. When I cd into another project, it says: ruby-1.9.3-p392 is not installed. So which to use: ruby-1.9.3-p0 or ruby-1.9.3-p…

---

## [JRuby JDK Requirement?](https://www.ruby-forum.com/t/jruby-jdk-requirement/152810)

<div class="topic-metadata">

**Author:** [@tick](https://www.ruby-forum.com/u/tick)\
**Replies:** 5\
**Last updated:** [November 7, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/jruby-jdk-requirement/152810 "2008-11-07T17:35:07Z")

</div>

I’ve been all over the website, wiki, and faq trying to find the supported JDK version for JRuby. I’m assuming that JRuby requires JDK 1.5 or better due to the following error… $jruby --help Exception in thread “mai…

---

## [Named route new\_session not working](https://www.ruby-forum.com/t/named-route-new-session-not-working/126288)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 5\
**Last updated:** [January 17, 2008, 12:36am UTC](https://www.ruby-forum.com/t/named-route-new-session-not-working/126288 "2008-01-17T00:36:17Z")

</div>

Anyone have any idea why a named route would NOT work? I did rake routes to make sure it was there and it was but for some reason new\_session doesn’t work.

---

## [How to make RESTful namespaced controllers](https://www.ruby-forum.com/t/how-to-make-restful-namespaced-controllers/68649)

<div class="topic-metadata">

**Author:** [@janovetz](https://www.ruby-forum.com/u/janovetz)\
**Replies:** 5\
**Last updated:** [February 22, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/how-to-make-restful-namespaced-controllers/68649 "2007-02-22T18:44:56Z")

</div>

I looked all over for a way to use RESTful Rail with module namespaced controllers but everything that I read said that I wasn’t possible. I figured out a way to do it so I thought that I would post it here for people…

---

## [Curb Install Problems](https://www.ruby-forum.com/t/curb-install-problems/154768)

<div class="topic-metadata">

**Author:** [@reddaly](https://www.ruby-forum.com/u/reddaly)\
**Replies:** 2\
**Last updated:** [December 4, 2008, 11:44am UTC](https://www.ruby-forum.com/t/curb-install-problems/154768 "2008-12-04T11:44:23Z")

</div>

Hey I’m trying to install Curb on os - CentOS ruby - ruby 1.8.6 (2007-06-07 patchlevel 36) \[i386-linux\] I receive this error Building native extensions. This could take a while… ERROR: Error installing curb: ERR…

---

## [Logger and file permissions](https://www.ruby-forum.com/t/logger-and-file-permissions/63218)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 2\
**Last updated:** [June 14, 2006, 7:28am UTC](https://www.ruby-forum.com/t/logger-and-file-permissions/63218 "2006-06-14T07:28:01Z")

</div>

Ruby and linux Nuby question about getting Logger library to work. I’ve got a simple ruby script that is set up as the receptor of mail to a particular address on my server (via postfix). This script is trying to use…

---

## [Getting mysql gem working with ruby-1.9.3 on rvm](https://www.ruby-forum.com/t/getting-mysql-gem-working-with-ruby-1-9-3-on-rvm/218114)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [March 22, 2012, 3:15pm UTC](https://www.ruby-forum.com/t/getting-mysql-gem-working-with-ruby-1-9-3-on-rvm/218114 "2012-03-22T15:15:46Z")

</div>

Hello Everyone I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want to set up the ‘redmine’. To install mysql gem I used --\> sudo env ARCHFLAGS="-arch x86\_64" gem install --no-rdoc --no-ri mysql – …

---

## [Rails: View specs and implicit parameters in link\_to()](https://www.ruby-forum.com/t/rails-view-specs-and-implicit-parameters-in-link-to/151059)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 3\
**Last updated:** [November 24, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/rails-view-specs-and-implicit-parameters-in-link-to/151059 "2008-11-24T17:01:04Z")

</div>

Hi all, I’ve been cleaning up our routing file, and removed the default map.connect “:controller/:action” route. It’s thrown up a bunch of sloppy mistakes, which is great, but I also think I’ve found a problem with t…

---

## [:store =\> :yes doesn't work in some cases](https://www.ruby-forum.com/t/store-yes-doesnt-work-in-some-cases/106210)

<div class="topic-metadata">

**Author:** [@jgrosjean](https://www.ruby-forum.com/u/jgrosjean)\
**Replies:** 3\
**Last updated:** [August 8, 2007, 2:11am UTC](https://www.ruby-forum.com/t/store-yes-doesnt-work-in-some-cases/106210 "2007-08-08T02:11:29Z")

</div>

I’m not really sure if this is a bug, but it makes my search results look a bit strange. I have an acts\_as\_ferret declaration that looks like: acts\_as\_ferret :store\_class\_name =\> true, :remote =\> true, :fields =\> { …

---

## [Discriminating two FK references into one table?](https://www.ruby-forum.com/t/discriminating-two-fk-references-into-one-table/184889)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 6\
**Last updated:** [March 11, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/discriminating-two-fk-references-into-one-table/184889 "2010-03-11T21:08:36Z")

</div>

My question MIGHT be "ActiveRecord play nice with multiple views into a table? I ask because my application has a single DateDimension table (heavily ornamented date objects). Each SalesFact has TWO foreign keys into…

---

## [How to connect SQLserver in rails](https://www.ruby-forum.com/t/how-to-connect-sqlserver-in-rails/158360)

<div class="topic-metadata">

**Author:** [@angaps](https://www.ruby-forum.com/u/angaps)\
**Replies:** 6\
**Last updated:** [January 22, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/how-to-connect-sqlserver-in-rails/158360 "2009-01-22T16:56:13Z")

</div>

Hai All I am newbie for the rails environment. I want to know how to connect the Sqlserver 2005 to the rails application. I have tried from the link http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQL…

---

## [Detecting width overflow in serialized column with mysql](https://www.ruby-forum.com/t/detecting-width-overflow-in-serialized-column-with-mysql/151469)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 6\
**Last updated:** [October 22, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/detecting-width-overflow-in-serialized-column-with-mysql/151469 "2008-10-22T22:41:37Z")

</div>

So I’ve got an ActiveRecord model pointing to a MySQL db, with an auto-serialized column (“serialize :columnName”). Thing is, MySQL, depending on how it’s configured (like, by default), has a bad habit of just truncat…

---

## [Why is Array#to\_f not defined?](https://www.ruby-forum.com/t/why-is-array-to-f-not-defined/138110)

<div class="topic-metadata">

**Author:** [@Fredrik](https://www.ruby-forum.com/u/Fredrik)\
**Replies:** 6\
**Last updated:** [May 20, 2008, 3:20pm UTC](https://www.ruby-forum.com/t/why-is-array-to-f-not-defined/138110 "2008-05-20T15:20:17Z")

</div>

Ruby (1.8.6) seems to be missing numeric conversion methods for Arrays : class Array def to\_f self.map { |i| i.to\_f } end end (and the same for to\_i) Did somebody forget to include that? :slight\_smile: Surely the…

---

## [Can't build SilverlightV3 configuration](https://www.ruby-forum.com/t/cant-build-silverlightv3-configuration/192168)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 4\
**Last updated:** [July 25, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/cant-build-silverlightv3-configuration/192168 "2010-07-25T21:17:55Z")

</div>

I can’t build IronRuby configured for silverlight. Here’s the command I tried: C:\\source\\RMXPx\\src\\Languages\\Ruby\>msbuild %DLR\_ROOT%\\Solutions\\Ruby.sln /p:Configuration=“Silverlight3Debug” /p:SilverlightPath="C:\\Prog…

---

## [Include array asociativo](https://www.ruby-forum.com/t/include-array-asociativo/147784)

<div class="topic-metadata">

**Author:** [@calabriama](https://www.ruby-forum.com/u/calabriama)\
**Replies:** 4\
**Last updated:** [September 5, 2008, 1:01pm UTC](https://www.ruby-forum.com/t/include-array-asociativo/147784 "2008-09-05T13:01:24Z")

</div>

Hola lista, estoy intentando comprobar si un array contiene un valor. Lo normal es: array= {a,b,c} array.include?(‘a’) Pero mi array es un array de hashes, podría hacer alguna chapucilla pero seguro que se puede hac…

---

## [Can anyone \*really\* explain opcode caching with PHP?](https://www.ruby-forum.com/t/can-anyone-really-explain-opcode-caching-with-php/217637)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 8, 2012, 8:16am UTC](https://www.ruby-forum.com/t/can-anyone-really-explain-opcode-caching-with-php/217637 "2012-03-08T08:16:11Z")

</div>

Hi folks Thinking of abandoning mod\_php for the wonderful world of nginx, but googling the issue of opcode caching with fastcgi is proving surprisingly confusing: there’s a lot of conflicting information out there. M…

---

## [Headless running Segfault](https://www.ruby-forum.com/t/headless-running-segfault/215015)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [December 23, 2011, 9:54am UTC](https://www.ruby-forum.com/t/headless-running-segfault/215015 "2011-12-23T09:54:24Z")

</div>

Hi again, I confirm that if I have started a X server from console and then export DISPLAY=:0 and run the thing, it works. Question is, why not otherwise? :slight\_smile: 2011/12/19 Chlo D. removed\_email\_address@doma…

---

## [Accepts\_nested\_attributes\_for and \_destroy not working (but no error messages)](https://www.ruby-forum.com/t/accepts-nested-attributes-for-and-destroy-not-working-but-no-error-messages/205769)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 15, 2011, 8:33am UTC](https://www.ruby-forum.com/t/accepts-nested-attributes-for-and-destroy-not-working-but-no-error-messages/205769 "2011-04-15T08:33:34Z")

</div>

I have a has\_many association and does some adding throug a nested form, i can add objects (images) and edit text this works fine. But when i try to delete items nothing happens. This is what my log looks like: Start…

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

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