# Top

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

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

---

## [Rails app how to scan qrcode in mobile browser](https://www.ruby-forum.com/t/rails-app-how-to-scan-qrcode-in-mobile-browser/243603)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 11, 2016, 7:58am UTC](https://www.ruby-forum.com/t/rails-app-how-to-scan-qrcode-in-mobile-browser/243603 "2016-01-11T07:58:01Z")

</div>

I am trying to scan the qrcode/barcodes from my rails app in mobile. Do you have any idea?

---

## [New python block gr\_modtool - When no inputs/outputs, which parent should I use?](https://www.ruby-forum.com/t/new-python-block-gr-modtool-when-no-inputs-outputs-which-parent-should-i-use/234321)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 24, 2015, 4:42pm UTC](https://www.ruby-forum.com/t/new-python-block-gr-modtool-when-no-inputs-outputs-which-parent-should-i-use/234321 "2015-02-24T16:42:55Z")

</div>

Hello, I tried to implement a python block which generates tuning commands every 5 seconds. Python block: 0 inputs, 0 outputs, 1 out\_msg port which must be declared in the constructor. I used gr\_modtool. I got some…

---

## [Goodies for Netvibes - Introduction](https://www.ruby-forum.com/t/goodies-for-netvibes-introduction/92814)

<div class="topic-metadata">

**Author:** [@pyros](https://www.ruby-forum.com/u/pyros)\
**Replies:** 2\
**Last updated:** [April 25, 2007, 10:56am UTC](https://www.ruby-forum.com/t/goodies-for-netvibes-introduction/92814 "2007-04-25T10:56:28Z")

</div>

Hello all, I would like to introduce my project gNetvibes, aka “Goodies for Netvibves”. It contain 3 main components : netvibes : netvibes.com api to access your data in ruby gnetvibes : Gnome/GTK+ application (as …

---

## [Gnuradio-companion does not find block-ids](https://www.ruby-forum.com/t/gnuradio-companion-does-not-find-block-ids/228746)

<div class="topic-metadata">

**Author:** [@MSRanganathan](https://www.ruby-forum.com/u/MSRanganathan)\
**Replies:** 1\
**Last updated:** [May 6, 2013, 11:18pm UTC](https://www.ruby-forum.com/t/gnuradio-companion-does-not-find-block-ids/228746 "2013-05-06T23:18:28Z")

</div>

Hello, I am a gnuradio-companion newbie (but I have tinkered with other parts of gnuradio). I am experimenting with an 802.15.4 implementation. Compiles and builds fine. I am installing the distro in a non-standard …

---

## [Losing POST data on vanilla Ubuntu/nginx/mongrel install](https://www.ruby-forum.com/t/losing-post-data-on-vanilla-ubuntu-nginx-mongrel-install/164684)

<div class="topic-metadata">

**Author:** [@Aaron\_Starr](https://www.ruby-forum.com/u/Aaron_Starr)\
**Replies:** 7\
**Last updated:** [April 9, 2009, 1:53am UTC](https://www.ruby-forum.com/t/losing-post-data-on-vanilla-ubuntu-nginx-mongrel-install/164684 "2009-04-09T01:53:21Z")

</div>

Hi, all. Sorry in advance for what is hopefully a simple question. I’m using nginx as a reverse-proxy for a few mongrel instances. Using AJAX (XMLHttpRequest), I POST a small bit of JSON to the server. The request is …

---

## [Rhtml to pdf?](https://www.ruby-forum.com/t/rhtml-to-pdf/116312)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [October 7, 2007, 2:29am UTC](https://www.ruby-forum.com/t/rhtml-to-pdf/116312 "2007-10-07T02:29:23Z")

</div>

Bonjour, Je souhaiterais directement transformer le rendu d’un rhtml en pdf. J’ai testé avec htmldoc, mais il ne tient pas compte des css. Princexml le fait mais c’est relativement très très cher. Connaissez vous un …

---

## [Adding a custom filter to the query](https://www.ruby-forum.com/t/adding-a-custom-filter-to-the-query/98463)

<div class="topic-metadata">

**Author:** [@jordanf](https://www.ruby-forum.com/u/jordanf)\
**Replies:** 7\
**Last updated:** [July 17, 2006, 3:57am UTC](https://www.ruby-forum.com/t/adding-a-custom-filter-to-the-query/98463 "2006-07-17T03:57:47Z")

</div>

Hi all, I’m trying to figure out how to add a filter into a search. I’ve created the filter, basically copying the location filter from http://blog.tourb.us/archives/ferret-and-location-based-searches. But when I try…

---

## [Rich text aera?](https://www.ruby-forum.com/t/rich-text-aera/94340)

<div class="topic-metadata">

**Author:** [@nauhaie](https://www.ruby-forum.com/u/nauhaie)\
**Replies:** 7\
**Last updated:** [May 3, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/rich-text-aera/94340 "2006-05-03T18:57:10Z")

</div>

Hi all, I am trying to add an article editing interface to my future webstore, and I am wondering what to use for text formatting. I would like to avoid using HTML, and calibre-bbcode just won’t work (see my last pos…

---

## [Order by in nested includes](https://www.ruby-forum.com/t/order-by-in-nested-includes/244046)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [February 11, 2016, 12:48pm UTC](https://www.ruby-forum.com/t/order-by-in-nested-includes/244046 "2016-02-11T12:48:46Z")

</div>

Hello there, I’m encountering a strange issue. I tried to google about it but I may not be using the right wording (I am quite new at RoR). I’m using some nested eager loading through a scope of one of my models. So …

---

## [GC.malloc\_allocated\_size and GC.malloc\_allocations not available (#if CALC\_EXACT\_MALLOC\_SIZE)](https://www.ruby-forum.com/t/gc-malloc-allocated-size-and-gc-malloc-allocations-not-available-if-calc-exact-malloc-size/214432)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 29, 2011, 8:42am UTC](https://www.ruby-forum.com/t/gc-malloc-allocated-size-and-gc-malloc-allocations-not-available-if-calc-exact-malloc-size/214432 "2011-12-29T08:42:58Z")

</div>

Hi, using Ruby 1.9.3 I cannot use methods GC.malloc\_allocated\_size and GC.malloc\_allocations, which theorically do exist: Module: GC (Ruby 1.9.3) Inspecting the gc.c file I’ve found at the end: #if CALC\_EXACT\_MALLOC\_…

---

## [How to read password from keyboard](https://www.ruby-forum.com/t/how-to-read-password-from-keyboard/192414)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 5\
**Last updated:** [July 30, 2010, 2:02pm UTC](https://www.ruby-forum.com/t/how-to-read-password-from-keyboard/192414 "2010-07-30T14:02:33Z")

</div>

Hi everyone! If I want to read a simple string from keyboard: simple\_text = gets What if a password needs to be read from keyboard (commando line)? How do I mask it with asterisks? Regards, Bruno

---

## [Couldn't find without an ID](https://www.ruby-forum.com/t/couldnt-find-without-an-id/153706)

<div class="topic-metadata">

**Author:** [@smartee](https://www.ruby-forum.com/u/smartee)\
**Replies:** 5\
**Last updated:** [November 20, 2008, 11:22am UTC](https://www.ruby-forum.com/t/couldnt-find-without-an-id/153706 "2008-11-20T11:22:20Z")

</div>

hi friends… my rhtml is for\_for\_test.rhtml Form\_For Tester \<% form\_for :blog, :url =\> { :action =\> 'save', :id =\> @blog } do |f| %\> Name: \<%= f.text\_field :blog %\> \<%= submit\_tag 'Save' %\> …

---

## [Button position](https://www.ruby-forum.com/t/button-position/134038)

<div class="topic-metadata">

**Author:** [@karthikragu](https://www.ruby-forum.com/u/karthikragu)\
**Replies:** 5\
**Last updated:** [April 7, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/button-position/134038 "2008-04-07T20:03:32Z")

</div>

hi all, im having a form and a back button like this in my view page like this \<% form\_tag %\> \<% submit\_tag %\> \<% end %\> \<% button\_link,‘back’ %\> but in view page the button\_link is coming always down to subm…

---

## [How to convert a ruby string into WChar string in ruby?](https://www.ruby-forum.com/t/how-to-convert-a-ruby-string-into-wchar-string-in-ruby/124142)

<div class="topic-metadata">

**Author:** [@Wu\_Nan](https://www.ruby-forum.com/u/Wu_Nan)\
**Replies:** 5\
**Last updated:** [December 26, 2007, 3:37pm UTC](https://www.ruby-forum.com/t/how-to-convert-a-ruby-string-into-wchar-string-in-ruby/124142 "2007-12-26T15:37:36Z")

</div>

Hi, I want to use the Win32API, however the API I use need the WChar string as a parameter. So how can I convert a ruby string into WChar String? Thanks very much.

---

## [Term vector blues](https://www.ruby-forum.com/t/term-vector-blues/85868)

<div class="topic-metadata">

**Author:** [@pandemic](https://www.ruby-forum.com/u/pandemic)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/term-vector-blues/85868 "2007-09-25T23:04:59Z")

</div>

I have a lot of crashes when I try to use term vectors. Here’s an example, which crashes pretty consistently. This problem seems to be somewhat sensitive to platform… people on other OS’s and ruby versions have report…

---

## [How to determine if an object has just been created](https://www.ruby-forum.com/t/how-to-determine-if-an-object-has-just-been-created/61016)

<div class="topic-metadata">

**Author:** [@jonny](https://www.ruby-forum.com/u/jonny)\
**Replies:** 5\
**Last updated:** [May 19, 2006, 1:43pm UTC](https://www.ruby-forum.com/t/how-to-determine-if-an-object-has-just-been-created/61016 "2006-05-19T13:43:16Z")

</div>

Is there a built-in way to determine if a model object has just been created (ie. this object was the one that was originally persisted)? I can’t see it anywhere in the AR code, but thought I’d check. I want something…

---

## [Sweeper class doesn't work](https://www.ruby-forum.com/t/sweeper-class-doesnt-work/188527)

<div class="topic-metadata">

**Author:** [@trungdo](https://www.ruby-forum.com/u/trungdo)\
**Replies:** 4\
**Last updated:** [December 10, 2012, 3:46am UTC](https://www.ruby-forum.com/t/sweeper-class-doesnt-work/188527 "2012-12-10T03:46:04Z")

</div>

Hi experts, I have built a typical cache sweeper class: #====================== class PrivilegeCacheSweeper \< ActionController::Caching::Sweeper observe User def after\_update(user) expire\_cache\_for(user) end priv…

---

## [Thawte SSL with 3 certificates](https://www.ruby-forum.com/t/thawte-ssl-with-3-certificates/207882)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 7, 2011, 2:00am UTC](https://www.ruby-forum.com/t/thawte-ssl-with-3-certificates/207882 "2011-06-07T02:00:11Z")

</div>

Hi all, After much googling, lots of hair pulling and still no result I’m hoping someone here has seen this particular issue or else can help point me in a direction that may help resolve it. For a site I’m building …

---

## [Ruby-gnome2 not fully functional (at least for me) in latest ubuntu (karmic)](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 4\
**Last updated:** [January 12, 2010, 4:46pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417 "2010-01-12T16:46:56Z")

</div>

Hi, I’ve noticed that my program booh lacks screen refresh on ubuntu karmic (rg2 0.19.0) when calling backend programs. I fork and use ruby threads to monitor the progress of the backend programs (and pulse/increment…

---

## [Overriding layout causes empty response with content\_for](https://www.ruby-forum.com/t/overriding-layout-causes-empty-response-with-content-for/153686)

<div class="topic-metadata">

**Author:** [@darth\_ivan](https://www.ruby-forum.com/u/darth_ivan)\
**Replies:** 4\
**Last updated:** [November 20, 2008, 6:58am UTC](https://www.ruby-forum.com/t/overriding-layout-causes-empty-response-with-content-for/153686 "2008-11-20T06:58:46Z")

</div>

Hi, I’m trying to pinpoint what the issue might be here. In a controller that has the appropriate layout (layouts/controller.html.erb), if I try to override the layout to the ‘application’ layout only for certain act…

---

## [Mod\_proxy, mongrel, redirect issue](https://www.ruby-forum.com/t/mod-proxy-mongrel-redirect-issue/146411)

<div class="topic-metadata">

**Author:** [@Jeremy\_Cavagnolo](https://www.ruby-forum.com/u/Jeremy_Cavagnolo)\
**Replies:** 4\
**Last updated:** [October 23, 2008, 10:47am UTC](https://www.ruby-forum.com/t/mod-proxy-mongrel-redirect-issue/146411 "2008-10-23T10:47:11Z")

</div>

Hello, I am configuring apache 2.2 to serve my rails app through mongrel at the root of my server. First, I redirect all http traffic to https with the following: ServerName emiliano NameVirtualHost \*:80 \<VirtualH…

---

## [Periodically\_call\_remote eating up lots of CPU](https://www.ruby-forum.com/t/periodically-call-remote-eating-up-lots-of-cpu/89094)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 4\
**Last updated:** [March 19, 2007, 2:59am UTC](https://www.ruby-forum.com/t/periodically-call-remote-eating-up-lots-of-cpu/89094 "2007-03-19T02:59:42Z")

</div>

Hi all, I am having a problem where when I call periodically\_call\_remote the CPU usage goes really high and I have to kill the browser to return the system to normal. I have the following remote call: \<%= periodicall…

---

## [ActiveRecord and SQL Regular Expressions](https://www.ruby-forum.com/t/activerecord-and-sql-regular-expressions/131045)

<div class="topic-metadata">

**Author:** [@gers32](https://www.ruby-forum.com/u/gers32)\
**Replies:** 1\
**Last updated:** [March 7, 2008, 10:58am UTC](https://www.ruby-forum.com/t/activerecord-and-sql-regular-expressions/131045 "2008-03-07T10:58:21Z")

</div>

Hi, I have the following code: @my\_things = MyThing.find( :all, :select =\> "ID, CODE", :conditions =\> conditions\_list) conditions\_list is an array, with the following elements : \[0\] code like ? and comp\_cas\_no…

---

## [No Rakefile found (but I see it!)](https://www.ruby-forum.com/t/no-rakefile-found-but-i-see-it/116814)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 1\
**Last updated:** [October 10, 2007, 12:24am UTC](https://www.ruby-forum.com/t/no-rakefile-found-but-i-see-it/116814 "2007-10-10T00:24:51Z")

</div>

newbie. going thru the Depot tutorial. googling all over for clues have left me empty handed. os x 10.4.10, rails 1.2.4, rake 0.7.3 AFAICT, the installs of rails and rake went fine using gem install. the command: ra…

---

## [CMS Recommendations](https://www.ruby-forum.com/t/cms-recommendations/240175)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 31, 2014, 11:26pm UTC](https://www.ruby-forum.com/t/cms-recommendations/240175 "2014-03-31T23:26:32Z")

</div>

Hello all, I’m moving to Rails from another OO language where I’ve built my own extensive CMS systems - and I’m the kind of guy who learns by breaking things and figuring out why they broke. Strange method but true - …

---

## [Array param does not work](https://www.ruby-forum.com/t/array-param-does-not-work/237888)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 3:22am UTC](https://www.ruby-forum.com/t/array-param-does-not-work/237888 "2013-12-05T03:22:23Z")

</div>

Hello, in my code, the array param does not work. reponse = RestClient.post( ‘https://mandrillapp.com/api/1.0/messages/send.json’, {:key =\> “XXXXXXXXXXXXXXXXX”, :message =\> { :html =\> ’ testeeeee ', :text =\> ‘Ex…

---

## [Undefined method \`use\_ssl=' for #\<Net::HTTP](https://www.ruby-forum.com/t/undefined-method-use-ssl-for-net-http/99028)

<div class="topic-metadata">

**Author:** [@joe.black](https://www.ruby-forum.com/u/joe.black)\
**Replies:** 3\
**Last updated:** [October 17, 2011, 4:09pm UTC](https://www.ruby-forum.com/t/undefined-method-use-ssl-for-net-http/99028 "2011-10-17T16:09:57Z")

</div>

hi all, #---------------------- client = XMLRPC::Client.new(“localhost”, path, 443, nil, nil, nil, nil, true, 30) #---------------------- when i run it, throw a exception: undefined method \`use\_ssl=’ for #\<Net::HTT…

---

## ["Missing partial layouts/application" error on render :partial =\> "index", :layout =\> "application"](https://www.ruby-forum.com/t/missing-partial-layouts-application-error-on-render-partial-index-layout-application/198202)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 27, 2010, 10:12pm UTC](https://www.ruby-forum.com/t/missing-partial-layouts-application-error-on-render-partial-index-layout-application/198202 "2010-10-27T22:12:13Z")

</div>

This is the second time I have seen this error, and been googling around and cant find an explanation. This error is happening with Rails 3/1.9.2 and was not with Rails 2.3.8/1.8.7: Template is missing Missing part…

---

## [Rails 3 Model attributes localization](https://www.ruby-forum.com/t/rails-3-model-attributes-localization/195538)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [September 25, 2010, 8:43am UTC](https://www.ruby-forum.com/t/rails-3-model-attributes-localization/195538 "2010-09-25T08:43:38Z")

</div>

I am trying to localize in Rails 3, and I don’t understand the change w Rails 2 … I wrote the following hierarchy : en: model: user: User attributes: login: Login email: Email password: Password roles: Roles a…

---

## [File Ã¤nderungen ohne restart mÃ¶glich?](https://www.ruby-forum.com/t/file-a-nderungen-ohne-restart-ma-glich/159919)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 3\
**Last updated:** [February 10, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/file-a-nderungen-ohne-restart-ma-glich/159919 "2009-02-10T16:25:47Z")

</div>

wenn ich direkt am server eine Ã¤nderung an meinen dateien vornehme muss ich immer nach einer Ã¤nderung (zb file upload via ftp) den apache mit ruby restarten damit die Ã¤nderung im browser sichtbar wird. das nervt na…

---

## [ScriptableMember and Silverlight](https://www.ruby-forum.com/t/scriptablemember-and-silverlight/145896)

<div class="topic-metadata">

**Author:** [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/scriptablemember-and-silverlight/145896 "2008-08-14T22:03:22Z")

</div>

Hello all, I need some way to either access a javascript variable or expose a function to javascript to be called later. I’ve tried option #2, with the following call, but I don’t know how to specify a member funct…

---

## [:popup=\> \["name", 'height=500,width=700'\] not working in IE](https://www.ruby-forum.com/t/popup-name-height-500-width-700-not-working-in-ie/68400)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 3\
**Last updated:** [January 17, 2007, 5:48am UTC](https://www.ruby-forum.com/t/popup-name-height-500-width-700-not-working-in-ie/68400 "2007-01-17T05:48:24Z")

</div>

Hi, This doesn’t work in IE, it opens in the current window : \<%=link\_to material.name,{:controller=\>“materials”,:action=\>“show”,:id=\>material}, :popup =\> \[material.name, ‘height=500,width=700’\]%\> Does anyone know …

---

## [Controlling USB-RS232 interface](https://www.ruby-forum.com/t/controlling-usb-rs232-interface/67442)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [September 4, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/controlling-usb-rs232-interface/67442 "2006-09-04T14:44:06Z")

</div>

Before reverting to C, et al, can I use Ruby to do this? I have a ccd camera which has a 4 pin serial interface (pwr, gnd, txd, rxd). I have a board that provides a 9-pin rs232 connector which is used to interface to…

---

## [RTT time of ping based on OFDM tunnel](https://www.ruby-forum.com/t/rtt-time-of-ping-based-on-ofdm-tunnel/219815)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [May 18, 2012, 8:13am UTC](https://www.ruby-forum.com/t/rtt-time-of-ping-based-on-ofdm-tunnel/219815 "2012-05-18T08:13:35Z")

</div>

Hi all, I did some experiments of Ping, between two USRP N210 nodes, over the OFDM link. I need to know if any other has the same performance as I did. This OFDM link is using two frequencies, 900MHz and 1800MHz, as…

---

## [JRuby/Tomcat6 app crashes every other day](https://www.ruby-forum.com/t/jruby-tomcat6-app-crashes-every-other-day/214325)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 16, 2012, 7:11am UTC](https://www.ruby-forum.com/t/jruby-tomcat6-app-crashes-every-other-day/214325 "2012-02-16T07:11:06Z")

</div>

I’m having a really strange issue with Tomcat 6(newest release, although I’ve tried several releases from the 6 and 7 branches). I have two JRuby on Rails apps running on a linux(CentOS) server. Every couple of days, …

---

## [JRuby - Swing Right-Click Popup Menu](https://www.ruby-forum.com/t/jruby-swing-right-click-popup-menu/209748)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [July 22, 2011, 7:02pm UTC](https://www.ruby-forum.com/t/jruby-swing-right-click-popup-menu/209748 "2011-07-22T19:02:16Z")

</div>

The attached code produces a popup menu in a simple JFrame. It works and seems straight forward. When I modify the code to add a JTextArea, the right-click causes an error. I commented all lines that I added with: # …

---

## [Import excel / csv files](https://www.ruby-forum.com/t/import-excel-csv-files/175891)

<div class="topic-metadata">

**Author:** [@andkjaer](https://www.ruby-forum.com/u/andkjaer)\
**Replies:** 6\
**Last updated:** [September 23, 2009, 3:16pm UTC](https://www.ruby-forum.com/t/import-excel-csv-files/175891 "2009-09-23T15:16:26Z")

</div>

Hey, What way is the best to do imports of CSV files?

---

## [I only want one type of model returned from a multi\_search](https://www.ruby-forum.com/t/i-only-want-one-type-of-model-returned-from-a-multi-search/107662)

<div class="topic-metadata">

**Author:** [@nighty](https://www.ruby-forum.com/u/nighty)\
**Replies:** 6\
**Last updated:** [June 26, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/i-only-want-one-type-of-model-returned-from-a-multi-search/107662 "2007-06-26T21:02:00Z")

</div>

I am trying to use acts\_as\_ferret’s multi\_search to search across multiple models, but i only want it to return one type of model. for example i have a page that lists out people. on this page it shows email addresses…

---

## [Color is not a module](https://www.ruby-forum.com/t/color-is-not-a-module/105505)

<div class="topic-metadata">

**Author:** [@Martijn\_van\_Leeuwen](https://www.ruby-forum.com/u/Martijn_van_Leeuwen)\
**Replies:** 6\
**Last updated:** [May 31, 2007, 1:08pm UTC](https://www.ruby-forum.com/t/color-is-not-a-module/105505 "2007-05-31T13:08:19Z")

</div>

I have a problem with my pdf-writer-1.1.3 installation. When type require “pdf/writer” in the console i get the following error: TypeError: Color is not a module from /usr/local/lib/ruby/gems/1.8/gems/color-tools-1.3…

---

## [String.each](https://www.ruby-forum.com/t/string-each/87503)

<div class="topic-metadata">

**Author:** [@Yannick\_G](https://www.ruby-forum.com/u/Yannick_G)\
**Replies:** 6\
**Last updated:** [March 5, 2007, 9:00am UTC](https://www.ruby-forum.com/t/string-each/87503 "2007-03-05T09:00:46Z")

</div>

Hello all! I’m fairly new to Ruby, and I’m trying to write a program that looks at each character of a string and then processes it using a block. I’ve been using: String.each do #block end but something isn’t wor…

---

## [Problems with PHP authentication imap/smtp proxy](https://www.ruby-forum.com/t/problems-with-php-authentication-imap-smtp-proxy/240425)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 14, 2014, 7:47pm UTC](https://www.ruby-forum.com/t/problems-with-php-authentication-imap-smtp-proxy/240425 "2014-04-14T19:47:04Z")

</div>

I managed to write my php auth script but still having problems authenticating. Also this is what I see in the logs: \[error\] 22014#0: \*3234 recv() failed (111: Connection refused) while in http auth state, client: b…

---

## [Templates Rail](https://www.ruby-forum.com/t/templates-rail/185096)

<div class="topic-metadata">

**Author:** [@gbenoit79](https://www.ruby-forum.com/u/gbenoit79)\
**Replies:** 2\
**Last updated:** [March 16, 2010, 11:39pm UTC](https://www.ruby-forum.com/t/templates-rail/185096 "2010-03-16T23:39:30Z")

</div>

Bonjour, Je me suis mis (enfin !) aux templates Rails. J’ai mis en ligne \[1\] mon premier prototype. Au menu : Authlogic (optionnel : il crÃ©e les pages du tutorial du README) Controleur Welcome (optionnel) Layout ap…

---

## [413 Request Entity Too Large when uploading 1-2MB](https://www.ruby-forum.com/t/413-request-entity-too-large-when-uploading-1-2mb/152718)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 2\
**Last updated:** [November 6, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/413-request-entity-too-large-when-uploading-1-2mb/152718 "2008-11-06T21:31:46Z")

</div>

Hello, Im using SquirrelMail, with nginx 0.6.32 and php-fpm. Im trying to send a mail with an attachement of 1 or 2 MB through SquirrelMail and nginx gives me 413 error: 413 Request Entity Too Large In php.ini there …

---

## [Unexpected return (LocalJumpError) when forking off a rake process](https://www.ruby-forum.com/t/unexpected-return-localjumperror-when-forking-off-a-rake-process/122121)

<div class="topic-metadata">

**Author:** [@Hans\_S](https://www.ruby-forum.com/u/Hans_S)\
**Replies:** 2\
**Last updated:** [December 4, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/unexpected-return-localjumperror-when-forking-off-a-rake-process/122121 "2007-12-04T20:28:24Z")

</div>

I’ve written a small ruby cgi script which allows me to fork off a rake process, which in turn forks off other processes interfacing with subversion and ant mostly. I have a long running rakefile and after a few minut…

---

## [Creating a zip file in memory not on disc](https://www.ruby-forum.com/t/creating-a-zip-file-in-memory-not-on-disc/253467)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 0\
**Last updated:** [December 13, 2019, 12:55pm UTC](https://www.ruby-forum.com/t/creating-a-zip-file-in-memory-not-on-disc/253467 "2019-12-13T12:55:38Z")

</div>

hi how i can create zip file in memory? below is my code. require ‘csv’ require ‘pry’ require ‘stringio’ require ‘tempfile’ require ‘rubygems’ require ‘zip’ #reading local csv file table = CSV.parse(File.read(“s…

---

## [Undefined method \`dependent' - rspec and shoulda](https://www.ruby-forum.com/t/undefined-method-dependent-rspec-and-shoulda/211473)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 5, 2011, 8:42am UTC](https://www.ruby-forum.com/t/undefined-method-dependent-rspec-and-shoulda/211473 "2011-09-05T08:42:16Z")

</div>

hello, Getting this error when using shoulda and rspec for model tests. my gemfile … gem “shoulda-matchers” … spec file … it { should have\_many(:balances).dependent(:destroy) } error: User shoulda validations …

---

## [Scraping off a Word document?](https://www.ruby-forum.com/t/scraping-off-a-word-document/157927)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 8\
**Last updated:** [January 18, 2009, 5:27pm UTC](https://www.ruby-forum.com/t/scraping-off-a-word-document/157927 "2009-01-18T17:27:20Z")

</div>

Here’s a conceptual question. I have a Word mail merge, with a few dozen documents. There’s a certain field, let’s call in the Employee field, on each page. These documents are sorted in order of this field. What I’d …

---

## [Breaking apart arrays for arguments?](https://www.ruby-forum.com/t/breaking-apart-arrays-for-arguments/149330)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 8\
**Last updated:** [September 24, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/breaking-apart-arrays-for-arguments/149330 "2008-09-24T22:05:35Z")

</div>

Is there a way to break apart an array to use it as arguments to another method? I would’ve sworn I’ve seen it, but I can’t recall how to do it. Take the idea of trying to prepend to an array using unshift. george=A…

---

## [Temporarily dropping root access](https://www.ruby-forum.com/t/temporarily-dropping-root-access/127845)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 8\
**Last updated:** [February 2, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/temporarily-dropping-root-access/127845 "2008-02-02T18:44:29Z")

</div>

Hi all, Say I’ve got a C extension with two rake tasks - ‘build’ and ‘install’. For the build task, if currently being run as root, I would like it to drop down to, say, the ‘nobody’ user. Obviously, I’m only talking…

---

## [RubyGems Installation Problem on Solaris 10](https://www.ruby-forum.com/t/rubygems-installation-problem-on-solaris-10/116889)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [October 12, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/rubygems-installation-problem-on-solaris-10/116889 "2007-10-12T17:55:49Z")

</div>

I’ve installed Ruby 1.8.6 on a Solaris 10 server without a problem. Trying to install RubyGems and get the following error: dev4# ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) \[sparc-solaris2.10\] dev4# ruby setup.rb …

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

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