# Top

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

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

---

## [Database connections...so many connections!](https://www.ruby-forum.com/t/database-connections-so-many-connections/74068)

<div class="topic-metadata">

**Author:** [@jjantz](https://www.ruby-forum.com/u/jjantz)\
**Replies:** 5\
**Last updated:** [February 28, 2006, 12:21am UTC](https://www.ruby-forum.com/t/database-connections-so-many-connections/74068 "2006-02-28T00:21:32Z")

</div>

Hello all. I am currently running a very simple ruby app. It connects to an Oracle server using the OCI8 adapter. I have two controllers, each one connects to a different schema on the server, I looked at the WIKI th…

---

## [ActiveRecord/Supporty-4.1, undefined method \`assertions'](https://www.ruby-forum.com/t/activerecord-supporty-4-1-undefined-method-assertions/231241)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 30, 2014, 10:44pm UTC](https://www.ruby-forum.com/t/activerecord-supporty-4-1-undefined-method-assertions/231241 "2014-07-30T22:44:44Z")

</div>

If there is a list devoted to ActiveRecord problems then I would appreciate a redirect. In the absence of same I need some assistance with part of RoRs stack, namely ActiveRecord and the testing thereof. I have a cl…

---

## [Should validate\_numericality\_of with greater\_than\_or\_equal\_to](https://www.ruby-forum.com/t/should-validate-numericality-of-with-greater-than-or-equal-to/211435)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 4, 2011, 7:31am UTC](https://www.ruby-forum.com/t/should-validate-numericality-of-with-greater-than-or-equal-to/211435 "2011-09-04T07:31:41Z")

</div>

Hello, I have this in my spec it { should validate\_numericality\_of(:amount).greater\_than\_or\_equal\_to(0) } but I get error: Failure/Error: it { should validate\_numericality\_of(:amount).greater\_than\_or\_equal\_to(0) } …

---

## [Two dimensional ruby array to java array](https://www.ruby-forum.com/t/two-dimensional-ruby-array-to-java-array/201051)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 29, 2010, 6:59pm UTC](https://www.ruby-forum.com/t/two-dimensional-ruby-array-to-java-array/201051 "2010-12-29T18:59:03Z")

</div>

I’m trying to convert a list of lists of strings in jruby to a properly typed java array to send to a java function. I’m familiar with the .to\_java method on lists, but I’m not sure how to properly type everything. f…

---

## [Logging with Trinidad?](https://www.ruby-forum.com/t/logging-with-trinidad/193869)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 3\
**Last updated:** [August 25, 2010, 10:20pm UTC](https://www.ruby-forum.com/t/logging-with-trinidad/193869 "2010-08-25T22:20:17Z")

</div>

I’m starting to use Trinidad, and one of the first things I noticed is that it doesn’t write to the normal rails log at all. I don’t see anything in the doc about custom trindad logging, but it looks like I’m not the…

---

## [Acts\_as\_ferret not working with mongrel](https://www.ruby-forum.com/t/acts-as-ferret-not-working-with-mongrel/192786)

<div class="topic-metadata">

**Author:** [@lucky1234](https://www.ruby-forum.com/u/lucky1234)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 2:20pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-not-working-with-mongrel/192786 "2010-08-05T14:20:20Z")

</div>

Hi Am using ruby 1.8.7 and rails 2.3.5 When a performing update or create on models am getting ferret error. In my server app runnign with developemntmode + morethan one mongrel servers. Ferret::FileNotFoundError (Fi…

---

## [Problem with javascript\_include\_tag with :cache](https://www.ruby-forum.com/t/problem-with-javascript-include-tag-with-cache/128803)

<div class="topic-metadata">

**Author:** [@tnitsche](https://www.ruby-forum.com/u/tnitsche)\
**Replies:** 3\
**Last updated:** [December 4, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/problem-with-javascript-include-tag-with-cache/128803 "2009-12-04T20:19:35Z")

</div>

Hi, I’m using the Rails 2 feature for asset packing, but I still can’t figure out how Rails decides when to expire a cached asset package. I’m using \<%= javascript\_include\_tag “prototype”, “application”, “effects”, …

---

## [How to edit xml file?](https://www.ruby-forum.com/t/how-to-edit-xml-file/158427)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 3\
**Last updated:** [January 23, 2009, 5:02pm UTC](https://www.ruby-forum.com/t/how-to-edit-xml-file/158427 "2009-01-23T17:02:04Z")

</div>

Dear all, I have an xml server settings file and iam in process of editing the xml server settings file. could anyone suggest me how to edit the xml file. My xml file. /home/user/pictures 192.168.0.111 I need…

---

## [GStreamer and GstController](https://www.ruby-forum.com/t/gstreamer-and-gstcontroller/144435)

<div class="topic-metadata">

**Author:** [@Christophe\_B](https://www.ruby-forum.com/u/Christophe_B)\
**Replies:** 3\
**Last updated:** [November 11, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/gstreamer-and-gstcontroller/144435 "2008-11-11T14:13:10Z")

</div>

Hello everyone, I would like to implement alpha fades with two video sources on a timeline, like it is explained at: http://www.ocf.berkeley.edu/~brandon/wiki/index.php5?title=Working\_With\_GNonLin Since I want the fa…

---

## [Imagen en boton de formulario](https://www.ruby-forum.com/t/imagen-en-boton-de-formulario/87382)

<div class="topic-metadata">

**Author:** [@juapdiaz](https://www.ruby-forum.com/u/juapdiaz)\
**Replies:** 3\
**Last updated:** [March 2, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/imagen-en-boton-de-formulario/87382 "2007-03-02T15:58:33Z")

</div>

Hola a todos, Estoy usando form\_remote\_tag para hacer un formulario en ajax y quiero saber si hay alguna manera de cambiar el botÃ³n que genera submit\_tag por una imagen, asÃ­ como se puede hacer con link\_to? desde …

---

## [Is\_class from a String?](https://www.ruby-forum.com/t/is-class-from-a-string/84989)

<div class="topic-metadata">

**Author:** [@leandro\_nascimento\_S](https://www.ruby-forum.com/u/leandro_nascimento_S)\
**Replies:** 3\
**Last updated:** [February 9, 2007, 2:30am UTC](https://www.ruby-forum.com/t/is-class-from-a-string/84989 "2007-02-09T02:30:39Z")

</div>

I have a dynamic String entry and I want know if it represents some any existing Class name (in a given modules set loaded)? How to do that. PS.: I’m using Rails and I need to know if there is some Model with a given…

---

## [Another Edge Rails Issue (Sorry)](https://www.ruby-forum.com/t/another-edge-rails-issue-sorry/55838)

<div class="topic-metadata">

**Author:** [@jay](https://www.ruby-forum.com/u/jay)\
**Replies:** 3\
**Last updated:** [March 26, 2006, 12:03am UTC](https://www.ruby-forum.com/t/another-edge-rails-issue-sorry/55838 "2006-03-26T00:03:02Z")

</div>

I know that this general topic has been covered a lot in on this list, so I apologize for adding another, but this problem seems to be slightly different from what others have experienced. Like everyone else, I’m tryi…

---

## [Sendfile\_max\_chunk breaking unbufferred php-fcgi](https://www.ruby-forum.com/t/sendfile-max-chunk-breaking-unbufferred-php-fcgi/242309)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 15, 2015, 12:40pm UTC](https://www.ruby-forum.com/t/sendfile-max-chunk-breaking-unbufferred-php-fcgi/242309 "2015-06-15T12:40:03Z")

</div>

Hi, I was having the problem that if a single client on the local LAN is downloading a large static file, the download is effectively monopolizing nginx, and no other requests are handled simultaneously. Reading the…

---

## [How to set the bandwidth in WX GUI FFT Sink](https://www.ruby-forum.com/t/how-to-set-the-bandwidth-in-wx-gui-fft-sink/239005)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [February 7, 2014, 11:23am UTC](https://www.ruby-forum.com/t/how-to-set-the-bandwidth-in-wx-gui-fft-sink/239005 "2014-02-07T11:23:52Z")

</div>

Hello, I have a USRP B100 from Ettus and I am receiving FM Radio. I plotted the RF Spectrum and the baseband spectrum in a notebook, but I don’t know how to change the frequency axis or zoom in the graph. I want to …

---

## [Extending/embedding Ruby](https://www.ruby-forum.com/t/extending-embedding-ruby/215896)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [January 19, 2012, 7:36pm UTC](https://www.ruby-forum.com/t/extending-embedding-ruby/215896 "2012-01-19T19:36:23Z")

</div>

Hi! I would like to extend nfdump in Ruby, which will be probably challenge for me, because I have never write any extension. What is core thing is, that nfdump reads binary file with huge amount of data. This reading…

---

## [\[Ruby 1.9 - Bug #5363\]\[Open\] OpenSSL::ASN1.decode all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生する](https://www.ruby-forum.com/t/ruby-1-9-bug-5363-open-openssl-asn1-decode-all-pem-segmentation-fault/212189)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [September 27, 2011, 5:49am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-5363-open-openssl-asn1-decode-all-pem-segmentation-fault/212189 "2011-09-27T05:49:15Z")

</div>

Issue #5363 has been reported by Hiroshi Y… Bug #5363: OpenSSL::ASN1.decode\_all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生する Author: Hiroshi Y. Status: Open Priority: Normal Assignee: Category: Target version…

---

## [Run CGI scripts in own webserver](https://www.ruby-forum.com/t/run-cgi-scripts-in-own-webserver/204788)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [March 22, 2011, 2:16am UTC](https://www.ruby-forum.com/t/run-cgi-scripts-in-own-webserver/204788 "2011-03-22T02:16:48Z")

</div>

Hello, Does anybody know how I can run ruby cgi scripts in my web server. I coded the webserver myself in ruby. At this moment I use ERB to parse the .rhtml files. It all works fine but now i want to use the function…

---

## [Enumerators and generators](https://www.ruby-forum.com/t/enumerators-and-generators/191993)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 7\
**Last updated:** [July 22, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/enumerators-and-generators/191993 "2010-07-22T18:28:52Z")

</div>

Hi, all… I’m trying to grasp when/why one might use a generator instead of an enumerator (or vice versa). I’ve used generators, but enumerators are newer to me. I’ve heard one person’s take on this (thanks David!) bu…

---

## [YAML and DateTime](https://www.ruby-forum.com/t/yaml-and-datetime/111068)

<div class="topic-metadata">

**Author:** [@Paul\_McMahon](https://www.ruby-forum.com/u/Paul_McMahon)\
**Replies:** 1\
**Last updated:** [April 13, 2010, 5:21pm UTC](https://www.ruby-forum.com/t/yaml-and-datetime/111068 "2010-04-13T17:21:15Z")

</div>

It seems that cannot store instances of DateTime, but instead stores them as Time. irb(main):001:0\> require “yaml” =\> true irb(main):003:0\> YAML.load(DateTime.now.to\_yaml).class =\> Time This causes issues when you…

---

## [Knowing when to go to multiple mongrel instances or dedicated server](https://www.ruby-forum.com/t/knowing-when-to-go-to-multiple-mongrel-instances-or-dedicated-server/162519)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [March 11, 2009, 10:29pm UTC](https://www.ruby-forum.com/t/knowing-when-to-go-to-multiple-mongrel-instances-or-dedicated-server/162519 "2009-03-11T22:29:33Z")

</div>

I have a rails app with a growing user base. Right now it is on a single mongrel instance on a shared server. Is there a quantifiable method I can use to measure when I need to add mongrel instances, or move to a de…

---

## [Usar Twitter plugin](https://www.ruby-forum.com/t/usar-twitter-plugin/161409)

<div class="topic-metadata">

**Author:** [@forever](https://www.ruby-forum.com/u/forever)\
**Replies:** 7\
**Last updated:** [February 26, 2009, 6:30pm UTC](https://www.ruby-forum.com/t/usar-twitter-plugin/161409 "2009-02-26T18:30:59Z")

</div>

Buenos dias, alguien ha usado algun plugin de twitter o Â¿existe algun plugin para mi aplicaciÃ³n rails?. La idea es implementar twitter en mi aplicaciÃ³n. Me gustarÃ­a que si alguien ha usado algo de twitter que me e…

---

## [Needs some help with eager loading issue on a has\_many through relationship](https://www.ruby-forum.com/t/needs-some-help-with-eager-loading-issue-on-a-has-many-through-relationship/154688)

<div class="topic-metadata">

**Author:** [@hoenth](https://www.ruby-forum.com/u/hoenth)\
**Replies:** 7\
**Last updated:** [December 4, 2008, 4:18pm UTC](https://www.ruby-forum.com/t/needs-some-help-with-eager-loading-issue-on-a-has-many-through-relationship/154688 "2008-12-04T16:18:50Z")

</div>

I have the following: A model called Student, which is an STI sub-class of Person Student has the following associations has\_many :homerooms has\_many :classrooms, :through =\> :homerooms has\_one :current\_classroom, …

---

## [CX2388x + Xceive XC2028/3028 tuner](https://www.ruby-forum.com/t/cx2388x-xceive-xc2028-3028-tuner/146153)

<div class="topic-metadata">

**Author:** [@lewdsilver](https://www.ruby-forum.com/u/lewdsilver)\
**Replies:** 1\
**Last updated:** [August 26, 2008, 3:19pm UTC](https://www.ruby-forum.com/t/cx2388x-xceive-xc2028-3028-tuner/146153 "2008-08-26T15:19:41Z")

</div>

Hello, I’m sorry to bother with this question, but I don’t have the necessary technical knowledge to answer it. A couple years ago a module for the CX2388x video processor so it could work as an ADC for GNU Radio feed…

---

## [XAMPP y Ruby on Rails](https://www.ruby-forum.com/t/xampp-y-ruby-on-rails/144604)

<div class="topic-metadata">

**Author:** [@lopez](https://www.ruby-forum.com/u/lopez)\
**Replies:** 1\
**Last updated:** [July 31, 2008, 1:42pm UTC](https://www.ruby-forum.com/t/xampp-y-ruby-on-rails/144604 "2008-07-31T13:42:06Z")

</div>

Hola, pretendo usar XAMPP para trabajar con mi proyecto en Ruby on Rails lo que no se es como configurarlo para que ande correctamente con RoR. Â¿Alguien usa XAMPP y lo a configurado? Un saludo y gracias.

---

## [View link not working](https://www.ruby-forum.com/t/view-link-not-working/88440)

<div class="topic-metadata">

**Author:** [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Replies:** 7\
**Last updated:** [March 12, 2007, 4:05am UTC](https://www.ruby-forum.com/t/view-link-not-working/88440 "2007-03-12T04:05:29Z")

</div>

The problem variable here is @item\_class. It’s not passing as an extra parameter. I have in my partial \<%= @item\_class.name %\> #Just to make sure @item\_class is not null \<%= link\_to\_if someCondition, ‘myLink’, :actio…

---

## [Another rewrite/try files issue](https://www.ruby-forum.com/t/another-rewrite-try-files-issue/207295)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 23, 2011, 10:02pm UTC](https://www.ruby-forum.com/t/another-rewrite-try-files-issue/207295 "2011-05-23T22:02:52Z")

</div>

Hello, I am having the following problem: I want to have a “virtual” url e.g. “/myapp” to have a totally different document root e.g. “/home/stelios/myapp” (instead of the default ‘/var/www’) locations of the type “…

---

## [Need help with oracle adapter](https://www.ruby-forum.com/t/need-help-with-oracle-adapter/205584)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [April 12, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/need-help-with-oracle-adapter/205584 "2011-04-12T14:18:21Z")

</div>

Hi all, I have been struggling with this problem for a while. I cannot insert into a table (simple action) with auto-increment mechanism. I have got: rvm with ruby 1.8.7 gem -v is: 1.6.2 rails -v is" 3.0.5 ruby-…

---

## [Possible WBX Board Failure](https://www.ruby-forum.com/t/possible-wbx-board-failure/204371)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 11, 2011, 5:45pm UTC](https://www.ruby-forum.com/t/possible-wbx-board-failure/204371 "2011-03-11T17:45:49Z")

</div>

Hello, When using a particular WBX daughtercard I get this message from my script: Current recv sock buff size: 60000000 bytes mboard0 MIMO master Warning: Unknown transceiver board ID combination… RX dboard ID: W…

---

## [Two stage array sorting](https://www.ruby-forum.com/t/two-stage-array-sorting/178197)

<div class="topic-metadata">

**Author:** [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Replies:** 6\
**Last updated:** [October 31, 2009, 12:08am UTC](https://www.ruby-forum.com/t/two-stage-array-sorting/178197 "2009-10-31T00:08:25Z")

</div>

I have an array of strings like so: Tuesday 12:00 AM Sunday 9:00 AM Tuesday 3:00 PM Friday 7:30 AM Wednesday 5:00 PM and I want the array sorted by day name and then time. Is it possible to do this without resorti…

---

## [Instalar attachment\_fu](https://www.ruby-forum.com/t/instalar-attachment-fu/159244)

<div class="topic-metadata">

**Author:** [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Replies:** 6\
**Last updated:** [February 2, 2009, 7:26pm UTC](https://www.ruby-forum.com/t/instalar-attachment-fu/159244 "2009-02-02T19:26:31Z")

</div>

hola como varios deben saber esta es la primera vez que trato de instalar un plugin. Alguien me podria decir cual es el repositorio del plugin?? es que he tratado con todo que he encontrado y no pasa nada, sale lo s…

---

## [Ressources imbriquÃ©es dans un form\_for](https://www.ruby-forum.com/t/ressources-imbriqua-es-dans-un-form-for/145050)

<div class="topic-metadata">

**Author:** [@vbarre](https://www.ruby-forum.com/u/vbarre)\
**Replies:** 6\
**Last updated:** [August 6, 2008, 1:40pm UTC](https://www.ruby-forum.com/t/ressources-imbriqua-es-dans-un-form-for/145050 "2008-08-06T13:40:26Z")

</div>

Bonjour Ã tous. J’ai deux ressources : class Artist \< AR::B … has\_one :person, :as =\> :personable … end class Person \< AR::B … belongs\_to :personable, :polymorphic =\> :true … end Ce qui permet d’attacher Per…

---

## [Hoq to send a message/mail to particular ip](https://www.ruby-forum.com/t/hoq-to-send-a-message-mail-to-particular-ip/92964)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 6\
**Last updated:** [April 27, 2007, 9:45am UTC](https://www.ruby-forum.com/t/hoq-to-send-a-message-mail-to-particular-ip/92964 "2007-04-27T09:45:21Z")

</div>

Hello everybody ! I’m newbie to ruby. Is there anyway to send a message or mail to particular available ip. Please give some suggestion. Regards, Veeraa.

---

## [Help on pp / Wirble (irb)?](https://www.ruby-forum.com/t/help-on-pp-wirble-irb/82890)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 6\
**Last updated:** [January 23, 2007, 9:20pm UTC](https://www.ruby-forum.com/t/help-on-pp-wirble-irb/82890 "2007-01-23T21:20:14Z")

</div>

Wirble is an enhancement to irb that gives you syntax coloring. http://pablotron.org/software/wirble/ It also loads a few gems automatically, such as pp and irb/completion; doing this also enhances irb, obviously. Ho…

---

## [Help me about Paperclip](https://www.ruby-forum.com/t/help-me-about-paperclip/227290)

<div class="topic-metadata">

**Author:** [@haxuanlac](https://www.ruby-forum.com/u/haxuanlac)\
**Replies:** 8\
**Last updated:** [March 11, 2013, 11:11am UTC](https://www.ruby-forum.com/t/help-me-about-paperclip/227290 "2013-03-11T11:11:42Z")

</div>

I want to upload,dowload image in RoR and i know Paperclip can help me it.But i can’t setup Paperlist in Win dow to run application.This is link i am learning http://codeabout.wordpress.com/2011/03/08/gem-paperclip-up…

---

## [Bisarre comma](https://www.ruby-forum.com/t/bisarre-comma/208154)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [June 12, 2011, 6:21pm UTC](https://www.ruby-forum.com/t/bisarre-comma/208154 "2011-06-12T18:21:00Z")

</div>

Issue #3456 has been updated by Koichi Sasada. 長期的な展望としては，この件はどうなるべきでしょうか． Bug #3456: bisarre comma Author: Shyouhei U. Status: Assigned Priority: Normal Assignee: Yukihiro M. Category: core Target version: 1.9.…

---

## [Some unrecognized syntax error](https://www.ruby-forum.com/t/some-unrecognized-syntax-error/203964)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [March 3, 2011, 1:35am UTC](https://www.ruby-forum.com/t/some-unrecognized-syntax-error/203964 "2011-03-03T01:35:18Z")

</div>

test.rb:1: syntax error, unexpected kDEF, expecting $end usagesagechecker.rb’ I don’t understand what does this error really means. Some said its all about whitespaces. Problem happens when I launch test.rb script: r…

---

## [Hacer un insert en un ciclo](https://www.ruby-forum.com/t/hacer-un-insert-en-un-ciclo/184403)

<div class="topic-metadata">

**Author:** [@k\_liliana](https://www.ruby-forum.com/u/k_liliana)\
**Replies:** 8\
**Last updated:** [March 3, 2010, 8:08pm UTC](https://www.ruby-forum.com/t/hacer-un-insert-en-un-ciclo/184403 "2010-03-03T20:08:30Z")

</div>

Hola. quiero hacer un insert a mi base de datos mediante un ciclo es decir que en el cliclo este la columna y el valor. de los datos alguien sabe si se puede? inventario\_tem = InventarioTem.new( while @y \< @datostot…

---

## [Rubygems](https://www.ruby-forum.com/t/rubygems/158297)

<div class="topic-metadata">

**Author:** [@mauro](https://www.ruby-forum.com/u/mauro)\
**Replies:** 8\
**Last updated:** [January 22, 2009, 10:40pm UTC](https://www.ruby-forum.com/t/rubygems/158297 "2009-01-22T22:40:46Z")

</div>

Anziche’ installarmi rubygem dal tar scaricato da rubyforge, preferisco installarmi il deb di debian, tanto la versione e’ la stessa. Siccome pero’ avevo installato in precendenza rubygem dal tar col comando ruby set…

---

## [Code Critique: check if int or float](https://www.ruby-forum.com/t/code-critique-check-if-int-or-float/107375)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 8\
**Last updated:** [June 21, 2007, 6:26pm UTC](https://www.ruby-forum.com/t/code-critique-check-if-int-or-float/107375 "2007-06-21T18:26:58Z")

</div>

Hello again folks, I’m really starting to like this language. I’m working towards building a simple expression evaluator. I couldn’t seem to find any methods for testing whether a string contains an integer or float. …

---

## [Appel XHR sur id avec substitution de variable](https://www.ruby-forum.com/t/appel-xhr-sur-id-avec-substitution-de-variable/105507)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSmy\_Dierx](https://www.ruby-forum.com/u/JSSSSrSSSSmy_Dierx)\
**Replies:** 8\
**Last updated:** [May 30, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/appel-xhr-sur-id-avec-substitution-de-variable/105507 "2007-05-30T18:16:55Z")

</div>

Bonjour ! je souhaite faire un appel XHR dont l’Ã©lÃ©ment html recepteur a un id variant (\<div id=“mon-id-\<%=obj.id%\>”). J’ai le code suivant dans mon controller : page.replace\_html ‘mon-id-#{obj.id}’, :partial =\> “m…

---

## [Server performance with nginx and mongrel - can you compare?](https://www.ruby-forum.com/t/server-performance-with-nginx-and-mongrel-can-you-compare/68293)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 8\
**Last updated:** [September 12, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/server-performance-with-nginx-and-mongrel-can-you-compare/68293 "2006-09-12T18:47:29Z")

</div>

I just did test based on http://blog.kovyrin.net/2006/08/28/ruby-performance-results/ My server is: Athlon 2.66GHz, 1GB RAM Rails 1.1.6. + latest mongrel and nginx OS: CentOS 4.4 Run in Rails production mode. I ha…

---

## [Modifying Model Output](https://www.ruby-forum.com/t/modifying-model-output/64010)

<div class="topic-metadata">

**Author:** [@winsmith](https://www.ruby-forum.com/u/winsmith)\
**Replies:** 8\
**Last updated:** [June 21, 2006, 1:52pm UTC](https://www.ruby-forum.com/t/modifying-model-output/64010 "2006-06-21T13:52:56Z")

</div>

Hi! I’m a very-very new Ruby-on-Rails user even if I have some experience with other Languages (mostly PHP, so this is my first real object-oriented language) My problem, newbie-ish as it is, is the following: I have…

---

## [I need to send an email when something happens in my model](https://www.ruby-forum.com/t/i-need-to-send-an-email-when-something-happens-in-my-model/57864)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 8\
**Last updated:** [April 15, 2006, 3:41pm UTC](https://www.ruby-forum.com/t/i-need-to-send-an-email-when-something-happens-in-my-model/57864 "2006-04-15T15:41:30Z")

</div>

but the model isn’t the right place to send mail from. That just seems like pretty bad coupling, generating emails from within the model. Or is that not a problem? On top of that, these emails need to contain links…

---

## [Install rmagick in win32,but no work](https://www.ruby-forum.com/t/install-rmagick-in-win32-but-no-work/54776)

<div class="topic-metadata">

**Author:** [@adong](https://www.ruby-forum.com/u/adong)\
**Replies:** 8\
**Last updated:** [March 15, 2006, 8:44am UTC](https://www.ruby-forum.com/t/install-rmagick-in-win32-but-no-work/54776 "2006-03-15T08:44:39Z")

</div>

i use instantRails 1.0 on winxp.download ‘RMagick-1.9.2-IM-6.2.4-6-win32.zip’ from www after install,i write code in irb: require ‘RMagick’ it shows follow errors: no such file to load – RMagick. why?

---

## [Top Ruby jobs in London](https://www.ruby-forum.com/t/top-ruby-jobs-in-london/241109)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 13, 2014, 12:53pm UTC](https://www.ruby-forum.com/t/top-ruby-jobs-in-london/241109 "2014-05-13T12:53:01Z")

</div>

I am looking to bring senior developers over to London for some of the best Ruby positions available. We are AdRoc Group , a niche recruitment consultancy based in London who partners with a number of the UK and Europ…

---

## [Rspec not loading fixtures](https://www.ruby-forum.com/t/rspec-not-loading-fixtures/218156)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 3:54pm UTC](https://www.ruby-forum.com/t/rspec-not-loading-fixtures/218156 "2012-03-22T15:54:16Z")

</div>

I am taking over a code base and am trying to run the tests. I am somewhat new to RSpec so this might be a trivial problem. Basically I can tell that the fixtures are not getting loaded. All 100 tests fail with a simi…

---

## [\[ANN\] Release of Typo 6.0.8 - Bug Fixes](https://www.ruby-forum.com/t/ann-release-of-typo-6-0-8-bug-fixes/210661)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 13, 2011, 2:05pm UTC](https://www.ruby-forum.com/t/ann-release-of-typo-6-0-8-bug-fixes/210661 "2011-08-13T14:05:11Z")

</div>

Hello, Being the eighth of the Irving Penn series, this new Typo release comes only 3 days after the latest one, but it fixes a bunch of serious bugs that were discovered while using Typo 6.0.7 in the wild. As usual …

---

## [Fxpt\_nco vs rotator?](https://www.ruby-forum.com/t/fxpt-nco-vs-rotator/233647)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 31, 2014, 5:56am UTC](https://www.ruby-forum.com/t/fxpt-nco-vs-rotator/233647 "2014-12-31T05:56:09Z")

</div>

I’m experimenting with very fine frequency measurements (i.e. uHz resolution) at high sample rates. For instance, down-converting all the WWV signals from a 100 Msps chunk of HF spectrum to near 0 Hz then comparing t…

---

## [Pull request #31 - fix workitem 6345, implemented IO#binread](https://www.ruby-forum.com/t/pull-request-31-fix-workitem-6345-implemented-io-binread/210416)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 14, 2011, 10:16pm UTC](https://www.ruby-forum.com/t/pull-request-31-fix-workitem-6345-implemented-io-binread/210416 "2011-08-14T22:16:42Z")

</div>

The pull request #31 ( wi #6345 added IO#binread by enricosada · Pull Request #31 · IronLanguages/main · GitHub ) is for resolve workitem 6345 ( http://ironruby.codeplex.com/workitem/6345 ). Implemented IO#binread wit…

---

## [Custom matchers for request specs](https://www.ruby-forum.com/t/custom-matchers-for-request-specs/202863)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 8, 2011, 2:34pm UTC](https://www.ruby-forum.com/t/custom-matchers-for-request-specs/202863 "2011-02-08T14:34:12Z")

</div>

Hi all, I’m trying to create a custom matcher that will visit a given path and check it’s authenticated. Here’s what I have so far (using rspec-rails and capybara): matcher :require\_authentication do match do |path| …

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

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