# Top

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

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

---

## [Ruby, gtk and maybe cairo](https://www.ruby-forum.com/t/ruby-gtk-and-maybe-cairo/245197)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [January 4, 2017, 4:13am UTC](https://www.ruby-forum.com/t/ruby-gtk-and-maybe-cairo/245197 "2017-01-04T04:13:42Z")

</div>

hello, i’m begginer in ruby gtk i put images in gtk::fixed / ScrolledWindow / Fixed / Window like this : topWindow = Gtk::Window.new scrollbars = Gtk::ScrolledWindow.new.set\_size\_request xWidth, yWidth fixed = Gtk:…

---

## [Failure to build GNU Radio on various Ubuntu builds](https://www.ruby-forum.com/t/failure-to-build-gnu-radio-on-various-ubuntu-builds/243005)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 14, 2015, 3:19pm UTC](https://www.ruby-forum.com/t/failure-to-build-gnu-radio-on-various-ubuntu-builds/243005 "2015-08-14T15:19:27Z")

</div>

Hello, After trying to install GNU Radio over the past few days I’vebeen unsuccessful due to various failures of GNU Radio to build. The latest error is as follows:- Segmentation fault (core dumped)gr-blocks/swig/CMak…

---

## [Awesome\_print gem: Looking for maintainer(s)](https://www.ruby-forum.com/t/awesome-print-gem-looking-for-maintainer-s/233193)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 23, 2014, 3:04pm UTC](https://www.ruby-forum.com/t/awesome-print-gem-looking-for-maintainer-s/233193 "2014-11-23T15:04:14Z")

</div>

I’m looking to hand off awesome\_print gem to hackers who are going to be diligent about updates and responding to users. The awesome\_print has generated over 4.7M downloads and remains one of the most popular Ruby ge…

---

## [\[ruby-trunk - Bug #8227\]\[Open\] addr2line.c compile error on Solaris since r39887](https://www.ruby-forum.com/t/ruby-trunk-bug-8227-open-addr2line-c-compile-error-on-solaris-since-r39887/228017)

<div class="topic-metadata">

**Author:** [@ngoto\_SNaohisa\_G.S](https://www.ruby-forum.com/u/ngoto_SNaohisa_G.S)\
**Replies:** 2\
**Last updated:** [April 10, 2013, 11:03am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8227-open-addr2line-c-compile-error-on-solaris-since-r39887/228017 "2013-04-10T11:03:34Z")

</div>

Issue #8227 has been reported by ngoto (Naohisa G.). Bug #8227: addr2line.c compile error on Solaris since r39887 Author: ngoto (Naohisa G.) Status: Open Priority: Normal Assignee: ngoto (Naohisa G.) Category: T…

---

## [Form\_for with multiple objects, each with a preset attribute?](https://www.ruby-forum.com/t/form-for-with-multiple-objects-each-with-a-preset-attribute/167846)

<div class="topic-metadata">

**Author:** [@jacib](https://www.ruby-forum.com/u/jacib)\
**Replies:** 2\
**Last updated:** [November 25, 2012, 4:21am UTC](https://www.ruby-forum.com/t/form-for-with-multiple-objects-each-with-a-preset-attribute/167846 "2012-11-25T04:21:02Z")

</div>

I’m using Rails to create a schedule of a shop’s opening and closing hours. Simplified versions of the models I’ve set up is: class Account \< ActiveRecord::Base has\_many :opening\_hours, :dependent =\> :destroy end c…

---

## [Very strange haml behavior , display fine w html.erb , not in html.haml](https://www.ruby-forum.com/t/very-strange-haml-behavior-display-fine-w-html-erb-not-in-html-haml/215260)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 5, 2012, 2:10pm UTC](https://www.ruby-forum.com/t/very-strange-haml-behavior-display-fine-w-html-erb-not-in-html-haml/215260 "2012-01-05T14:10:04Z")

</div>

when I display in an html page : \<div class="contact\_map"\> \<iframe width="276" height="180" frameborder="0" scrolling="no" marginheight=“0” marginwidth=“0” src=“Google Maps? ie=UTF8&f=q&source=s\_q&hl=en&geocod…

---

## [Allow CNAME records to connect to point to my server?](https://www.ruby-forum.com/t/allow-cname-records-to-connect-to-point-to-my-server/214455)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 3, 2011, 2:37am UTC](https://www.ruby-forum.com/t/allow-cname-records-to-connect-to-point-to-my-server/214455 "2011-12-03T02:37:25Z")

</div>

Our web app gives each user a sub-domain. I’d like to offer some larger plans CNAME’s so they can point one of their own domain names with a CNAME to their sub-domain on our server ie; username.ourwebapp.com customer…

---

## [How to import default js file in rails 3.1](https://www.ruby-forum.com/t/how-to-import-default-js-file-in-rails-3-1/214306)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 28, 2011, 2:24pm UTC](https://www.ruby-forum.com/t/how-to-import-default-js-file-in-rails-3-1/214306 "2011-11-28T14:24:42Z")

</div>

in app\\views\\layouts\\application.html.erb when i write \<%= javascript\_include\_tag :defaults %\> , i get at source file. \<%= javascript\_include\_tag “application” %\> gets . \<%= javascript\_include\_tag :defaults %\> …

---

## [Questions about stub status numbers](https://www.ruby-forum.com/t/questions-about-stub-status-numbers/213252)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 28, 2011, 12:02pm UTC](https://www.ruby-forum.com/t/questions-about-stub-status-numbers/213252 "2011-10-28T12:02:32Z")

</div>

Below is a snapshot of what the stub status returns: Active connections: 2617 server accepts handled requests 15883769 15883769 52195337 Reading: 96 Writing: 56 Waiting: 2465 Is the fact that we have 2K+ processes wai…

---

## [IronRuby, Silverlight and executing code dynamically in the browser](https://www.ruby-forum.com/t/ironruby-silverlight-and-executing-code-dynamically-in-the-browser/192030)

<div class="topic-metadata">

**Author:** [@Jonas\_FollesSSSS](https://www.ruby-forum.com/u/Jonas_FollesSSSS)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 11:13am UTC](https://www.ruby-forum.com/t/ironruby-silverlight-and-executing-code-dynamically-in-the-browser/192030 "2010-07-23T11:13:23Z")

</div>

I’m toying around with the idea of a simple in-browser “coding environment” for IronRuby, think JSFiddle but for DLR languages. I’m fairly new to IronRuby, but have lots of Silverlight experience. I have gotten the b…

---

## [\[rails\] strange regex validation failure](https://www.ruby-forum.com/t/rails-strange-regex-validation-failure/179306)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 2\
**Last updated:** [November 21, 2009, 7:10pm UTC](https://www.ruby-forum.com/t/rails-strange-regex-validation-failure/179306 "2009-11-21T19:10:23Z")

</div>

Hi, I’m getting invalid results when testing a Regex in a format validation on a Rails model. Code is… in Model allow ‘- n/a -’ or alphanum with \_ – no spaces validates\_format\_of :test\_name, :with =\> /\\A\[A-Za-z0-9\_\]+…

---

## [Net::SSH OpenSSL::PKey::DSAError](https://www.ruby-forum.com/t/net-ssh-openssl-dsaerror/161944)

<div class="topic-metadata">

**Author:** [@rjberry](https://www.ruby-forum.com/u/rjberry)\
**Replies:** 2\
**Last updated:** [March 4, 2009, 8:23am UTC](https://www.ruby-forum.com/t/net-ssh-openssl-dsaerror/161944 "2009-03-04T08:23:30Z")

</div>

Hi all, I’m having this problem with a JRuby script on Linux (RHEL). \[me@myserver bin\]$ jruby ssh\_test.rb /export/me/bin/jruby-1.1.6/lib/ruby/gems/1.8/gems/net-ssh-2.0.11/lib/net/ssh/transport/openssl.rb:116:in \`ssh\_d…

---

## [Dispatcher.reset\_application! alternative in RoR 2](https://www.ruby-forum.com/t/dispatcher-reset-application-alternative-in-ror-2/142586)

<div class="topic-metadata">

**Author:** [@reggieb](https://www.ruby-forum.com/u/reggieb)\
**Replies:** 2\
**Last updated:** [July 9, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/dispatcher-reset-application-alternative-in-ror-2/142586 "2008-07-09T15:46:00Z")

</div>

In console mode, I used to be able to reset everything (to test changes in models for example) by using the Dispatcher method ‘reset\_application!’. That is, if I was testing the functionality of a model using the cons…

---

## [Create a folder save a file in that and zip the folder](https://www.ruby-forum.com/t/create-a-folder-save-a-file-in-that-and-zip-the-folder/125319)

<div class="topic-metadata">

**Author:** [@raju\_k](https://www.ruby-forum.com/u/raju_k)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 7:32pm UTC](https://www.ruby-forum.com/t/create-a-folder-save-a-file-in-that-and-zip-the-folder/125319 "2008-01-08T19:32:56Z")

</div>

hi, can anyone help me. I want to create a folder, create another file of .url type and save the .url file in the folder and zip the folder. I am sending the code which I have written. dir\_name = Dir.new(“Institutio…

---

## [Invalid geometry string in change\_geometry](https://www.ruby-forum.com/t/invalid-geometry-string-in-change-geometry/92468)

<div class="topic-metadata">

**Author:** [@joanie\_abalone](https://www.ruby-forum.com/u/joanie_abalone)\
**Replies:** 2\
**Last updated:** [April 19, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/invalid-geometry-string-in-change-geometry/92468 "2007-04-19T21:28:47Z")

</div>

I get the following error at the browser: ArgumentError in ImagesController#upload invalid geometry string \`110×’ … for the call to change\_geometry with an explicit size (‘110x’) as the geometry string: def make\_thu…

---

## [Engine\_javascript only works in certain places?](https://www.ruby-forum.com/t/engine-javascript-only-works-in-certain-places/70242)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 11:49pm UTC](https://www.ruby-forum.com/t/engine-javascript-only-works-in-certain-places/70242 "2006-02-18T23:49:21Z")

</div>

I have engine\_javascript working fine in a layout file - inside of the HEAD tags. I’m trying to use it in a view template at the end of a file and I’m not getting anything. By design or is this a bug?

---

## [Associations with value passing](https://www.ruby-forum.com/t/associations-with-value-passing/244071)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [February 16, 2016, 8:26pm UTC](https://www.ruby-forum.com/t/associations-with-value-passing/244071 "2016-02-16T20:26:33Z")

</div>

I have completely lost with this simple problem. I have two model, Post and Comment. I added the one-to\_many associations. When I want to add a comment to a certain post I use this: \<%= link\_to ‘Add comment’, new\_comm…

---

## [Help needed](https://www.ruby-forum.com/t/help-needed/234165)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [February 12, 2015, 5:49pm UTC](https://www.ruby-forum.com/t/help-needed/234165 "2015-02-12T17:49:06Z")

</div>

I have been using gnurad-companion for some time now but for the last few months I have been getting errors that prevent use. My system is an up to date Mint OS. The version of the application is 3.7.6.1. I am exp…

---

## [Ruport, reading a csv whose column name have white spaces](https://www.ruby-forum.com/t/ruport-reading-a-csv-whose-column-name-have-white-spaces/192387)

<div class="topic-metadata">

**Author:** [@fourchette](https://www.ruby-forum.com/u/fourchette)\
**Replies:** 4\
**Last updated:** [August 3, 2010, 7:19pm UTC](https://www.ruby-forum.com/t/ruport-reading-a-csv-whose-column-name-have-white-spaces/192387 "2010-08-03T19:19:16Z")

</div>

hi there, i am not a expert with ruby at all. this is my first post, i do hope it’s at right place, please advise otherwise. i have some dump reporting to do. The input is a csv file. i figured rupert could be my fri…

---

## [Simple text parsing](https://www.ruby-forum.com/t/simple-text-parsing/186541)

<div class="topic-metadata">

**Author:** [@Remington\_Splettsto](https://www.ruby-forum.com/u/Remington_Splettsto)\
**Replies:** 4\
**Last updated:** [April 8, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/simple-text-parsing/186541 "2010-04-08T18:30:48Z")

</div>

Hello Everyone, What is the best way to get this input test.txt David | Hansson | Chicago Obie | Fernandez | Jacksonville to this output: First Name: David Last Name: Hansson City: Chicago First Name: Obie Last N…

---

## [Problem with should\_not when passing a multiple args to a matcher](https://www.ruby-forum.com/t/problem-with-should-not-when-passing-a-multiple-args-to-a-matcher/181186)

<div class="topic-metadata">

**Author:** [@killswitchcollectiv](https://www.ruby-forum.com/u/killswitchcollectiv)\
**Replies:** 4\
**Last updated:** [January 7, 2010, 7:41pm UTC](https://www.ruby-forum.com/t/problem-with-should-not-when-passing-a-multiple-args-to-a-matcher/181186 "2010-01-07T19:41:55Z")

</div>

We seem to be hitting some undesirable behavior with should\_not in combination with matchers that accept collections. Let me use the “include” matcher for example (a co-worker reported similar problems using “be\_any”…

---

## [\[Cucumber\] Tabular data in steps](https://www.ruby-forum.com/t/cucumber-tabular-data-in-steps/158905)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 4\
**Last updated:** [January 29, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/cucumber-tabular-data-in-steps/158905 "2009-01-29T12:42:38Z")

</div>

Is it possible to mix a normal parameter argument for a step, with tabular data? Something like this: Given there is a country “Spain” with the cities: |name | |Madrid | |Barcelona | |Valencia | And this…

---

## [\[cucumber\] missing the command --line option](https://www.ruby-forum.com/t/cucumber-missing-the-command-line-option/157728)

<div class="topic-metadata">

**Author:** [@Fernando\_GarcSSS\_a\_S](https://www.ruby-forum.com/u/Fernando_GarcSSS_a_S)\
**Replies:** 4\
**Last updated:** [January 15, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/cucumber-missing-the-command-line-option/157728 "2009-01-15T16:45:23Z")

</div>

Cucus, previous versions of cucumber had a command --line option that let you run only one scenario given its line at the feature file. Now, as far as I know, to do the same thing (run a specific scenario) I have to …

---

## [Noob: Code review my first tutorial homework assignment?](https://www.ruby-forum.com/t/noob-code-review-my-first-tutorial-homework-assignment/154333)

<div class="topic-metadata">

**Author:** [@zakifataya](https://www.ruby-forum.com/u/zakifataya)\
**Replies:** 4\
**Last updated:** [November 28, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/noob-code-review-my-first-tutorial-homework-assignment/154333 "2008-11-28T22:50:12Z")

</div>

Hello! Im reading through tutorials to teach myself Ruby. I’m a business programmer by day, but I want to learn something new instead of the same old thing I’ve been doing for the last 8 years. I don’t know any Ruby …

---

## [Ruby: gestione delle eccezioni](https://www.ruby-forum.com/t/ruby-gestione-delle-eccezioni/144600)

<div class="topic-metadata">

**Author:** [@softwarewin](https://www.ruby-forum.com/u/softwarewin)\
**Replies:** 4\
**Last updated:** [August 5, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/ruby-gestione-delle-eccezioni/144600 "2008-08-05T12:39:57Z")

</div>

Ciao a tutti, le istruzioni all’interno di un ciclo sono racchiuse tra “begin - rescue -end”; alla i-esima iterazione ho un errore, entro nel rescue e stampo un messaggio, ma poi esco anche dal ciclo esterno (???); …

---

## [Need help with report building. PDF or IMG or what?](https://www.ruby-forum.com/t/need-help-with-report-building-pdf-or-img-or-what/144032)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 4\
**Last updated:** [July 24, 2008, 9:59pm UTC](https://www.ruby-forum.com/t/need-help-with-report-building-pdf-or-img-or-what/144032 "2008-07-24T21:59:49Z")

</div>

This is real important, so I hope you can help! Okay I have to take this report: http://www.ub04.net/downloads/UB04\_10-23-06\_B%20W%20PDF.pdf and fill it in with ruby on rails. I need advice on the best way to do tha…

---

## [LiveTree substitute](https://www.ruby-forum.com/t/livetree-substitute/136749)

<div class="topic-metadata">

**Author:** [@acras](https://www.ruby-forum.com/u/acras)\
**Replies:** 4\
**Last updated:** [May 16, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/livetree-substitute/136749 "2008-05-16T21:49:35Z")

</div>

heyah! Is there any treeView plugin other than liveTree out there? thanks – Ricardo A. removed\_email\_address@domain.invalid Acras Sistemas +55+41-3232-6404 www.acras.net

---

## [Mongrel 1.0.2 on Ubuntu Feisty](https://www.ruby-forum.com/t/mongrel-1-0-2-on-ubuntu-feisty/118513)

<div class="topic-metadata">

**Author:** [@andreim](https://www.ruby-forum.com/u/andreim)\
**Replies:** 4\
**Last updated:** [November 7, 2007, 1:01am UTC](https://www.ruby-forum.com/t/mongrel-1-0-2-on-ubuntu-feisty/118513 "2007-11-07T01:01:42Z")

</div>

Hi everybody, I’ve been trying to setup a Ruby on Rails application on a Ubuntu Feisty machine and I’ve spent a lot of time trying to figure out why Nginx and mongrel\_cluster weren’t working. The setup was correct (ba…

---

## [Sending/Receiving Image Data over REST](https://www.ruby-forum.com/t/sending-receiving-image-data-over-rest/92823)

<div class="topic-metadata">

**Author:** [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Replies:** 4\
**Last updated:** [July 13, 2007, 2:25pm UTC](https://www.ruby-forum.com/t/sending-receiving-image-data-over-rest/92823 "2007-07-13T14:25:20Z")

</div>

Hi, I’ve got a REST API that accepts PUT/POST requests of image data. (Well, that’s the plan.) Here are the relevant lines: My client (using ImageMagick) application reads image data from a file and then coverts it’…

---

## [How do I find records with no associated objects?](https://www.ruby-forum.com/t/how-do-i-find-records-with-no-associated-objects/104939)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 4\
**Last updated:** [May 24, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/how-do-i-find-records-with-no-associated-objects/104939 "2007-05-24T20:26:03Z")

</div>

I have a “Product has\_many :sales” relationship in my app, and I need to find all Product objects that have no associated Sale objects. Normally I could just find on a null foreign key, but that wont work with a has\_…

---

## [Command interpretation](https://www.ruby-forum.com/t/command-interpretation/103510)

<div class="topic-metadata">

**Author:** [@Martin\_Krischik](https://www.ruby-forum.com/u/Martin_Krischik)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 8:20am UTC](https://www.ruby-forum.com/t/command-interpretation/103510 "2007-05-08T08:20:48Z")

</div>

Hallo, I searched high and low to find how “command interpretation” actually works. But all I found is \[1\]: echo command interpretation with interpolation and backslashes %x(echo command interpretation with interpola…

---

## [Simple gsub question \\' \\\` what?](https://www.ruby-forum.com/t/simple-gsub-question-what/90683)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 4\
**Last updated:** [March 31, 2007, 12:32am UTC](https://www.ruby-forum.com/t/simple-gsub-question-what/90683 "2007-03-31T00:32:09Z")

</div>

Sorry for the simple question, I just can’t figure this out after a couple hours… I need to parse a string: string = column-1:block-0,block-2,block-1,block-3 and I need to extract everything before the : (colon) into…

---

## [Few questions from a newbye](https://www.ruby-forum.com/t/few-questions-from-a-newbye/101680)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 3, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/few-questions-from-a-newbye/101680 "2007-03-03T13:43:41Z")

</div>

Hi, I’m an experienced developer and I just fond out about Ruby. Being a cross platform and allowing (with the help of Ruby2exe) to generate exe applications, it seems a solution worthing to consider for development. …

---

## [Actionmailer?](https://www.ruby-forum.com/t/actionmailer/86984)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 4\
**Last updated:** [February 27, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/actionmailer/86984 "2007-02-27T19:10:56Z")

</div>

Buenas, me gustarÃ­a enviar mails cuando se ejecuta cierta acciÃ³n de mi aplicaciÃ³n. Me gustarÃ­a que en el entorno de desarrollo, se enviase a una cuenta y en el de producciÃ³n a otra. Ya he logrado enviar mails c…

---

## [Displaying Html in a form](https://www.ruby-forum.com/t/displaying-html-in-a-form/85464)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 4\
**Last updated:** [February 15, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/displaying-html-in-a-form/85464 "2007-02-15T18:24:46Z")

</div>

Hello, I would like to be able to pass html code into a text\_area in a form so that it is displayed as executed code i.e. i want to be able to apply different fonts to different words in the text\_area. Is this a poss…

---

## [Rails / ActionPack thread safety](https://www.ruby-forum.com/t/rails-actionpack-thread-safety/61975)

<div class="topic-metadata">

**Author:** [@croese](https://www.ruby-forum.com/u/croese)\
**Replies:** 4\
**Last updated:** [May 31, 2006, 1:42am UTC](https://www.ruby-forum.com/t/rails-actionpack-thread-safety/61975 "2006-05-31T01:42:49Z")

</div>

Hi all, Both the rails book (1st Ed) and the docs on the rails site (and the Mongrel FAQ) tell me that rails (& ActionPack /ActiveRecord) is not threadsafe. Since I need lots of worker threads in the app I’m working …

---

## [Pdf render inline .... update 'main' div](https://www.ruby-forum.com/t/pdf-render-inline-update-main-div/59030)

<div class="topic-metadata">

**Author:** [@bruce\_davison](https://www.ruby-forum.com/u/bruce_davison)\
**Replies:** 4\
**Last updated:** [April 28, 2006, 2:23am UTC](https://www.ruby-forum.com/t/pdf-render-inline-update-main-div/59030 "2006-04-28T02:23:26Z")

</div>

Hi, I want to keep the layout and just to a link\_to\_remote to update the div id ‘main’ Using this in the controller action send\_file “public/pdf/my.pdf”, :type =\> ‘application/pdf’, :disposition =\> ‘inline’, :stream…

---

## [Library for Mocking](https://www.ruby-forum.com/t/library-for-mocking/55367)

<div class="topic-metadata">

**Author:** [@thiagoalessio](https://www.ruby-forum.com/u/thiagoalessio)\
**Replies:** 4\
**Last updated:** [March 21, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/library-for-mocking/55367 "2006-03-21T15:52:54Z")

</div>

Rubysts, I am looking for a library for mocking objects. I am aware of FlexMock and Test::Unit::Mock (seems like RubyMock turned into Test::Unit::Mock, am I right?), but what I am looking for would be something more …

---

## [Flash not cleared with ActiveRecord session store](https://www.ruby-forum.com/t/flash-not-cleared-with-activerecord-session-store/52431)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 4\
**Last updated:** [January 24, 2006, 9:53am UTC](https://www.ruby-forum.com/t/flash-not-cleared-with-activerecord-session-store/52431 "2006-01-24T09:53:38Z")

</div>

Cheers, I’ve stumbled over a bug with 1.0 and ActiveRecord store for session while migrating from pstore sessions. I created the table with rake create\_sessions\_table and set config.action\_controller.session\_store = …

---

## [Why would Webrick use 0.0.0.0:3000 instead of 127.0.0.1:3000](https://www.ruby-forum.com/t/why-would-webrick-use-0-0-0-0-3000-instead-of-127-0-0-1-3000/70994)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 4\
**Last updated:** [December 18, 2005, 7:42am UTC](https://www.ruby-forum.com/t/why-would-webrick-use-0-0-0-0-3000-instead-of-127-0-0-1-3000/70994 "2005-12-18T07:42:05Z")

</div>

A guy who was working through my Rolling wit Ruby on Rails tutorial had this happen and posted it to the articles comments. I’ve never seen this before… does anyone know what could cause this? I copied his post below…

---

## [Not being able to understand ruby code](https://www.ruby-forum.com/t/not-being-able-to-understand-ruby-code/237272)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [November 2, 2013, 9:59am UTC](https://www.ruby-forum.com/t/not-being-able-to-understand-ruby-code/237272 "2013-11-02T09:59:06Z")

</div>

Can anyone explain the below code? def sum a,b yield a,b end sum 42, 23, &:+ # \<— what does this?

---

## [How to raise the packet error rate in benchmark](https://www.ruby-forum.com/t/how-to-raise-the-packet-error-rate-in-benchmark/235905)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 28, 2013, 3:37am UTC](https://www.ruby-forum.com/t/how-to-raise-the-packet-error-rate-in-benchmark/235905 "2013-07-28T03:37:40Z")

</div>

Hi everyone, I’m doing a project on joint decode. But my problem is that in the lab environment, the benchmark transmission is always good, there are hardly any packet loss, so I can not show the advantage of joint d…

---

## [Building a Browser Game: write a method for counting the "points" - using this method in links](https://www.ruby-forum.com/t/building-a-browser-game-write-a-method-for-counting-the-points-using-this-method-in-links/210593)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 12, 2011, 10:24pm UTC](https://www.ruby-forum.com/t/building-a-browser-game-write-a-method-for-counting-the-points-using-this-method-in-links/210593 "2011-08-12T22:24:20Z")

</div>

Hello all, i want to create a method that i can use to update/count the points of a village/user in my browser game. Every time the user clicks on a link, the method should be used. The links should look something lik…

---

## [Volk/config.guess, etc](https://www.ruby-forum.com/t/volk-config-guess-etc/208460)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 19, 2011, 6:42pm UTC](https://www.ruby-forum.com/t/volk-config-guess-etc/208460 "2011-06-19T18:42:09Z")

</div>

Looks like volk/config.guess and volk/config.sub got added to the GIT repo, and since these are “artifact” files–that is, files that are generated locally during configuration, GIT now gripes about them when you do a …

---

## [Move comp.lang.ruby to moderation / message filtering?](https://www.ruby-forum.com/t/move-comp-lang-ruby-to-moderation-message-filtering/205331)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 5, 2011, 7:25am UTC](https://www.ruby-forum.com/t/move-comp-lang-ruby-to-moderation-message-filtering/205331 "2011-04-05T07:25:19Z")

</div>

All, I don’t know about you, but the amount of spam received via the Usenet group is getting tiresomes. Thus, I’d propose to move comp.land.ruby to filter income messages for spam, with false negatives being more des…

---

## [Find instead of find\_by\_sql](https://www.ruby-forum.com/t/find-instead-of-find-by-sql/195145)

<div class="topic-metadata">

**Author:** [@PalaniKannan\_K](https://www.ruby-forum.com/u/PalaniKannan_K)\
**Replies:** 5\
**Last updated:** [September 17, 2010, 5:52pm UTC](https://www.ruby-forum.com/t/find-instead-of-find-by-sql/195145 "2010-09-17T17:52:24Z")

</div>

Dear all, I need to apply “find” instead of find\_by\_sql. Kindly suggest me. Because, params\[gm\] is not working with find\_by\_sql. Kindly justify whether my code below is in correct syntax… find\_by\_sql(“SELECT column…

---

## [Nginx core dump after FreeBSD version upgrade](https://www.ruby-forum.com/t/nginx-core-dump-after-freebsd-version-upgrade/192801)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 5\
**Last updated:** [August 5, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/nginx-core-dump-after-freebsd-version-upgrade/192801 "2010-08-05T22:00:52Z")

</div>

I’m not sure if this is a big issue or not, but here goes: Yesterday I upgraded from FreeBSD 8.0 to 8.1. At the final reboot nginx did not start and gave a core dump. I had built nginx using gcc 4.5.1. Rebuilding from…

---

## [Errno::EPIPE: Broken pipe:](https://www.ruby-forum.com/t/errno-broken-pipe/164353)

<div class="topic-metadata">

**Author:** [@alesc](https://www.ruby-forum.com/u/alesc)\
**Replies:** 5\
**Last updated:** [April 1, 2009, 1:38am UTC](https://www.ruby-forum.com/t/errno-broken-pipe/164353 "2009-04-01T01:38:11Z")

</div>

ciao, ho questo pezzo di codice in enviroment.rb: fork do ticker = CalTicker.new() ticker.run end def run loop do appointments = Calendariable.find(:all, :conditions =\> “(start\_time BETWEEN '#{Time.now.strftime(…

---

## [Looking for a method to kill all children for my Timeout::Error contingency](https://www.ruby-forum.com/t/looking-for-a-method-to-kill-all-children-for-my-timeout-error-contingency/163784)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 5\
**Last updated:** [March 25, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/looking-for-a-method-to-kill-all-children-for-my-timeout-error-contingency/163784 "2009-03-25T18:50:40Z")

</div>

Do I really need to collect all the pids from fork to kill them in that case, or is there a method I’m not finding in pickaxe that just does it??? xc

---

## [Add -h to nginx](https://www.ruby-forum.com/t/add-h-to-nginx/163734)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 5\
**Last updated:** [March 24, 2009, 4:22pm UTC](https://www.ruby-forum.com/t/add-h-to-nginx/163734 "2009-03-24T16:22:40Z")

</div>

Hello, I attach a small patch which add the -h argument to nginx. As common programs, this arg show the available options. \[root@wp0men04s /LIBRE/nginx/nginx-0.7.44\]# ./objs/nginx -h Usage: nginx \[-h\] \[-v\] \[-V\] \[-t\] …

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

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