# Top

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

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

---

## [Ruby Gem Discovery: HighLine](https://www.ruby-forum.com/t/ruby-gem-discovery-highline/268288)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [April 30, 2026, 1:40pm UTC](https://www.ruby-forum.com/t/ruby-gem-discovery-highline/268288 "2026-04-30T13:40:37Z")

</div>

I recently stumbled upon a Ruby gem called HighLine that simplifies basic command line input/output via an ask method and supports validation, conversion, and multi-choices. Continue reading blog post:

---

## [OPENLTE: there are fatal error when launch LTE\_fdd\_dl\_file\_gen.py"](https://www.ruby-forum.com/t/openlte-there-are-fatal-error-when-launch-lte-fdd-dl-file-gen-py/243511)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [November 24, 2015, 3:00pm UTC](https://www.ruby-forum.com/t/openlte-there-are-fatal-error-when-launch-lte-fdd-dl-file-gen-py/243511 "2015-11-24T15:00:48Z")

</div>

Hi , I am trying to build OPENLTE in MAC OS. but after the building, I try to launch the python script LTE\_fdd\_dl\_file\_gen.py" it always results fatal error: Fatal Python error: PyThreadState\_Get: no current thread …

---

## [Refactor Link Table relationsip](https://www.ruby-forum.com/t/refactor-link-table-relationsip/230915)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 12, 2014, 9:07am UTC](https://www.ruby-forum.com/t/refactor-link-table-relationsip/230915 "2014-07-12T09:07:46Z")

</div>

I need some code refactored as it is very ugly. memberships = customer.companies.collect(&:name).sort().join(’,’) for membership in customer.memberships membership.membership\_roles.each do |membership\_role| cust\_role…

---

## [OpenSSL PKCS8 Support](https://www.ruby-forum.com/t/openssl-pkcs8-support/237995)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 10, 2013, 7:54pm UTC](https://www.ruby-forum.com/t/openssl-pkcs8-support/237995 "2013-12-10T19:54:15Z")

</div>

I need to be able to export PKCS8 formatted public keys from Ruby through the OpenSSL library but so far the only way I’ve found to do this is to either spin up the openssl command to do the heavy lifting, or to make …

---

## [Offest Multiple Access Channel](https://www.ruby-forum.com/t/offest-multiple-access-channel/227969)

<div class="topic-metadata">

**Author:** [@Manu\_T\_S](https://www.ruby-forum.com/u/Manu_T_S)\
**Replies:** 3\
**Last updated:** [April 4, 2013, 9:11pm UTC](https://www.ruby-forum.com/t/offest-multiple-access-channel/227969 "2013-04-04T21:11:23Z")

</div>

Hi Everyone, I need help regarding a problem. It’s a Multiple Access Channel problem but one of the source is offset by half a symbol period. ######################################################## source1 —\> byte…

---

## [RbConfig::CONFIG\["prefix"\]](https://www.ruby-forum.com/t/rbconfig-config-prefix/227579)

<div class="topic-metadata">

**Author:** [@otlearner](https://www.ruby-forum.com/u/otlearner)\
**Replies:** 0\
**Last updated:** [March 20, 2013, 3:53am UTC](https://www.ruby-forum.com/t/rbconfig-config-prefix/227579 "2013-03-20T03:53:20Z")

</div>

I’m getting a bad path string from RbConfig::CONFIG\[“prefix”\]. I am running 32-bit JRuby 1.7.3 on Win7 x64. Here is what I’m getting, feeding a simple .rb file to jruby from the command line: puts RbConfig::CONFIG\[“p…

---

## [Weird startup OS X time zone issue](https://www.ruby-forum.com/t/weird-startup-os-x-time-zone-issue/229605)

<div class="topic-metadata">

**Author:** [@scottrutherford](https://www.ruby-forum.com/u/scottrutherford)\
**Replies:** 3\
**Last updated:** [January 13, 2013, 12:51pm UTC](https://www.ruby-forum.com/t/weird-startup-os-x-time-zone-issue/229605 "2013-01-13T12:51:04Z")

</div>

I deployed an app to an OS X (10.6.8) server, and launch time for the app was shockingly slow, but performance after launch was fine. The problem turns out to be this line in application.rb: config.time\_zone = /Time Z…

---

## [APC with Nginx](https://www.ruby-forum.com/t/apc-with-nginx/222381)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 27, 2012, 3:08pm UTC](https://www.ruby-forum.com/t/apc-with-nginx/222381 "2012-08-27T15:08:55Z")

</div>

Hi, I have installed APC in my server (CentOS) using ‘pecl install apc’; also nginx is there. How can configure APC for nginx? Please help. Posted at Nginx Forum:

---

## [Code complexity (etc.) tools and 1.9](https://www.ruby-forum.com/t/code-complexity-etc-tools-and-1-9/226315)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 3\
**Last updated:** [July 17, 2012, 12:02am UTC](https://www.ruby-forum.com/t/code-complexity-etc-tools-and-1-9/226315 "2012-07-17T00:02:04Z")

</div>

I’ve just tried out reek, which is not a bad little tool… but it chokes on 1.9 sometimes (the new hash syntax). flog, which I’ve used in the past, is the same. What are the newest/best code analysis tools, in your own …

---

## [Recherche développeur RoR](https://www.ruby-forum.com/t/recherche-developpeur-ror/221234)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 5, 2012, 11:58am UTC](https://www.ruby-forum.com/t/recherche-developpeur-ror/221234 "2012-07-05T11:58:31Z")

</div>

Bonjour, La société Acte est une billetterie en ligne dédiée aux CE et aux collectivités (www.acte-collectivites.com). Nous recherchons actuellement un développeur RoR. Description du poste : -Connaître Rails 2.3.5 …

---

## [Rendering partial views with ajax calls in rails 3.1](https://www.ruby-forum.com/t/rendering-partial-views-with-ajax-calls-in-rails-3-1/219919)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 22, 2012, 3:22pm UTC](https://www.ruby-forum.com/t/rendering-partial-views-with-ajax-calls-in-rails-3-1/219919 "2012-05-22T15:22:52Z")

</div>

I’m starting now with rails, and i have simply question i think. I need to render two partials in one ajax call: I have the following controller: # GET /hosts/1 # GET /hosts/1.json def show @host = Host.find(params…

---

## [Rails and the Ubuntu command line](https://www.ruby-forum.com/t/rails-and-the-ubuntu-command-line/219434)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 3, 2012, 2:41am UTC](https://www.ruby-forum.com/t/rails-and-the-ubuntu-command-line/219434 "2012-05-03T02:41:35Z")

</div>

I am new to rails The rails command to create new application: rails new depot is not working. It creates a folder named new inside the current directory when was expecting depot Even the command that generate scaffo…

---

## [The naming of STI tables](https://www.ruby-forum.com/t/the-naming-of-sti-tables/217659)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 8, 2012, 10:31pm UTC](https://www.ruby-forum.com/t/the-naming-of-sti-tables/217659 "2012-03-08T22:31:16Z")

</div>

File this under mild pedantry, but it’s been bugging me. Assume I want to store different kinds of fruit in an STI table. My approach works, but I end up referring to “fruit\_bases” throughout my code where I’d reall…

---

## [Change bitrate dynamically in tunnel.py](https://www.ruby-forum.com/t/change-bitrate-dynamically-in-tunnel-py/215576)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 15, 2012, 6:49pm UTC](https://www.ruby-forum.com/t/change-bitrate-dynamically-in-tunnel-py/215576 "2012-01-15T18:49:33Z")

</div>

Hi all, Now I use tunnel.py with USRP2. I set bitrate when I run tunnel.py. I cannot change the bitrate until I finish tunnel.py. But, I want to change bitrate dynamically when I am running tunnel.py. Does anyone kn…

---

## [8-bit samples on USRP2 at 33.333Msps](https://www.ruby-forum.com/t/8-bit-samples-on-usrp2-at-33-333msps/213729)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 10, 2011, 5:21am UTC](https://www.ruby-forum.com/t/8-bit-samples-on-usrp2-at-33-333msps/213729 "2011-11-10T05:21:56Z")

</div>

Just did a quick test of 8-bit samples on a USRP2, on one of my 6-core AMD machines. I can get to 33Msps with a fairly simple SOURCE–\>MULT–\>FFT\_SINK flow-graph, but anything more complicated causes overruns. If I try…

---

## [\[Ruby 1.9 - Bug #5213\]\[Open\] GC.stress=true で TestSH#test commercial が Failure になる](https://www.ruby-forum.com/t/ruby-1-9-bug-5213-open-gc-stress-true-testsh-test-commercial-failure/210982)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 28, 2011, 9:37am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-5213-open-gc-stress-true-testsh-test-commercial-failure/210982 "2011-08-28T09:37:46Z")

</div>

Issue #5213 has been reported by Tomoyuki C… Bug #5213: GC.stress=true で TestSH#test\_commercial が Failure になる Author: Tomoyuki C. Status: Open Priority: Normal Assignee: tadayoshi funaba Category: ext Target ver…

---

## [Passing intance variable from controller application\_controller.rb to view template](https://www.ruby-forum.com/t/passing-intance-variable-from-controller-application-controller-rb-to-view-template/211072)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 25, 2011, 11:55am UTC](https://www.ruby-forum.com/t/passing-intance-variable-from-controller-application-controller-rb-to-view-template/211072 "2011-08-25T11:55:36Z")

</div>

Hi, guy. How to pass a variable from application\_controller.rb to view template. Whatever it is what kind of variable. I just want to pass the variable value to template. Thank you.

---

## [Regexp inconsistency](https://www.ruby-forum.com/t/regexp-inconsistency/209792)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 22, 2011, 10:33pm UTC](https://www.ruby-forum.com/t/regexp-inconsistency/209792 "2011-07-22T22:33:03Z")

</div>

I observed a inconsistent behavior between ruby (ruby 1.8.6 (2009-06-08 patchlevel 369) \[x86\_64-linux\]), running in my host, and ruby in www.rubular.com (reports “Rubular runs on Ruby 1.8.7.”). The expression: / (\\w+(…

---

## [HTTP Streaming: Javascript in the head or at the bottom of the page?](https://www.ruby-forum.com/t/http-streaming-javascript-in-the-head-or-at-the-bottom-of-the-page/208384)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 16, 2011, 9:18pm UTC](https://www.ruby-forum.com/t/http-streaming-javascript-in-the-head-or-at-the-bottom-of-the-page/208384 "2011-06-16T21:18:07Z")

</div>

There’s a discussion going on at StackOverflow about whether, with the advent of HTTP streaming in Rails 3.1, it’s time to bend the rules with respect to the time honoured tradition of putting tags before the closing…

---

## [Re:](https://www.ruby-forum.com/t/re/207740)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 2, 2011, 11:34am UTC](https://www.ruby-forum.com/t/re/207740 "2011-06-02T11:34:20Z")

</div>

When running two vhosts, one of which listens on \[::\], the other on localhost, nginx will fail with this error: 2011/06/01 10:12:35 \[emerg\] 9750#0: bind() to 127.0.0.1:80 failed (98: Address already in use) My under…

---

## [Fully qualified table names in ActiveRecord](https://www.ruby-forum.com/t/fully-qualified-table-names-in-activerecord/206218)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 26, 2011, 2:23am UTC](https://www.ruby-forum.com/t/fully-qualified-table-names-in-activerecord/206218 "2011-04-26T02:23:34Z")

</div>

Hi there, I’m developing an app based on a legacy database in which all the tables were created by a user other than dbo. That means in order to access the tables I need to qualify the table name with the owner name…

---

## [I think %s\[\] should build an array of symbols instead of a single symbol](https://www.ruby-forum.com/t/i-think-s-should-build-an-array-of-symbols-instead-of-a-single-symbol/204116)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 8, 2011, 11:18am UTC](https://www.ruby-forum.com/t/i-think-s-should-build-an-array-of-symbols-instead-of-a-single-symbol/204116 "2011-03-08T11:18:47Z")

</div>

I find %s\[\] builds a single symbol. p %s\[ I think this should build an array of symbols \] =\> :" I think this should build an array of symbols " It even costs one more keystroke than :"", so it has no effect to make f…

---

## [Secure Timeout](https://www.ruby-forum.com/t/secure-timeout/200897)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 3\
**Last updated:** [December 24, 2010, 5:42pm UTC](https://www.ruby-forum.com/t/secure-timeout/200897 "2010-12-24T17:42:20Z")

</div>

I am looking for a secure way to Timeout a block of code. I noticed that ‘timeout’ (part of ruby) doesn’t work if the script is busy in a certain function. For example: require ‘timeout’ Timeout.timeout(5) do Dir\["//…

---

## [Having trouble installing Devise gem on Mac, please help!](https://www.ruby-forum.com/t/having-trouble-installing-devise-gem-on-mac-please-help/200399)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 11, 2010, 6:50pm UTC](https://www.ruby-forum.com/t/having-trouble-installing-devise-gem-on-mac-please-help/200399 "2010-12-11T18:50:40Z")

</div>

Hi All, I can’t seem to do any sort of Bundle Install specifically for the Devise gem because of an error… “Can’t find native extension…” associated with bcrypt-ruby. I have read around and the most common fix seems…

---

## [Force last-modified with SSI enabled?](https://www.ruby-forum.com/t/force-last-modified-with-ssi-enabled/195767)

<div class="topic-metadata">

**Author:** [@craayzie](https://www.ruby-forum.com/u/craayzie)\
**Replies:** 3\
**Last updated:** [September 29, 2010, 10:01pm UTC](https://www.ruby-forum.com/t/force-last-modified-with-ssi-enabled/195767 "2010-09-29T22:01:33Z")

</div>

Is there a way to get nginx to send a last-modified of the “master” object when SSI is enabled outside of the: add\_header Last-Modified “blah” directive? Open to any and all work arounds. Thanks in advance. Fima

---

## [Is my code unelegant?](https://www.ruby-forum.com/t/is-my-code-unelegant/194431)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 3\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/is-my-code-unelegant/194431 "2010-09-06T16:39:38Z")

</div>

Is the attached code too messy to be considered “good”? I can’t figure out if I created too many variables. I’m just now learning Ruby, and I just can’t figure out if that’s bad code.

---

## [Method with array PROBLEM](https://www.ruby-forum.com/t/method-with-array-problem/192701)

<div class="topic-metadata">

**Author:** [@cisco](https://www.ruby-forum.com/u/cisco)\
**Replies:** 3\
**Last updated:** [August 4, 2010, 11:06am UTC](https://www.ruby-forum.com/t/method-with-array-problem/192701 "2010-08-04T11:06:00Z")

</div>

Hi, I have a problem, I have to write a method using an array but I’m not able to combine the two things. I have a txt file which contains words and puntuaction symbols separated whit spaces. I have to write a method…

---

## [Error with Gem Outdated command](https://www.ruby-forum.com/t/error-with-gem-outdated-command/189355)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 3\
**Last updated:** [August 4, 2010, 2:25am UTC](https://www.ruby-forum.com/t/error-with-gem-outdated-command/189355 "2010-08-04T02:25:20Z")

</div>

Trying to run ‘gem outdated’ on OS X (10.6.3) and I’m getting: sudo gem outdated ERROR: While executing gem … (NoMethodError) undefined method \`first’ for nil:NilClass Here’s my info: john$ gem env RubyGems Envir…

---

## [Rb\_to\_float $B$,CY$$(B](https://www.ruby-forum.com/t/rb-to-float-b-cy-b/191041)

<div class="topic-metadata">

**Author:** [@whiteleaf](https://www.ruby-forum.com/u/whiteleaf)\
**Replies:** 3\
**Last updated:** [July 4, 2010, 8:47am UTC](https://www.ruby-forum.com/t/rb-to-float-b-cy-b/191041 "2010-07-04T08:47:57Z")

</div>

whiteleaf e$B$H?=$7$^$9!#e(B e$B%P%0$H8@$C$F$h$$$N$+$o$+$i$J$+$C$?$N$G%A%1%C%H$K$O$7$^$;$s$G$7$?!#e(B object.c e$B$Ne(B rb\_to\_float e$B$Ge(B T\_FLOAT e$B0J30$N%G!\<%?$,EO$5$l$?;~$,CY$$$G$9!#e(B e$BNc$($P$3$s$J;~$K1F6A$…

---

## [Block or record MSN/AIM conversations](https://www.ruby-forum.com/t/block-or-record-msn-aim-conversations/185917)

<div class="topic-metadata">

**Author:** [@rihana](https://www.ruby-forum.com/u/rihana)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 8:19am UTC](https://www.ruby-forum.com/t/block-or-record-msn-aim-conversations/185917 "2010-03-31T08:19:57Z")

</div>

Do you know any good software to block msn or other chat tools,many employees have wasted many time to chatting with other people during the working time

---

## [Store created\_at in Hawaii's time zone UTC-10](https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 3\
**Last updated:** [March 25, 2010, 4:30am UTC](https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665 "2010-03-25T04:30:31Z")

</div>

Hi, I have to use Hawaii’s time zone which is UTC-10 for my created\_at. Can anyone tell me how can I solve this problem? Thanks, Tushar

---

## [Error mailer type control](https://www.ruby-forum.com/t/error-mailer-type-control/183421)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [February 14, 2010, 7:34am UTC](https://www.ruby-forum.com/t/error-mailer-type-control/183421 "2010-02-14T07:34:04Z")

</div>

I am really not interested in getting error mails for crap like people scanning to see if I have some outdated version of phpmyadmin, roundcube, etc… the typical stuff hackers are will look for. So within my applicati…

---

## [How to use the rx\_decim and interp](https://www.ruby-forum.com/t/how-to-use-the-rx-decim-and-interp/181864)

<div class="topic-metadata">

**Author:** [@srinivas\_naga\_vutuk](https://www.ruby-forum.com/u/srinivas_naga_vutuk)\
**Replies:** 3\
**Last updated:** [January 21, 2010, 11:59pm UTC](https://www.ruby-forum.com/t/how-to-use-the-rx-decim-and-interp/181864 "2010-01-21T23:59:06Z")

</div>

Hi, Am trying to send IQ samples of float from one usrp2 to another usrp2. As an ex: am taken the data of Sinusoidal generated from MATLAB, and pumping into the 1st one using tx\_samples and receiving into the 2nd usr…

---

## [Unit Testing of Routes](https://www.ruby-forum.com/t/unit-testing-of-routes/175547)

<div class="topic-metadata">

**Author:** [@icke](https://www.ruby-forum.com/u/icke)\
**Replies:** 3\
**Last updated:** [September 15, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/unit-testing-of-routes/175547 "2009-09-15T20:33:27Z")

</div>

Hi, I am trying to pull together a unit testing for routes but I am getting confused. I have read AWDWR section 21.4 which explains how to code the assertions. also basically says the same. The problem I have is w…

---

## [Scaffolding w/ existing DB Tables](https://www.ruby-forum.com/t/scaffolding-w-existing-db-tables/173483)

<div class="topic-metadata">

**Author:** [@ratking](https://www.ruby-forum.com/u/ratking)\
**Replies:** 3\
**Last updated:** [August 10, 2009, 1:25pm UTC](https://www.ruby-forum.com/t/scaffolding-w-existing-db-tables/173483 "2009-08-10T13:25:45Z")

</div>

I am sure many people have asked this already… But I could not find anything helpful. I am trying to use RoR with an existing database with tables already defined. I used script/generate scaffold account But when I p…

---

## [Download file located outside rails aaplication folder](https://www.ruby-forum.com/t/download-file-located-outside-rails-aaplication-folder/172890)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 3\
**Last updated:** [July 30, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/download-file-located-outside-rails-aaplication-folder/172890 "2009-07-30T14:21:40Z")

</div>

hi, how can i access/download a file located somewhere else outside rails application folder? suppose, file is in /tmp/ or /home/some\_folder/ on linux, then what should be the path given for send\_file? -DPP

---

## [Compile errors with gcc-4.4](https://www.ruby-forum.com/t/compile-errors-with-gcc-4-4/169901)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [June 12, 2009, 6:22pm UTC](https://www.ruby-forum.com/t/compile-errors-with-gcc-4-4/169901 "2009-06-12T18:22:07Z")

</div>

Hi all- I just installed Fedora 11 x86\_64 which features gcc-4.4. I get compile errors such as: “gr\_fft\_filter\_ccc.cc: In member function â€˜void gr\_fft\_filter\_ccc::compute\_sizes(int)â€™: gr\_fft\_filter\_ccc.cc:133: …

---

## [Listing of Category error](https://www.ruby-forum.com/t/listing-of-category-error/166384)

<div class="topic-metadata">

**Author:** [@haneef5k](https://www.ruby-forum.com/u/haneef5k)\
**Replies:** 3\
**Last updated:** [April 24, 2009, 8:35pm UTC](https://www.ruby-forum.com/t/listing-of-category-error/166384 "2009-04-24T20:35:06Z")

</div>

Im trying to see posts index page, In tat im showing category list, im using collect method it show error… ActiveRecord::StatementInvalid in Posts#index Showing app/views/posts/index.html.erb where line #19 raised: M…

---

## [Error on running any controller- Noob question](https://www.ruby-forum.com/t/error-on-running-any-controller-noob-question/166144)

<div class="topic-metadata">

**Author:** [@PNDUR](https://www.ruby-forum.com/u/PNDUR)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 3:14pm UTC](https://www.ruby-forum.com/t/error-on-running-any-controller-noob-question/166144 "2009-04-22T15:14:53Z")

</div>

Hi , I am running on Vista with webrick … When I generate controllers , models and views I get an error as under. C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/ dependencies.rb:105:in const\_m…

---

## [Grc should warn, not fail with malformed xml](https://www.ruby-forum.com/t/grc-should-warn-not-fail-with-malformed-xml/164623)

<div class="topic-metadata">

**Author:** [@Dimitris\_S](https://www.ruby-forum.com/u/Dimitris_S)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 4:05pm UTC](https://www.ruby-forum.com/t/grc-should-warn-not-fail-with-malformed-xml/164623 "2009-04-05T16:05:07Z")

</div>

I am creating xml files for my RDS block, in order to be able to use it together with GRC. I had forgotten to close a tag in an xml file that I had put into /usr/local/share/gnuradio/grc/platforms/python/blocks/ The …

---

## [Objects put into a declared array](https://www.ruby-forum.com/t/objects-put-into-a-declared-array/161216)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 3\
**Last updated:** [February 25, 2009, 10:36am UTC](https://www.ruby-forum.com/t/objects-put-into-a-declared-array/161216 "2009-02-25T10:36:46Z")

</div>

Hi I’ve got this misunderstanding of how to use arrays and objects stored there in (note I’m actually using Shoes if this has any bearing on my problem). below is a bit of code i’ve written that creates an array of 25…

---

## [Rails on Apache](https://www.ruby-forum.com/t/rails-on-apache/161224)

<div class="topic-metadata">

**Author:** [@angaps](https://www.ruby-forum.com/u/angaps)\
**Replies:** 3\
**Last updated:** [February 24, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/rails-on-apache/161224 "2009-02-24T19:18:02Z")

</div>

Hai I want to run my rails application in the apache server, the steps i followed are: Here we ll go for deploying rails with apache. Install Ruby and Rails. Install Apache HTTP Server. Win32 Binary without cry…

---

## [Sorting an array by mutliple fields](https://www.ruby-forum.com/t/sorting-an-array-by-mutliple-fields/158982)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 3\
**Last updated:** [January 30, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/sorting-an-array-by-mutliple-fields/158982 "2009-01-30T14:46:32Z")

</div>

I can do sorting by a single field like the following: @users.sort! { |a,b| a.name.downcase \< =\> b.name.downcase } but what if i want to sort by user.name and then user.rank? what’s the best way to do this? thanks!

---

## [Ruby is!](https://www.ruby-forum.com/t/ruby-is/156090)

<div class="topic-metadata">

**Author:** [@selim007](https://www.ruby-forum.com/u/selim007)\
**Replies:** 3\
**Last updated:** [December 25, 2008, 11:50am UTC](https://www.ruby-forum.com/t/ruby-is/156090 "2008-12-25T11:50:18Z")

</div>

Hello, I have a text- class TestStr \< String attr\_accessor :dupstr def initialize ( str ) @dupstr = str super(str) end end ts=TestStr.new(“aaa”) puts ts.dupstr h=Hash.new() h\[ts\]=true puts h.keys.first.clas…

---

## [About query database and virtual attributes](https://www.ruby-forum.com/t/about-query-database-and-virtual-attributes/126671)

<div class="topic-metadata">

**Author:** [@flyingzumwalt](https://www.ruby-forum.com/u/flyingzumwalt)\
**Replies:** 3\
**Last updated:** [December 14, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/about-query-database-and-virtual-attributes/126671 "2008-12-14T16:21:22Z")

</div>

Hi, My model has a lot of virtual attributes. So when I use find(:all, :condition=\>blablabla), can I use virtual attribute directly? eg. in my model: def mydatetime self.date+self.time end can i just use “mydatet…

---

## [Intermittent Cucumber exception](https://www.ruby-forum.com/t/intermittent-cucumber-exception/154755)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 3\
**Last updated:** [December 3, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/intermittent-cucumber-exception/154755 "2008-12-03T20:03:00Z")

</div>

Hi Anyone recognise this exception, and know what causes it to happen occasionally? Thanks Ashley Scenario: new story appears on feed # features/descriptions/ story\_notification.f…

---

## [Why can't I 'count' the results from a model 'find'?](https://www.ruby-forum.com/t/why-cant-i-count-the-results-from-a-model-find/154157)

<div class="topic-metadata">

**Author:** [@theogb](https://www.ruby-forum.com/u/theogb)\
**Replies:** 3\
**Last updated:** [November 27, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/why-cant-i-count-the-results-from-a-model-find/154157 "2008-11-27T17:13:44Z")

</div>

Hi, I’m running the following code in my show() method: @articles = Article.find(:all, :conditions =\> \["issue\_id = ?", @issue.id\], :order =\> ‘column,position’) if (params\[:article\_id\]) @article\_id = par…

---

## [Rails - 2 buttoms on a FORM](https://www.ruby-forum.com/t/rails-2-buttoms-on-a-form/153765)

<div class="topic-metadata">

**Author:** [@xads](https://www.ruby-forum.com/u/xads)\
**Replies:** 3\
**Last updated:** [November 21, 2008, 12:06pm UTC](https://www.ruby-forum.com/t/rails-2-buttoms-on-a-form/153765 "2008-11-21T12:06:31Z")

</div>

then, in my FORM there are 2 buttoms : first to select a file to upload buttom=“Parcourir” second to send the complete Form, buttom=“ENVOYER” “parcourir” is for to select a file to upload but “ENVOYER” must validate…

---

## [Emacs / rcodetools](https://www.ruby-forum.com/t/emacs-rcodetools/151292)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 3\
**Last updated:** [October 20, 2008, 2:49pm UTC](https://www.ruby-forum.com/t/emacs-rcodetools/151292 "2008-10-20T14:49:48Z")

</div>

Hi all, I’m trying to get emacs running nicely all weekend. But I can’t get certain things to work. I’ve installed rcodetools and tried to use it for tab-completion. Using m-X rct-complete-symbol works just fine. But…

---

## [Image resize on the fly](https://www.ruby-forum.com/t/image-resize-on-the-fly/149643)

<div class="topic-metadata">

**Author:** [@Abhishek\_shukla](https://www.ruby-forum.com/u/Abhishek_shukla)\
**Replies:** 3\
**Last updated:** [September 27, 2008, 10:32am UTC](https://www.ruby-forum.com/t/image-resize-on-the-fly/149643 "2008-09-27T10:32:44Z")

</div>

Hi guys is there any Javascript library is there which can help me to resive the image on the fly… Regards Abhishek shukla.

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

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