# Top

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

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

---

## [Check for nil array](https://www.ruby-forum.com/t/check-for-nil-array/73308)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 8\
**Last updated:** [October 23, 2006, 9:45pm UTC](https://www.ruby-forum.com/t/check-for-nil-array/73308 "2006-10-23T21:45:47Z")

</div>

I have the following code: \<% for month in @months %\> \<%= render(:partial =\> “month” , :object =\> month) if month %\> Calendar year, 2006 is only partially complete–the first record is October 16, 2006. Therefore, I …

---

## [N00b: heterogeneous instances in views: any ideas?](https://www.ruby-forum.com/t/n00b-heterogeneous-instances-in-views-any-ideas/69428)

<div class="topic-metadata">

**Author:** [@thechak](https://www.ruby-forum.com/u/thechak)\
**Replies:** 8\
**Last updated:** [September 22, 2006, 5:28am UTC](https://www.ruby-forum.com/t/n00b-heterogeneous-instances-in-views-any-ideas/69428 "2006-09-22T05:28:18Z")

</div>

Hey all – This is a problem I’ve been banging my head against for a week or so, because Rails doesn’t provide a decent way to use inheritance in one’s model very well. Let’s suppose I have the following class definit…

---

## [Ruby and \*NIX environment variables](https://www.ruby-forum.com/t/ruby-and-nix-environment-variables/99822)

<div class="topic-metadata">

**Author:** [@apocalympse](https://www.ruby-forum.com/u/apocalympse)\
**Replies:** 8\
**Last updated:** [July 26, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/ruby-and-nix-environment-variables/99822 "2006-07-26T21:40:13Z")

</div>

'allo, Context: I’m replacing parts of an existing collection of shell scripts and bits of Perl with a unified Ruby system (this despite little to no understanding of either of the first two…). In one particular case,…

---

## [\[ANN\] inherits\_from: Multiple table inheritance](https://www.ruby-forum.com/t/ann-inherits-from-multiple-table-inheritance/96996)

<div class="topic-metadata">

**Author:** [@rwl4](https://www.ruby-forum.com/u/rwl4)\
**Replies:** 8\
**Last updated:** [July 5, 2006, 11:21am UTC](https://www.ruby-forum.com/t/ann-inherits-from-multiple-table-inheritance/96996 "2006-07-05T11:21:30Z")

</div>

Hey guys, I just implemented very simple and primitive class table inheritance in ActiveRecord. The goal is for this to become mature enough to become a true feature in Rails. Check it out here: http://removed\_email\_…

---

## [Extending login engine](https://www.ruby-forum.com/t/extending-login-engine/63638)

<div class="topic-metadata">

**Author:** [@Jay\_Powers](https://www.ruby-forum.com/u/Jay_Powers)\
**Replies:** 3\
**Last updated:** [June 19, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/extending-login-engine/63638 "2006-06-19T22:29:32Z")

</div>

I would like to add a few variables to an existing “login” method in the login engine. Is there an easy way to do that with out overriding the whole method? I also don’t want to copy the whole method in my class. T…

---

## [500 Server Error - stumping me at the moment](https://www.ruby-forum.com/t/500-server-error-stumping-me-at-the-moment/57670)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 8\
**Last updated:** [April 13, 2006, 6:46am UTC](https://www.ruby-forum.com/t/500-server-error-stumping-me-at-the-moment/57670 "2006-04-13T06:46:17Z")

</div>

I’m trying to deploy an app on Dreamhost and I’m getting the infamous 500 Server Error. Nothing in the rails logs because it looks to be happening before it gets there. In the apache error logs we have: \[Wed Apr 12 …

---

## [Regex: how to match duplicate syllables?](https://www.ruby-forum.com/t/regex-how-to-match-duplicate-syllables/51059)

<div class="topic-metadata">

**Author:** [@basi](https://www.ruby-forum.com/u/basi)\
**Replies:** 3\
**Last updated:** [December 25, 2005, 5:34am UTC](https://www.ruby-forum.com/t/regex-how-to-match-duplicate-syllables/51059 "2005-12-25T05:34:54Z")

</div>

Merry Christmas! But work goes on :frowning: Just trying a way to match duplicate syllables. C = “bcdfghjklmnpqrstvwxyz” V = “aeiou” aString =~ /\[#{C}\]\[#{V}\]\[#{C}\]\[#{V}\]/ should match if the first CV matches the ne…

---

## [Abstract class](https://www.ruby-forum.com/t/abstract-class/91596)

<div class="topic-metadata">

**Author:** [@hochherz](https://www.ruby-forum.com/u/hochherz)\
**Replies:** 8\
**Last updated:** [December 2, 2005, 12:41am UTC](https://www.ruby-forum.com/t/abstract-class/91596 "2005-12-02T00:41:09Z")

</div>

hey is there something like abstract classes in ruby? somehow a class i could not create but wich is a superclass of some classes. thanks olaf

---

## [Proxying based on protocol (e.g. "ws"/"wss")?](https://www.ruby-forum.com/t/proxying-based-on-protocol-e-g-ws-wss/228805)

<div class="topic-metadata">

**Author:** [@Daniel\_Griscom](https://www.ruby-forum.com/u/Daniel_Griscom)\
**Replies:** 6\
**Last updated:** [May 11, 2013, 5:06pm UTC](https://www.ruby-forum.com/t/proxying-based-on-protocol-e-g-ws-wss/228805 "2013-05-11T17:06:06Z")

</div>

I’m an nginx newbie, and need use use it as a front end for a website that also handles websocket connections. I have the configuration set up so that requests to a specific URI match a location section, which then pr…

---

## [\[ruby-trunk - Feature #6349\]\[Open\] Iconv の復活を希望します](https://www.ruby-forum.com/t/ruby-trunk-feature-6349-open-iconv/219219)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [April 24, 2012, 1:17pm UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-6349-open-iconv/219219 "2012-04-24T13:17:37Z")

</div>

Issue #6349 has been reported by kyanagi (Kouhei Y.). Feature #6349: Iconv の復活を希望します Author: kyanagi (Kouhei Y.) Status: Open Priority: Normal Assignee: Category: Target version: r35444 で Iconv が削除されましたが、例えば Ic…

---

## [Error with jruby 1.6.1 and net/http in 1.9 mode](https://www.ruby-forum.com/t/error-with-jruby-1-6-1-and-net-http-in-1-9-mode/206625)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 6, 2011, 6:33pm UTC](https://www.ruby-forum.com/t/error-with-jruby-1-6-1-and-net-http-in-1-9-mode/206625 "2011-05-06T18:33:51Z")

</div>

I am running jruby 1.6.1 in ruby 1.9 mode and when i run this code: require ‘active\_resource’ class EmailAccount \< ActiveResource::Base self.site=“http://localhost:3000” end EmailAccount.find(23) I get: ArgumentEr…

---

## [Help me on this ruby programm](https://www.ruby-forum.com/t/help-me-on-this-ruby-programm/205945)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [April 20, 2011, 3:47am UTC](https://www.ruby-forum.com/t/help-me-on-this-ruby-programm/205945 "2011-04-20T03:47:42Z")

</div>

Hi, Write a program to create employee record with configurable number of employes(5) and write the records to a text file Emp ID: Emp Name: Emp Designation: Emp DOB: Please help me on above programm.

---

## [USRP2 External Clock](https://www.ruby-forum.com/t/usrp2-external-clock/151559)

<div class="topic-metadata">

**Author:** [@Kyle\_Pearson](https://www.ruby-forum.com/u/Kyle_Pearson)\
**Replies:** 6\
**Last updated:** [October 27, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/usrp2-external-clock/151559 "2008-10-27T17:45:39Z")

</div>

I’m wondering if it is possible to connect the USRP2 to an external 100MHz clock like the USRP was able to be modified so it could connect to an external 64MHz clock. I don’t see any place to solder on a SMA connector…

---

## [Why can't I return "Threads.list" Array in DRb?](https://www.ruby-forum.com/t/why-cant-i-return-threads-list-array-in-drb/141700)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 6\
**Last updated:** [June 30, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/why-cant-i-return-threads-list-array-in-drb/141700 "2008-06-30T20:10:25Z")

</div>

Hi, I can’t understand why I can’t return the current “Threads.list” array in a DRb server method. In the DRb server object I just do: def current\_threads Thread.list end And the DRb client calls: drb\_client.…

---

## [Camelize database calls](https://www.ruby-forum.com/t/camelize-database-calls/123629)

<div class="topic-metadata">

**Author:** [@ianic](https://www.ruby-forum.com/u/ianic)\
**Replies:** 6\
**Last updated:** [December 20, 2007, 12:51am UTC](https://www.ruby-forum.com/t/camelize-database-calls/123629 "2007-12-20T00:51:18Z")

</div>

I have legacy Sql Server database and Rails applications. Column names in database are all in PascalCase (FirstName, CustomerId…). I’m searching for an easy way to use underscore\_casing in Ruby and PascalCasing in dat…

---

## [Error in environment.rb when starting rails on Windows](https://www.ruby-forum.com/t/error-in-environment-rb-when-starting-rails-on-windows/65583)

<div class="topic-metadata">

**Author:** [@srikanth](https://www.ruby-forum.com/u/srikanth)\
**Replies:** 6\
**Last updated:** [October 25, 2006, 9:09pm UTC](https://www.ruby-forum.com/t/error-in-environment-rb-when-starting-rails-on-windows/65583 "2006-10-25T21:09:18Z")

</div>

Hi, I have installed Ruby 1.8.4 and Ruby Gems 0.9.0. I have also downloaded rails-1.1.6 zip file and extracted it to a folder, say “rails”. When I am trying to run the rails, by using the command “ruby script/server…

---

## [Rubywebdialog](https://www.ruby-forum.com/t/rubywebdialog/98404)

<div class="topic-metadata">

**Author:** [@rajib](https://www.ruby-forum.com/u/rajib)\
**Replies:** 6\
**Last updated:** [July 19, 2006, 12:53am UTC](https://www.ruby-forum.com/t/rubywebdialog/98404 "2006-07-19T00:53:23Z")

</div>

This is rajib a ruby nub…e . I was looking for some serious gui programming on GUI in ruby when i came upon the Rubywebdialog … a wonderful approach for universal GUI. I rushed througn the instruction etc in http://w…

---

## [Association properties](https://www.ruby-forum.com/t/association-properties/48518)

<div class="topic-metadata">

**Author:** [@leei](https://www.ruby-forum.com/u/leei)\
**Replies:** 6\
**Last updated:** [November 21, 2005, 11:46pm UTC](https://www.ruby-forum.com/t/association-properties/48518 "2005-11-21T23:46:23Z")

</div>

One of the great advantages of relational modelling (over typical object modelling) is the ability to easily extend an association (i.e. an association table) with properties of the association itself. In general O/R…

---

## [RubyGems Index Slow to Update](https://www.ruby-forum.com/t/rubygems-index-slow-to-update/48817)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 6\
**Last updated:** [November 16, 2005, 3:38pm UTC](https://www.ruby-forum.com/t/rubygems-index-slow-to-update/48817 "2005-11-16T15:38:16Z")

</div>

I uploaded a gem about five hours ago and I’m still not seeing it in queries? About how long should it take the server to pick it up? James Edward G. II

---

## [Did Ruby 1.7 used to do these things?](https://www.ruby-forum.com/t/did-ruby-1-7-used-to-do-these-things/260772)

<div class="topic-metadata">

**Author:** [@stuey](https://www.ruby-forum.com/u/stuey)\
**Replies:** 2\
**Last updated:** [January 6, 2021, 6:45pm UTC](https://www.ruby-forum.com/t/did-ruby-1-7-used-to-do-these-things/260772 "2021-01-06T18:45:34Z")

</div>

I thought my old copy of SAMS TY Ruby in 21 Days, even though it assumes Ruby 1.7, was going to be good enough to get me started, but now I’m a little closer to thinking I might have to (horror of horrors) pay for a real…

---

## [PHP via FastCGI in / and sub-directory location w/ different roots](https://www.ruby-forum.com/t/php-via-fastcgi-in-and-sub-directory-location-w-different-roots/237347)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 8, 2013, 11:24pm UTC](https://www.ruby-forum.com/t/php-via-fastcgi-in-and-sub-directory-location-w-different-roots/237347 "2013-11-08T23:24:37Z")

</div>

Hi there, I am currently somewhat stuck getting the following setup up and running: I have one PHP web application residing in /usr/share/a that I’d like to have available at /. This works as expected. I have a seco…

---

## [Add a property to scripting container](https://www.ruby-forum.com/t/add-a-property-to-scripting-container/218596)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 5, 2012, 1:55pm UTC](https://www.ruby-forum.com/t/add-a-property-to-scripting-container/218596 "2012-04-05T13:55:01Z")

</div>

Hi all, Is there any way to add some kind of “property” (an arbitrary Java object) to a ScriptingContainer instance before a script is run. The idea is the property can then be looked up from within any script run in…

---

## [Hi guys](https://www.ruby-forum.com/t/hi-guys/206522)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 4, 2011, 1:31am UTC](https://www.ruby-forum.com/t/hi-guys/206522 "2011-05-04T01:31:55Z")

</div>

hi guys, just wondering if this is still the right list to post to as I wish to start contributing to the project.

---

## [Faking Files, Data, Git interractions with mocks/stubs/fixtures](https://www.ruby-forum.com/t/faking-files-data-git-interractions-with-mocks-stubs-fixtures/205968)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 22, 2011, 1:33am UTC](https://www.ruby-forum.com/t/faking-files-data-git-interractions-with-mocks-stubs-fixtures/205968 "2011-04-22T01:33:24Z")

</div>

I’m new to ruby and just learning cucumber and rspec. I have some examples(tests) that need to fake a directory structure and file grouping, fake a properly formatted json file and fake a ruby-git interraction (git.fe…

---

## [Accepts\_nested\_attributes\_for](https://www.ruby-forum.com/t/accepts-nested-attributes-for/170713)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 2\
**Last updated:** [June 22, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/accepts-nested-attributes-for/170713 "2009-06-22T14:55:56Z")

</div>

Bonjour, J’ai un petit souci avec accepts\_…: Ã§a marche trÃ¨s bien sur les modÃ¨les directement associÃ©s mais pas top sur les jointures. Je m’explique. J’ai un model User, Friend(qui subclass User) et Friendship. Do…

---

## [Xml Processing in IronRuby - Help me improve the wrapper](https://www.ruby-forum.com/t/xml-processing-in-ironruby-help-me-improve-the-wrapper/156714)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 2\
**Last updated:** [January 1, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/xml-processing-in-ironruby-help-me-improve-the-wrapper/156714 "2009-01-01T19:42:02Z")

</div>

Hello, I’ve just been playing around with IronRuby and processing some XML from a REST service. I’ve created this wrapper: require ‘mscorlib’ require ‘System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c…

---

## [Getting action mailer to work on OSX with sendmail](https://www.ruby-forum.com/t/getting-action-mailer-to-work-on-osx-with-sendmail/116745)

<div class="topic-metadata">

**Author:** [@elemental](https://www.ruby-forum.com/u/elemental)\
**Replies:** 2\
**Last updated:** [October 9, 2007, 11:31am UTC](https://www.ruby-forum.com/t/getting-action-mailer-to-work-on-osx-with-sendmail/116745 "2007-10-09T11:31:45Z")

</div>

Hi all, I’m trying to get action mailer to work with my dev environment on my OS x laptop. I have the following configuration for action mailer in my development.rb ActionMailer::Base.raise\_delivery\_errors = true #…

---

## [Source install of Ruby 2.1.4 on OS X 10.8 hangs](https://www.ruby-forum.com/t/source-install-of-ruby-2-1-4-on-os-x-10-8-hangs/232777)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 29, 2014, 3:59am UTC](https://www.ruby-forum.com/t/source-install-of-ruby-2-1-4-on-os-x-10-8-hangs/232777 "2014-10-29T03:59:44Z")

</div>

I managed to install Ruby 2.1.2 from source on my OS X 10.8 machine but 2.1.4 hangs with make at: compiling dmyext.c linking miniruby Any ideas? gvim

---

## [ActiveRecord::ConnectionNotEstablished](https://www.ruby-forum.com/t/activerecord-connectionnotestablished/219413)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [May 5, 2012, 4:03am UTC](https://www.ruby-forum.com/t/activerecord-connectionnotestablished/219413 "2012-05-05T04:03:30Z")

</div>

Hey, I im using Rails 3.2.3 for my app, and everything its ok when I run rails s. But when I go to the browser i got this: ActiveRecord::ConnectionNotEstablished And this is the full trace: activerecord (3.2.3) lib/…

---

## [SSH hangs for 30 sec on AIX](https://www.ruby-forum.com/t/ssh-hangs-for-30-sec-on-aix/213928)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [December 29, 2011, 9:20am UTC](https://www.ruby-forum.com/t/ssh-hangs-for-30-sec-on-aix/213928 "2011-12-29T09:20:00Z")

</div>

Environment: AIX 6.1 Java: java version “1.6.0” Java™ SE Runtime Environment (build pap3260sr9fp1-20110208\_03(SR9 FP1)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr9-20110203\_74623 (JIT en…

---

## [Scriptengine redirect](https://www.ruby-forum.com/t/scriptengine-redirect/200427)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 16, 2010, 2:44am UTC](https://www.ruby-forum.com/t/scriptengine-redirect/200427 "2010-12-16T02:44:58Z")

</div>

I recently encountered a strange problem when trying to redirect the ScriptEngine output for my ruby session. It seems that no matter what I pass in to my ScriptEngine, it always prints to stdout and stderr. I found…

---

## [Sinitra 0.9.1 Webrat 0.4.2 Cuc problem](https://www.ruby-forum.com/t/sinitra-0-9-1-webrat-0-4-2-cuc-problem/161953)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 5\
**Last updated:** [March 4, 2009, 3:57pm UTC](https://www.ruby-forum.com/t/sinitra-0-9-1-webrat-0-4-2-cuc-problem/161953 "2009-03-04T15:57:28Z")

</div>

Have created sample sinatra cucumber app as suggested on wiki. Tried both env.rb configurations from there and aslaks git repo. With this combination of gems I get the following error doing basic cuc tests When I vi…

---

## [Createing directories and moving files into it](https://www.ruby-forum.com/t/createing-directories-and-moving-files-into-it/151988)

<div class="topic-metadata">

**Author:** [@btard](https://www.ruby-forum.com/u/btard)\
**Replies:** 5\
**Last updated:** [November 9, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/createing-directories-and-moving-files-into-it/151988 "2008-11-09T17:10:47Z")

</div>

I have an undetermined list of directories. I am trying to loop through them all and in each one I want to make a directory called ‘images’. when i do this, I want o move all the imagges in that folder into it. so i …

---

## [Volcar de BBDD a Array](https://www.ruby-forum.com/t/volcar-de-bbdd-a-array/152513)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 5\
**Last updated:** [November 4, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/volcar-de-bbdd-a-array/152513 "2008-11-04T20:26:04Z")

</div>

Hola, tengo algo entre manos que deberÃ­a ser sencillo, pero no lo acabo de sacar… Tengo una SQL que me devuelve cuatro registros, cada uno de ellos con un sÃ³lo campo de texto (para cargar una lista de opciones): “O…

---

## [Indexed arrays, delete\_if, and performance](https://www.ruby-forum.com/t/indexed-arrays-delete-if-and-performance/152283)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 5\
**Last updated:** [November 1, 2008, 11:10pm UTC](https://www.ruby-forum.com/t/indexed-arrays-delete-if-and-performance/152283 "2008-11-01T23:10:43Z")

</div>

Dear all, My application uses a calendar which I’m populating using an array of indexed RollingEvent objects. A RollingEvent is one of a series, multiplied from its original Event’s repeat options (daily, weekly, for…

---

## [Issue using JRuby-Rack 0.9.1 with Tomcat 6](https://www.ruby-forum.com/t/issue-using-jruby-rack-0-9-1-with-tomcat-6/145106)

<div class="topic-metadata">

**Author:** [@Myron\_M](https://www.ruby-forum.com/u/Myron_M)\
**Replies:** 5\
**Last updated:** [August 8, 2008, 10:07am UTC](https://www.ruby-forum.com/t/issue-using-jruby-rack-0-9-1-with-tomcat-6/145106 "2008-08-08T10:07:10Z")

</div>

Hello, I responded over a week ago to the JRuby-Rack 0.9.10 announcement with this error I’m seeing getting but never got any response. I still haven’t had any luck figuring this out, so I wanted to ask again. I’m…

---

## [Are there any difference between Ruby on Railse and JRuby?](https://www.ruby-forum.com/t/are-there-any-difference-between-ruby-on-railse-and-jruby/143986)

<div class="topic-metadata">

**Author:** [@jiangchister](https://www.ruby-forum.com/u/jiangchister)\
**Replies:** 5\
**Last updated:** [July 25, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/are-there-any-difference-between-ruby-on-railse-and-jruby/143986 "2008-07-25T22:05:19Z")

</div>

I have just started ROR using netbeans … they talk about RUBY is JRuby … ref. http://www.netbeans.org/kb/61/ruby/rapid-ruby-weblog.html Is this differs from normal RUBY ON RAILS development? I am new to this…i am conf…

---

## [CÃ³mo saber si no envÃ­o nada desde un formulario](https://www.ruby-forum.com/t/ca-mo-saber-si-no-enva-o-nada-desde-un-formulario/142033)

<div class="topic-metadata">

**Author:** [@luisfgnr](https://www.ruby-forum.com/u/luisfgnr)\
**Replies:** 5\
**Last updated:** [July 6, 2008, 1:43am UTC](https://www.ruby-forum.com/t/ca-mo-saber-si-no-enva-o-nada-desde-un-formulario/142033 "2008-07-06T01:43:35Z")

</div>

Buenas lista, Tengo un formulario donde envío una imagen. Necesito detectar cuando el usuario no inserta ningún fichero. Lo hago de esta forma, pero no me funciona: unless params\[:usuario\]\[:foto\].blank? Imagino qu…

---

## [Beast](https://www.ruby-forum.com/t/beast/141761)

<div class="topic-metadata">

**Author:** [@calabriama](https://www.ruby-forum.com/u/calabriama)\
**Replies:** 5\
**Last updated:** [June 30, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/beast/141761 "2008-06-30T14:05:22Z")

</div>

Hola, necesito crear y foro y voy a probar con este plugin. Según las instrucciones: svn checkout http://svn.techno-weenie.net/projects/beast/bra… http://svn.techno-weenie.net/projects/beast/branches/stable-1.0/ get …

---

## [Database agnostic sql possible?](https://www.ruby-forum.com/t/database-agnostic-sql-possible/132160)

<div class="topic-metadata">

**Author:** [@gsterndale](https://www.ruby-forum.com/u/gsterndale)\
**Replies:** 5\
**Last updated:** [March 18, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/database-agnostic-sql-possible/132160 "2008-03-18T20:50:06Z")

</div>

I’d like to have database agnostic code, however I have been unsuccessful writing conditions that work for both postgres and mysql for the following: postgres only conditions = \[“curtain\_at + CAST (CAST (duration AS V…

---

## [Newbie: fastcsv: Read rows, print rows](https://www.ruby-forum.com/t/newbie-fastcsv-read-rows-print-rows/108181)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [July 17, 2007, 5:10am UTC](https://www.ruby-forum.com/t/newbie-fastcsv-read-rows-print-rows/108181 "2007-07-17T05:10:48Z")

</div>

New to Ruby. It probably shows. Trying to accomplish some simple initial tasks, and study. Objectives Read rows from a CSV file Write rows to STDOUT A cat() equivalent. I’ve been looking but don’t find it. Are t…

---

## [99 bottles of beer...pg57](https://www.ruby-forum.com/t/99-bottles-of-beer-pg57/75133)

<div class="topic-metadata">

**Author:** [@jamison\_edmonds](https://www.ruby-forum.com/u/jamison_edmonds)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/99-bottles-of-beer-pg57/75133 "2006-11-07T19:17:34Z")

</div>

Hi Iâ€™m reading the book Learn to Program, by Chris P… I wanted to see if my program 99 bottles of beer on the wall, from (pg.57 or http://pine.fm/LearnToProgram/?Chapter=06 ) is o.k.? An online search thru Google …

---

## [Why don't form helpers read custom model attributes?](https://www.ruby-forum.com/t/why-dont-form-helpers-read-custom-model-attributes/73824)

<div class="topic-metadata">

**Author:** [@budu](https://www.ruby-forum.com/u/budu)\
**Replies:** 5\
**Last updated:** [October 29, 2006, 8:33am UTC](https://www.ruby-forum.com/t/why-dont-form-helpers-read-custom-model-attributes/73824 "2006-10-29T08:33:11Z")

</div>

Hi! I’m using custom read and write accessors in my models like : class Order \< ActiveRecord::Base … def date read\_attribute(:date).strftime(’%d/%m/%Y’) end … end My problem is that Form helpers like text\_field,…

---

## [Alias new?](https://www.ruby-forum.com/t/alias-new/98045)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 5\
**Last updated:** [July 17, 2006, 11:34am UTC](https://www.ruby-forum.com/t/alias-new/98045 "2006-07-17T11:34:35Z")

</div>

I’ve seen this work before: module MagicWithMethodMissing alias\_method :\_\_orig\_method\_missing, :method\_missing def method\_missing(sym, \*args, &block) if some\_condition #do special stuff else \_\_orig\_method\_missing(…

---

## [Nitro + Og 0.30.0: VCR mode, Og QBE, Feeds, Fixes](https://www.ruby-forum.com/t/nitro-og-0-30-0-vcr-mode-og-qbe-feeds-fixes/59731)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 5\
**Last updated:** [May 6, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/nitro-og-0-30-0-vcr-mode-og-qbe-feeds-fixes/59731 "2006-05-06T21:16:11Z")

</div>

Dear devs, The Nitro Development Team is proud to announce new versions of Nitro and Og homepage: http://www.nitroproject.org install: gem install nitro download: http://rubyforge.org/projects/nitro/ trac: oree.ch …

---

## [Chunks\_to\_Symbols Symbol Table format?](https://www.ruby-forum.com/t/chunks-to-symbols-symbol-table-format/211872)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 15, 2011, 3:03pm UTC](https://www.ruby-forum.com/t/chunks-to-symbols-symbol-table-format/211872 "2011-09-15T15:03:29Z")

</div>

Hi There, I basically have two questions. How do I specify the Symbol Table in the Chunks\_to\_Symbols block? How do I M-QAM (M = 8 / 16, etc) modulate data from the audio sink (speech)? For the second part, I thought…

---

## [Darkfish rdoc sees no rdoc](https://www.ruby-forum.com/t/darkfish-rdoc-sees-no-rdoc/216982)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 20, 2012, 5:23pm UTC](https://www.ruby-forum.com/t/darkfish-rdoc-sees-no-rdoc/216982 "2012-02-20T17:23:06Z")

</div>

Hi, I have trouble with rdoc. I run ruby 1.9.2p290 and I installed darkfish-rdoc-1.1.5.gem When I run the gem’s rdoc (it installs in /usr/local/bin) on a directory that only contains this file test.rb: #!/usr/bin/rub…

---

## [Magick::Image , no size & Amazon S3](https://www.ruby-forum.com/t/magick-image-no-size-amazon-s3/202203)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 24, 2011, 6:59pm UTC](https://www.ruby-forum.com/t/magick-image-no-size-amazon-s3/202203 "2011-01-24T18:59:44Z")

</div>

Hi, Any ideas why I get “undefined method \`size’ for 100x100 DirectClass 8-bit:Magick::Image” while doing the next? image = Magick::Image.new(100, 100) { self.size = “100x100”} logger.info image.size Thanks. Thi…

---

## [Rails2.3/ruby1.9: invalid byte sequence in utf-8 with blank?](https://www.ruby-forum.com/t/rails2-3-ruby1-9-invalid-byte-sequence-in-utf-8-with-blank/165258)

<div class="topic-metadata">

**Author:** [@buddycat](https://www.ruby-forum.com/u/buddycat)\
**Replies:** 4\
**Last updated:** [April 11, 2009, 12:31am UTC](https://www.ruby-forum.com/t/rails2-3-ruby1-9-invalid-byte-sequence-in-utf-8-with-blank/165258 "2009-04-11T00:31:45Z")

</div>

hi all, anyone seen this controller argument error: invalid byte sequence in utf-8 ror/vendor/rails/activesupport/lib/active\_support/core\_ext/blank.rb: 50:in =~' ror/vendor/rails/activesupport/lib/active\_support/core…

---

## [Problemas con xml](https://www.ruby-forum.com/t/problemas-con-xml/160133)

<div class="topic-metadata">

**Author:** [@Yoandy\_Rodriguez\_M](https://www.ruby-forum.com/u/Yoandy_Rodriguez_M)\
**Replies:** 4\
**Last updated:** [February 13, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/problemas-con-xml/160133 "2009-02-13T15:53:43Z")

</div>

Saludos a todos: Estoy desarrollando una aplicación rails que permite la comunicación con el servicio blogger de google, debido a esto necesito parsear una de las respuestas que da google, el archivo XML es mucho mas …

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

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