# Top

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

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

---

## [ANN: jruby\_art-0.2.2.pre.gem](https://www.ruby-forum.com/t/ann-jruby-art-0-2-2-pre-gem/234162)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 11, 2015, 5:02pm UTC](https://www.ruby-forum.com/t/ann-jruby-art-0-2-2-pre-gem/234162 "2015-02-11T17:02:12Z")

</div>

Calling for Mac, Windows testers for the latest version of JRubyArt, a ruby wrapper for vanilla processing (processing.org), that does not require you install vanilla processing. To get started you need a minimum of j…

---

## [Jirb not printing](https://www.ruby-forum.com/t/jirb-not-printing/233139)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 19, 2014, 2:07pm UTC](https://www.ruby-forum.com/t/jirb-not-printing/233139 "2014-11-19T14:07:20Z")

</div>

Hello all, I´ve just developed a new Gem (SciCom) based on JRuby. It wraps Renjin an R interpreter for the JVM - in a Ruby syntax. This gem works fine when running on the shell, however, when running in Jirb calls t…

---

## [Ruby on Rails Dev. for company in Berlin wanted. Permanent position](https://www.ruby-forum.com/t/ruby-on-rails-dev-for-company-in-berlin-wanted-permanent-position/226407)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 0\
**Last updated:** [November 4, 2012, 11:30am UTC](https://www.ruby-forum.com/t/ruby-on-rails-dev-for-company-in-berlin-wanted-permanent-position/226407 "2012-11-04T11:30:42Z")

</div>

My client in Berlin has the goal to allow people to study with the best possible international study programs, optimized and flexible to meet individual interests and needs of its students. Innovative learning at the …

---

## [Campo DATE en formulario](https://www.ruby-forum.com/t/campo-date-en-formulario/223358)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 5:45pm UTC](https://www.ruby-forum.com/t/campo-date-en-formulario/223358 "2012-10-01T17:45:07Z")

</div>

Buenos dias a todos, Queria preguntarles si le ha pasado (luego de migrar su ruby y el rails) a la ultima version han visto cambios como cuando crear una aplicacion con los scaffold donde uno de los campos es tipo DAT…

---

## [Problema con rake db:migrate](https://www.ruby-forum.com/t/problema-con-rake-db-migrate/209851)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 24, 2011, 6:23pm UTC](https://www.ruby-forum.com/t/problema-con-rake-db-migrate/209851 "2011-07-24T18:23:21Z")

</div>

Hola a todos: Recientemente he formateado mi ordenador y al intentar continuar un proyecto de Rails en el que estaba trabajando tengo un problema con la base de datos MySql. He creado la base de datos con rake db:cre…

---

## [SVP aide avec gem NET//SSH](https://www.ruby-forum.com/t/svp-aide-avec-gem-net-ssh/200683)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 7:57pm UTC](https://www.ruby-forum.com/t/svp-aide-avec-gem-net-ssh/200683 "2010-12-19T19:57:56Z")

</div>

Bonjour j’utilise le gem “net:ssh” et je n’arrive pas à lancer plusieurs commandse successives. quand j’envoie la commande “cd desktop” puis “ls” en fait la seconde fois que j’utilise la commande “ls”, net::ss se comp…

---

## [RAILS en apache mod\_proxy](https://www.ruby-forum.com/t/rails-en-apache-mod-proxy/191647)

<div class="topic-metadata">

**Author:** [@rpcolom](https://www.ruby-forum.com/u/rpcolom)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 7:01pm UTC](https://www.ruby-forum.com/t/rails-en-apache-mod-proxy/191647 "2010-07-15T19:01:18Z")

</div>

Tengo una aplicacion que esta funcionando correctament en produccion sin mod\_proxy de Apache. La aplicacion se llama pasview.domain.com En la instalacion de produccion se ha instalado un proxy de apache que redireccio…

---

## [ActiveRecord's design allowing silent failure of object saves in associations](https://www.ruby-forum.com/t/activerecords-design-allowing-silent-failure-of-object-saves-in-associations/186134)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 0\
**Last updated:** [April 1, 2010, 12:17am UTC](https://www.ruby-forum.com/t/activerecords-design-allowing-silent-failure-of-object-saves-in-associations/186134 "2010-04-01T00:17:28Z")

</div>

I take issue with the faxt that in some cases ActiveRecord may automatically save records using “save” rather than “save!”. Specifically, this is when assigning an object to a “has\_one” relation, or adding an object …

---

## [Ld.exe cannot find -lusrp on windows](https://www.ruby-forum.com/t/ld-exe-cannot-find-lusrp-on-windows/167622)

<div class="topic-metadata">

**Author:** [@zainab-qureshi](https://www.ruby-forum.com/u/zainab-qureshi)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 1:49pm UTC](https://www.ruby-forum.com/t/ld-exe-cannot-find-lusrp-on-windows/167622 "2009-05-10T13:49:44Z")

</div>

I have successfully installed gnuradio on windows xp but i am having a slight problem running the C++ files. When i enter the following command on MinGW: $ g++ usrp\_test\_c++.cpp -o testusrp -lusrp I get the followin…

---

## [Link error](https://www.ruby-forum.com/t/link-error/233974)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 28, 2015, 10:12am UTC](https://www.ruby-forum.com/t/link-error/233974 "2015-01-28T10:12:35Z")

</div>

Hi all: Thank you in advance. I have use the tool “gr\_modtool” to create a cpp document.But an error exists: ImportError: /usr/local/lib/libgnuradio-mimo.so: undefined symbol: \_ZTIN2gr4mimo21csi\_int\_cfo\_vcvc\_implE …

---

## [Newby Slicing Question](https://www.ruby-forum.com/t/newby-slicing-question/231684)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 23, 2014, 9:27pm UTC](https://www.ruby-forum.com/t/newby-slicing-question/231684 "2014-08-23T21:27:07Z")

</div>

Okay, I’ve seen this question about the d\*mn ruby koans posted several places, but one aspect of fencepost slicing still eludes me. In the following array: array = \[:peanut, :butter, :and, :jelly\] I get: assert\_equa…

---

## [What is Fiddle?](https://www.ruby-forum.com/t/what-is-fiddle/230211)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 5, 2014, 7:15am UTC](https://www.ruby-forum.com/t/what-is-fiddle/230211 "2014-06-05T07:15:52Z")

</div>

When I run IRB at a command prompt, I get the message: “DL is deprecated. Please use Fiddle” What is Fiddle (a gem?) and how do I use it? Do I need a bow and music lessons? :slight\_smile:

---

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

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 27, 2014, 10:23am UTC](https://www.ruby-forum.com/t/restclient-error/239457 "2014-02-27T10:23:07Z")

</div>

Hi All, I’m using rest-client gem to send POST request but getting error that “connect attempt failed”. Below are few details on this. require ‘rest-client’ url=“http:///accounts” post=RestClient.post(url,{“email” …

---

## [Working with models, efficent queries](https://www.ruby-forum.com/t/working-with-models-efficent-queries/237996)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 8:55am UTC](https://www.ruby-forum.com/t/working-with-models-efficent-queries/237996 "2013-12-11T08:55:25Z")

</div>

i have a model with 35000 entries in the database. I was using a unique string as the primary key. Right now I am using the order method to return the model objects in order. I’d like to know what is good practice ( …

---

## [Help displaying text](https://www.ruby-forum.com/t/help-displaying-text/225742)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 28, 2013, 4:34pm UTC](https://www.ruby-forum.com/t/help-displaying-text/225742 "2013-01-28T16:34:30Z")

</div>

Apologies in advance …this may be a really dumb question but here goes. @formatted\_question\[:a\] contains text with HTML markup. I want to display it in a field so I can control its vertical and horizontal size on th…

---

## [Mixin objectvariables](https://www.ruby-forum.com/t/mixin-objectvariables/224771)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 26, 2012, 3:35pm UTC](https://www.ruby-forum.com/t/mixin-objectvariables/224771 "2012-11-26T15:35:11Z")

</div>

Hi, i tried to replace methods and variables common to many classes by a mixin. I attached the file that contains the module as well as the file where the module is mixed in. Here is a short schematic version of what …

---

## [Gem install fails so no installation of Rails](https://www.ruby-forum.com/t/gem-install-fails-so-no-installation-of-rails/224411)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 10, 2012, 10:54pm UTC](https://www.ruby-forum.com/t/gem-install-fails-so-no-installation-of-rails/224411 "2012-11-10T22:54:15Z")

</div>

On Ubuntu 12.04 trying to install Rails with $ gem install Rails fails with ERROR: Loading command: install (LoadError) cannot load such file – zlib ERROR: While executing gem … (NameError) uninitialized constant…

---

## [Request to add openSUSE 12.1 support to the build-gnuradio script](https://www.ruby-forum.com/t/request-to-add-opensuse-12-1-support-to-the-build-gnuradio-script/222639)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 4, 2012, 4:17pm UTC](https://www.ruby-forum.com/t/request-to-add-opensuse-12-1-support-to-the-build-gnuradio-script/222639 "2012-09-04T16:17:04Z")

</div>

I’ve just corresponded with Marcus L. about adding support for openSUSE 12.1 in the build-gnuradio script, and he’s said “The cmake hackery might be better placed in the Cmake rules in Gnu Radio itself–using yet-anot…

---

## [Problem with fpm php (wrong script location!)](https://www.ruby-forum.com/t/problem-with-fpm-php-wrong-script-location/217309)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 27, 2012, 9:26pm UTC](https://www.ruby-forum.com/t/problem-with-fpm-php-wrong-script-location/217309 "2012-02-27T21:26:37Z")

</div>

Hi, first of all: i am fairly new to nginx (used apache for several years now)… Works great, except fpm php… In the last 24h i have read many tutorials, forum posts and howtos… First there was no error message at al…

---

## [Turning a case/when into a Hash (for a yaml file)](https://www.ruby-forum.com/t/turning-a-case-when-into-a-hash-for-a-yaml-file/215703)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 13, 2012, 7:09am UTC](https://www.ruby-forum.com/t/turning-a-case-when-into-a-hash-for-a-yaml-file/215703 "2012-01-13T07:09:13Z")

</div>

x = 4\_924 case x when 0…100 1 when 101…500 2 when 501…1\_000 3 when 1\_001…5\_000 4 when 5\_000…1\_000\_000 5 else 0 end I would like to turn the above into: (a) a hash instead (b) store it into a yaml file. T…

---

## [Localhost path to images directory](https://www.ruby-forum.com/t/localhost-path-to-images-directory/214100)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 21, 2011, 9:11pm UTC](https://www.ruby-forum.com/t/localhost-path-to-images-directory/214100 "2011-11-21T21:11:26Z")

</div>

I have nginx and php5-fpm set up and working to serve /var/www/index.php as localhost/index.php That works fine. The images on the page are not showing up however. The images are in a folder /var/www/images The fold…

---

## [Rubygems-sandbox 1.1.0 Released](https://www.ruby-forum.com/t/rubygems-sandbox-1-1-0-released/212278)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 1, 2011, 6:54am UTC](https://www.ruby-forum.com/t/rubygems-sandbox-1-1-0-released/212278 "2011-10-01T06:54:14Z")

</div>

rubygems-sandbox version 1.1.0 has been released! https://github.com/seattlerb/rubygems-sandbox The sandbox plugin for rubygems helps you manage your command-line tools and their dependencies. Sandboxed gems are inst…

---

## [Shoes-mocks 0.0.2 release](https://www.ruby-forum.com/t/shoes-mocks-0-0-2-release/212216)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 26, 2011, 7:50am UTC](https://www.ruby-forum.com/t/shoes-mocks-0-0-2-release/212216 "2011-09-26T07:50:05Z")

</div>

shoes-mocks 0.0.2 has been released! http://github.com/shoes/shoes-mocks shoes-mocks is a library to help you unit test Shoes apps. shoes-mocks mocks out shoes, allowing you to test your shoes app itself in isolatio…

---

## [Extending Active Record - Rails 3 -](https://www.ruby-forum.com/t/extending-active-record-rails-3/211250)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 30, 2011, 10:28pm UTC](https://www.ruby-forum.com/t/extending-active-record-rails-3/211250 "2011-08-30T22:28:35Z")

</div>

I’m trying to extend Active Record to write a method that will convert validation errors to xml that can be consumed by Flex. But I’m following a tutorial that has been written for Rails 2 and I’m using Rails 3. Eac…

---

## [How to load a gem's .rb files AFTER Rails is loaded](https://www.ruby-forum.com/t/how-to-load-a-gems-rb-files-after-rails-is-loaded/208999)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 2, 2011, 6:30pm UTC](https://www.ruby-forum.com/t/how-to-load-a-gems-rb-files-after-rails-is-loaded/208999 "2011-07-02T18:30:49Z")

</div>

Hey, I have a gem called ‘authorizer’ which does authorization for me. It has two observer classes that need to be added to the list of ActiveRecord observers: config/environment.rb: require “authorizer/user\_observ…

---

## [\[newbie\] rails&prototype aggiungere classe ad alcuni elementi div](https://www.ruby-forum.com/t/newbie-rails-prototype-aggiungere-classe-ad-alcuni-elementi-div/201935)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 18, 2011, 11:58am UTC](https://www.ruby-forum.com/t/newbie-rails-prototype-aggiungere-classe-ad-alcuni-elementi-div/201935 "2011-01-18T11:58:02Z")

</div>

Ciao a tutti Domanda da vero newbie, ma ci sto sbattendo la testa da un pò nel programmino che sto facendo ho un partial che racchiude una serie di form per l’inerimento di dati (cosa molto semplice costruita con uno …

---

## [ActiveRecord Mixing Conditions + Better Way to Write This](https://www.ruby-forum.com/t/activerecord-mixing-conditions-better-way-to-write-this/195739)

<div class="topic-metadata">

**Author:** [@kingston](https://www.ruby-forum.com/u/kingston)\
**Replies:** 2\
**Last updated:** [September 29, 2010, 9:13pm UTC](https://www.ruby-forum.com/t/activerecord-mixing-conditions-better-way-to-write-this/195739 "2010-09-29T21:13:04Z")

</div>

Is There A better Way to Write this I have A Condition which previous Look Very clean and easy to understand like Account.first.websites.last.users.find(:all,:conditions =\> {:country =\> “XYZ”,:status =\> “Single”,:adm…

---

## [Ruby "distribuito"](https://www.ruby-forum.com/t/ruby-distribuito/192205)

<div class="topic-metadata">

**Author:** [@1w4n](https://www.ruby-forum.com/u/1w4n)\
**Replies:** 2\
**Last updated:** [July 27, 2010, 10:25am UTC](https://www.ruby-forum.com/t/ruby-distribuito/192205 "2010-07-27T10:25:13Z")

</div>

Ciao, sto partecipando ad un progetto di ricerca genetica e sto realizzando con altri colleghi un’applicazione web in Rails che tra le varie cose consente di organizzare e gestire le analisi “intensive” (dal punto di …

---

## [Resources on using RSpec with Sinatra](https://www.ruby-forum.com/t/resources-on-using-rspec-with-sinatra/177276)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 2\
**Last updated:** [October 14, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/resources-on-using-rspec-with-sinatra/177276 "2009-10-14T15:05:36Z")

</div>

Could anybody post resources on using RSpec with Sinatra?Thanks, Doug.

---

## [Nerd Dinner tonight in Redmond](https://www.ruby-forum.com/t/nerd-dinner-tonight-in-redmond/177245)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 2\
**Last updated:** [October 14, 2009, 12:51am UTC](https://www.ruby-forum.com/t/nerd-dinner-tonight-in-redmond/177245 "2009-10-14T00:51:25Z")

</div>

Please ignore if it’s unfeasible for you to come to the Redmond campus tonight =P Anyone want to the nerd dinner tonight? It’s open to anyone who wants to go. But you must register at this link: http://www.nerddinner…

---

## [Strange to\_formatted\_s problem](https://www.ruby-forum.com/t/strange-to-formatted-s-problem/176784)

<div class="topic-metadata">

**Author:** [@boblu](https://www.ruby-forum.com/u/boblu)\
**Replies:** 2\
**Last updated:** [October 6, 2009, 10:02am UTC](https://www.ruby-forum.com/t/strange-to-formatted-s-problem/176784 "2009-10-06T10:02:02Z")

</div>

my time zone is set like this config.time\_zone = ‘Tokyo’ I got this from console temp1.updated\_at =\> Tue, 06 Oct 2009 13:26:57 JST +09:00 temp1.updated\_at.to\_formatted\_s(:db) =\> “2009-10-06 04:26:57” temp1.u…

---

## [Load balancing and caching combination problem](https://www.ruby-forum.com/t/load-balancing-and-caching-combination-problem/174676)

<div class="topic-metadata">

**Author:** [@fredericsidler](https://www.ruby-forum.com/u/fredericsidler)\
**Replies:** 2\
**Last updated:** [September 1, 2009, 7:50am UTC](https://www.ruby-forum.com/t/load-balancing-and-caching-combination-problem/174676 "2009-09-01T07:50:15Z")

</div>

I just installed nginx 0.8.11 in order to use the $upstream\_cache\_status variable. I can see now in the logs that my URLs (ics feed URLs) are cached and retrieved from the cache (MISS, HIT, EXPIRED) based on my cachin…

---

## [Html::document errors](https://www.ruby-forum.com/t/html-document-errors/170885)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 2\
**Last updated:** [June 26, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/html-document-errors/170885 "2009-06-26T16:02:02Z")

</div>

And Joe should see a radio button representing the answer ‘OJ’ features/step\_definitions/trat\_steps.rb:111 uninitialized constant HTML::Document (NameError) /home/joe/projects/cisv/vendor/plugins/rspec/lib/spec/matc…

---

## [HABTM & find\_all\_by](https://www.ruby-forum.com/t/habtm-find-all-by/167930)

<div class="topic-metadata">

**Author:** [@akzidenz](https://www.ruby-forum.com/u/akzidenz)\
**Replies:** 2\
**Last updated:** [May 14, 2009, 12:24pm UTC](https://www.ruby-forum.com/t/habtm-find-all-by/167930 "2009-05-14T12:24:13Z")

</div>

Hello! I’m a little new to rails and have a strange problem i’m trying to decipher. I have a Project model and Category model, connected together by a HABTM (with a categorys\_projects join table) Rails is doing ever…

---

## [Packaging Rails App as Standalone EXE](https://www.ruby-forum.com/t/packaging-rails-app-as-standalone-exe/164390)

<div class="topic-metadata">

**Author:** [@jetienne](https://www.ruby-forum.com/u/jetienne)\
**Replies:** 2\
**Last updated:** [April 2, 2009, 5:54am UTC](https://www.ruby-forum.com/t/packaging-rails-app-as-standalone-exe/164390 "2009-04-02T05:54:56Z")

</div>

Hi, Does anyone know what is currently the proper way to distribute a Rails app as a windows exe (NT Service, how to package, …). I know there was Distributing Rails Applications - A Tutorial, but it’s pretty old. T…

---

## [Can rubygems do rdoc on update?](https://www.ruby-forum.com/t/can-rubygems-do-rdoc-on-update/163619)

<div class="topic-metadata">

**Author:** [@arvliet](https://www.ruby-forum.com/u/arvliet)\
**Replies:** 2\
**Last updated:** [March 23, 2009, 9:44am UTC](https://www.ruby-forum.com/t/can-rubygems-do-rdoc-on-update/163619 "2009-03-23T09:44:58Z")

</div>

I’ve added the following to my .gemrc file: gem: --rdoc rdoc: --fmt ajax --charset utf8 --exclude .generator. – exclude .test. --exclude .spec. This automatically builds rdocs on gem install, and gives me the ajax- …

---

## [Java Class losing its array attributes](https://www.ruby-forum.com/t/java-class-losing-its-array-attributes/162509)

<div class="topic-metadata">

**Author:** [@Hany\_Mesha](https://www.ruby-forum.com/u/Hany_Mesha)\
**Replies:** 2\
**Last updated:** [March 13, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/java-class-losing-its-array-attributes/162509 "2009-03-13T18:50:11Z")

</div>

Hi all, I’m working with JRuby 1.2RC1 where I ran into an issue that I don’t know whether it’s JRuby issue or otherwise so please be patient with me as I explain the issue. I have a ruby script calls a Java class th…

---

## [Is a global set of named\_scope scopes a bad idea? If not, is it possible?](https://www.ruby-forum.com/t/is-a-global-set-of-named-scope-scopes-a-bad-idea-if-not-is-it-possible/161619)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 2\
**Last updated:** [February 27, 2009, 11:24pm UTC](https://www.ruby-forum.com/t/is-a-global-set-of-named-scope-scopes-a-bad-idea-if-not-is-it-possible/161619 "2009-02-27T23:24:02Z")

</div>

I’ve noticed that several of my models contain the same set of named\_scopes (ones for active, various access levels, etc.). I was thinking to avoid the duplication I’d try to pull that coat into a common file either …

---

## [\[BUG:trunk\] Array#push with no argument on a frozen array](https://www.ruby-forum.com/t/bug-trunk-array-push-with-no-argument-on-a-frozen-array/155634)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 2\
**Last updated:** [December 17, 2008, 7:58am UTC](https://www.ruby-forum.com/t/bug-trunk-array-push-with-no-argument-on-a-frozen-array/155634 "2008-12-17T07:58:18Z")

</div>

Yuguie$B$G$9e(B Freezee$B$5$l$?G\[Ns$+$ie(B0e$B8De(Bpope$B$7$h$&$H$9$k$He(BArgumentErrore$B$,H/@8$7$^$9!#e(B (1.8.7e$B$G$Oe(BTypeError) \[1, 2\].freeze.pop(0) #=\> ArgumentError e$B0lJ}e(BFreezee$B$5$l$?G\[Ns$Ke(B0e$B8De…

---

## [\[Bug #892\] test/ruby/test\_metaclass.rb: no such file to load -- ~/dev/metaclass\_util/metaclass\_util](https://www.ruby-forum.com/t/bug-892-test-ruby-test-metaclass-rb-no-such-file-to-load-dev-metaclass-util-metaclass-util/155764)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 2\
**Last updated:** [December 17, 2008, 2:07am UTC](https://www.ruby-forum.com/t/bug-892-test-ruby-test-metaclass-rb-no-such-file-to-load-dev-metaclass-util-metaclass-util/155764 "2008-12-17T02:07:59Z")

</div>

Bug #892: test/ruby/test\_metaclass.rb: no such file to load – ~/dev/metaclass\_util/metaclass\_util http://redmine.ruby-lang.org/issues/show/892 e$B5/I\<\<Te(B: Yukihiro M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal t…

---

## [Redirecting to a different controller from a search box](https://www.ruby-forum.com/t/redirecting-to-a-different-controller-from-a-search-box/153137)

<div class="topic-metadata">

**Author:** [@vahagn](https://www.ruby-forum.com/u/vahagn)\
**Replies:** 2\
**Last updated:** [November 12, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/redirecting-to-a-different-controller-from-a-search-box/153137 "2008-11-12T16:11:38Z")

</div>

Hi,- I have a main page with a search box. When the user enters a query and hits “Search” I want to redirect him to another page (another controller with a search action), and display the results on that page. My for…

---

## [Code Review: ParseTree5](https://www.ruby-forum.com/t/code-review-parsetree5/151411)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [October 22, 2008, 2:37am UTC](https://www.ruby-forum.com/t/code-review-parsetree5/151411 "2008-10-22T02:37:55Z")

</div>

tfpt review “/shelveset:ParseTree5;REDMOND\\tomat” Comment : Bunch of tweaks to AST: removes some nodes that are notneeded any more, moves block argument out of Arguments to CallExpression, Fixes several bugs: ord…

---

## [Terminating php fastcgi processes](https://www.ruby-forum.com/t/terminating-php-fastcgi-processes/148884)

<div class="topic-metadata">

**Author:** [@Sergio\_Devojno\_Brud](https://www.ruby-forum.com/u/Sergio_Devojno_Brud)\
**Replies:** 2\
**Last updated:** [September 29, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/terminating-php-fastcgi-processes/148884 "2008-09-29T13:41:53Z")

</div>

offtopic: its more about php than nginx: there is any similar to apache\_child\_terminate for fastcgi php´s? My last resort of exec(’/usr/bin/kill '.getmypid()) plainly doesnt worked, the output is broken (nginx spit ou…

---

## [ActiveResource e post method](https://www.ruby-forum.com/t/activeresource-e-post-method/147547)

<div class="topic-metadata">

**Author:** [@reis](https://www.ruby-forum.com/u/reis)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/activeresource-e-post-method/147547 "2008-09-03T18:35:55Z")

</div>

Ciao a tutti, in questi giorni sto usando un pochino ActiveResource e volevo fare dei test, ma purtroppo ci giro attorno senza una soluzione. Premetto che i test che lavorano su GET, PUT e DELETE funzionano, anche se …

---

## [Hpricot and path of an elememt](https://www.ruby-forum.com/t/hpricot-and-path-of-an-elememt/145496)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [August 11, 2008, 3:01pm UTC](https://www.ruby-forum.com/t/hpricot-and-path-of-an-elememt/145496 "2008-08-11T15:01:24Z")

</div>

Hi all, I use hpricot to load a page. Then I try to find the path for an element “font”() in the page. Here is the tutorial (http://code.whytheluckystiff.net/hpricot/wiki/HpricotBasics): doc.at(“#header”).xpath #=\>…

---

## [Link\_to to change input value](https://www.ruby-forum.com/t/link-to-to-change-input-value/145097)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 2\
**Last updated:** [August 6, 2008, 9:37am UTC](https://www.ruby-forum.com/t/link-to-to-change-input-value/145097 "2008-08-06T09:37:09Z")

</div>

hi, \<%= text\_field\_tag :search\_id, params\[:search\_id\], :id=\>“search\_id” %\> how would I make a link\_to with an :onclick to change the input field with id=“search\_id”? Thanks!

---

## [Packaging JRuby Swing app using Profligacy into a .jar](https://www.ruby-forum.com/t/packaging-jruby-swing-app-using-profligacy-into-a-jar/144366)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 2\
**Last updated:** [July 30, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/packaging-jruby-swing-app-using-profligacy-into-a-jar/144366 "2008-07-30T18:35:43Z")

</div>

On Jul 28, 7:01 pm, “Vladimir S.” removed\_email\_address@domain.invalid wrote: Hi Chris, Maybe this article by Matt Fletcher would be of help:http:// spin.atomicobject.com/2008/07/02/rolling-a-jruby-desktop-appli… Th…

---

## [WPF philosophy](https://www.ruby-forum.com/t/wpf-philosophy/142660)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 2\
**Last updated:** [July 10, 2008, 11:26am UTC](https://www.ruby-forum.com/t/wpf-philosophy/142660 "2008-07-10T11:26:51Z")

</div>

Hi I don’t really know if this is an appropriate discussion but here it goes. Ruby and Xaml at first sight a DSL is very appropriate to get rid of the xml syntax. I’m all for that :slight\_smile: However the price yo…

---

## [Error loading cookbook sample on Rack](https://www.ruby-forum.com/t/error-loading-cookbook-sample-on-rack/139018)

<div class="topic-metadata">

**Author:** [@Vivek\_P](https://www.ruby-forum.com/u/Vivek_P)\
**Replies:** 2\
**Last updated:** [May 30, 2008, 12:25am UTC](https://www.ruby-forum.com/t/error-loading-cookbook-sample-on-rack/139018 "2008-05-30T00:25:04Z")

</div>

Hi, I am trying to dpeloy a WAR file created using warbler 0.9.9 (with Rack) and deploy it on GlassFish. The application comes up fine but in the server log error message is logged saying it can not find certain fil…

---

## [How to get a POST data from in controller?](https://www.ruby-forum.com/t/how-to-get-a-post-data-from-in-controller/135271)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 21, 2008, 8:40am UTC](https://www.ruby-forum.com/t/how-to-get-a-post-data-from-in-controller/135271 "2008-04-21T08:40:50Z")

</div>

Hi, I am newbie in Ruby. Here is the situation I meet: I got a javascript app that will send string data by using HTTP POST method to another ruby app. Here is the url: http://localhost:3000/home/receive\_data So, t…

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

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