# Top

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

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

---

## [Please Help: Accessing Ruby app brings up Apache test page](https://www.ruby-forum.com/t/please-help-accessing-ruby-app-brings-up-apache-test-page/184172)

<div class="topic-metadata">

**Author:** [@rezilient](https://www.ruby-forum.com/u/rezilient)\
**Replies:** 4\
**Last updated:** [February 28, 2010, 7:22am UTC](https://www.ruby-forum.com/t/please-help-accessing-ruby-app-brings-up-apache-test-page/184172 "2010-02-28T07:22:45Z")

</div>

Hello. I finally got Ruby, Gem and Passenger installed without any glaring errors. ruby 1.8.6 (2010-02-05 patchlevel 399) \[x86\_64-linux\] gem 1.3.5 I added the following lines to my httpd.conf: LoadModule passenger\_…

---

## [N00b: text processing from magnetic stip input](https://www.ruby-forum.com/t/n00b-text-processing-from-magnetic-stip-input/183321)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 4\
**Last updated:** [February 11, 2010, 8:01pm UTC](https://www.ruby-forum.com/t/n00b-text-processing-from-magnetic-stip-input/183321 "2010-02-11T20:01:24Z")

</div>

Hello everyone! I’m trying to make a program and I’m really bad at text processing. The input is a magnetic stripe of a card (coming straight off a card reader). I’m trying to split the output so that each part can ge…

---

## [Sorting Method](https://www.ruby-forum.com/t/sorting-method/182093)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 4\
**Last updated:** [January 23, 2010, 9:17am UTC](https://www.ruby-forum.com/t/sorting-method/182093 "2010-01-23T09:17:20Z")

</div>

Hi there, I am working my way through Chris P.'s Learn to Program, and am currently working on a sorting method (to ask the user for a list of words and then print them alphabetized.) He suggests that we write this p…

---

## [Fitting two step creation in to a resource based design](https://www.ruby-forum.com/t/fitting-two-step-creation-in-to-a-resource-based-design/182016)

<div class="topic-metadata">

**Author:** [@reynar](https://www.ruby-forum.com/u/reynar)\
**Replies:** 4\
**Last updated:** [January 22, 2010, 12:07am UTC](https://www.ruby-forum.com/t/fitting-two-step-creation-in-to-a-resource-based-design/182016 "2010-01-22T00:07:53Z")

</div>

I’m struggling to see the natural solution to this with a nod to resources and keeping things restful. The problem is based around a Customer model with a fairly standard resource based controller (new, create, edit…) …

---

## [Nginx manpage](https://www.ruby-forum.com/t/nginx-manpage/179082)

<div class="topic-metadata">

**Author:** [@Edho\_P\_Arief](https://www.ruby-forum.com/u/Edho_P_Arief)\
**Replies:** 4\
**Last updated:** [November 17, 2009, 10:46am UTC](https://www.ruby-forum.com/t/nginx-manpage/179082 "2009-11-17T10:46:45Z")

</div>

AFAIK, there is none. Is there someone currently working at it?

---

## [Double POST using form\_remote\_tag?](https://www.ruby-forum.com/t/double-post-using-form-remote-tag/178889)

<div class="topic-metadata">

**Author:** [@mperham](https://www.ruby-forum.com/u/mperham)\
**Replies:** 4\
**Last updated:** [November 13, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/double-post-using-form-remote-tag/178889 "2009-11-13T18:53:45Z")

</div>

Using form\_remote\_tag I get this generated HTML: As you can see, it has an onsubmit and an action. The onsubmit sends an Ajax request. Sometimes, on some browsers (Firefox 3.0.1 on Windows) this sends 2 HTTP POST req…

---

## [Move a file](https://www.ruby-forum.com/t/move-a-file/173672)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 4\
**Last updated:** [August 14, 2009, 6:06am UTC](https://www.ruby-forum.com/t/move-a-file/173672 "2009-08-14T06:06:20Z")

</div>

I looked around here and could not find a similar example. please help. My goal is to mv a file like so: mv /tmp/dev.log /usr/local/dev.log.tst using Ruby 1.8.7 ruby /tmp/test /tmp/test:8: syntax error, unexpected ‘…

---

## [Recommended PC Hardware for Performance](https://www.ruby-forum.com/t/recommended-pc-hardware-for-performance/168312)

<div class="topic-metadata">

**Author:** [@Tom\_Lutz](https://www.ruby-forum.com/u/Tom_Lutz)\
**Replies:** 4\
**Last updated:** [May 20, 2009, 12:30am UTC](https://www.ruby-forum.com/t/recommended-pc-hardware-for-performance/168312 "2009-05-20T00:30:35Z")

</div>

This may be a somewhat banal question, but what would be the optimal hardware/software configuration needed to leverage the power of gnuradio? Core i7 versus Core2 Duo versus Other (maybe cell)? 64-bit Linux versus 3…

---

## [Fcgi server](https://www.ruby-forum.com/t/fcgi-server/164180)

<div class="topic-metadata">

**Author:** [@Yordan\_G](https://www.ruby-forum.com/u/Yordan_G)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/fcgi-server/164180 "2009-03-30T22:39:19Z")

</div>

Ð—Ð´Ñ€Ð°Ð²ÑÑ‚Ð²ÑƒÐ¹, Ð˜Ð³Ð¾Ñ€ÑŒ. Ð¯ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑŽ Ñ‚Ð²Ð¾Ð¹ Ð²ÐµÐ± ÑÐµÑ€Ð²ÐµÑ€, Ð½Ð¾ Ñ‡Ñ‚Ð¾Ð±Ñ‹ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÑŒ php support Ñ Ð¿Ð¾Ð»ÑŒÐ·ÑƒÑŽÑÑŒ spawn-fcgi. Ð•ÑÑ‚ÑŒ Ð»Ð¸ Ñƒ Ñ‚ÐµÐ±Ñ ÐºÐ°ÐºÐ¸Ðµ-Ñ‚Ð¾ Ð¸…

---

## [What's the advantage of using build and \<\<?](https://www.ruby-forum.com/t/whats-the-advantage-of-using-build-and/156302)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 4\
**Last updated:** [December 24, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/whats-the-advantage-of-using-build-and/156302 "2008-12-24T15:29:38Z")

</div>

Rails give us two ways to create a asociation object: @article = Article.new(params\[:article\]) @article.comments \<\< Comment.new(params\[:comment\]) @article.save! or @article = Article.new(params\[:article\]) @comment …

---

## [Re-using crontrollers with non-http requests](https://www.ruby-forum.com/t/re-using-crontrollers-with-non-http-requests/150739)

<div class="topic-metadata">

**Author:** [@julien51](https://www.ruby-forum.com/u/julien51)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/re-using-crontrollers-with-non-http-requests/150739 "2008-10-14T22:50:36Z")

</div>

Hi! I am creating a application that does a lot of background processing. For this I am using a queue (starling in my case…) and several pollers that will get a message from the queue and execute some code correspond…

---

## [First mail](https://www.ruby-forum.com/t/first-mail/145166)

<div class="topic-metadata">

**Author:** [@Mayuresh\_K](https://www.ruby-forum.com/u/Mayuresh_K)\
**Replies:** 4\
**Last updated:** [August 7, 2008, 7:26am UTC](https://www.ruby-forum.com/t/first-mail/145166 "2008-08-07T07:26:53Z")

</div>

Hello all, I’ve just joined the Ruby community by subscribing to this mailing list. This is a consequence of just getting exposed to the improved Ruby language. Though I’d first experimented with it 6 years back for …

---

## [Some insns should be method?](https://www.ruby-forum.com/t/some-insns-should-be-method/141756)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 4\
**Last updated:** [July 1, 2008, 9:53am UTC](https://www.ruby-forum.com/t/some-insns-should-be-method/141756 "2008-07-01T09:53:40Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(Balias, undef, definemethod e$B$H$$$C$?!$$"$^$j;H$o$l$J$$L?Na$O%a%=%Ce(B e$B%I8F$S=P$7$K$7$?$$$H;W$&$N$G$9$,!$NI$$$G$7$g$&$+!%e(B e$B!!6qBNE\*$K$O!$e(BRubyVM::FrozenCore e$B$KBP$9$kFC0\[%a%…

---

## [Class methods in modules](https://www.ruby-forum.com/t/class-methods-in-modules/137841)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 4\
**Last updated:** [May 18, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/class-methods-in-modules/137841 "2008-05-18T16:10:08Z")

</div>

Hi This maybe a pretty obvious question - but I decided to ask anyway. I am trying to class a method defined within an included module from a class level method as below. Is there a better way to do this? (Assumming …

---

## [Errors.add](https://www.ruby-forum.com/t/errors-add/129252)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 4\
**Last updated:** [February 15, 2008, 8:41pm UTC](https://www.ruby-forum.com/t/errors-add/129252 "2008-02-15T20:41:28Z")

</div>

how do i add errors manually to an object so they show up in the same list as the validations? i tried errors.add - and it adds the error, but it doesn’t stop the object from being saved like a validates\_presence\_of w…

---

## [Having problems with my instance variable](https://www.ruby-forum.com/t/having-problems-with-my-instance-variable/128110)

<div class="topic-metadata">

**Author:** [@macaco](https://www.ruby-forum.com/u/macaco)\
**Replies:** 4\
**Last updated:** [February 5, 2008, 8:16pm UTC](https://www.ruby-forum.com/t/having-problems-with-my-instance-variable/128110 "2008-02-05T20:16:34Z")

</div>

I’m sorry if this question seem stupid, but couldn’t find it in the books. I have this code in the models directory: class Figure attr\_reader :xpos, :ypos def initialize @xpos = 0 @ypos = 0 @other = 0 @another …

---

## [Resources; how to rename nested url path?](https://www.ruby-forum.com/t/resources-how-to-rename-nested-url-path/123667)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 4\
**Last updated:** [December 21, 2007, 10:54am UTC](https://www.ruby-forum.com/t/resources-how-to-rename-nested-url-path/123667 "2007-12-21T10:54:50Z")

</div>

Hi, I’ve got some nested resources. I have a model called Feature, and FeatureRelation. When I created the standard routes for nesting (:has\_many on Feature), I get a path like: features/1234/feature\_relations What …

---

## [Observe\_field - problems saving form values](https://www.ruby-forum.com/t/observe-field-problems-saving-form-values/119060)

<div class="topic-metadata">

**Author:** [@randall](https://www.ruby-forum.com/u/randall)\
**Replies:** 4\
**Last updated:** [November 5, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/observe-field-problems-saving-form-values/119060 "2007-11-05T14:46:46Z")

</div>

Hi, I have a form that has two drop down lists in it. I have an observe\_field for the first list, that updates the second list. To better visualize this, the first list is country, the second is county. Now all this…

---

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

<div class="topic-metadata">

**Author:** [@jarvo88](https://www.ruby-forum.com/u/jarvo88)\
**Replies:** 4\
**Last updated:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/time-now/114469 "2007-09-17T13:24:59Z")

</div>

Hey guys, i have something like this T = Time.now TIME = “\[#{$T.hour}:#{$T.min}:#{$T.sec}\]” The time format works perfectly for me unless either the minutes, hours or seconds are 1 digit, it doesnt add a 0 in front o…

---

## [Need help cleaning up a model method](https://www.ruby-forum.com/t/need-help-cleaning-up-a-model-method/112026)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 4\
**Last updated:** [August 14, 2007, 1:04pm UTC](https://www.ruby-forum.com/t/need-help-cleaning-up-a-model-method/112026 "2007-08-14T13:04:40Z")

</div>

Hi, I need a little help cleaning up the method below. In my .NET days I would have let this pass, but I am trying to be a good ruby citizen by keeping things simple. This is from a seller model which has many vehicl…

---

## [Ruby Chinese Community Open-Sourcing Project Management Syst](https://www.ruby-forum.com/t/ruby-chinese-community-open-sourcing-project-management-syst/109965)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [August 9, 2007, 10:56am UTC](https://www.ruby-forum.com/t/ruby-chinese-community-open-sourcing-project-management-syst/109965 "2007-08-09T10:56:29Z")

</div>

Very glad to announcement that Ruby Chinese Community Open-Sourcing Project Management System has been lauched successfully. Ruby Chinese Community was dedicated to furthering Ruby language become popular in China. R…

---

## [Updating MySQL - Instant Rails](https://www.ruby-forum.com/t/updating-mysql-instant-rails/69560)

<div class="topic-metadata">

**Author:** [@boothy](https://www.ruby-forum.com/u/boothy)\
**Replies:** 4\
**Last updated:** [February 21, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/updating-mysql-instant-rails/69560 "2007-02-21T23:09:52Z")

</div>

Hi, I would like to upgrade MySQL (V4) that came with Instant Rails to version 5+. If I do a standard install fom the MySQL site, will this work or is there another way to handle this? Thanks, Roger Bogda

---

## [\[ANN\] Translator in Ruby on Rails](https://www.ruby-forum.com/t/ann-translator-in-ruby-on-rails/81479)

<div class="topic-metadata">

**Author:** [@juapdiaz](https://www.ruby-forum.com/u/juapdiaz)\
**Replies:** 4\
**Last updated:** [January 10, 2007, 3:00am UTC](https://www.ruby-forum.com/t/ann-translator-in-ruby-on-rails/81479 "2007-01-10T03:00:14Z")

</div>

Hi, I develop a translator in ruby on rails using the google translator, but can export to pdf, send by email and print the translations history. – Juan P. Re. blog: http://ururails.wordpress.com/ web: http://tr…

---

## [Changing the system date for functional tests](https://www.ruby-forum.com/t/changing-the-system-date-for-functional-tests/80889)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 4\
**Last updated:** [January 2, 2007, 3:44am UTC](https://www.ruby-forum.com/t/changing-the-system-date-for-functional-tests/80889 "2007-01-02T03:44:47Z")

</div>

Is there a way to simulate the functional test being called on different days? In other words, the functional test may yield a different result when run on different dates. I’d like to set the system date in the tes…

---

## [Need help massaging some strings](https://www.ruby-forum.com/t/need-help-massaging-some-strings/80520)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 4\
**Last updated:** [December 28, 2006, 10:51am UTC](https://www.ruby-forum.com/t/need-help-massaging-some-strings/80520 "2006-12-28T10:51:26Z")

</div>

As a Rails developer, I’ve been learning Ruby on a need-to-know basis. However, I now need to tap its power to batch alter some very large text dumps and find myself a bit lost. Here is what I need to do: Transform d…

---

## [How do you POST to another website?](https://www.ruby-forum.com/t/how-do-you-post-to-another-website/71553)

<div class="topic-metadata">

**Author:** [@Stever](https://www.ruby-forum.com/u/Stever)\
**Replies:** 4\
**Last updated:** [October 10, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/how-do-you-post-to-another-website/71553 "2006-10-10T13:56:34Z")

</div>

I am integrating my rails website with paypal. It seems that paypal wants me to make a POST to their website with the shopping cart details. This won’t work: post :website\_name, :variables =\> {:varA =\> "blah, :varB =\> …

---

## [Rails app on Apache2 not finding Style sheets](https://www.ruby-forum.com/t/rails-app-on-apache2-not-finding-style-sheets/69173)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 4\
**Last updated:** [September 25, 2006, 7:55pm UTC](https://www.ruby-forum.com/t/rails-app-on-apache2-not-finding-style-sheets/69173 "2006-09-25T19:55:28Z")

</div>

I’m trying to set up a rails app (Radiant CMS) on Apache2 (on Ubuntu). It sort of works, but I can’t get the right configuration to see the right items. When I try to access the site, I’m seeing an unstyled page, and …

---

## [Not Active Record Model Validation](https://www.ruby-forum.com/t/not-active-record-model-validation/96216)

<div class="topic-metadata">

**Author:** [@Budi\_Irawan](https://www.ruby-forum.com/u/Budi_Irawan)\
**Replies:** 4\
**Last updated:** [July 13, 2006, 5:38am UTC](https://www.ruby-forum.com/t/not-active-record-model-validation/96216 "2006-07-13T05:38:45Z")

</div>

I have a problem with ruby on rails validation total\_book\_toy.rhtml \<%= text\_field ‘book1’, ‘title1’ %\> \<%= text\_field ‘book2’, ‘title2’ %\> I want to validate these text\_field so user can’t insert same title. However…

---

## [Link\_to - Going Back without knowing the action name](https://www.ruby-forum.com/t/link-to-going-back-without-knowing-the-action-name/59961)

<div class="topic-metadata">

**Author:** [@samonderous](https://www.ruby-forum.com/u/samonderous)\
**Replies:** 4\
**Last updated:** [June 28, 2006, 8:45am UTC](https://www.ruby-forum.com/t/link-to-going-back-without-knowing-the-action-name/59961 "2006-06-28T08:45:31Z")

</div>

Hi, I have a bunch of link\_to’s in my code that are simple Back buttons that should basically just go to the previous request. Is there a way of doing this without specifying the action to execute? The problem is, …

---

## [Verifying best practice](https://www.ruby-forum.com/t/verifying-best-practice/53962)

<div class="topic-metadata">

**Author:** [@matthew\_collins](https://www.ruby-forum.com/u/matthew_collins)\
**Replies:** 4\
**Last updated:** [February 19, 2006, 3:01am UTC](https://www.ruby-forum.com/t/verifying-best-practice/53962 "2006-02-19T03:01:23Z")

</div>

i have a Project model, which belongs\_to :user when i add a project, the users\_id is based on the session\[:users\_id\]. to get the users\_id into the projects table, i’m doing this: @project = Project.new(params\[:project…

---

## [Form inputs resetting on sumbit](https://www.ruby-forum.com/t/form-inputs-resetting-on-sumbit/52527)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 4\
**Last updated:** [January 16, 2006, 12:29am UTC](https://www.ruby-forum.com/t/form-inputs-resetting-on-sumbit/52527 "2006-01-16T00:29:07Z")

</div>

I searched for forum for something about this but couldn’t find anything. For example I have this in my view: (you enter start/end dates from dropdowns, pick a category and a report is generated.) \<%= start\_form\_tag …

---

## [What's the "#" for?](https://www.ruby-forum.com/t/whats-the-for/50944)

<div class="topic-metadata">

**Author:** [@redrhodes](https://www.ruby-forum.com/u/redrhodes)\
**Replies:** 4\
**Last updated:** [December 23, 2005, 1:43am UTC](https://www.ruby-forum.com/t/whats-the-for/50944 "2005-12-23T01:43:13Z")

</div>

I’ve started on my first ruby project and came accross the following code from: http://habtm.com/articles/2005/11/13/your-site-doesnt-look-too-good-in-x-browser Since I’ve managed to understand most of what’s going on…

---

## [Brazilian railers, resources](https://www.ruby-forum.com/t/brazilian-railers-resources/48614)

<div class="topic-metadata">

**Author:** [@ol1barn3s](https://www.ruby-forum.com/u/ol1barn3s)\
**Replies:** 4\
**Last updated:** [November 24, 2005, 3:09pm UTC](https://www.ruby-forum.com/t/brazilian-railers-resources/48614 "2005-11-24T15:09:47Z")

</div>

Hi, I’ve seen a few Brazilian faces around here… I’d like to hear from you, to see how many of us are there on the list, what each is up to, and ask about any brazilian rails communities and resources you may know ab…

---

## [Send Message to fb message via facebooker plugin](https://www.ruby-forum.com/t/send-message-to-fb-message-via-facebooker-plugin/199460)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [March 3, 2015, 1:25am UTC](https://www.ruby-forum.com/t/send-message-to-fb-message-via-facebooker-plugin/199460 "2015-03-03T01:25:31Z")

</div>

Hi All, Using the facebooker plugin, i can only send email and post on wall.But i need to send message to facebook using facebooker plugin. Please anyone help me on this. Thanks in advance. -udhaya kumar.D

---

## [Cant install rails](https://www.ruby-forum.com/t/cant-install-rails/230824)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 8, 2014, 5:01am UTC](https://www.ruby-forum.com/t/cant-install-rails/230824 "2014-07-08T05:01:51Z")

</div>

I get this when i type gem install rails ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) Errno::ETIMEDOUT: Operation timed out - connect(2) for “api.rubygems.org” port 443 (https://api.rubygems.org/api…

---

## [Instance variable in method definition?](https://www.ruby-forum.com/t/instance-variable-in-method-definition/241151)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 15, 2014, 6:52pm UTC](https://www.ruby-forum.com/t/instance-variable-in-method-definition/241151 "2014-05-15T18:52:22Z")

</div>

In this Padrino example: MyApp.controller :products do get :show, :map =\> “/this-is/:id/cool” do @product = Product.find(params\[:id\]) render ‘products/show’ end end … I’m confused about the use of the symbol :prod…

---

## [Array Confusion](https://www.ruby-forum.com/t/array-confusion/238979)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 6, 2014, 6:46am UTC](https://www.ruby-forum.com/t/array-confusion/238979 "2014-02-06T06:46:47Z")

</div>

I have the following instruction that returns an array that I’m quite confused about. I can’t even read it. Can someone shed some light as to how to reach into this array of hashes (that’s what I can see) to get the…

---

## [GNU Radio C++ Block Appends Zero Entries](https://www.ruby-forum.com/t/gnu-radio-c-block-appends-zero-entries/237490)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 21, 2013, 6:39pm UTC](https://www.ruby-forum.com/t/gnu-radio-c-block-appends-zero-entries/237490 "2013-11-21T18:39:40Z")

</div>

Hi, I have written a simple ‘general’ C++ block that takes some complex values from a file source and outputs ints to a file as binary. I find that it adds a ‘0’ after every time the block is called, so if I have 10 …

---

## [Method dispatching issue with mixins](https://www.ruby-forum.com/t/method-dispatching-issue-with-mixins/236195)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 5:53pm UTC](https://www.ruby-forum.com/t/method-dispatching-issue-with-mixins/236195 "2013-08-14T17:53:13Z")

</div>

I’m working on a large codebase in ruby 1.8.7 and I’m encountering a weird error regarding method delegation. This is the expected behaviour and a reproduction of the issue: module DiscountSupport def attach\_coupon …

---

## [File upload with php-fpm](https://www.ruby-forum.com/t/file-upload-with-php-fpm/228710)

<div class="topic-metadata">

**Author:** [@nateless](https://www.ruby-forum.com/u/nateless)\
**Replies:** 2\
**Last updated:** [May 4, 2013, 10:50pm UTC](https://www.ruby-forum.com/t/file-upload-with-php-fpm/228710 "2013-05-04T22:50:07Z")

</div>

Hello, I’ve a problem with file upload and googling and checking with everything didn’t help to solve it. The problem is when file is being uploaded larger than few megs browser repeats request after about 30 second…

---

## [File download from server](https://www.ruby-forum.com/t/file-download-from-server/145995)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 21, 2013, 3:14pm UTC](https://www.ruby-forum.com/t/file-download-from-server/145995 "2013-03-21T15:14:37Z")

</div>

Is there a way to retrieve a file off the server or hard drive? I have a program that creates a file and I would like a button to retrieve the file so the user can save it somewhere. Not ajax right now.

---

## [A problem involving each and arrays](https://www.ruby-forum.com/t/a-problem-involving-each-and-arrays/224376)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 9, 2012, 1:01pm UTC](https://www.ruby-forum.com/t/a-problem-involving-each-and-arrays/224376 "2012-11-09T13:01:32Z")

</div>

Hello I have a problem with a program I’m writing and I was wondering if anybody here could help. I have attached the relevant portion of the program to this message. The full version of the program is intended to pr…

---

## [Autolog: easily debug-like logging on the fly in your Rails app](https://www.ruby-forum.com/t/autolog-easily-debug-like-logging-on-the-fly-in-your-rails-app/223790)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 19, 2012, 10:37pm UTC](https://www.ruby-forum.com/t/autolog-easily-debug-like-logging-on-the-fly-in-your-rails-app/223790 "2012-10-19T22:37:59Z")

</div>

If it helps anyone developing Rails apps or gems, I wrote a shortcut for set\_trace\_func, so next time you want to just add a line before and after some function you are trying to debug you can have Ruby temporarily o…

---

## [\[Ruby\] Need help on passing spl characters (may be unicode characters) from keyword file](https://www.ruby-forum.com/t/ruby-need-help-on-passing-spl-characters-may-be-unicode-characters-from-keyword-file/222556)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 3, 2012, 7:06am UTC](https://www.ruby-forum.com/t/ruby-need-help-on-passing-spl-characters-may-be-unicode-characters-from-keyword-file/222556 "2012-09-03T07:06:43Z")

</div>

Hi All, I need your help on the below scenario. Any help will be highly appreciated. I am using cucumber with capybara and selenium. In my scenario I want to verify some text displayed in the application. The text to…

---

## [Reverse proxy shopping system](https://www.ruby-forum.com/t/reverse-proxy-shopping-system/220799)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 21, 2012, 11:22am UTC](https://www.ruby-forum.com/t/reverse-proxy-shopping-system/220799 "2012-06-21T11:22:53Z")

</div>

Hi, I have several shopping systems running on apache that I would like to proxy with nginx. In general it works fine, but in some shops I have the problem that when I add items to the shopping cart and then proceed t…

---

## [Command vs method in Ripper](https://www.ruby-forum.com/t/command-vs-method-in-ripper/219724)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 16, 2012, 2:54am UTC](https://www.ruby-forum.com/t/command-vs-method-in-ripper/219724 "2012-05-16T02:54:43Z")

</div>

Hi guys, I’ve been playing around with Ripper for the first time today. Parsing method calls with and without parentheses gives me different output and I’m not sure why. When using brackets, Ripper outputs a ‘method’…

---

## [Change namespace scope / nesting problem](https://www.ruby-forum.com/t/change-namespace-scope-nesting-problem/219623)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 9, 2012, 11:03pm UTC](https://www.ruby-forum.com/t/change-namespace-scope-nesting-problem/219623 "2012-05-09T23:03:11Z")

</div>

Hello everybody. I am having problem with nested modules and includes not changing namespaces. I am trying to be DRY by moving out some common methods into a module, but when I do that, my nesting changes and the clas…

---

## [Content Encoding Error while returning data from memcached stored by ngx\_srcache](https://www.ruby-forum.com/t/content-encoding-error-while-returning-data-from-memcached-stored-by-ngx-srcache/217924)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 16, 2012, 6:23pm UTC](https://www.ruby-forum.com/t/content-encoding-error-while-returning-data-from-memcached-stored-by-ngx-srcache/217924 "2012-03-16T18:23:07Z")

</div>

I need little help here. First time browsing or memcached restart will show you the data correctly; but when you refresh second time and it will gives you content encoding error and I think it is something to do with …

---

## [Ruby on Rails 3.1 Installation tutorial for Ubuntu (versions 11.04, 11.10) and Linux Mint (version 1](https://www.ruby-forum.com/t/ruby-on-rails-3-1-installation-tutorial-for-ubuntu-versions-11-04-11-10-and-linux-mint-version-1/213600)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 7, 2011, 3:44am UTC](https://www.ruby-forum.com/t/ruby-on-rails-3-1-installation-tutorial-for-ubuntu-versions-11-04-11-10-and-linux-mint-version-1/213600 "2011-11-07T03:44:05Z")

</div>

After several weeks of messing with Ruby on Rails on Ubuntu I made this 34 pages PDF installation tutorial which covers: Ruby on Rails default installation (Ruby 1.9.2, Rails 3.1, WEbrick web server, SQLite3 database…

---

## [Shadow copy and deep copy](https://www.ruby-forum.com/t/shadow-copy-and-deep-copy/198850)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 9, 2010, 2:50pm UTC](https://www.ruby-forum.com/t/shadow-copy-and-deep-copy/198850 "2010-11-09T14:50:36Z")

</div>

Hello, x=\[1,2,3\] y=x.dup this is a shadow copy, I know the theory behind it. z=x is this a deep copy? (z is the deep copy of x?) Thanks

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

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