# Top

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

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

---

## [Enumeration](https://www.ruby-forum.com/t/enumeration/82271)

<div class="topic-metadata">

**Author:** [@juba](https://www.ruby-forum.com/u/juba)\
**Replies:** 6\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/enumeration/82271 "2007-01-19T16:31:37Z")

</div>

Bonjour, Quelq’un peut me dire comment dÃ©clarer une Ã©numÃ©ration (type C++, Java 5) en Ruby ? Merci, Julien

---

## [Updating an attribute in db](https://www.ruby-forum.com/t/updating-an-attribute-in-db/81598)

<div class="topic-metadata">

**Author:** [@Ptx](https://www.ruby-forum.com/u/Ptx)\
**Replies:** 6\
**Last updated:** [January 10, 2007, 5:32pm UTC](https://www.ruby-forum.com/t/updating-an-attribute-in-db/81598 "2007-01-10T17:32:52Z")

</div>

Hello I am a Ruby newbie, thus a rather simple question. My list view shows table records and enables user to click a button in order to change value of one attribute in given record. I use this code to invoke a meth…

---

## [HDTV Receiver and additional hardware](https://www.ruby-forum.com/t/hdtv-receiver-and-additional-hardware/74840)

<div class="topic-metadata">

**Author:** [@BerkleyS\_Antwong\_L](https://www.ruby-forum.com/u/BerkleyS_Antwong_L)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/hdtv-receiver-and-additional-hardware/74840 "2006-11-07T11:07:52Z")

</div>

I want to build a SDR that can capture an HDTV (non-real time) and then transmits. I have a USRP and the Rx daughterboards. Are there any up to date HowTo’s on Building a HDTV Rx using USRP.? Do I have to buy any ad…

---

## [Relation entre 3 models](https://www.ruby-forum.com/t/relation-entre-3-models/68393)

<div class="topic-metadata">

**Author:** [@zencocoon](https://www.ruby-forum.com/u/zencocoon)\
**Replies:** 6\
**Last updated:** [September 15, 2006, 11:53pm UTC](https://www.ruby-forum.com/t/relation-entre-3-models/68393 "2006-09-15T23:53:30Z")

</div>

Salut, J’ai le besoins de faire une application contenant les models suivants: house season tariff Je suppose que vous avez déjà compris le principe :wink: En fait au final je souhaiterai avoir les relations suivant…

---

## [Mailer Behavior for Radiant XHTML Bug](https://www.ruby-forum.com/t/mailer-behavior-for-radiant-xhtml-bug/68540)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 6\
**Last updated:** [September 14, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/mailer-behavior-for-radiant-xhtml-bug/68540 "2006-09-14T18:15:23Z")

</div>

Hi, While validating my XHTML pages I got an error from the Mailer Behavior: # Build the html form tag... results = %Q(\<form action="#{ url }" method="POST" can be # Build the html form tag... results = %Q(\<…

---

## [Hash#getopt](https://www.ruby-forum.com/t/hash-getopt/94195)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [April 25, 2006, 6:13am UTC](https://www.ruby-forum.com/t/hash-getopt/94195 "2006-04-25T06:13:29Z")

</div>

at this point calls of the form some\_method arg, “key” =\> “value” or some\_method arg, :key=\>:value are idiomatic ruby. let’s just support it directly and be done with it: harp:~ \> cat a.rb class ::Hash def get…

---

## [TCPSocket.accept blocks signals on win32?](https://www.ruby-forum.com/t/tcpsocket-accept-blocks-signals-on-win32/84745)

<div class="topic-metadata">

**Author:** [@Shea\_M](https://www.ruby-forum.com/u/Shea_M)\
**Replies:** 6\
**Last updated:** [March 22, 2006, 5:24pm UTC](https://www.ruby-forum.com/t/tcpsocket-accept-blocks-signals-on-win32/84745 "2006-03-22T17:24:07Z")

</div>

On Windows XP, ruby 1.8.4. I have this LISTENER = TCPServer.new( HOST, PORT ) s = LISTENER.accept host\_info = l\_session.peeraddr name = "#{host\_info\[2\]}@#{host\_info\[3\]}" puts( "new connection from #{name}", 'debug' ) …

---

## [Design question - where to store constants?](https://www.ruby-forum.com/t/design-question-where-to-store-constants/66236)

<div class="topic-metadata">

**Author:** [@janovetz](https://www.ruby-forum.com/u/janovetz)\
**Replies:** 6\
**Last updated:** [February 13, 2006, 3:35am UTC](https://www.ruby-forum.com/t/design-question-where-to-store-constants/66236 "2006-02-13T03:35:55Z")

</div>

Let’s say I create a “ticket system” that has a support ticket with a status attached to it. (Say, OPEN or CLOSED for now, but more later) The status -could- be another table in the database listing status types, but…

---

## [File Column installation](https://www.ruby-forum.com/t/file-column-installation/49407)

<div class="topic-metadata">

**Author:** [@wborgon](https://www.ruby-forum.com/u/wborgon)\
**Replies:** 6\
**Last updated:** [December 4, 2005, 2:47am UTC](https://www.ruby-forum.com/t/file-column-installation/49407 "2005-12-04T02:47:00Z")

</div>

I’ve installed File-column – placed into vendor plugins directory, added the model, added a controller, and created a view with submit form. Yet, when I view the page, everything looks correct, but when submitting th…

---

## [Concatenating byte data in GNU Radio](https://www.ruby-forum.com/t/concatenating-byte-data-in-gnu-radio/262128)

<div class="topic-metadata">

**Author:** [@MubashiraZaman](https://www.ruby-forum.com/u/MubashiraZaman)\
**Replies:** 0\
**Last updated:** [November 24, 2021, 12:45pm UTC](https://www.ruby-forum.com/t/concatenating-byte-data-in-gnu-radio/262128 "2021-11-24T12:45:30Z")

</div>

I am reading a binary file from a File Source block, and am receiving some byte data from a UDP Source block. What I want to do is that I want to append the data from file source block to the end of data received in UDP …

---

## [Ruby on Rails experts in India](https://www.ruby-forum.com/t/ruby-on-rails-experts-in-india/243257)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [September 9, 2015, 2:43am UTC](https://www.ruby-forum.com/t/ruby-on-rails-experts-in-india/243257 "2015-09-09T02:43:44Z")

</div>

Can you tell me some experts from India using ruby on rails.

---

## [How to change the sort order for the collection?](https://www.ruby-forum.com/t/how-to-change-the-sort-order-for-the-collection/242469)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [June 25, 2015, 7:18pm UTC](https://www.ruby-forum.com/t/how-to-change-the-sort-order-for-the-collection/242469 "2015-06-25T19:18:07Z")

</div>

please help solve the problem. tables: users: id: integer name: varchar posts: id: integer title: varchar user\_id: integer views: integer models: User: class User \< ActiveRecord::Base has\_many :posts, de…

---

## [\[ruby-trunk - Bug #9962\] Numeric.new](https://www.ruby-forum.com/t/ruby-trunk-bug-9962-numeric-new/233690)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 4, 2015, 4:41pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9962-numeric-new/233690 "2015-01-04T16:41:19Z")

</div>

Issue #9962 has been updated by Akira T… ふと検索したところ、Numeric からの継承を使っている gem はそれなりに存在するようです。 (結果を下につけます。スコープの都合により ::Numeric ではないものを参照しているのが混じっているかもしれません。) Numeric.new をできないようにすると、こういうのは動かなくなるんでしょうか。 もし動かなくなるとしたら、その問題以…

---

## [Uhd\_fft and other wx stuff does not work](https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [December 31, 2014, 3:45pm UTC](https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641 "2014-12-31T15:45:00Z")

</div>

Hi, I installed gnuradio master from source on a Kubuntu 14.04 64 bit system, and it appears that all wxgui stuff does not work. What may be the issue here? Gnuradio and uhd build without error, without missing featu…

---

## [PKCS\_OAEP\_PADDING issue](https://www.ruby-forum.com/t/pkcs-oaep-padding-issue/230972)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 15, 2014, 5:43pm UTC](https://www.ruby-forum.com/t/pkcs-oaep-padding-issue/230972 "2014-07-15T17:43:56Z")

</div>

Hi, I’m using OAEP padding as part of some decryption/encryption steps - specifically using: /ECB/OAEPWithSHA1AndMGF1Padding Testing encryption/decryption via standard ruby 1.9.3 and openssl 0.9.8e works as expected.…

---

## [Adding channel effects to an input in GNURADIO](https://www.ruby-forum.com/t/adding-channel-effects-to-an-input-in-gnuradio/241066)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 12, 2014, 10:43am UTC](https://www.ruby-forum.com/t/adding-channel-effects-to-an-input-in-gnuradio/241066 "2014-05-12T10:43:18Z")

</div>

Hi all, (Ubuntu 13.04, GNURADIO 3.7) I have a question regarding the channel models. As far I know the channel function must be convolved (convolution) with the input to get the output like this: out = conv(in,chann…

---

## [\[ruby-trunk - Bug #9046\]\[Open\] \[PATCH\] Inter-process locking for log rotation is required](https://www.ruby-forum.com/t/ruby-trunk-bug-9046-open-patch-inter-process-locking-for-log-rotation-is-required/246468)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [November 2, 2013, 5:47am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9046-open-patch-inter-process-locking-for-log-rotation-is-required/246468 "2013-11-02T05:47:43Z")

</div>

Issue #9046 has been reported by sonots (Naotoshi Seo). Bug #9046: \[PATCH\] Inter-process locking for log rotation is required Author: sonots (Naotoshi Seo) Status: Open Priority: Normal Assignee: Category: lib T…

---

## [Max\_fails for 404s?](https://www.ruby-forum.com/t/max-fails-for-404s/207123)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 18, 2011, 11:04pm UTC](https://www.ruby-forum.com/t/max-fails-for-404s/207123 "2011-05-18T23:04:37Z")

</div>

Hey folks, We’ve got the following scenario occurring in production. The solution is non-obvious… to me, at least. \[client\] ==\> \[nginx\] ==\> \[service S\] nginx fronting 2 application servers which provide a service S…

---

## [Problem in first usage of nginx](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 25, 2011, 2:26pm UTC](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916 "2011-03-25T14:26:56Z")

</div>

Hello, I have several questions about using NginX. After I first install nginx-0.8.41 in Ubuntu 8.04 system, with the default .conf file. I start nginx with 127.0.0.1:8000, however, I can not see the default we…

---

## [Running code on error](https://www.ruby-forum.com/t/running-code-on-error/187835)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 30, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/running-code-on-error/187835 "2010-04-30T18:43:27Z")

</div>

describe “Test” do after(:each) do if ERRORS #execute custom code here end it “should explode” do #Test.explode --\> “fizzle” Test.explode.should == “KABOOM” end end Let’s say I have the above test and the valida…

---

## [\-f $request\_filename](https://www.ruby-forum.com/t/f-request-filename/187186)

<div class="topic-metadata">

**Author:** [@Tomasz\_P](https://www.ruby-forum.com/u/Tomasz_P)\
**Replies:** 8\
**Last updated:** [April 20, 2010, 7:24am UTC](https://www.ruby-forum.com/t/f-request-filename/187186 "2010-04-20T07:24:04Z")

</div>

Hello, Got something like this, but the break seams to not work, and the file is being processed by the php fastcgi process. Any clue why? location / { if (-f $request\_filename) { root /vhosts/default/test; break; …

---

## [Determine if part of a hash key exists](https://www.ruby-forum.com/t/determine-if-part-of-a-hash-key-exists/184979)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 3\
**Last updated:** [March 11, 2010, 7:12pm UTC](https://www.ruby-forum.com/t/determine-if-part-of-a-hash-key-exists/184979 "2010-03-11T19:12:23Z")

</div>

Hi, I have a hash something like {:schools\_name =\> ''test", :schools\_address =\> "test, etc…} What i need to know is does any of the keys contain the word “schools” in it. So hash.has\_key? :schools\_name will return…

---

## [Newbie can't find java.rb](https://www.ruby-forum.com/t/newbie-cant-find-java-rb/181813)

<div class="topic-metadata">

**Author:** [@bartels](https://www.ruby-forum.com/u/bartels)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/newbie-cant-find-java-rb/181813 "2010-02-01T16:30:11Z")

</div>

Hi Everyone, I would like to use ruby2java on Debian/Linux, but I have a problem getting started. ruby2java fails, because java.rb is not found (see below). This is the same error I get when I do $ ruby -e ‘require “…

---

## [Ruby2c?](https://www.ruby-forum.com/t/ruby2c/169312)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [June 6, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/ruby2c/169312 "2009-06-06T20:53:53Z")

</div>

I tried to get ruby2c working recently and none of the files in the demos folder seem to translate, and requiring ruby\_to\_ansi\_c file doesn’t seem to work, either. Anybody gotten this bad boy to work? -=r

---

## [New release of SCGI](https://www.ruby-forum.com/t/new-release-of-scgi/111968)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 8\
**Last updated:** [October 30, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/new-release-of-scgi/111968 "2008-10-30T21:27:43Z")

</div>

It’s been almost two years since the last release of Zed S.'s SCGI Rails Runner (0.4.3 in October 2005). I’ve been using it in production since then and have modified it to add some new features and remove some ones …

---

## [Nginx maintenance message and search engines](https://www.ruby-forum.com/t/nginx-maintenance-message-and-search-engines/135504)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 3\
**Last updated:** [April 25, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/nginx-maintenance-message-and-search-engines/135504 "2008-04-25T17:31:02Z")

</div>

Hi, the usual Rails configs I’ve seen floating around for nginx handle maintenance messages something like this: if (-f $document\_root/system/maintenance.html) { rewrite ^(.\*)$ /system/maintenance.html last; break…

---

## [Dynamically defining a method on an instance that references vars in enclosing scope?](https://www.ruby-forum.com/t/dynamically-defining-a-method-on-an-instance-that-references-vars-in-enclosing-scope/132581)

<div class="topic-metadata">

**Author:** [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Replies:** 8\
**Last updated:** [April 2, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/dynamically-defining-a-method-on-an-instance-that-references-vars-in-enclosing-scope/132581 "2008-04-02T22:22:51Z")

</div>

Hello. I want to do this. instance = MyClass.new x = 1 def instance.foo puts x end undefined local variable or method \`x’ for #MyClass:0x31ca8c4 How do get rid of that error? Thanks for the help.

---

## [Getting human-readable results](https://www.ruby-forum.com/t/getting-human-readable-results/128683)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 8\
**Last updated:** [February 11, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/getting-human-readable-results/128683 "2008-02-11T18:35:23Z")

</div>

How do I get human readable results instead of: Login: 0123 #Call:0xb714cc94 #Call:0xb714cc58 #Call:0xb714cc30 Edit | Back Is there some ruby magic which I can put in the model? I’m hoping that the solution isn’t t…

---

## [What is coming in Instant Rails 2.0](https://www.ruby-forum.com/t/what-is-coming-in-instant-rails-2-0/123464)

<div class="topic-metadata">

**Author:** [@rjberry](https://www.ruby-forum.com/u/rjberry)\
**Replies:** 8\
**Last updated:** [December 18, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/what-is-coming-in-instant-rails-2-0/123464 "2007-12-18T14:15:14Z")

</div>

I just wanted to give a quick update about what is coming in the next version of Instant Rails version 2.0. Please take a look at a post I just did and please comment. Since Rails 2.0.2 now has a default database s…

---

## [500 Errors - Radiant on Apache/FastCGI overloading and dying](https://www.ruby-forum.com/t/500-errors-radiant-on-apache-fastcgi-overloading-and-dying/116245)

<div class="topic-metadata">

**Author:** [@rpheath](https://www.ruby-forum.com/u/rpheath)\
**Replies:** 3\
**Last updated:** [October 3, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/500-errors-radiant-on-apache-fastcgi-overloading-and-dying/116245 "2007-10-03T23:12:30Z")

</div>

Hi folks, I have a Radiant install running Apache/FastCGI on linux. FastCGI keeps crashing when it tries to load too many pages at once. Here’s how I reproduce it: Clear cache View site - open about 10 pages, one ri…

---

## [Local interprocess communication ideas](https://www.ruby-forum.com/t/local-interprocess-communication-ideas/82195)

<div class="topic-metadata">

**Author:** [@James\_Mills](https://www.ruby-forum.com/u/James_Mills)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/local-interprocess-communication-ideas/82195 "2007-09-25T23:06:12Z")

</div>

I am currently developing a simple controller. It consists of a GUI (C++) and a controller (ruby) that talks to a serial port. Now, I understand that this can (or maybe should) be combined into a single app that comm…

---

## [Radiant Content-Type problem on TextDrive](https://www.ruby-forum.com/t/radiant-content-type-problem-on-textdrive/67270)

<div class="topic-metadata">

**Author:** [@jake](https://www.ruby-forum.com/u/jake)\
**Replies:** 8\
**Last updated:** [September 2, 2006, 3:45am UTC](https://www.ruby-forum.com/t/radiant-content-type-problem-on-textdrive/67270 "2006-09-02T03:45:57Z")

</div>

I am a new radiant user and really love the app, simple elegent etc. I have deployed radiant to my shared textdrive hosting account running lighttpd and everything works great in firefox but when I try and pull the si…

---

## [Validations erasing the form](https://www.ruby-forum.com/t/validations-erasing-the-form/60046)

<div class="topic-metadata">

**Author:** [@Jorge\_Mario\_GSMazo](https://www.ruby-forum.com/u/Jorge_Mario_GSMazo)\
**Replies:** 3\
**Last updated:** [May 9, 2006, 11:37pm UTC](https://www.ruby-forum.com/t/validations-erasing-the-form/60046 "2006-05-09T23:37:23Z")

</div>

Hi there I have a for with a couple of text\_fields. I’m doing some validation via the model and when the validation “works” I get there was an error on blah blah the problem is the form is erased and I have to fill u…

---

## [Bug in YAML for Ruby?](https://www.ruby-forum.com/t/bug-in-yaml-for-ruby/55695)

<div class="topic-metadata">

**Author:** [@hazmatt](https://www.ruby-forum.com/u/hazmatt)\
**Replies:** 3\
**Last updated:** [March 23, 2006, 2:50am UTC](https://www.ruby-forum.com/t/bug-in-yaml-for-ruby/55695 "2006-03-23T02:50:54Z")

</div>

I’m getting some strange behavior with YAML in ruby regarding the characters ‘08’ in a hash. This code: require ‘yaml’ test = { “08” =\> ‘01’, ‘01’ =\> ‘08’, ‘8’ =\> ‘01’ } File.open(“test.yml”, “w”) {|f| YAML.dump(t…

---

## [Postgres and rake](https://www.ruby-forum.com/t/postgres-and-rake/66372)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 8\
**Last updated:** [February 15, 2006, 12:09am UTC](https://www.ruby-forum.com/t/postgres-and-rake/66372 "2006-02-15T00:09:37Z")

</div>

am in a bit of a quandry… I have asked postgresql-users list and haven’t gotten anything to work with… How do I change the owner of a schema? ALTER SCHEMA “public” OWNER to “some\_user”; #? The docs explain …

---

## [SimpleRss: Poorly formatted feed](https://www.ruby-forum.com/t/simplerss-poorly-formatted-feed/53313)

<div class="topic-metadata">

**Author:** [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Replies:** 3\
**Last updated:** [February 1, 2006, 1:49pm UTC](https://www.ruby-forum.com/t/simplerss-poorly-formatted-feed/53313 "2006-02-01T13:49:52Z")

</div>

Based on the suggestions here I decided to use SimpleRSS but no matter what RSS feed I try, I keep getting the error: “Poorly formatted feed” I have tried “well formatted” RSS 0.91, 0.92 and 2.0 feeds but to no avai…

---

## [ANN: RubyCLR first drop](https://www.ruby-forum.com/t/ann-rubyclr-first-drop/52423)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 8\
**Last updated:** [January 16, 2006, 4:00am UTC](https://www.ruby-forum.com/t/ann-rubyclr-first-drop/52423 "2006-01-16T04:00:53Z")

</div>

I posted the first drop of my RubyCLR bridge here: http://www.iunknown.com/articles/2006/01/12/first-drop-of-rubyclr There’s more information about it on the blog entry. This is a very early build, but the unit tests…

---

## [PrettyPrint Array?](https://www.ruby-forum.com/t/prettyprint-array/51998)

<div class="topic-metadata">

**Author:** [@christer](https://www.ruby-forum.com/u/christer)\
**Replies:** 3\
**Last updated:** [December 5, 2005, 12:04am UTC](https://www.ruby-forum.com/t/prettyprint-array/51998 "2005-12-05T00:04:13Z")

</div>

I’m trying to make my own simple assert, but have problem displaying arrays. assert “123”, \[1,2,\[3\]\].to\_s Is there a method or function x, fullfilling these requirements assert “\[1,2,\[3\]\]”, \[1,2,\[3\]\].x assert “\[1,2,…

---

## [Access to cloud9](https://www.ruby-forum.com/t/access-to-cloud9/244769)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 11, 2016, 6:58pm UTC](https://www.ruby-forum.com/t/access-to-cloud9/244769 "2016-06-11T18:58:12Z")

</div>

https://lh3.googleusercontent.com/-8WQENjCn5So/V1wf6By7-pI/AAAAAAAABG8/L85MyxVD07Q9wf7LN0vlcc-xfE3hn9TewCLcB/s1600/Clipboard01.jpg Help please! I am doing the tutorial by M Hartl, using Cloud9 IDE. Suddenly it crashed…

---

## [Question on implementing a state machine](https://www.ruby-forum.com/t/question-on-implementing-a-state-machine/242247)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [June 9, 2015, 2:56pm UTC](https://www.ruby-forum.com/t/question-on-implementing-a-state-machine/242247 "2015-06-09T14:56:03Z")

</div>

Hi Please forgive me if the questions are silly/basic. I’ve learnt a lot from replies on this forum and I’m making steps in the right direction, if only baby ones. I am trying to implement a state machine based syn…

---

## [GNURadio OOT add custom function](https://www.ruby-forum.com/t/gnuradio-oot-add-custom-function/231322)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 5, 2014, 2:03am UTC](https://www.ruby-forum.com/t/gnuradio-oot-add-custom-function/231322 "2014-08-05T02:03:17Z")

</div>

Hello, Recently, I using gr\_modtool to create my own block. I add a c++ block and in the .h file I add a function, but after compile it I cannot call my function in python I just get error message “AttributeError: ‘(…

---

## [Is there an easier way to parse into tokens a string?](https://www.ruby-forum.com/t/is-there-an-easier-way-to-parse-into-tokens-a-string/237399)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 11, 2013, 9:46pm UTC](https://www.ruby-forum.com/t/is-there-an-easier-way-to-parse-into-tokens-a-string/237399 "2013-11-11T21:46:53Z")

</div>

Hello Team, When running the piece of code below, I expect and get the following line of text, which comes as a one element array. \[“AMQ8409: Display Queue details.\\n QUEUE(TEMP) TYPE(QLOCAL)\\n CURDEPTH(6)…

---

## [502 in Nginx as a reverse proxy whithout cache](https://www.ruby-forum.com/t/502-in-nginx-as-a-reverse-proxy-whithout-cache/236042)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 12:53pm UTC](https://www.ruby-forum.com/t/502-in-nginx-as-a-reverse-proxy-whithout-cache/236042 "2013-08-01T12:53:38Z")

</div>

Hi, Currently, we use Nginx as a reverse proxy without cache. Last monday we’ve rolled out a new version of PHP application which has appeared a several 502 errors. First of all, i’ve applied the workaround explain…

---

## [Regarding exponential operator in gnuradio](https://www.ruby-forum.com/t/regarding-exponential-operator-in-gnuradio/235266)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 11, 2013, 5:08am UTC](https://www.ruby-forum.com/t/regarding-exponential-operator-in-gnuradio/235266 "2013-06-11T05:08:24Z")

</div>

Hi all, does gnuradio have an exponential operator (like e^jw). If not how to implement it in gnuradio.

---

## [Are you using any CMS or simply building from scratch?](https://www.ruby-forum.com/t/are-you-using-any-cms-or-simply-building-from-scratch/221817)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 1, 2012, 1:59pm UTC](https://www.ruby-forum.com/t/are-you-using-any-cms-or-simply-building-from-scratch/221817 "2012-08-01T13:59:20Z")

</div>

Hi! When I’m creating an application for a project of my own I usually use Active Admin or something for my admin area and code everything else myself. The backend interface is not always perfect but it’s OK because …

---

## [Polymorphic assoc seems only best for multiple parents?](https://www.ruby-forum.com/t/polymorphic-assoc-seems-only-best-for-multiple-parents/209689)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 21, 2011, 2:11am UTC](https://www.ruby-forum.com/t/polymorphic-assoc-seems-only-best-for-multiple-parents/209689 "2011-07-21T02:11:28Z")

</div>

I have done a little polymorphic associations stuff and have refreshed my memory on it again. What it seems like is that if I have a particular record and I want to make it easy for many different parent records to as…

---

## [Nested forms validation problem](https://www.ruby-forum.com/t/nested-forms-validation-problem/203986)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 4, 2011, 4:38pm UTC](https://www.ruby-forum.com/t/nested-forms-validation-problem/203986 "2011-03-04T16:38:01Z")

</div>

Hi All, I’m trying to learn Ruby on Rails and have got an issue with the validation of a nested form. I think I have got it setup correctly as it appears to be saving the data as expected, but it is not wrapping the …

---

## [Rspec no likely :(](https://www.ruby-forum.com/t/rspec-no-likely/198836)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 9, 2010, 3:47am UTC](https://www.ruby-forum.com/t/rspec-no-likely/198836 "2010-11-09T03:47:10Z")

</div>

So I tried out the 1.1.1 release and am having a bit of issues. First the installer doesn’t seem to care about the location I pick and installs to program files (x86) regardless. I end up moving the files and redoin…

---

## [Issue with rescue\_action\_in\_public! and testing 404 responses](https://www.ruby-forum.com/t/issue-with-rescue-action-in-public-and-testing-404-responses/193015)

<div class="topic-metadata">

**Author:** [@christofferklang](https://www.ruby-forum.com/u/christofferklang)\
**Replies:** 2\
**Last updated:** [August 16, 2010, 6:39am UTC](https://www.ruby-forum.com/t/issue-with-rescue-action-in-public-and-testing-404-responses/193015 "2010-08-16T06:39:25Z")

</div>

Hello, I’m new to rails and I’m trying to wrap my heads around how to spec controllers using RSpec (using rails 3rc1 and rspec 2.0.0.beta.19). The problem I’ve run into is when I want to test that my controllers resp…

---

## [Mocha expectation is affecting (bleeding) from one test to another](https://www.ruby-forum.com/t/mocha-expectation-is-affecting-bleeding-from-one-test-to-another/184712)

<div class="topic-metadata">

**Author:** [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Replies:** 2\
**Last updated:** [March 7, 2010, 6:34pm UTC](https://www.ruby-forum.com/t/mocha-expectation-is-affecting-bleeding-from-one-test-to-another/184712 "2010-03-07T18:34:03Z")

</div>

Mocha expectation is affecting (bleeding) from one test to another: In one test, I have: Friendship.expects(:is\_friend?).with(users\[1\], users\[3\]).returns(true) Then, in another test, which actually is listed before th…

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

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