# Top

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

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

---

## [ModularitÃ©, engines et override](https://www.ruby-forum.com/t/modularita-engines-et-override/181199)

<div class="topic-metadata">

**Author:** [@vzmind](https://www.ruby-forum.com/u/vzmind)\
**Replies:** 3\
**Last updated:** [January 8, 2010, 9:20am UTC](https://www.ruby-forum.com/t/modularita-engines-et-override/181199 "2010-01-08T09:20:16Z")

</div>

Bonjour Ã tous, nous travaillons chez thinkDRY sur un CMS 2.0 OpenSource, la BlankApplication. AprÃ¨s un an de travail et d’implÃ©mentation pour diffÃ©rents clients, nous avons achevÃ© le dÃ©veloppement du coeur de …

---

## [Array#uniq with Hash elements... can't remove duplicates](https://www.ruby-forum.com/t/array-uniq-with-hash-elements-cant-remove-duplicates/137319)

<div class="topic-metadata">

**Author:** [@andrea](https://www.ruby-forum.com/u/andrea)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 10:36am UTC](https://www.ruby-forum.com/t/array-uniq-with-hash-elements-cant-remove-duplicates/137319 "2008-05-12T10:36:12Z")

</div>

Hello, I am having some trouble trying to remove duplicate data from an array of hashes. I’ve read on the pickaxe book that Array#uniq detects duplicates using the eql? method on the elements, but it doesn’t seem to …

---

## [Const\_missing - why is it necessary to hook it at Module?](https://www.ruby-forum.com/t/const-missing-why-is-it-necessary-to-hook-it-at-module/89181)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 4:21am UTC](https://www.ruby-forum.com/t/const-missing-why-is-it-necessary-to-hook-it-at-module/89181 "2007-03-20T04:21:48Z")

</div>

Why doesn’t the following code work? class Foo def Foo.const\_missing(sym) p sym sym.to\_s end end Foo.new.instance\_eval { Bar } I thought the missing constant Bar would be caught by the const\_missing, since it’…

---

## [The system cannot find the path specified](https://www.ruby-forum.com/t/the-system-cannot-find-the-path-specified/264109)

<div class="topic-metadata">

**Author:** [@LockFox](https://www.ruby-forum.com/u/LockFox)\
**Replies:** 1\
**Last updated:** [July 16, 2023, 6:14pm UTC](https://www.ruby-forum.com/t/the-system-cannot-find-the-path-specified/264109 "2023-07-16T18:14:22Z")

</div>

this error message always opens when I try to use cd C:\\Users\*username\*\\ command in the command prompt. heres a screenshot:

---

## [Re-render partial inside a modal](https://www.ruby-forum.com/t/re-render-partial-inside-a-modal/230279)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 8, 2014, 1:31pm UTC](https://www.ruby-forum.com/t/re-render-partial-inside-a-modal/230279 "2014-06-08T13:31:35Z")

</div>

Inside my home.html.erb. I am rendering a partial inside a modal for my sign-up. \<%= render partial: 'users/form', :controller=\>"users", :action =\>"new" %\> × \*In my Users.controller.rb, I am rendering new sign u…

---

## [I18n.t returns a empty hash when a translation is missing](https://www.ruby-forum.com/t/i18n-t-returns-a-empty-hash-when-a-translation-is-missing/191098)

<div class="topic-metadata">

**Author:** [@tdd](https://www.ruby-forum.com/u/tdd)\
**Replies:** 1\
**Last updated:** [July 5, 2010, 12:26pm UTC](https://www.ruby-forum.com/t/i18n-t-returns-a-empty-hash-when-a-translation-is-missing/191098 "2010-07-05T12:26:10Z")

</div>

Hello, I’m migrating from rails 2.2.2 to rails 2.3.8 and I have a strange issue with I18n.translate. In rails 2.2.2 development, when I try to get an untranslated key I have a error like “Translation missing: \[…\]” I…

---

## [Date format](https://www.ruby-forum.com/t/date-format/142998)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 6\
**Last updated:** [July 15, 2008, 6:13am UTC](https://www.ruby-forum.com/t/date-format/142998 "2008-07-15T06:13:37Z")

</div>

Hi I have code sd\_ticket\_end\_date=Date.today This gives 07/14/2008 00:00 How can I format this to 2008-07-14 Thanks in advance Sijo

---

## [Rendering dynamic Gruff image (send\_data)](https://www.ruby-forum.com/t/rendering-dynamic-gruff-image-send-data/51937)

<div class="topic-metadata">

**Author:** [@Mathieu\_C](https://www.ruby-forum.com/u/Mathieu_C)\
**Replies:** 6\
**Last updated:** [January 19, 2006, 10:36am UTC](https://www.ruby-forum.com/t/rendering-dynamic-gruff-image-send-data/51937 "2006-01-19T10:36:25Z")

</div>

Dears, Got a controller witch do a send\_data for displaying a chart. like : send\_data(g.to\_blob, :filename =\> “any.png”, :type =\> ‘image/png’, :disposition=\> ‘inline’) I actually do a Is there any way more clean …

---

## [Update variable value inside a string interpolation](https://www.ruby-forum.com/t/update-variable-value-inside-a-string-interpolation/261532)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 4\
**Last updated:** [July 19, 2021, 1:02pm UTC](https://www.ruby-forum.com/t/update-variable-value-inside-a-string-interpolation/261532 "2021-07-19T13:02:31Z")

</div>

$value = 10 str = “www.google.com/v1/cols?limit=100&offset=#{value}&data=q1” puts str # www.google.com/v1/cols?limit=100&offset=10&data=q1 $value = 30 puts str expected out is : www.google.com/v1/cols?limit=100&o…

---

## [ProblÃ¨me avec les pluriels irrÃ©guliers](https://www.ruby-forum.com/t/probla-me-avec-les-pluriels-irra-guliers/112130)

<div class="topic-metadata">

**Author:** [@Farzad\_FARID](https://www.ruby-forum.com/u/Farzad_FARID)\
**Replies:** 4\
**Last updated:** [September 4, 2007, 11:53am UTC](https://www.ruby-forum.com/t/probla-me-avec-les-pluriels-irra-guliers/112130 "2007-09-04T11:53:34Z")

</div>

Bonjour, J’ai les 2 modÃ¨les suivants, ObjectInWorld et Container, dÃ©finis comme ceci : class ObjectInWorld \< ActiveRecord::Base # Pour cette table la pluralisation automatique n'est pas correcte set\_table\_name "…

---

## [Storage binding](https://www.ruby-forum.com/t/storage-binding/79192)

<div class="topic-metadata">

**Author:** [@cannac](https://www.ruby-forum.com/u/cannac)\
**Replies:** 4\
**Last updated:** [December 13, 2006, 11:01am UTC](https://www.ruby-forum.com/t/storage-binding/79192 "2006-12-13T11:01:54Z")

</div>

Hi, I have also some another thing in Ruby that I am not sure about. What kind of storage binding is used in Ruby, as far as I understand there are no static variables (i’m not sure again), then Ruby uses both stack-…

---

## [Insane Rails problem](https://www.ruby-forum.com/t/insane-rails-problem/252859)

<div class="topic-metadata">

**Author:** [@ferdi2005](https://www.ruby-forum.com/u/ferdi2005)\
**Replies:** 2\
**Last updated:** [August 11, 2019, 2:38pm UTC](https://www.ruby-forum.com/t/insane-rails-problem/252859 "2019-08-11T14:38:03Z")

</div>

Hi, I’ve a problem message = params\[:message\].to\_unsafe\_h logger.debug message\[:text\] # returns the text message correctly if message\[:chat\]\[:type\] == ‘group’ || message\[:chat\]\[:type\] == ‘supergroup’ if messa…

---

## [Custom 502 error page is ignored](https://www.ruby-forum.com/t/custom-502-error-page-is-ignored/224765)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 26, 2012, 9:42am UTC](https://www.ruby-forum.com/t/custom-502-error-page-is-ignored/224765 "2012-11-26T09:42:03Z")

</div>

Dear all, I’m currently wondering why nginx ignores my custom 502 Bad Gateway page and instead serves the internal 502 error page. I’m using nginx version 1.2.4 and php-fpm 5.4.8 The behaivior occures every time and…

---

## [Open-uri gives errors for MacOS Snow Leopard](https://www.ruby-forum.com/t/open-uri-gives-errors-for-macos-snow-leopard/198954)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 12, 2010, 7:10am UTC](https://www.ruby-forum.com/t/open-uri-gives-errors-for-macos-snow-leopard/198954 "2010-11-12T07:10:46Z")

</div>

My environment: Mac OS 10.6.4 Ruby 1.8 RubyGems 1.3.7 nokogiri -v: ruby: engine: mri version: 1.8.7 platform: universal-darwin10.0 libxml: loaded: 2.7.3 binding: extension compiled: 2.7.3 nokogiri: 1.4.3.1 -…

---

## [Passing params through destroy](https://www.ruby-forum.com/t/passing-params-through-destroy/184596)

<div class="topic-metadata">

**Author:** [@Dudebot](https://www.ruby-forum.com/u/Dudebot)\
**Replies:** 2\
**Last updated:** [March 5, 2010, 6:48am UTC](https://www.ruby-forum.com/t/passing-params-through-destroy/184596 "2010-03-05T06:48:57Z")

</div>

I’m having a strange sort of problem. I’d like to pass a param when I’m deleting a record, but can’t seem to do it. I’ve tried all sorts of variants of: def destroy @note = Note.find( params\[ :id \] ) @patient = Pat…

---

## [Compatibility with chrome](https://www.ruby-forum.com/t/compatibility-with-chrome/172208)

<div class="topic-metadata">

**Author:** [@chilaquil](https://www.ruby-forum.com/u/chilaquil)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 8:37pm UTC](https://www.ruby-forum.com/t/compatibility-with-chrome/172208 "2009-07-16T20:37:20Z")

</div>

Captchator does not seem to work with Google Chrome at all. I had to use Opera to register here.

---

## [\[ruby-trunk - Bug #8583\]\[Open\] A problem of condition regexp with a named capture](https://www.ruby-forum.com/t/ruby-trunk-bug-8583-open-a-problem-of-condition-regexp-with-a-named-capture/235556)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 4, 2013, 2:31am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8583-open-a-problem-of-condition-regexp-with-a-named-capture/235556 "2013-07-04T02:31:23Z")

</div>

Issue #8583 has been reported by ohai (Ippei Obayashi). Bug #8583: A problem of condition regexp with a named capture Author: ohai (Ippei Obayashi) Status: Open Priority: Normal Assignee: Category: Target versio…

---

## [Path and Url](https://www.ruby-forum.com/t/path-and-url/203229)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 16, 2011, 5:08pm UTC](https://www.ruby-forum.com/t/path-and-url/203229 "2011-02-16T17:08:46Z")

</div>

Hello everyone, what’s the real difference between root\_url and root\_path in Rails, for example. Apparently both lead to the same route in the application. Thanks!

---

## [Some question, calendar and notification](https://www.ruby-forum.com/t/some-question-calendar-and-notification/187361)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 5\
**Last updated:** [April 29, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/some-question-calendar-and-notification/187361 "2010-04-29T22:55:42Z")

</div>

Dear All, I have some question regarding on wxwidget Is there a way to add tooltip into a date in calendarctrl? Is there a build in way to do notification like notification in ubuntu or in thunderbird? Regards, He…

---

## [In lieu of scaffolding](https://www.ruby-forum.com/t/in-lieu-of-scaffolding/167091)

<div class="topic-metadata">

**Author:** [@JannaB](https://www.ruby-forum.com/u/JannaB)\
**Replies:** 5\
**Last updated:** [May 6, 2009, 7:31am UTC](https://www.ruby-forum.com/t/in-lieu-of-scaffolding/167091 "2009-05-06T07:31:16Z")

</div>

I am wondering what you gentlemen might use in lieu of basic scaffolding. Suppose I have a simple table, and it has, say, 100,000 rows. I want the user to be able to drill down to edit (and/or possibly delete) a given…

---

## [Mod\_rails kills my Apache](https://www.ruby-forum.com/t/mod-rails-kills-my-apache/137929)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 5\
**Last updated:** [May 19, 2008, 7:42pm UTC](https://www.ruby-forum.com/t/mod-rails-kills-my-apache/137929 "2008-05-19T19:42:07Z")

</div>

I have not been so lucky in my experiments with the new mod\_rails… I’ve installed it on a server previously running mongrel clusters. I followed the instructions to the letter. The server is a FreeBSD 7.0 Apache is v…

---

## [Custom form builder methods won't render in partial](https://www.ruby-forum.com/t/custom-form-builder-methods-wont-render-in-partial/120450)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 5\
**Last updated:** [November 18, 2007, 5:17am UTC](https://www.ruby-forum.com/t/custom-form-builder-methods-wont-render-in-partial/120450 "2007-11-18T05:17:19Z")

</div>

Methods of custom form builder work if the form is in a view, but doesn’t work if the form is in a partial. My rediced code example looks like this: – Builder ----------------------------------------- class CustomBuil…

---

## [Engines 1.2 and Testing](https://www.ruby-forum.com/t/engines-1-2-and-testing/83622)

<div class="topic-metadata">

**Author:** [@treybean](https://www.ruby-forum.com/u/treybean)\
**Replies:** 5\
**Last updated:** [January 28, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/engines-1-2-and-testing/83622 "2007-01-28T18:19:15Z")

</div>

Hi all, I’m new to this list as well as to engines in general. I am taking my first stab at writing an engine and am having a little trouble getting the tests for my engine working. Everything else is working at t…

---

## [RE: Business Logic and where to place with rails](https://www.ruby-forum.com/t/re-business-logic-and-where-to-place-with-rails/94494)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 5\
**Last updated:** [May 5, 2006, 1:59pm UTC](https://www.ruby-forum.com/t/re-business-logic-and-where-to-place-with-rails/94494 "2006-05-05T13:59:06Z")

</div>

According to the model-view-controller architecture, your business logic should go into the controller. Don’t put your business logic in a model like someone suggested, that is wrong. If you have common business logi…

---

## [Libserial c++ with gnuradio](https://www.ruby-forum.com/t/libserial-c-with-gnuradio/233082)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [November 18, 2014, 6:10pm UTC](https://www.ruby-forum.com/t/libserial-c-with-gnuradio/233082 "2014-11-18T18:10:08Z")

</div>

Hi, I installed libserial to access serial port by C++ from gnu radio, I included #include \<SerialStream.h\> #include to lib/XXXX.cc file, I can compile successfully, but when I run top\_block.py file I get the fol…

---

## [\[ANN\] Mulligan gem released](https://www.ruby-forum.com/t/ann-mulligan-gem-released/239749)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [April 1, 2014, 1:36am UTC](https://www.ruby-forum.com/t/ann-mulligan-gem-released/239749 "2014-04-01T01:36:34Z")

</div>

Hello all! The first public release of ‘mulligan’ has been posted to RubyGems http://michaeljbishop.github.io/mulligan If you want a taste of what exception-handling is like in other dynamic languages like LISP, Smal…

---

## [REXML Input File Question](https://www.ruby-forum.com/t/rexml-input-file-question/191854)

<div class="topic-metadata">

**Author:** [@mperham](https://www.ruby-forum.com/u/mperham)\
**Replies:** 7\
**Last updated:** [July 28, 2010, 3:50pm UTC](https://www.ruby-forum.com/t/rexml-input-file-question/191854 "2010-07-28T15:50:16Z")

</div>

Hi, So I am having issues parsing in a document using the Ruby XML parser REXML. The issue seems to be with the first line of my file that identifies the XML file. Here are two xml files, the first is not parsed with…

---

## [Problems building revision 82](https://www.ruby-forum.com/t/problems-building-revision-82/132558)

<div class="topic-metadata">

**Author:** [@Aaron\_Junod](https://www.ruby-forum.com/u/Aaron_Junod)\
**Replies:** 7\
**Last updated:** [March 21, 2008, 3:58pm UTC](https://www.ruby-forum.com/t/problems-building-revision-82/132558 "2008-03-21T15:58:08Z")

</div>

I just updated to r82 and had some issues. I removed my IronRuby folder and started over and the problems stayed the same. I am running on windows 2k3 with vs.net 2k5 and 2k8 loaded. The rake --trace details for gen …

---

## [Problemas con paso de parÃ¡metros](https://www.ruby-forum.com/t/problemas-con-paso-de-para-metros/85050)

<div class="topic-metadata">

**Author:** [@juan](https://www.ruby-forum.com/u/juan)\
**Replies:** 7\
**Last updated:** [February 15, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/problemas-con-paso-de-para-metros/85050 "2007-02-15T20:22:17Z")

</div>

Saludos a la comunidad, tengo un problema con los paso de parÃ¡metros pues estoy haciendo una vista para que el usuario ingrese su cÃ©dula y cuando haga click en link “Buscar” pueda ver la cÃ©dula con un estilo Ajax d…

---

## [Timed dual channel B210 capture gives error "UHD source block got error code 0x2" (ERROR\_CODE\_LATE\_C](https://www.ruby-forum.com/t/timed-dual-channel-b210-capture-gives-error-uhd-source-block-got-error-code-0x2-error-code-late-c/234300)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [February 23, 2015, 11:34pm UTC](https://www.ruby-forum.com/t/timed-dual-channel-b210-capture-gives-error-uhd-source-block-got-error-code-0x2-error-code-late-c/234300 "2015-02-23T23:34:06Z")

</div>

When you start a dual channel timed capture in the near future with a B210, the work method of usrp\_source\_impl.cc prints out “UHD source block got error code 0x2” error codes are defined in: metadata.hpp line 99: /…

---

## [I'm confused](https://www.ruby-forum.com/t/im-confused/200205)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 7, 2010, 3:53am UTC](https://www.ruby-forum.com/t/im-confused/200205 "2010-12-07T03:53:02Z")

</div>

Hi All, If I have a site with a number of extensions installed and I had to drop the database and want to reinitialise it what are the steps? I’ve tried rake production db:bootstrap --trace which fails due to missin…

---

## [In a view, call a helper method from another controller](https://www.ruby-forum.com/t/in-a-view-call-a-helper-method-from-another-controller/170216)

<div class="topic-metadata">

**Author:** [@costi](https://www.ruby-forum.com/u/costi)\
**Replies:** 3\
**Last updated:** [June 19, 2009, 11:58pm UTC](https://www.ruby-forum.com/t/in-a-view-call-a-helper-method-from-another-controller/170216 "2009-06-19T23:58:28Z")

</div>

I need to call a helper method from another controller. The catch is that I have the same method name defined in my current controllers helper. Here the partial will use the the default column\_list defined in my hel…

---

## [Rspec passes test only for one time](https://www.ruby-forum.com/t/rspec-passes-test-only-for-one-time/244826)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 21, 2016, 7:22pm UTC](https://www.ruby-forum.com/t/rspec-passes-test-only-for-one-time/244826 "2016-06-21T19:22:44Z")

</div>

In my application I’m using devise for authentication and rspec, capybara for testing. Here are my files new\_student\_spec.rb require ‘rails\_helper’ require\_relative ‘…/support/new\_student\_form\_spec’ require\_relativ…

---

## [Nested attributes - not working in forms](https://www.ruby-forum.com/t/nested-attributes-not-working-in-forms/245755)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 13, 2013, 11:07pm UTC](https://www.ruby-forum.com/t/nested-attributes-not-working-in-forms/245755 "2013-07-13T23:07:43Z")

</div>

Hi! I also posted this on railsforumhttp://railsforum.com/viewtopic.php?id=56824but then I realized this is probably not the best place to get answers for this problem. So, sorry for this crosspost… I also want to a…

---

## [Date form\_for](https://www.ruby-forum.com/t/date-form-for/208795)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 28, 2011, 8:43am UTC](https://www.ruby-forum.com/t/date-form-for/208795 "2011-06-28T08:43:18Z")

</div>

Hi, I have a form\_for to create a new object in a model. Which form can put a date into it? Something like this: \<%= form\_for(User.new) do |f| %\> \<%= f.text\_field :first\_name, “Name” %\> et.c. \<%= #Here is date form…

---

## [Entering password in shell](https://www.ruby-forum.com/t/entering-password-in-shell/199895)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 5, 2010, 5:17am UTC](https://www.ruby-forum.com/t/entering-password-in-shell/199895 "2010-12-05T05:17:17Z")

</div>

HI: I’m trying to run a shell to install a gem: PTY.spawn(“sudo gem install #{gem} --local 2\>&1”) do |stdin,stdout,pid| stdout.write("#{pass}\\n") puts stdin.read.lstrip #write output to screen end This works fine …

---

## [How to play with rSpec using irb](https://www.ruby-forum.com/t/how-to-play-with-rspec-using-irb/150952)

<div class="topic-metadata">

**Author:** [@alr](https://www.ruby-forum.com/u/alr)\
**Replies:** 2\
**Last updated:** [October 15, 2008, 9:10am UTC](https://www.ruby-forum.com/t/how-to-play-with-rspec-using-irb/150952 "2008-10-15T09:10:49Z")

</div>

Hi, Is there any way to experiment with rSpec in irb or script/console session? Tried this: require ‘spec’ =\> true \[1,2,3\].should have(3).items =\> NoMethodError: undefined method \`have’ for main:Object from (…

---

## [Send\_file : downloaded file cannot be open after upload OK](https://www.ruby-forum.com/t/send-file-downloaded-file-cannot-be-open-after-upload-ok/113087)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [August 27, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/send-file-downloaded-file-cannot-be-open-after-upload-ok/113087 "2007-08-27T13:39:40Z")

</div>

I easily implemented the upload , using the ‘attachment\_fu’ plugin… I can see and open the uploaded files (a pdf file 60k and a jpeg images 28k) now I try to implement the download action in my document\_controller, I …

---

## [Installing GNURadio 3.3.0 in Ubuntu 14.04](https://www.ruby-forum.com/t/installing-gnuradio-3-3-0-in-ubuntu-14-04/231681)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 25, 2014, 3:07pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-3-3-0-in-ubuntu-14-04/231681 "2014-08-25T15:07:07Z")

</div>

Hello, In appendix follow the log of ./configure and make. I’m having problem with libboost in the lines of command make: … /bin/bash …/…/…/libtool --tag=CXX --mode=link g++ -g -O2 -Wall -Woverloaded-virtual -pt…

---

## [Different behaviour with JRuby-Complete](https://www.ruby-forum.com/t/different-behaviour-with-jruby-complete/235425)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 27, 2013, 8:31am UTC](https://www.ruby-forum.com/t/different-behaviour-with-jruby-complete/235425 "2013-06-27T08:31:01Z")

</div>

In ruby-processing GitHub - jashkenas/ruby-processing: Code as Art, Art as Code. Processing and Ruby are meant for each other. I have found two instances where there is a different behaviour when using regular jruby-1.…

---

## [Rails error: invalid byte sequence in UTF-8](https://www.ruby-forum.com/t/rails-error-invalid-byte-sequence-in-utf-8/222767)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 10, 2012, 5:48am UTC](https://www.ruby-forum.com/t/rails-error-invalid-byte-sequence-in-utf-8/222767 "2012-09-10T05:48:48Z")

</div>

Hello, i have a app on rails 3.2.1 and i use a jquery lib called jQuery Timelinr 0.9.5: jQuery Timelinr | CSSLab but, when i use it on a .erb view, i got a error: Showing \* /home/carlos.ribeiro/projetos/amarribo/ap…

---

## [How to get soap4r to not bother verifying SSL certificate (verify\_mode none)?](https://www.ruby-forum.com/t/how-to-get-soap4r-to-not-bother-verifying-ssl-certificate-verify-mode-none/201234)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 3, 2011, 1:51pm UTC](https://www.ruby-forum.com/t/how-to-get-soap4r-to-not-bother-verifying-ssl-certificate-verify-mode-none/201234 "2011-01-03T13:51:37Z")

</div>

Using Ruby 1.8.7, Rails 2.3.8. I don’t want it to verify the cert… This is my backtrace: OpenSSL::SSL::SSLError (SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed): httpc…

---

## [Is that possible combining usrp\_fft.py and usrp\_spectrum\_sense.py to do spectrum analysis and observ](https://www.ruby-forum.com/t/is-that-possible-combining-usrp-fft-py-and-usrp-spectrum-sense-py-to-do-spectrum-analysis-and-observ/122263)

<div class="topic-metadata">

**Author:** [@Brook\_L](https://www.ruby-forum.com/u/Brook_L)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/is-that-possible-combining-usrp-fft-py-and-usrp-spectrum-sense-py-to-do-spectrum-analysis-and-observ/122263 "2007-12-12T21:09:42Z")

</div>

Hi All, I am new to Gnuradio. I did some test and simple implementation. Now, I have a question about combining usrp\_fft.py and usrp\_spectrum\_sense.py. I know that usrp\_fft.py gives a spectrum at certain center frequ…

---

## [Multiple Layouts - Single Controller](https://www.ruby-forum.com/t/multiple-layouts-single-controller/98916)

<div class="topic-metadata">

**Author:** [@jamiequint](https://www.ruby-forum.com/u/jamiequint)\
**Replies:** 4\
**Last updated:** [July 19, 2006, 2:05am UTC](https://www.ruby-forum.com/t/multiple-layouts-single-controller/98916 "2006-07-19T02:05:27Z")

</div>

How do I do multiple layouts for a single controller: I am aware I can do… render(:layout =\>‘mylayout’) for individual actions, however this becomes a multiple render problem. I tried this… layout “mylayout”, :…

---

## [Read file into an array1 then compare another array2 to it and pull info out](https://www.ruby-forum.com/t/read-file-into-an-array1-then-compare-another-array2-to-it-and-pull-info-out/234595)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [March 16, 2015, 9:06pm UTC](https://www.ruby-forum.com/t/read-file-into-an-array1-then-compare-another-array2-to-it-and-pull-info-out/234595 "2015-03-16T21:06:30Z")

</div>

Hi, New to ruby but have used it alot in the last year to ssh into multiple servers to run commands and ftp files to remote servers as well. Current issue is that I am read a file into an array which I have done. Now…

---

## [Git, modifiche su un ramo](https://www.ruby-forum.com/t/git-modifiche-su-un-ramo/214615)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [December 7, 2011, 12:00pm UTC](https://www.ruby-forum.com/t/git-modifiche-su-un-ramo/214615 "2011-12-07T12:00:39Z")

</div>

Buongiorno a tutti, vi illustro la mia situazione: ho il mio bel progetto rails in locale con due rami: master sperimentale faccio “git checkout sperimentale” poi mi diverto a creare/modificare file all’interno del…

---

## [How to update FPGA in E100](https://www.ruby-forum.com/t/how-to-update-fpga-in-e100/211076)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [August 26, 2011, 1:52am UTC](https://www.ruby-forum.com/t/how-to-update-fpga-in-e100/211076 "2011-08-26T01:52:51Z")

</div>

Hi, all, We have made a FPGA FFT module. We downloaded the UHD source code from https://github.com/EttusResearch/UHD-Mirror/archives/master We modified the usrp\_std.v under fpga/usrp1/toplevel/usrp\_std/ to link our…

---

## [Where is the #hash method defined?](https://www.ruby-forum.com/t/where-is-the-hash-method-defined/208050)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [June 9, 2011, 6:41pm UTC](https://www.ruby-forum.com/t/where-is-the-hash-method-defined/208050 "2011-06-09T18:41:18Z")

</div>

Hi, any object in Ruby has the method #hash which returns an integer unique for the object (such value doesn’t change during the lifetime of the Ruby process). I cannot find which class or module #hash method belongs …

---

## [Join query in rails](https://www.ruby-forum.com/t/join-query-in-rails/165132)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 8\
**Last updated:** [April 10, 2009, 11:46am UTC](https://www.ruby-forum.com/t/join-query-in-rails/165132 "2009-04-10T11:46:32Z")

</div>

Hi… how i should write the below query in rails.i found through mysql tutorial.i m not pro in rails …so give some lights… SELECT \* FROM contactinfo join userinfo on contactinfo.contact\_id = userinfo.id where contacti…

---

## [Passing variables to a required file](https://www.ruby-forum.com/t/passing-variables-to-a-required-file/110785)

<div class="topic-metadata">

**Author:** [@mtnbiker](https://www.ruby-forum.com/u/mtnbiker)\
**Replies:** 8\
**Last updated:** [July 31, 2007, 10:32am UTC](https://www.ruby-forum.com/t/passing-variables-to-a-required-file/110785 "2007-07-31T10:32:02Z")

</div>

I want to pass about 10 variables to a "require"d file. My understanding is that I need to use global variables. Is this correct? I’m reluctant to change all the variables to global for fear of messing up the methods …

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

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