# Top

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

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

---

## [Keep getting main:Object (NameError)](https://www.ruby-forum.com/t/keep-getting-main-object-nameerror/259515)

<div class="topic-metadata">

**Author:** [@ibz95](https://www.ruby-forum.com/u/ibz95)\
**Replies:** 3\
**Last updated:** [May 8, 2020, 5:10pm UTC](https://www.ruby-forum.com/t/keep-getting-main-object-nameerror/259515 "2020-05-08T17:10:34Z")

</div>

I want to write a code in Ruby that reads in information from a file and prints it out as an array in the terminal. This is what I have so far: class Track attr\_accessor :name, :location def initialize (name, location…

---

## [Help with video link](https://www.ruby-forum.com/t/help-with-video-link/240080)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 27, 2014, 4:48pm UTC](https://www.ruby-forum.com/t/help-with-video-link/240080 "2014-03-27T16:48:04Z")

</div>

Hello all, I am completely stumped with trying to stream video using gnu radio (GRC) and the USRP. I have been at it for an absurdly long time without success. I could really use some help. (With Unbuntu and the lat…

---

## [How can I customize this render json output?](https://www.ruby-forum.com/t/how-can-i-customize-this-render-json-output/238844)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [February 1, 2014, 8:53pm UTC](https://www.ruby-forum.com/t/how-can-i-customize-this-render-json-output/238844 "2014-02-01T20:53:53Z")

</div>

I’ve got a big problem. I’ve got some code doing a REST API, outputting JSON, that works fine and hasn’t been touched in like 9 months. I’ve also got a client out there in the wild that I can’t touch, so I can’t muck…

---

## [ActionView: render a layout not in app/views?](https://www.ruby-forum.com/t/actionview-render-a-layout-not-in-app-views/150925)

<div class="topic-metadata">

**Author:** [@mjacobs](https://www.ruby-forum.com/u/mjacobs)\
**Replies:** 3\
**Last updated:** [October 15, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/actionview-render-a-layout-not-in-app-views/150925 "2008-10-15T22:19:40Z")

</div>

Hey there, I have a problem. class ApplicationController layout :determine\_layout def determine\_layout “…/…/public/sites/#{@site.code}/application” end end in rails2.0 this worked, but it was clearly a hack. I t…

---

## [\[help\] - HTTP POST redirect](https://www.ruby-forum.com/t/help-http-post-redirect/242666)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [July 14, 2015, 8:58pm UTC](https://www.ruby-forum.com/t/help-http-post-redirect/242666 "2015-07-14T20:58:16Z")

</div>

Hello friends, I am looking for some help on making a POST request from the controller to an external server and follow the redirect. I am using - response = HTTParty.post(external\_uri, post\_params) but this does n…

---

## [Error in installing json 1.8.0](https://www.ruby-forum.com/t/error-in-installing-json-1-8-0/241664)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 22, 2015, 8:59am UTC](https://www.ruby-forum.com/t/error-in-installing-json-1-8-0/241664 "2015-04-22T08:59:37Z")

</div>

Hi, I am facing problem in installing the json 1.8.0 ruby gem due to which i am unable to start my rails server.The error is shown below. Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/anany…

---

## [HDLC Deframer example](https://www.ruby-forum.com/t/hdlc-deframer-example/234021)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 30, 2015, 10:53pm UTC](https://www.ruby-forum.com/t/hdlc-deframer-example/234021 "2015-01-30T22:53:56Z")

</div>

Hi, I want to run a simple frame-deframe hdlc example. In the attached flow-graph the framed packet is printed through the “message debug” block. Why I do not receive any message in the output of the deframer? Thank…

---

## [Gr-osmosdr module disabled](https://www.ruby-forum.com/t/gr-osmosdr-module-disabled/220672)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 16, 2012, 9:56am UTC](https://www.ruby-forum.com/t/gr-osmosdr-module-disabled/220672 "2012-06-16T09:56:17Z")

</div>

Thank you for reading this. I have progressed a little since my last batch of pleas for help. Does the following look correct? Also, there is no mention under “sources” of osmocom in gnuradio\_companion. I’m trying to …

---

## [Rails 2.3.9 i18n - multiple yml files](https://www.ruby-forum.com/t/rails-2-3-9-i18n-multiple-yml-files/195670)

<div class="topic-metadata">

**Author:** [@kimptoc](https://www.ruby-forum.com/u/kimptoc)\
**Replies:** 2\
**Last updated:** [September 28, 2010, 10:37am UTC](https://www.ruby-forum.com/t/rails-2-3-9-i18n-multiple-yml-files/195670 "2010-09-28T10:37:32Z")

</div>

Hi, Have been following the i18n guide ( ) Things are working in a basic way, using the simple backend, with my en.yml and pt.yml locale files. I got the core Rails Portuguese localisation from the rails-i18n proj…

---

## [Generating RTF documents?](https://www.ruby-forum.com/t/generating-rtf-documents/101365)

<div class="topic-metadata">

**Author:** [@jetienne](https://www.ruby-forum.com/u/jetienne)\
**Replies:** 2\
**Last updated:** [August 4, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/generating-rtf-documents/101365 "2006-08-04T16:55:57Z")

</div>

Hi, I need to implement some RTF export for a customer. According to some “templates”, i generate RTF documents, filling data coming from models. It’s pretty much like a mailmerge, but in \*nix/ruby world. Also, custo…

---

## [Spdy + http/2](https://www.ruby-forum.com/t/spdy-http-2/243559)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [February 9, 2016, 8:59pm UTC](https://www.ruby-forum.com/t/spdy-http-2/243559 "2016-02-09T20:59:57Z")

</div>

NGINX devs, I know you were very excited to remove SPDY support from NGINX, but for the next few years there are a lot of devices (mobile devices that can’t upgrade, end users who aren’t comfortable upgrading, etc) t…

---

## [NPE in jruby-embed](https://www.ruby-forum.com/t/npe-in-jruby-embed/225539)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [February 8, 2013, 3:57am UTC](https://www.ruby-forum.com/t/npe-in-jruby-embed/225539 "2013-02-08T03:57:57Z")

</div>

In threads like these, it never hurts to tell us which bugs you care about most for 1.7.2 :slight\_smile: Thanks for the encouragement - here’s one for the next release (1.7.3? any ETA?): http://jira.codehaus.org/b…

---

## [String.chars.to\_a question](https://www.ruby-forum.com/t/string-chars-to-a-question/220569)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 14, 2012, 6:52pm UTC](https://www.ruby-forum.com/t/string-chars-to-a-question/220569 "2012-06-14T18:52:53Z")

</div>

Hello, Is there a way to capture " (quotation marks) when you use the chars.to\_a command? For example: string = string.chars.to\_a length = string.length newString = Array.new while length \>= 0 newString \<\< \[strin…

---

## [NoMethodError (undefined method \`gsub' for #\<File:0x007faa7258fd80\>) when gsub was never used!](https://www.ruby-forum.com/t/nomethoderror-undefined-method-gsub-for-file-0x007faa7258fd80-when-gsub-was-never-used/217567)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 5, 2012, 8:17pm UTC](https://www.ruby-forum.com/t/nomethoderror-undefined-method-gsub-for-file-0x007faa7258fd80-when-gsub-was-never-used/217567 "2012-03-05T20:17:55Z")

</div>

I am presented with this error in my code, the line number happens to be –\> Filestore.create(:filename =\> uploaded\_file.original\_filename , :fileblob =\> uploaded\_file.open, :bunch =\> @current\_bunch ) The code direct…

---

## [Setting expections on chained calls](https://www.ruby-forum.com/t/setting-expections-on-chained-calls/213634)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [November 8, 2011, 4:11pm UTC](https://www.ruby-forum.com/t/setting-expections-on-chained-calls/213634 "2011-11-08T16:11:40Z")

</div>

I’m pretty sure this has probably been discussed before. I’m using couchdb (couchrest\_model) When speccing my controller i want to set expectations that im calling my couch views correctly. The query interface has re…

---

## [Rake aborted! Can't create TCP/IP socket (10106)](https://www.ruby-forum.com/t/rake-aborted-cant-create-tcp-ip-socket-10106/181875)

<div class="topic-metadata">

**Author:** [@nigel](https://www.ruby-forum.com/u/nigel)\
**Replies:** 5\
**Last updated:** [January 19, 2010, 5:37pm UTC](https://www.ruby-forum.com/t/rake-aborted-cant-create-tcp-ip-socket-10106/181875 "2010-01-19T17:37:11Z")

</div>

If this has been dealt with before then forgive me, then if someone would be kind enough to point me to the url. I recently purchased RubyMine and installed it as per instructions (Windows7). I have an existing datab…

---

## [Mechanize and charset issues](https://www.ruby-forum.com/t/mechanize-and-charset-issues/168881)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 5\
**Last updated:** [May 28, 2009, 10:41am UTC](https://www.ruby-forum.com/t/mechanize-and-charset-issues/168881 "2009-05-28T10:41:51Z")

</div>

I’m not sure what is causing this error as I can successfully login, I just can’t submit this form without the script bombing out. formatstring = “testing submission” agent = WWW::Mechanize.new page = agent.get ‘hidd…

---

## [Some USRP2 Questions](https://www.ruby-forum.com/t/some-usrp2-questions/154354)

<div class="topic-metadata">

**Author:** [@fmalem](https://www.ruby-forum.com/u/fmalem)\
**Replies:** 5\
**Last updated:** [December 2, 2008, 10:58am UTC](https://www.ruby-forum.com/t/some-usrp2-questions/154354 "2008-12-02T10:58:45Z")

</div>

Hi Matt, I have some questions (prepared from a while before you have been submitted USRP2 schematics so excuse me if some of them can be answered from your schematics). How USRP2 boots? and how the FPGA firmware …

---

## [Rake stats: code to test ratio](https://www.ruby-forum.com/t/rake-stats-code-to-test-ratio/81425)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 5\
**Last updated:** [January 9, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/rake-stats-code-to-test-ratio/81425 "2007-01-09T13:23:24Z")

</div>

I was curious what everyone’s code to test ratio is with running rake stats. I’m trying to find what a typical ratio should be.

---

## [Mail-proxy, ssl and line termination](https://www.ruby-forum.com/t/mail-proxy-ssl-and-line-termination/223968)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 25, 2012, 12:26pm UTC](https://www.ruby-forum.com/t/mail-proxy-ssl-and-line-termination/223968 "2012-10-25T12:26:32Z")

</div>

Good morning, maybe, I’m posting this to the wrong place. nginx-devel@ rejected this. any pointers appreciated :slight\_smile: the setup… 1 nginx frontend, pop3 / pop3s / imap / imaps 2 backends, dovecot + ms-exchan…

---

## [Auhtlogic et Rails 3 : Authlogic and rails 3 : NameError in User sessionsController#new](https://www.ruby-forum.com/t/auhtlogic-et-rails-3-authlogic-and-rails-3-nameerror-in-user-sessionscontroller-new/199126)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 22, 2010, 10:00am UTC](https://www.ruby-forum.com/t/auhtlogic-et-rails-3-authlogic-and-rails-3-nameerror-in-user-sessionscontroller-new/199126 "2010-11-22T10:00:06Z")

</div>

Bonjour, J’ai une install rails 3 et je suis en train d’utiliser le gem Authlogic, en suivant notamment le Railscast correspondant (http:// #160 Authlogic - RailsCasts), mais je fais face à une difficulté. Après avo…

---

## [Configure can't find SSL library](https://www.ruby-forum.com/t/configure-cant-find-ssl-library/192669)

<div class="topic-metadata">

**Author:** [@WilliamOMS](https://www.ruby-forum.com/u/WilliamOMS)\
**Replies:** 4\
**Last updated:** [August 4, 2010, 12:32am UTC](https://www.ruby-forum.com/t/configure-cant-find-ssl-library/192669 "2010-08-04T00:32:39Z")

</div>

Hello, I’m installing Nginx 0.8.40 on Solaris 10 with SSL module enabled. But configure command (./configure --prefix=/export/home/tomcat/nginx –with-http\_ssl\_module) failed with following messages in autoconf.err. =…

---

## [Symbol as array index error?](https://www.ruby-forum.com/t/symbol-as-array-index-error/185370)

<div class="topic-metadata">

**Author:** [@Dudebot](https://www.ruby-forum.com/u/Dudebot)\
**Replies:** 4\
**Last updated:** [March 19, 2010, 2:20am UTC](https://www.ruby-forum.com/t/symbol-as-array-index-error/185370 "2010-03-19T02:20:19Z")

</div>

Anybody have any idea why this is throwing an error: @monkey = params\[ :lab \]\[ :existing\_lab\_data\_attributes \] raise @monkey.to\_yaml — !map:HashWithIndifferentAccess “133”: !map:HashWithIndifferentAccess unit\_id: “2…

---

## [Help with CSS in application.html.erb](https://www.ruby-forum.com/t/help-with-css-in-application-html-erb/132816)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/help-with-css-in-application-html-erb/132816 "2008-03-25T20:20:42Z")

</div>

I have this code in application.html.erb: \<%= link\_to \_('Repair tickets'), repair\_tickets\_path%\> \<%= link\_to \_('Incidences'), incidences\_path%\> \<%= link\_to \_('Tickets'), tickets\_path%\> \<%= link\_to …

---

## [Ci\_reporter user guide?](https://www.ruby-forum.com/t/ci-reporter-user-guide/109999)

<div class="topic-metadata">

**Author:** [@maung](https://www.ruby-forum.com/u/maung)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/ci-reporter-user-guide/109999 "2007-07-27T23:01:51Z")

</div>

Hi, I am new to ruby. I’ve googled for ci\_reporter user guide, but i found little helpful results. Could anyone have a clue where i can get support for reporter? My real question is how to get xml output ruby. Earlier…

---

## [Rails and mysql cluster](https://www.ruby-forum.com/t/rails-and-mysql-cluster/80887)

<div class="topic-metadata">

**Author:** [@Fredrik](https://www.ruby-forum.com/u/Fredrik)\
**Replies:** 4\
**Last updated:** [January 3, 2007, 1:04am UTC](https://www.ruby-forum.com/t/rails-and-mysql-cluster/80887 "2007-01-03T01:04:40Z")

</div>

Hi, I’m looking for some feedback on using mysql cluster and rails. I’ve developed an app using innoDB and have all the foreign key constraints set up on the database for pretty much everything and I’m using lots of …

---

## [Scaffold.css and Rails tutorial problem](https://www.ruby-forum.com/t/scaffold-css-and-rails-tutorial-problem/54322)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [March 1, 2006, 6:43pm UTC](https://www.ruby-forum.com/t/scaffold-css-and-rails-tutorial-problem/54322 "2006-03-01T18:43:09Z")

</div>

In iteration D.1 on page 109 I am not getting a styled error message box displayed at the top of the checkout as described in the tutorial and I cannot seem to discover where I have erred. The scaffold.css is copied f…

---

## [ProblÃ¨me de chargement de gems](https://www.ruby-forum.com/t/probla-me-de-chargement-de-gems/181390)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 6\
**Last updated:** [January 11, 2010, 3:13pm UTC](https://www.ruby-forum.com/t/probla-me-de-chargement-de-gems/181390 "2010-01-11T15:13:54Z")

</div>

Bonjour, J’ai une petite question. J’ai freezÃ© mes gems dans mon appli (car ils ne sont pas installÃ© chez mon hÃ©bergeur). Mon fichier de config contient: config.gem ‘mislav-will\_paginate’, :version =\> ‘~\> 2.3.3’, …

---

## [Annoying pop up window with restful\_authentication](https://www.ruby-forum.com/t/annoying-pop-up-window-with-restful-authentication/162462)

<div class="topic-metadata">

**Author:** [@semyou](https://www.ruby-forum.com/u/semyou)\
**Replies:** 6\
**Last updated:** [March 10, 2009, 4:08pm UTC](https://www.ruby-forum.com/t/annoying-pop-up-window-with-restful-authentication/162462 "2009-03-10T16:08:36Z")

</div>

Hi, I have this annoying popup window for Web Password whenever a click on a javascript action which require authentication. I have the problem for FF, IE and Chrome. The problem isn’t seen for non javascript action …

---

## [Software defined antenna](https://www.ruby-forum.com/t/software-defined-antenna/150653)

<div class="topic-metadata">

**Author:** [@rhubbell](https://www.ruby-forum.com/u/rhubbell)\
**Replies:** 6\
**Last updated:** [October 12, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/software-defined-antenna/150653 "2008-10-12T23:22:09Z")

</div>

Hi all, After being on-frequency here for a little while I can see that the range of experience/expertise is wide. Which is great. I’m curious if any long-timers have begun to look at software defined antennas? Or i…

---

## [Problema con time\_zone\_select](https://www.ruby-forum.com/t/problema-con-time-zone-select/126507)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 6\
**Last updated:** [January 22, 2008, 3:56pm UTC](https://www.ruby-forum.com/t/problema-con-time-zone-select/126507 "2008-01-22T15:56:40Z")

</div>

Hola a todos, tengo un problema con time\_zone\_select y es que quiere pasarle las zonas prioritarias: \<%= f.time\_zone\_select :time\_zone, priority\_zones=\[‘Madrid’\] %\> Pero me devuelve el siguiente error: undefined met…

---

## [Ferret just got faster](https://www.ruby-forum.com/t/ferret-just-got-faster/71035)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 6\
**Last updated:** [October 11, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/ferret-just-got-faster/71035 "2006-10-11T22:53:33Z")

</div>

Hey guys, Sorry I haven’t been around for the last few days. I’ve just finished a coding marathon fixing up some of the performance problems in Ferret. If you don’t know what I’m talking about there has been a proble…

---

## [Do i have to use DRbUndumped?](https://www.ruby-forum.com/t/do-i-have-to-use-drbundumped/57396)

<div class="topic-metadata">

**Author:** [@holy\_sinner](https://www.ruby-forum.com/u/holy_sinner)\
**Replies:** 6\
**Last updated:** [April 13, 2006, 7:20pm UTC](https://www.ruby-forum.com/t/do-i-have-to-use-drbundumped/57396 "2006-04-13T19:20:26Z")

</div>

i am currently using Ruby 1.8.4 and DRb 2.0.4, and i am stuck with some marshalling problem related to tuplespace. this is my hello world code using tuplespace #HelloWorld.rb require “rinda/ring” class HelloWorld i…

---

## [Swig, c++, use string](https://www.ruby-forum.com/t/swig-c-use-string/84155)

<div class="topic-metadata">

**Author:** [@killy-kun](https://www.ruby-forum.com/u/killy-kun)\
**Replies:** 6\
**Last updated:** [March 21, 2006, 5:30am UTC](https://www.ruby-forum.com/t/swig-c-use-string/84155 "2006-03-21T05:30:58Z")

</div>

I would like to use the c++ string type as a parameter of function return of some c++ functions used in a ruby module, made with swig. Here is a simple example I tried to use the string type : #----------------- %mod…

---

## [No element found error with selenium-webdriver](https://www.ruby-forum.com/t/no-element-found-error-with-selenium-webdriver/226930)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 8\
**Last updated:** [March 4, 2013, 2:21pm UTC](https://www.ruby-forum.com/t/no-element-found-error-with-selenium-webdriver/226930 "2013-03-04T14:21:02Z")

</div>

For the below code I am getting error as “no element found” if download\_field\_name == “form :” if (download\_link =~ /fileEntityId=\\d+/) != nil #driver.find\_element(:link, link\_text).click puts @extension puts link\_t…

---

## [Auxiliary ADC](https://www.ruby-forum.com/t/auxiliary-adc/181886)

<div class="topic-metadata">

**Author:** [@sigma](https://www.ruby-forum.com/u/sigma)\
**Replies:** 8\
**Last updated:** [January 22, 2010, 6:09pm UTC](https://www.ruby-forum.com/t/auxiliary-adc/181886 "2010-01-22T18:09:35Z")

</div>

Hi, is there a possibility to read the data coming from the auxiliary ADC (AD7922) at the moment? I couldn’t find any hint in the code or on the mailing list that could point me to a good direction to start. Just …

---

## [Comment syntax and strange partial rendering](https://www.ruby-forum.com/t/comment-syntax-and-strange-partial-rendering/181777)

<div class="topic-metadata">

**Author:** [@brahn](https://www.ruby-forum.com/u/brahn)\
**Replies:** 8\
**Last updated:** [January 18, 2010, 3:40pm UTC](https://www.ruby-forum.com/t/comment-syntax-and-strange-partial-rendering/181777 "2010-01-18T15:40:41Z")

</div>

Using rails 2.3.2 I have a partial \_foo.rhtml that begins with a comment as follows: \<% # here is a comment %\> \<li\>\<%= foo %\>\</li\> When I render the partial from a view in the traditional way, e.g. \<% some\_numbers = …

---

## [Daemons](https://www.ruby-forum.com/t/daemons/151362)

<div class="topic-metadata">

**Author:** [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Replies:** 8\
**Last updated:** [October 20, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/daemons/151362 "2008-10-20T22:32:06Z")

</div>

Hello! I am having issues with daemons (to a process in detached from terminal) as in: /usr/local/jruby-1.1.4/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/daemonize.rb:122:in \`each\_object’: ObjectSpace is disabl…

---

## [Before\_filter with multiple roles](https://www.ruby-forum.com/t/before-filter-with-multiple-roles/138265)

<div class="topic-metadata">

**Author:** [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Replies:** 8\
**Last updated:** [May 21, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/before-filter-with-multiple-roles/138265 "2008-05-21T18:21:33Z")

</div>

I have multiple roles in my application. Now I want to block a method for all users except the administrator and a manager. When I do this: before\_filter (:check\_administrator\_role), :only =\> \[:administration\] befor…

---

## [DSL - class-level methods that affect instances](https://www.ruby-forum.com/t/dsl-class-level-methods-that-affect-instances/136432)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 8\
**Last updated:** [May 2, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/dsl-class-level-methods-that-affect-instances/136432 "2008-05-02T12:25:39Z")

</div>

I’m having a problem of design. I’ve tried a few configurations of class collaboration and responsibility, but they all end up feeling messy. I’m looking at these (either or, my original attempt was with a module, but…

---

## [Ruby e demone linux](https://www.ruby-forum.com/t/ruby-e-demone-linux/128419)

<div class="topic-metadata">

**Author:** [@globalace](https://www.ruby-forum.com/u/globalace)\
**Replies:** 8\
**Last updated:** [February 13, 2008, 10:34am UTC](https://www.ruby-forum.com/t/ruby-e-demone-linux/128419 "2008-02-13T10:34:31Z")

</div>

Esiste un demone (es. quello httpd, mysqld ecc.) di ruby in da porter far partire ruby in automatico all’avvio di linux? Non so qualcosa del tipo rubyd ecc.

---

## [Textmate RSpec Bundle 'it' snippet](https://www.ruby-forum.com/t/textmate-rspec-bundle-it-snippet/127259)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 8\
**Last updated:** [January 30, 2008, 12:35am UTC](https://www.ruby-forum.com/t/textmate-rspec-bundle-it-snippet/127259 "2008-01-30T00:35:48Z")

</div>

It seems to me that the RSpec bundle’s ‘it’ snippet is in need of some love. By default, a newly inserted spec passes. This seems odd as it is misleading. It also makes it harder find what specs still need to be compl…

---

## [Caracteres especiales y Net::HTTP](https://www.ruby-forum.com/t/caracteres-especiales-y-net-http/104582)

<div class="topic-metadata">

**Author:** [@Marze](https://www.ruby-forum.com/u/Marze)\
**Replies:** 8\
**Last updated:** [May 22, 2007, 1:13am UTC](https://www.ruby-forum.com/t/caracteres-especiales-y-net-http/104582 "2007-05-22T01:13:35Z")

</div>

Un poco de ruby en este email, estoy intentado automatizar la traducciÃ³n de unos textos y creo que no existen bindings para ruby que se entiendan con el traductor de Google (existen?) y quien sabe si al final se tran…

---

## [Unable to install "curb" gem on Big Sur](https://www.ruby-forum.com/t/unable-to-install-curb-gem-on-big-sur/262414)

<div class="topic-metadata">

**Author:** [@YoungZeeZee](https://www.ruby-forum.com/u/YoungZeeZee)\
**Replies:** 0\
**Last updated:** [January 15, 2022, 5:34pm UTC](https://www.ruby-forum.com/t/unable-to-install-curb-gem-on-big-sur/262414 "2022-01-15T17:34:26Z")

</div>

Hi All, I am unable to install “curb” gem on Big Sur. Do you know how can i get it? I have curb (0.9.10) installed. This is the error message: localadmin@MBA-C02FD4LCQ6L7 . % sudo gem install curb Password: Buildi…

---

## [FFMPEG Query](https://www.ruby-forum.com/t/ffmpeg-query/176929)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 3\
**Last updated:** [August 21, 2020, 9:47pm UTC](https://www.ruby-forum.com/t/ffmpeg-query/176929 "2020-08-21T21:47:16Z")

</div>

Hello all, I am cropping the video using ffmpeg n it’s working properly. But i want to see a crop preview before executing crop command. If anyone have an idea,please help me out. Thanks in advance.

---

## [Ruby 2.2.2 and Rails 4.2.1 railties or spring dependency issues](https://www.ruby-forum.com/t/ruby-2-2-2-and-rails-4-2-1-railties-or-spring-dependency-issues/241828)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 4, 2015, 10:39pm UTC](https://www.ruby-forum.com/t/ruby-2-2-2-and-rails-4-2-1-railties-or-spring-dependency-issues/241828 "2015-05-04T22:39:32Z")

</div>

Ok, here’s the story so far. Last night I passed rails new and it worked but I got a message at the end that i should be using Ruby 2.2.2 to ensure the best performance, I think because of spring. I switched to Rub…

---

## [Nothing known about namespace 'pmt'](https://www.ruby-forum.com/t/nothing-known-about-namespace-pmt/228575)

<div class="topic-metadata">

**Author:** [@Alex\_Dusowitz](https://www.ruby-forum.com/u/Alex_Dusowitz)\
**Replies:** 3\
**Last updated:** [May 19, 2013, 12:24am UTC](https://www.ruby-forum.com/t/nothing-known-about-namespace-pmt/228575 "2013-05-19T00:24:25Z")

</div>

Hi, I am trying to install the gr-ieee802-11 project from CGRAN on top of my gnuradio-3.6.4.1 installation and keep getting the following error during ‘make’: … Scanning dependencies of target \_ieee802\_11\_swig\_swig…

---

## [Daily logger not working?](https://www.ruby-forum.com/t/daily-logger-not-working/88204)

<div class="topic-metadata">

**Author:** [@rmehta](https://www.ruby-forum.com/u/rmehta)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 3:51am UTC](https://www.ruby-forum.com/t/daily-logger-not-working/88204 "2007-03-09T03:51:55Z")

</div>

Hi, In my controller I have given: logger = Logger.new(‘try.log’, shift\_age=‘daily’) A file is created in the root folder of my application as try.log. But if I give logger.info(‘testing’) then this is logged in dev…

---

## [Postgresql timeStamp and ruby Time.now?](https://www.ruby-forum.com/t/postgresql-timestamp-and-ruby-time-now/84820)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 3\
**Last updated:** [February 8, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/postgresql-timestamp-and-ruby-time-now/84820 "2007-02-08T15:59:15Z")

</div>

Hi, I have a postgresql DB table which has “timeStamp” field, I wonder if it is a good way to store time with ruby-rails “Time.now” with a “timeStamp” field??? or will it better to store the “Time.now” into a “varcha…

---

## [Create and edit with has\_and\_belongs\_to\_many](https://www.ruby-forum.com/t/create-and-edit-with-has-and-belongs-to-many/77071)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 3\
**Last updated:** [November 24, 2006, 1:37pm UTC](https://www.ruby-forum.com/t/create-and-edit-with-has-and-belongs-to-many/77071 "2006-11-24T13:37:35Z")

</div>

Hi you all, I have the common model of “pages” and “subjects”, where a “page” can have many “subjects” and a “subject” can be related with many “pages”, so I set the “has\_and\_belongs\_to\_many” method in both models, th…

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

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