# Top

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

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

---

## [String utf8 size in kilobytes](https://www.ruby-forum.com/t/string-utf8-size-in-kilobytes/90059)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 2\
**Last updated:** [January 5, 2006, 1:47pm UTC](https://www.ruby-forum.com/t/string-utf8-size-in-kilobytes/90059 "2006-01-05T13:47:47Z")

</div>

I have a mimemessage in a string. This string is utf8, i would like to know the size of this string. String.size gives me the length in characters, but i need the size in kb or bytes

---

## [There should be one test or two?](https://www.ruby-forum.com/t/there-should-be-one-test-or-two/193962)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 5\
**Last updated:** [August 28, 2010, 2:00am UTC](https://www.ruby-forum.com/t/there-should-be-one-test-or-two/193962 "2010-08-28T02:00:02Z")

</div>

in real world, when user deposit money into their bank, bank have money and can check deposit record. so what would it be in rspec? it ‘should be deposit $10’ user.bank.deposit(10) user.bank.deposit.saving.should == …

---

## [Failed to build ext/tk of ruby-1.9.2-rc2 on Mac OS X](https://www.ruby-forum.com/t/failed-to-build-ext-tk-of-ruby-1-9-2-rc2-on-mac-os-x/192313)

<div class="topic-metadata">

**Author:** [@Yutaka\_H](https://www.ruby-forum.com/u/Yutaka_H)\
**Replies:** 5\
**Last updated:** [August 2, 2010, 11:58am UTC](https://www.ruby-forum.com/t/failed-to-build-ext-tk-of-ruby-1-9-2-rc2-on-mac-os-x/192313 "2010-08-02T11:58:56Z")

</div>

yharae$B$G$9!#e(B e$B\<j85$Ne(BMacBooke$B$Ge(Bruby-1.9.2-rc2e$B$r%3%s%Q%$%k$7$h$&$H$7$?$H$3$m!"e(B ext/tke$B$N$H$3$m$G;\_$^$C$F$7$^$$$^$7$?!#e(B e$BCN?M$Ne(BMacBooke$B$G$O%3%s%Q%$%k$G$-$k$=$&$J$N$G!"KM$N4D6-$,$\*$+$7$$$N…

---

## [Rmagick for Ruby 1.8.6 won't work for Ruby 1.8.7?](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 5\
**Last updated:** [July 24, 2010, 2:10am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112 "2010-07-24T02:10:19Z")

</div>

if i install 2.12.0 binary gem for Ruby 1.8.6 2009-10-04 16:05 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip which is from http://rubyforge.org/frs/?group\_id=12&release\_id=43232 then when i use ruby 1.8.7 to require …

---

## ["msvcrt-ruby.ruby1818.dll not found" on wxruby-2.0.1 mingw32](https://www.ruby-forum.com/t/msvcrt-ruby-ruby1818-dll-not-found-on-wxruby-2-0-1-mingw32/175233)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 5\
**Last updated:** [December 21, 2009, 8:20am UTC](https://www.ruby-forum.com/t/msvcrt-ruby-ruby1818-dll-not-found-on-wxruby-2-0-1-mingw32/175233 "2009-12-21T08:20:28Z")

</div>

Hi all, Just upgraded to wxruby-2.0.1-x86-mingw32 (from 2.0.0), got an error when starting my app. “The application has failed to start because msvcrt-ruby1818.dll was not found. Re-installing the application may fix…

---

## [How to alias the columns names to change the name on error\_messages\_for?](https://www.ruby-forum.com/t/how-to-alias-the-columns-names-to-change-the-name-on-error-messages-for/143506)

<div class="topic-metadata">

**Author:** [@lz-coelho](https://www.ruby-forum.com/u/lz-coelho)\
**Replies:** 5\
**Last updated:** [July 20, 2008, 2:49pm UTC](https://www.ruby-forum.com/t/how-to-alias-the-columns-names-to-change-the-name-on-error-messages-for/143506 "2008-07-20T14:49:38Z")

</div>

Yeah, How can i alias the columns names to show another string name in error\_messages\_for? class CreateUsers \< ActiveRecord::Migration def self.up create\_table :users do |t| t.column :pizza, :string I want to show…

---

## [Prefix fÃ¼r eine Webanwendung angeben?](https://www.ruby-forum.com/t/prefix-fa-r-eine-webanwendung-angeben/132033)

<div class="topic-metadata">

**Author:** [@rbjl](https://www.ruby-forum.com/u/rbjl)\
**Replies:** 5\
**Last updated:** [March 16, 2008, 12:51pm UTC](https://www.ruby-forum.com/t/prefix-fa-r-eine-webanwendung-angeben/132033 "2008-03-16T12:51:24Z")

</div>

Ja hallo erstmal,… ich betreibe eine Rails 2.0.2 Anwendung mit Apache2 und fastCGI. Es gelingt mir jedoch nicht, die Anwendung über ein “Unterverzeichnis” z.B. http://host/subdir/anwendung - lauffähig zu machen, da vo…

---

## [Strange Rails Behaviour with MySQL (delete cascade)](https://www.ruby-forum.com/t/strange-rails-behaviour-with-mysql-delete-cascade/117112)

<div class="topic-metadata">

**Author:** [@havatar](https://www.ruby-forum.com/u/havatar)\
**Replies:** 5\
**Last updated:** [October 13, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/strange-rails-behaviour-with-mysql-delete-cascade/117112 "2007-10-13T19:43:45Z")

</div>

hi, i have a problem that involve mysql. i habe two tables: groups,ranks ranks have a foraign key from groups with delete on cascade. In my ranks migration i use this execute ‘ALTER TABLE ranks ADD FOREIGN KEY (group…

---

## [In-flight HTTP requests fail during hot configuration reload (SIGHUP)](https://www.ruby-forum.com/t/in-flight-http-requests-fail-during-hot-configuration-reload-sighup/242159)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 2, 2015, 3:28pm UTC](https://www.ruby-forum.com/t/in-flight-http-requests-fail-during-hot-configuration-reload-sighup/242159 "2015-06-02T15:28:35Z")

</div>

We have recently migrated across from HAProxy to Nginx because it supports true zero-downtime configuration reloads. However, we are occasionally getting 502 and 504 errors from our monitoring systems during deploym…

---

## [Ruby 1.8.7-p302.exe file i am not getting](https://www.ruby-forum.com/t/ruby-1-8-7-p302-exe-file-i-am-not-getting/233905)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [January 22, 2015, 11:34am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-p302-exe-file-i-am-not-getting/233905 "2015-01-22T11:34:48Z")

</div>

please i want to install the version ruby1.8.7-p302.exe please help me out

---

## [Problem Running WEBrick server in aptana RadRails](https://www.ruby-forum.com/t/problem-running-webrick-server-in-aptana-radrails/238770)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 28, 2014, 11:54am UTC](https://www.ruby-forum.com/t/problem-running-webrick-server-in-aptana-radrails/238770 "2014-01-28T11:54:43Z")

</div>

This is the error i got when i attempt to run webrick server in aptana radrails … “5220” C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:in \`require’: iconv will be deprecated in the future, use Str…

---

## [Store data in db from XML](https://www.ruby-forum.com/t/store-data-in-db-from-xml/176352)

<div class="topic-metadata">

**Author:** [@smit\_shah](https://www.ruby-forum.com/u/smit_shah)\
**Replies:** 3\
**Last updated:** [October 12, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/store-data-in-db-from-xml/176352 "2010-10-12T15:41:39Z")

</div>

Hi All… I am trying to parsing data from XML. But I am not able to store it in database. Anyone have any idea about that??? Thanks in advance…

---

## [How to upgrade ruby to a specific version](https://www.ruby-forum.com/t/how-to-upgrade-ruby-to-a-specific-version/171632)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 8\
**Last updated:** [July 7, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-ruby-to-a-specific-version/171632 "2009-07-07T19:21:35Z")

</div>

Hi there, sorry for the n00b question: What’s the correct linux command for upgrading ruby to a specific version? (Ruby 1.8.6-p369 is needed.) Btw, it’s this security issue that leads me to it: http://www.ruby-lang.…

---

## [RFC con before\_save](https://www.ruby-forum.com/t/rfc-con-before-save/139793)

<div class="topic-metadata">

**Author:** [@lmcdougal](https://www.ruby-forum.com/u/lmcdougal)\
**Replies:** 8\
**Last updated:** [June 10, 2008, 2:58am UTC](https://www.ruby-forum.com/t/rfc-con-before-save/139793 "2008-06-10T02:58:26Z")

</div>

Hola a todos, estoy empezando a desarrollar en RoR, con algunos tutoriales y manuelaes que me baje del Internet. Empece con el desarollo de un sistema de Control de Empleados y estoy atorado en una parte, a ver si alg…

---

## [Migrations, the "right" way](https://www.ruby-forum.com/t/migrations-the-right-way/138077)

<div class="topic-metadata">

**Author:** [@dustin](https://www.ruby-forum.com/u/dustin)\
**Replies:** 8\
**Last updated:** [May 20, 2008, 9:36pm UTC](https://www.ruby-forum.com/t/migrations-the-right-way/138077 "2008-05-20T21:36:17Z")

</div>

I’ve got the Agile Web D. with Rails book that tells me to do migrations different than the what is explained on api.rubyonrails.org under ActiveRecord::Migration What is the “best” or “right” syntax of migrations?

---

## [Random 500 error](https://www.ruby-forum.com/t/random-500-error/115986)

<div class="topic-metadata">

**Author:** [@Mariano\_Viola](https://www.ruby-forum.com/u/Mariano_Viola)\
**Replies:** 8\
**Last updated:** [October 3, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/random-500-error/115986 "2007-10-03T17:05:11Z")

</div>

Hi, I’m working from two month on a radiant based government site that has worked fine until two days ago. Now I get a random 500 internal server error when I try to edit/view pages in the admin interface and the err…

---

## [Map more than one array at once](https://www.ruby-forum.com/t/map-more-than-one-array-at-once/109860)

<div class="topic-metadata">

**Author:** [@wil](https://www.ruby-forum.com/u/wil)\
**Replies:** 3\
**Last updated:** [July 19, 2007, 7:39pm UTC](https://www.ruby-forum.com/t/map-more-than-one-array-at-once/109860 "2007-07-19T19:39:30Z")

</div>

Hi all, I’ve been using Ruby for a while now, and have enjoyed it immensely. However, I haven’t yet found how to map more than one array at once. The common example is calculating the dot product. You’d need to iter…

---

## [A way to get all the words from an index?](https://www.ruby-forum.com/t/a-way-to-get-all-the-words-from-an-index/105527)

<div class="topic-metadata">

**Author:** [@Philippe\_A](https://www.ruby-forum.com/u/Philippe_A)\
**Replies:** 3\
**Last updated:** [May 31, 2007, 12:26am UTC](https://www.ruby-forum.com/t/a-way-to-get-all-the-words-from-an-index/105527 "2007-05-31T00:26:46Z")

</div>

Hi, I am just wondering if there’s a way to get all the words from an index. Basically, all the words that have been indexed (excluding the stopwords if I’m using the stopwords analyzer, etc.) The fields I’m putting …

---

## [Http#get return 404 error](https://www.ruby-forum.com/t/http-get-return-404-error/63263)

<div class="topic-metadata">

**Author:** [@Lian\_Y](https://www.ruby-forum.com/u/Lian_Y)\
**Replies:** 3\
**Last updated:** [June 13, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/http-get-return-404-error/63263 "2006-06-13T18:41:55Z")

</div>

Hi, I tried to use http#get(“About the MLA | Modern Language Association”) to obtain the page, but it returns a 404 error. However, using browser works fine. I guess the server uses “struts” or similar framework. Wo…

---

## [Previosu Installations of Apache and MySQL](https://www.ruby-forum.com/t/previosu-installations-of-apache-and-mysql/52386)

<div class="topic-metadata">

**Author:** [@mysorian](https://www.ruby-forum.com/u/mysorian)\
**Replies:** 3\
**Last updated:** [February 23, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/previosu-installations-of-apache-and-mysql/52386 "2006-02-23T16:11:13Z")

</div>

I am new to the rails. After executing InstantRails, I see that it is trying to start, but I get these warnings regarding existing installations. In early Apache, I could just stop my IIS and apache would start on por…

---

## [Reasons to use else inside rescue](https://www.ruby-forum.com/t/reasons-to-use-else-inside-rescue/101856)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 8\
**Last updated:** [February 7, 2006, 10:34pm UTC](https://www.ruby-forum.com/t/reasons-to-use-else-inside-rescue/101856 "2006-02-07T22:34:04Z")

</div>

I understand that the code in the else part of a begin block is only executed if no exceptions are raised by code in the begin block. However, the same is true of code at the end of the begin block. Why not put the co…

---

## [Module Advice - Cassandra / Thrift](https://www.ruby-forum.com/t/module-advice-cassandra-thrift/216237)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 28, 2014, 3:27pm UTC](https://www.ruby-forum.com/t/module-advice-cassandra-thrift/216237 "2014-07-28T15:27:09Z")

</div>

Hi all … looking for some advice. I am looking to use the lau module in conjunction with a module that talks to nosql cassandra database. A couple of questions: Does a module exist that can talk to Apache Cassandra No…

---

## [RubyDay Ticket/Biglietto RubyDay](https://www.ruby-forum.com/t/rubyday-ticket-biglietto-rubyday/235294)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 11, 2013, 10:44pm UTC](https://www.ruby-forum.com/t/rubyday-ticket-biglietto-rubyday/235294 "2013-06-11T22:44:50Z")

</div>

Hi all, I’m writing on behalf of GitHub to say that we have a spare ticket for RubyDay (http://rubyday.it) and would love to give it to one of you! Please let me know if you’d like it - the first one to reply gets it! …

---

## [Possible Bug in jrubyc](https://www.ruby-forum.com/t/possible-bug-in-jrubyc/228520)

<div class="topic-metadata">

**Author:** [@Mark\_McCraw](https://www.ruby-forum.com/u/Mark_McCraw)\
**Replies:** 4\
**Last updated:** [April 25, 2013, 4:19pm UTC](https://www.ruby-forum.com/t/possible-bug-in-jrubyc/228520 "2013-04-25T16:19:10Z")

</div>

Hi All, I recently started working on packaging up a project I’ve been working on, and one of the requirements has been to compile ruby source into class files to be jarred up for distribution. I’ve struggled throug…

---

## [SRRC pulse shaping question](https://www.ruby-forum.com/t/srrc-pulse-shaping-question/224963)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 5, 2012, 6:40am UTC](https://www.ruby-forum.com/t/srrc-pulse-shaping-question/224963 "2012-12-05T06:40:25Z")

</div>

Hello all, I have a question applying to everybody that have tried transmitting symbols in different kinds of modulation (BPSK, QPSK, GMSK etc). I am using the following configuration in GNU Radio ( random source blo…

---

## [Mock stub et testing](https://www.ruby-forum.com/t/mock-stub-et-testing/165377)

<div class="topic-metadata">

**Author:** [@Antoine](https://www.ruby-forum.com/u/Antoine)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/mock-stub-et-testing/165377 "2009-04-15T15:43:59Z")

</div>

Bonjour Je débute dans les tests avec rails. J ai commencé à regarder un peu les livres et les exemples scaffold de rspec. Mais je m’embrouille dans la différence entre stub et mock et dans les bonnes practices. Qu…

---

## [Detect on which OS jruby is running](https://www.ruby-forum.com/t/detect-on-which-os-jruby-is-running/164396)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 4\
**Last updated:** [March 31, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/detect-on-which-os-jruby-is-running/164396 "2009-03-31T23:33:46Z")

</div>

Hi all, I’d like to know if there is a safe and standard way to detect on which OS jruby is running. The RUBY\_PLATFORM constant doesn’t seem to be very useful in this case. Thanks in advance. Andrea To unsubscribe…

---

## [GMSK receiver question, USRP tuning?](https://www.ruby-forum.com/t/gmsk-receiver-question-usrp-tuning/123560)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 4\
**Last updated:** [December 18, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/gmsk-receiver-question-usrp-tuning/123560 "2007-12-18T22:17:02Z")

</div>

Hi all, I’m using benchmark\_tx.py to transmit a GMSK sequence at 10MHz. As some of you know, I’m trying to debug my own GMSK m-block receiver. If I use test\_usrp\_standard\_rx -F 10000000 (not the in-band receiver) to …

---

## [UUIDTool and weird timestamp split error](https://www.ruby-forum.com/t/uuidtool-and-weird-timestamp-split-error/71771)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 4\
**Last updated:** [February 23, 2006, 9:24pm UTC](https://www.ruby-forum.com/t/uuidtool-and-weird-timestamp-split-error/71771 "2006-02-23T21:24:14Z")

</div>

Hi, I am using UUIDTools to generate my Guids. It works fine on my computer (Windows Xp), but doesn’t work on my host (TextDrive) The error is: Loading production environment. UUID.timestamp\_create.to\_s /sbin/ifc…

---

## [How to create a desktop like application](https://www.ruby-forum.com/t/how-to-create-a-desktop-like-application/241908)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 10, 2015, 8:20pm UTC](https://www.ruby-forum.com/t/how-to-create-a-desktop-like-application/241908 "2015-05-10T20:20:46Z")

</div>

I’m sorry if this is a dumb question. I am new to Ruby. I eventually would like to build an application that will be used by businesses to review their potential clients payment history. It will store this information …

---

## [Documentation in Ruby](https://www.ruby-forum.com/t/documentation-in-ruby/210113)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [July 31, 2011, 9:51pm UTC](https://www.ruby-forum.com/t/documentation-in-ruby/210113 "2011-07-31T21:51:57Z")

</div>

Hi I have a problem with Ruby Reference. How can I see all the methods of a class? for example from where I know that array has a method that its name is “detect” ? thanks

---

## [Apache Tomcat performance](https://www.ruby-forum.com/t/apache-tomcat-performance/201212)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [January 10, 2011, 3:52am UTC](https://www.ruby-forum.com/t/apache-tomcat-performance/201212 "2011-01-10T03:52:14Z")

</div>

Hi, I’m a newbie on Nginx and I became interested in it because Apache 2 is so wasteful with resources. However, Nginx seems a lot slower than Apache. It takes about 3 seconds to return a request even when I’m within…

---

## [Glassfish Log turnover problem](https://www.ruby-forum.com/t/glassfish-log-turnover-problem/167052)

<div class="topic-metadata">

**Author:** [@Joseph\_A](https://www.ruby-forum.com/u/Joseph_A)\
**Replies:** 7\
**Last updated:** [May 4, 2009, 9:09pm UTC](https://www.ruby-forum.com/t/glassfish-log-turnover-problem/167052 "2009-05-04T21:09:40Z")

</div>

I’m working on getting an application working with the glassfish gem but I’m having an issue with how it handles log files. It looks like glassfish is rolling over my log files at the 2MB but it will not create a ne…

---

## [How do I build a tree of directories?](https://www.ruby-forum.com/t/how-do-i-build-a-tree-of-directories/110293)

<div class="topic-metadata">

**Author:** [@thabenksta](https://www.ruby-forum.com/u/thabenksta)\
**Replies:** 1\
**Last updated:** [July 26, 2007, 12:45am UTC](https://www.ruby-forum.com/t/how-do-i-build-a-tree-of-directories/110293 "2007-07-26T00:45:45Z")

</div>

Hello. I need to send XML back to a client app listing all my directories and sub-directories on the server. The XML will look something like this: \<folder name="directory name" …

---

## [Inverse of eval()?](https://www.ruby-forum.com/t/inverse-of-eval/97065)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 7\
**Last updated:** [July 5, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/inverse-of-eval/97065 "2006-07-05T17:07:39Z")

</div>

I’m trying to figure out how to turn a string into an object. Can anyone point me? Here’s some background. Here’s the part of what I’m trying to do that works. @ford = \[‘mustang’, ‘pinto’\] make = ‘@ford’ puts eval(…

---

## [CORE\_RL\_magick\_.dll not found](https://www.ruby-forum.com/t/core-rl-magick-dll-not-found/125688)

<div class="topic-metadata">

**Author:** [@nikhilvaghela](https://www.ruby-forum.com/u/nikhilvaghela)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 4:05pm UTC](https://www.ruby-forum.com/t/core-rl-magick-dll-not-found/125688 "2008-01-11T16:05:51Z")

</div>

Hii, I am trying to run RmagicK 1.15 on WIn 2000 with ruby 1.8.6 and gem 1.0.1. i am getting an error CORE\_RL\_magick\_.dll not found inspite of repeated installation. i am not sure where Rmagick is comaptable wit…

---

## [Shorten SHA1-hash](https://www.ruby-forum.com/t/shorten-sha1-hash/112253)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/shorten-sha1-hash/112253 "2007-08-16T22:22:08Z")

</div>

In one of my railsapplications I have system for up/downloading files. Since I don’t want people to browse all the files, but anyone should be able to link to his/her files each file has it’s own unique URL - all pret…

---

## [PCRE with NGINX](https://www.ruby-forum.com/t/pcre-with-nginx/241841)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 5, 2015, 2:21pm UTC](https://www.ruby-forum.com/t/pcre-with-nginx/241841 "2015-05-05T14:21:49Z")

</div>

Hi, I am trying to insert a PCRE inside a map block. But looks like “{” used in my code is not liked. Suppose I am doing something like this inside a “map” block. .{1}(?P\<string\>.{9}).\* What is the escape character…

---

## [USRP N210 Signal Phase Issue](https://www.ruby-forum.com/t/usrp-n210-signal-phase-issue/238383)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [January 8, 2014, 10:58pm UTC](https://www.ruby-forum.com/t/usrp-n210-signal-phase-issue/238383 "2014-01-08T22:58:49Z")

</div>

A colleague and I are sending a simple signal in GNU Radio (sine wave, 1 MHz, amplitude of 1) to the USRP sink and have the center frequency at 500 MHz. The N210 USRP is hooked up to an Agilent spectrum analyzer. On t…

---

## [Partitioning Specs](https://www.ruby-forum.com/t/partitioning-specs/166889)

<div class="topic-metadata">

**Author:** [@Nicholas\_Van\_W](https://www.ruby-forum.com/u/Nicholas_Van_W)\
**Replies:** 6\
**Last updated:** [May 1, 2009, 6:30am UTC](https://www.ruby-forum.com/t/partitioning-specs/166889 "2009-05-01T06:30:45Z")

</div>

Hi, I installed Restful Authentication and it placed a lot of specs and features in cucumber and rspec directories. Is there a way frameworks can partition there tests so that “rake spec” doesn’t run all their tests…

---

## [Re: Re: I need help](https://www.ruby-forum.com/t/re-re-i-need-help/164790)

<div class="topic-metadata">

**Author:** [@Jay\_McGaffigan](https://www.ruby-forum.com/u/Jay_McGaffigan)\
**Replies:** 6\
**Last updated:** [April 6, 2009, 12:12pm UTC](https://www.ruby-forum.com/t/re-re-i-need-help/164790 "2009-04-06T12:12:25Z")

</div>

If you are using glassfish. Please post your server log. I've been deploying to GF successfully for a while now and found that the server log is very helpful in pointing out what's going on. Jay Apr 5, 2009 04:…

---

## [Active link](https://www.ruby-forum.com/t/active-link/134262)

<div class="topic-metadata">

**Author:** [@berri](https://www.ruby-forum.com/u/berri)\
**Replies:** 6\
**Last updated:** [April 10, 2008, 8:31am UTC](https://www.ruby-forum.com/t/active-link/134262 "2008-04-10T08:31:26Z")

</div>

Hi, I need to use for active link another style as is mentioned below but it doesnt works. What is bad in my code? Thank you.

---

## [Connection refused usando capistrano](https://www.ruby-forum.com/t/connection-refused-usando-capistrano/131859)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 6\
**Last updated:** [March 15, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/connection-refused-usando-capistrano/131859 "2008-03-15T21:28:08Z")

</div>

Hola Es necesario que el hosting disponga de alguna configuración especial para poder usar capistrano, aparte de svn lógicamente, He creado un repositorio svn, configuro luego el fichero deploy.rb ejecuto cap deploy:…

---

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

<div class="topic-metadata">

**Author:** [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Replies:** 6\
**Last updated:** [February 22, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/re-ruby-tail/86446 "2007-02-22T14:15:30Z")

</div>

Actually, I am not sure how this would work. If I do this, I get no output from the file: tail -f sim.out So there is something basic I am missing here. Any help? TIA, Phy ----- Original Message ---- From: Kevin…

---

## [Saving gzipped string into Sqlite3 via Rails throws unrecognized token error](https://www.ruby-forum.com/t/saving-gzipped-string-into-sqlite3-via-rails-throws-unrecognized-token-error/185794)

<div class="topic-metadata">

**Author:** [@pablitoman](https://www.ruby-forum.com/u/pablitoman)\
**Replies:** 3\
**Last updated:** [March 26, 2010, 8:40am UTC](https://www.ruby-forum.com/t/saving-gzipped-string-into-sqlite3-via-rails-throws-unrecognized-token-error/185794 "2010-03-26T08:40:53Z")

</div>

Not sure if this belongs in the rails forum or here (it’s a little of both)… I’m using rails 2.3 and I’m trying to compress (gzip) text that I’d like to save using ActiveRecord into a sqlite database. However, the co…

---

## [Use of HSQL with Sequel or DataMapper?](https://www.ruby-forum.com/t/use-of-hsql-with-sequel-or-datamapper/156397)

<div class="topic-metadata">

**Author:** [@nabblee](https://www.ruby-forum.com/u/nabblee)\
**Replies:** 3\
**Last updated:** [December 27, 2008, 3:09pm UTC](https://www.ruby-forum.com/t/use-of-hsql-with-sequel-or-datamapper/156397 "2008-12-27T15:09:04Z")

</div>

Does anyone have an example of using HSQL with the Sequel or DataMapper gems? I think I’m making progress with ActiveRecord, but I’m not sure it’s my gem of choice. I’ve tried, but I’m not able to get Sequel to conn…

---

## [Locally Update InstantRails-2.0-win to support rails 2.2.2](https://www.ruby-forum.com/t/locally-update-instantrails-2-0-win-to-support-rails-2-2-2/156093)

<div class="topic-metadata">

**Author:** [@the\_guru](https://www.ruby-forum.com/u/the_guru)\
**Replies:** 3\
**Last updated:** [December 20, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/locally-update-instantrails-2-0-win-to-support-rails-2-2-2/156093 "2008-12-20T23:39:06Z")

</div>

Locally Update InstantRails-2.0-win to support rails 2.2.2. Before everything I want point something that all the blogs and forums shows how to install rails from remote server. But this is boring for people on the sl…

---

## [Getting browser country parameter in Ruby on Rails](https://www.ruby-forum.com/t/getting-browser-country-parameter-in-ruby-on-rails/154130)

<div class="topic-metadata">

**Author:** [@CiriusMex](https://www.ruby-forum.com/u/CiriusMex)\
**Replies:** 3\
**Last updated:** [November 26, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/getting-browser-country-parameter-in-ruby-on-rails/154130 "2008-11-26T17:35:47Z")

</div>

Hi folks ^^ Here is my problem. I have a page on my RoR site which display prices. The idea is to display those prices in the currency corresponding to the user country. I already have a table in my database with the …

---

## [Table relations and record creation](https://www.ruby-forum.com/t/table-relations-and-record-creation/106870)

<div class="topic-metadata">

**Author:** [@tayknight](https://www.ruby-forum.com/u/tayknight)\
**Replies:** 3\
**Last updated:** [June 15, 2007, 12:38am UTC](https://www.ruby-forum.com/t/table-relations-and-record-creation/106870 "2007-06-15T00:38:31Z")

</div>

I have a situation where I have three models, Album, Artists and Songs: class Album \< ActiveRecord::Base belongs\_to :song end class Artist \< ActiveRecord::Base belongs\_to :song end class Song \< ActiveRecord::Base …

---

## [Stalled cache updating - what does it mean?](https://www.ruby-forum.com/t/stalled-cache-updating-what-does-it-mean/237986)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 10, 2013, 11:58am UTC](https://www.ruby-forum.com/t/stalled-cache-updating-what-does-it-mean/237986 "2013-12-10T11:58:42Z")

</div>

Hello, I have a pretty basic PHP / fastcgi setup with a fastcgi cache as follows: fastcgi\_cache\_key “$scheme$request\_method$host$request\_uri”; fastcgi\_cache\_lock on; fastcgi\_cache\_bypass $skip\_cache; fastcgi\_no\_cac…

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

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