# Top

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

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

---

## [Problem with blog demo app](https://www.ruby-forum.com/t/problem-with-blog-demo-app/157829)

<div class="topic-metadata">

**Author:** [@technology](https://www.ruby-forum.com/u/technology)\
**Replies:** 3\
**Last updated:** [January 17, 2009, 12:12pm UTC](https://www.ruby-forum.com/t/problem-with-blog-demo-app/157829 "2009-01-17T12:12:21Z")

</div>

http://guides.rubyonrails.org/getting\_started\_with\_rails.html The command “rake db.create” shown in section “6.1. Running a migration” is failing as follows: bash-3.2$ pwd /Users/jander/work/blog bash-3.2$ rake db.c…

---

## [\[Bug #884\] Insecure operation: -r](https://www.ruby-forum.com/t/bug-884-insecure-operation-r/155663)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 3\
**Last updated:** [December 27, 2008, 8:27am UTC](https://www.ruby-forum.com/t/bug-884-insecure-operation-r/155663 "2008-12-27T08:27:29Z")

</div>

Bug #884: Insecure operation: -r http://redmine.ruby-lang.org/issues/show/884 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B0J2\<$N$h$&$K$9$k$H%(%i!\<%a%C%;!\<%8$NCf$KFf$Ne(B-re$B$,=P$…

---

## [Download files from mail](https://www.ruby-forum.com/t/download-files-from-mail/151959)

<div class="topic-metadata">

**Author:** [@neia](https://www.ruby-forum.com/u/neia)\
**Replies:** 3\
**Last updated:** [October 28, 2008, 6:34pm UTC](https://www.ruby-forum.com/t/download-files-from-mail/151959 "2008-10-28T18:34:50Z")

</div>

Hi, I’m trying to download a file with net::IMAP from mail count. I can download plain texts files using fetch method and unpack’m’, but when i try it with an excel file (vnd.ms-excel), the downloaded excel is corrup…

---

## [How to capture generated HTML and sending it in e-mail](https://www.ruby-forum.com/t/how-to-capture-generated-html-and-sending-it-in-e-mail/151249)

<div class="topic-metadata">

**Author:** [@tadatoshi](https://www.ruby-forum.com/u/tadatoshi)\
**Replies:** 3\
**Last updated:** [October 28, 2008, 1:13am UTC](https://www.ruby-forum.com/t/how-to-capture-generated-html-and-sending-it-in-e-mail/151249 "2008-10-28T01:13:05Z")

</div>

Hi, Is there a way to capture the generated HTML (e.g. for show.html.erb) from inside a Rails application? I need to send an e-mail to users with the same HTML as displayed on the browser. Thank you in advance. Tad…

---

## [Unit testing offline with mechanize](https://www.ruby-forum.com/t/unit-testing-offline-with-mechanize/148473)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 3\
**Last updated:** [September 14, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/unit-testing-offline-with-mechanize/148473 "2008-09-14T18:33:21Z")

</div>

Although mechanize is designed to navigate around web pages online, is there a way to load up webpages saved to the harddrive for the purposes of quick unit testing. Constantly accessing online sources slows down the …

---

## [FXRuby run error under NetBeans](https://www.ruby-forum.com/t/fxruby-run-error-under-netbeans/148113)

<div class="topic-metadata">

**Author:** [@mawiniarski](https://www.ruby-forum.com/u/mawiniarski)\
**Replies:** 3\
**Last updated:** [September 10, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/fxruby-run-error-under-netbeans/148113 "2008-09-10T15:11:05Z")

</div>

Greetings, I’ve got FXRuby gem installed in NetBeans 6.5b Code starts: require ‘rubygems’ require ‘fox16’ --\> this line returns error (from custom\_require.rb file) … and following: fox16.so:32:in ‘require’ E:/Pr…

---

## [How do I know if RoR is for me?](https://www.ruby-forum.com/t/how-do-i-know-if-ror-is-for-me/145243)

<div class="topic-metadata">

**Author:** [@randy](https://www.ruby-forum.com/u/randy)\
**Replies:** 3\
**Last updated:** [August 7, 2008, 4:32am UTC](https://www.ruby-forum.com/t/how-do-i-know-if-ror-is-for-me/145243 "2008-08-07T04:32:55Z")

</div>

I’m trying to assemble a web app w/database. My first. This is a personal project; not at the office. I’m an engineer, and I’ve done desktop programming for years (C/C++/ Delphi) with some local database experience. T…

---

## [Looking up accessor methods for ActiveRecord objects](https://www.ruby-forum.com/t/looking-up-accessor-methods-for-activerecord-objects/143531)

<div class="topic-metadata">

**Author:** [@seatown](https://www.ruby-forum.com/u/seatown)\
**Replies:** 3\
**Last updated:** [July 20, 2008, 3:43am UTC](https://www.ruby-forum.com/t/looking-up-accessor-methods-for-activerecord-objects/143531 "2008-07-20T03:43:35Z")

</div>

Hi, I am trying to invoke a method on an ActiveRecord object using something like: k = :date= obj.method(k).call(new\_date) Initially obj.method(k) is throwing a NameError. However, if I first explicitly invoke any …

---

## [Getting storyrunner success/failure status in rake task](https://www.ruby-forum.com/t/getting-storyrunner-success-failure-status-in-rake-task/134917)

<div class="topic-metadata">

**Author:** [@korny](https://www.ruby-forum.com/u/korny)\
**Replies:** 3\
**Last updated:** [April 16, 2008, 9:22am UTC](https://www.ruby-forum.com/t/getting-storyrunner-success-failure-status-in-rake-task/134917 "2008-04-16T09:22:45Z")

</div>

Hi folks - I’m trying to build a rake task to run our plain-text stories, both from a normal build and from our continuous integration server. However, I’m having a problem - running all.rb doesn’t return any sort of…

---

## [Calling Josh Charles and Jayme Edwards](https://www.ruby-forum.com/t/calling-josh-charles-and-jayme-edwards/132992)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/calling-josh-charles-and-jayme-edwards/132992 "2008-03-26T16:51:50Z")

</div>

Hi Guys, Can I get you to send an email to removed\_email\_address@domain.invalid to sign a contributor agreement so that I can start processing your patches? Thanks! -John

---

## [Error with rake](https://www.ruby-forum.com/t/error-with-rake/131995)

<div class="topic-metadata">

**Author:** [@shenry](https://www.ruby-forum.com/u/shenry)\
**Replies:** 3\
**Last updated:** [March 17, 2008, 8:47am UTC](https://www.ruby-forum.com/t/error-with-rake/131995 "2008-03-17T08:47:07Z")

</div>

I’ve been following the RoR tutorial at http://wiki.rubyonrails.com/rails/pages/TutorialStepOne … When I enter the rake command (in step 5 of the tutorial) I get an error that database\_test does not exist… If I manua…

---

## [Ptit problÃ¨me respond\_to](https://www.ruby-forum.com/t/ptit-probla-me-respond-to/130900)

<div class="topic-metadata">

**Author:** [@guillaume\_belleguic](https://www.ruby-forum.com/u/guillaume_belleguic)\
**Replies:** 3\
**Last updated:** [March 4, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/ptit-probla-me-respond-to/130900 "2008-03-04T17:11:40Z")

</div>

bonjour, J’utilise rails 2.0.2, pour une action donnÃ©e ex bibi, je souhaite renvoie une template html.erb sans layout lorsqu’il s’agit d’une requÃªte xhr, mais je n’y arrive pas (ou plus car il me semble que cela Ã…

---

## [Rspec crashes if any tests have failed - is this normal?](https://www.ruby-forum.com/t/rspec-crashes-if-any-tests-have-failed-is-this-normal/127792)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 3\
**Last updated:** [February 1, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/rspec-crashes-if-any-tests-have-failed-is-this-normal/127792 "2008-02-01T12:07:18Z")

</div>

I just installed spec (plugin) and rspec\_on\_rails. It seems to work, but if any tests have failed, after doing the report it seems to crash, with this message - 5 examples, 2 failures rake aborted! Command ruby -I…

---

## [Questions about \* + and ? in Regex](https://www.ruby-forum.com/t/questions-about-and-in-regex/124626)

<div class="topic-metadata">

**Author:** [@caof2005](https://www.ruby-forum.com/u/caof2005)\
**Replies:** 3\
**Last updated:** [December 31, 2007, 8:37am UTC](https://www.ruby-forum.com/t/questions-about-and-in-regex/124626 "2007-12-31T08:37:00Z")

</div>

Hi, I have some questions related the correct meaning of \* + and ? in Regex that I would appreciate some clarification: I have an example (derived from the Programming Ruby 2nd Edition), that I don’t understand why …

---

## [Check if value has already been used](https://www.ruby-forum.com/t/check-if-value-has-already-been-used/123659)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/check-if-value-has-already-been-used/123659 "2007-12-19T16:27:45Z")

</div>

Hi, Im currently working on an issue im having with a ruby method within my rails project. i have this method: def saveAssetTags(asset, taglist) #add new tags tagList = taglist.split(/\\s\*\\,\\s\*/) #drop all current…

---

## [Radiant and page attributes?](https://www.ruby-forum.com/t/radiant-and-page-attributes/114153)

<div class="topic-metadata">

**Author:** [@japj](https://www.ruby-forum.com/u/japj)\
**Replies:** 3\
**Last updated:** [September 8, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/radiant-and-page-attributes/114153 "2007-09-08T22:03:51Z")

</div>

Hello, I was wondering if anyone knows if there is a page\_attributes extension for radiant? (the one on the wiki is a “a Branch of Radiant Facets PLUS an Extension”) Example, I have band members who play an instrum…

---

## [Testing for warnings](https://www.ruby-forum.com/t/testing-for-warnings/108320)

<div class="topic-metadata">

**Author:** [@oscar-alexander](https://www.ruby-forum.com/u/oscar-alexander)\
**Replies:** 3\
**Last updated:** [July 3, 2007, 1:53am UTC](https://www.ruby-forum.com/t/testing-for-warnings/108320 "2007-07-03T01:53:37Z")

</div>

Is there a way of asserting that a warning is raised in a unit test? So I could write something like: assert\_warns “Blah blah” do function\_that\_warns(foo) end I can’t seem to find anything in the test/unit docs, but i…

---

## [Acts\_as\_tree and before\_save](https://www.ruby-forum.com/t/acts-as-tree-and-before-save/107965)

<div class="topic-metadata">

**Author:** [@oleg](https://www.ruby-forum.com/u/oleg)\
**Replies:** 3\
**Last updated:** [June 28, 2007, 3:48pm UTC](https://www.ruby-forum.com/t/acts-as-tree-and-before-save/107965 "2007-06-28T15:48:25Z")

</div>

We all know that acts\_as\_tree gives us ability to set up data in a tree-like structure and use methods like ‘parent’, ‘children’ and so on. Something I’m completely stuck on. Observe. class Page \< ActiveRecord::Base …

---

## [Issue with blogtags extension?](https://www.ruby-forum.com/t/issue-with-blogtags-extension/103803)

<div class="topic-metadata">

**Author:** [@luigi](https://www.ruby-forum.com/u/luigi)\
**Replies:** 3\
**Last updated:** [May 10, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/issue-with-blogtags-extension/103803 "2007-05-10T15:00:12Z")

</div>

Hi. I managed to install from SVN the blogtags extension: \[root@www extensions\]# svn export http://seansantry.com/svn/radiant/extensions/blogtags/trunk blogtags but I’ve a problem when try to run “rake production db…

---

## [Defining object methods in initialize](https://www.ruby-forum.com/t/defining-object-methods-in-initialize/87614)

<div class="topic-metadata">

**Author:** [@pytlik](https://www.ruby-forum.com/u/pytlik)\
**Replies:** 3\
**Last updated:** [March 4, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/defining-object-methods-in-initialize/87614 "2007-03-04T20:35:38Z")

</div>

I’d like to define methods on initialize that are specific for the created object. However it seems that the few lines of code below is defining them somewhere else since they are ‘overwriting’ each other: =========…

---

## [Scaffold does not work](https://www.ruby-forum.com/t/scaffold-does-not-work/87565)

<div class="topic-metadata">

**Author:** [@hvenkata](https://www.ruby-forum.com/u/hvenkata)\
**Replies:** 3\
**Last updated:** [March 4, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/scaffold-does-not-work/87565 "2007-03-04T18:13:27Z")

</div>

I am going through the Agile Web D. with Rails book and following the creation of depot app. On page 77 in the second edition i run the ruby script/generate scaffold product admin command. After the auto generated fi…

---

## [Irb Power User's Guide](https://www.ruby-forum.com/t/irb-power-users-guide/86107)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 3\
**Last updated:** [February 20, 2007, 12:38am UTC](https://www.ruby-forum.com/t/irb-power-users-guide/86107 "2007-02-20T00:38:15Z")

</div>

The more I get into ruby, more I realize the power of “irb”. Long time ago, when I was developing in Visual Basic and Access, I use to use the “Immediate Window” (in Microsoft’s terminology) very effectively. The wh…

---

## [Params in controllers](https://www.ruby-forum.com/t/params-in-controllers/85037)

<div class="topic-metadata">

**Author:** [@nyxx](https://www.ruby-forum.com/u/nyxx)\
**Replies:** 3\
**Last updated:** [February 9, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/params-in-controllers/85037 "2007-02-09T15:00:29Z")

</div>

Hey people, Back with another simple question… How can I access a paramater inside my controller which is provided through the url. I am doing the following inside my view: \<%= link\_to “signup”, :controller =\> “accou…

---

## [Wanting clarification for string delimiters](https://www.ruby-forum.com/t/wanting-clarification-for-string-delimiters/84843)

<div class="topic-metadata">

**Author:** [@nevf](https://www.ruby-forum.com/u/nevf)\
**Replies:** 3\
**Last updated:** [February 8, 2007, 6:53am UTC](https://www.ruby-forum.com/t/wanting-clarification-for-string-delimiters/84843 "2007-02-08T06:53:39Z")

</div>

%q, %Q, %w, %r, %x all begin a string which terminates with the character that matches the character after %q etc. eg. %q\[blah\] %q/blah/ But what are the rules for %SomeChar. eg %(blah) works as does %/blah/ and %+bla…

---

## [Time manager](https://www.ruby-forum.com/t/time-manager/82958)

<div class="topic-metadata">

**Author:** [@alabama](https://www.ruby-forum.com/u/alabama)\
**Replies:** 3\
**Last updated:** [January 23, 2007, 12:00am UTC](https://www.ruby-forum.com/t/time-manager/82958 "2007-01-23T00:00:09Z")

</div>

Hi,all ! I would like to control my application by time, without requests. How can I do this ? Is any method for this purpose ? For exemple : every hour I would like to do something on my data base in automatic way…

---

## [Image corrupted on upload](https://www.ruby-forum.com/t/image-corrupted-on-upload/62232)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 3\
**Last updated:** [June 1, 2006, 7:34pm UTC](https://www.ruby-forum.com/t/image-corrupted-on-upload/62232 "2006-06-01T19:34:59Z")

</div>

Hi, I’m using the below method to copy/upload a file. The outcome is an image with the proper dimensions but looks garbled and pixelated. I’m baffled as to what’s going on. What’s even weirder is this same function …

---

## [Ruby under XXAMP on WinXP machine](https://www.ruby-forum.com/t/ruby-under-xxamp-on-winxp-machine/61795)

<div class="topic-metadata">

**Author:** [@val](https://www.ruby-forum.com/u/val)\
**Replies:** 3\
**Last updated:** [May 28, 2006, 7:47pm UTC](https://www.ruby-forum.com/t/ruby-under-xxamp-on-winxp-machine/61795 "2006-05-28T19:47:42Z")

</div>

This may be really dumb (my armor is on)… but, Can I run Ruby /Ruby on Rails under XXAMP on my Windows XP machine?

---

## [RE: Re: MIT vs GPL vs LGPL for open source project](https://www.ruby-forum.com/t/re-re-mit-vs-gpl-vs-lgpl-for-open-source-project/57299)

<div class="topic-metadata">

**Author:** [@Christopher\_JSMack](https://www.ruby-forum.com/u/Christopher_JSMack)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 11:40pm UTC](https://www.ruby-forum.com/t/re-re-mit-vs-gpl-vs-lgpl-for-open-source-project/57299 "2006-04-10T23:40:45Z")

</div>

The MIT approach can equally well be seen as an optimistic approach (where ‘optimist’ is neither a better nor a worse thing to be than ‘pessimist’, but simply the half-empty/half-full mirror-twin). I don’t think it’s …

---

## [Fixtures question](https://www.ruby-forum.com/t/fixtures-question/47508)

<div class="topic-metadata">

**Author:** [@eric](https://www.ruby-forum.com/u/eric)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/fixtures-question/47508 "2006-04-03T18:17:28Z")

</div>

Quick question on fixtures. I know fixtures are primarily for unit testing but I was thinking of using them to help me with development. I need some realistic data so with the ERb templated fixtures it seems like I co…

---

## [STI and unit testing](https://www.ruby-forum.com/t/sti-and-unit-testing/77966)

<div class="topic-metadata">

**Author:** [@orotone](https://www.ruby-forum.com/u/orotone)\
**Replies:** 3\
**Last updated:** [March 8, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/sti-and-unit-testing/77966 "2006-03-08T17:12:00Z")

</div>

Hi all, I’m having a bit of a problem with unit testing. I’ve simplified my models to try and get my head round it but I’m still struggling. I’m using STI and trying to write tests for the extended models (code below…

---

## [Re: My Thought on the "Pickaxe book" (from a Ruby novice)](https://www.ruby-forum.com/t/re-my-thought-on-the-pickaxe-book-from-a-ruby-novice/52838)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 3\
**Last updated:** [January 20, 2006, 1:24am UTC](https://www.ruby-forum.com/t/re-my-thought-on-the-pickaxe-book-from-a-ruby-novice/52838 "2006-01-20T01:24:38Z")

</div>

But there’re not THAT many ways to do something even in Ruby, so you pretty quickly pickup most of them. Moreover, for me learnig about every new way of doing things was quite educational and I enjoyed greatly when re…

---

## [Rubyholic.com improvements and a request](https://www.ruby-forum.com/t/rubyholic-com-improvements-and-a-request/52146)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 3:20pm UTC](https://www.ruby-forum.com/t/rubyholic-com-improvements-and-a-request/52146 "2006-01-11T15:20:23Z")

</div>

I just did some cleanup on rubyholic.com: I’ve improved HTML compliance and IE rendering. Made some things purtier. And most important: The main page now filters a lot of incomplete groups. This last one means the …

---

## [What's the best way to do complex inheritance?](https://www.ruby-forum.com/t/whats-the-best-way-to-do-complex-inheritance/51578)

<div class="topic-metadata">

**Author:** [@gers4302](https://www.ruby-forum.com/u/gers4302)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 9:38pm UTC](https://www.ruby-forum.com/t/whats-the-best-way-to-do-complex-inheritance/51578 "2006-01-03T21:38:59Z")

</div>

I have a Merchant class that has many Products. Product is an abstract class which has many subclasses (ProductA, ProductB, etc). All Products have common data, like ‘name’, ‘status’, ‘created\_on’, etc… but they als…

---

## [RoR and Apache2 and app in local directory](https://www.ruby-forum.com/t/ror-and-apache2-and-app-in-local-directory/51561)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 2:36pm UTC](https://www.ruby-forum.com/t/ror-and-apache2-and-app-in-local-directory/51561 "2006-01-03T14:36:42Z")

</div>

Hi all. I’m at my wits end… I’m trying to set up a Rails app (on a Ubuntu system), within the public\_html directory in my home directory (as opposed to the /var/www/ directory). ie. in /users/john/public\_html/myapp I…

---

## [Adding methods to models](https://www.ruby-forum.com/t/adding-methods-to-models/50461)

<div class="topic-metadata">

**Author:** [@klancaster](https://www.ruby-forum.com/u/klancaster)\
**Replies:** 3\
**Last updated:** [December 16, 2005, 6:21pm UTC](https://www.ruby-forum.com/t/adding-methods-to-models/50461 "2005-12-16T18:21:55Z")

</div>

All, This is more of a theoretical question I suppose - I’m looking for what the consensus is for the “correct” approach in Rails/MVC. I have a standard security model where a User can have many Roles. There is a U…

---

## [Child object saving fails](https://www.ruby-forum.com/t/child-object-saving-fails/48485)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 3\
**Last updated:** [November 21, 2005, 6:53pm UTC](https://www.ruby-forum.com/t/child-object-saving-fails/48485 "2005-11-21T18:53:32Z")

</div>

This has me pulling out my hair, despite being what’s going to turn out to be a trivial problem. For the sake of argument, let’s say I have two database tables, updates and poems. The Update model includes has\_one :p…

---

## [FXRuby, FXTreeList](https://www.ruby-forum.com/t/fxruby-fxtreelist/48046)

<div class="topic-metadata">

**Author:** [@Fleck](https://www.ruby-forum.com/u/Fleck)\
**Replies:** 3\
**Last updated:** [November 17, 2005, 11:44am UTC](https://www.ruby-forum.com/t/fxruby-fxtreelist/48046 "2005-11-17T11:44:54Z")

</div>

Hi, I’ ve created a TreeList that shows the files in a directory. How can I create a context menu that pops up, when I right-click on a selected item? I know how to create the popup menu, but how can I prevent it to …

---

## [Re: Ruby - Newbie to Guru - Advice?](https://www.ruby-forum.com/t/re-ruby-newbie-to-guru-advice/47889)

<div class="topic-metadata">

**Author:** [@dooby](https://www.ruby-forum.com/u/dooby)\
**Replies:** 3\
**Last updated:** [November 15, 2005, 12:14am UTC](https://www.ruby-forum.com/t/re-ruby-newbie-to-guru-advice/47889 "2005-11-15T00:14:43Z")

</div>

mental wrote: Somebody needs to write a Commentary on AOCP. With cartoon foxes. Vol 2, page xiv (cartoon digits 1…9) might help. Credits: JMK & JSK (John M. & Jennifer Sierra) Factoid: IIUC, – Knuth is pronounce…

---

## [? Convert ENTER to a symbol such as a](https://www.ruby-forum.com/t/convert-enter-to-a-symbol-such-as-a/248344)

<div class="topic-metadata">

**Author:** [@WilberPost](https://www.ruby-forum.com/u/WilberPost)\
**Replies:** 0\
**Last updated:** [October 13, 2018, 1:19pm UTC](https://www.ruby-forum.com/t/convert-enter-to-a-symbol-such-as-a/248344 "2018-10-13T13:19:48Z")

</div>

First time poster. At work we have a software package that allows me to upload date using Excel. We use different function keys and someone sent me conversions for F1-F12, but I’m trying to convert the ENTER key. I would…

---

## [SecureRandom Period](https://www.ruby-forum.com/t/securerandom-period/245324)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 12, 2017, 7:27pm UTC](https://www.ruby-forum.com/t/securerandom-period/245324 "2017-04-12T19:27:22Z")

</div>

Can somebody advise what is the period of Ruby SecureRandom (random number generator)? Is it larger than 2^64?

---

## [Accessing array by slicing](https://www.ruby-forum.com/t/accessing-array-by-slicing/245298)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 20, 2017, 2:09pm UTC](https://www.ruby-forum.com/t/accessing-array-by-slicing/245298 "2017-03-20T14:09:46Z")

</div>

Question? array = \[A,B,C,D\] array\[1\] =\> B array\[3\] =\> D array\[1,2\] =\> \[B,C\] array\[0,3\] =\> \[A,B,C\] Why does array\[4,0\] return \[\], yet array\[5,0\] returns nil? Both should be out of bounds.

---

## [Making a GUI to execute python scripts generated by GRC](https://www.ruby-forum.com/t/making-a-gui-to-execute-python-scripts-generated-by-grc/230436)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 18, 2014, 7:24am UTC](https://www.ruby-forum.com/t/making-a-gui-to-execute-python-scripts-generated-by-grc/230436 "2014-06-18T07:24:57Z")

</div>

Hi, I have written a python code(wxgui.py) for a simple GUI using wxPython.There is a button in it and by pressing that button i am executing another python file.It’s working fine and i am able to call any python fil…

---

## [Double free or corruption](https://www.ruby-forum.com/t/double-free-or-corruption/211726)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 4:23pm UTC](https://www.ruby-forum.com/t/double-free-or-corruption/211726 "2011-09-12T16:23:03Z")

</div>

Hello, after start nginx error.log contains : \*\*\* glibc detected \*\*\* nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf: double free or corruption (out): 0x09f24128 \*\*\* ======= Bac…

---

## [Question of uploading large file using carrierwave, uploadify and nginx upload module](https://www.ruby-forum.com/t/question-of-uploading-large-file-using-carrierwave-uploadify-and-nginx-upload-module/209201)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 7, 2011, 11:32pm UTC](https://www.ruby-forum.com/t/question-of-uploading-large-file-using-carrierwave-uploadify-and-nginx-upload-module/209201 "2011-07-07T23:32:56Z")

</div>

Hey ROR users, I have a small experimental web app which is for uploading files. The web app uses carrierwave, uploadify. It works fine on small size files. However, it can not handle large size files (\>1G) efficientl…

---

## [How do I index very large file?](https://www.ruby-forum.com/t/how-do-i-index-very-large-file/173921)

<div class="topic-metadata">

**Author:** [@femto](https://www.ruby-forum.com/u/femto)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 9:36am UTC](https://www.ruby-forum.com/t/how-do-i-index-very-large-file/173921 "2009-08-18T09:36:34Z")

</div>

Hello all, I’m doing a monitor application, which fetches log file of application and indexing it, how do I index very large file?, like up to serveral GB. because the application logs may log very large file in shor…

---

## [Rescuing migrations](https://www.ruby-forum.com/t/rescuing-migrations/122451)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/rescuing-migrations/122451 "2007-12-07T18:27:11Z")

</div>

DHH will probably hate my example, but… AWDR talks about the difficulties and dangers of using complex migrations–complex being defined as “doing more than one thing”. Not being satisfied with the alternatives, I hav…

---

## [FEC GnuRadio 3.7.8rc1 Error](https://www.ruby-forum.com/t/fec-gnuradio-3-7-8rc1-error/242884)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 5, 2015, 9:45pm UTC](https://www.ruby-forum.com/t/fec-gnuradio-3-7-8rc1-error/242884 "2015-08-05T21:45:19Z")

</div>

Ubuntu 14.04 64-bit Gnuradio 3.7.8rc1 I am running this flowgraph “fecapi\_async\_to\_stream.grc” that comes with gr-fec. After running for a while following error always show up … … DEBUG: 16384, 560, 272 DEBUG: 163…

---

## [Fwd: NGINX config for websocket HA failover](https://www.ruby-forum.com/t/fwd-nginx-config-for-websocket-ha-failover/229995)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 26, 2014, 2:25pm UTC](https://www.ruby-forum.com/t/fwd-nginx-config-for-websocket-ha-failover/229995 "2014-05-26T14:25:16Z")

</div>

Hi, I would like to use NGINX for failover in my HA setup. I have two VMs running in Active-Active mode and listening on 9080 port for WebSocket connections from clients. I would like to use NGINX to route all websoc…

---

## [\[ANN\] Ruby 2.0.0-p0 released](https://www.ruby-forum.com/t/ann-ruby-2-0-0-p0-released/226873)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 1\
**Last updated:** [February 24, 2013, 10:15am UTC](https://www.ruby-forum.com/t/ann-ruby-2-0-0-p0-released/226873 "2013-02-24T10:15:41Z")

</div>

$B$3$s$K$A$O!#(BRuby 2.0.0-p0 $B$r%j%j!\<%9$7$^$9!#(B $B%@%&%s%m!\<%I(B ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.bz2 SIZE: 10814890 bytes MD5: 895c1c581f8d28e8b3bb02472b2ccf6a SHA256: c680d392ccc…

---

## [Separate samples from 2 receive channels](https://www.ruby-forum.com/t/separate-samples-from-2-receive-channels/224298)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 7, 2012, 6:56pm UTC](https://www.ruby-forum.com/t/separate-samples-from-2-receive-channels/224298 "2012-11-07T18:56:25Z")

</div>

Hi, All, Can I use one USRP1 and two WBX daughterboards to create 2 concurrent complex receive channels so that I can compare them? If I use the rx\_multi\_samples.cpp example in uhd to receive samples from 2 channels …

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

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