# Top

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

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

---

## [Error in "each" method in following code](https://www.ruby-forum.com/t/error-in-each-method-in-following-code/220062)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 7\
**Last updated:** [May 27, 2012, 7:31am UTC](https://www.ruby-forum.com/t/error-in-each-method-in-following-code/220062 "2012-05-27T07:31:25Z")

</div>

require ‘rubygems’ require ‘nokogiri’ require ‘sqlite3’ FIELD\_NAMES = \[\[‘selectcity’, ‘VARCHAR’\],\[‘match’, ‘VARCHAR’\], \[‘phone\_no’, ‘NUMERIC’\], \[‘name’, ‘VARCHAR’\],\[‘address’, ‘VARCHAR’\] \] TABLE\_DIV\_ID = “#dgrSearch”…

---

## [Large\_client\_header\_buffers - meaning of number](https://www.ruby-forum.com/t/large-client-header-buffers-meaning-of-number/213453)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 2, 2011, 6:58pm UTC](https://www.ruby-forum.com/t/large-client-header-buffers-meaning-of-number/213453 "2011-11-02T18:58:27Z")

</div>

Hi, the doc says: large\_client\_header\_buffers number size What’s the meaning of number? At most number of large headers can be ‘processed’ at once? Per request or globally? If yes, what happens to the request that ex…

---

## [Segfault in nginx 1.0.5](https://www.ruby-forum.com/t/segfault-in-nginx-1-0-5/210421)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [August 8, 2011, 11:12am UTC](https://www.ruby-forum.com/t/segfault-in-nginx-1-0-5/210421 "2011-08-08T11:12:55Z")

</div>

Hi guys, I’m seeing a small segfault in 1.0.5 It is strage there is something triggering it as it happens at the same time every night. It isn’t triggered by crontab as I have nothing that runs at that time. I’m run…

---

## [Haml templates and permission denied only with jruby](https://www.ruby-forum.com/t/haml-templates-and-permission-denied-only-with-jruby/205126)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 30, 2011, 11:47am UTC](https://www.ruby-forum.com/t/haml-templates-and-permission-denied-only-with-jruby/205126 "2011-03-30T11:47:48Z")

</div>

With ruby MRI I have no problems. I user jruby 1.6.0 with linux. In my rails application I’m using haml as template. When I run some generators, for example rails g devise:views, I have a “permission denied problem”: …

---

## [Nginx and traffic shaping](https://www.ruby-forum.com/t/nginx-and-traffic-shaping/183422)

<div class="topic-metadata">

**Author:** [@hibernaculus](https://www.ruby-forum.com/u/hibernaculus)\
**Replies:** 1\
**Last updated:** [February 14, 2010, 3:06am UTC](https://www.ruby-forum.com/t/nginx-and-traffic-shaping/183422 "2010-02-14T03:06:00Z")

</div>

Hi there. I wanna ask how you guys dealing with traffic shaping with nginx? I searching for something like “server.kbytes-per-second” from lighttpd, this is “Limit the throughput for all connections to the given limit …

---

## ["root" directive weirdness](https://www.ruby-forum.com/t/root-directive-weirdness/182040)

<div class="topic-metadata">

**Author:** [@Dennis\_J](https://www.ruby-forum.com/u/Dennis_J)\
**Replies:** 7\
**Last updated:** [January 22, 2010, 1:54pm UTC](https://www.ruby-forum.com/t/root-directive-weirdness/182040 "2010-01-22T13:54:20Z")

</div>

Hi, I’m trying to configure a vhost where in the default case I want it to get the files from /opt/nginx/html but when the uri starts with “/users/” I want to to deliver the files from /web/users/ instead: loca…

---

## [How to reset session if rails server is killed abruptly using Ctrl-c](https://www.ruby-forum.com/t/how-to-reset-session-if-rails-server-is-killed-abruptly-using-ctrl-c/164812)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 6, 2009, 9:50am UTC](https://www.ruby-forum.com/t/how-to-reset-session-if-rails-server-is-killed-abruptly-using-ctrl-c/164812 "2009-04-06T09:50:23Z")

</div>

Hi, I have some user informations stored in the session. If i use Ctrl-c to kill the rails server and restart the server, the informations remains in the session I want the session informations gone, once i restart t…

---

## [Atom feed is fragile?!?](https://www.ruby-forum.com/t/atom-feed-is-fragile/163983)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 12:29am UTC](https://www.ruby-forum.com/t/atom-feed-is-fragile/163983 "2009-04-03T00:29:06Z")

</div>

I’m having lots of problems getting the atom feed for my blog to validate. One issue was in my article about the text filter I had the following snippet in the post typo:code typo:tweetmeme \</typo:code\> To show an…

---

## [How can i know weather a record is saved or not?](https://www.ruby-forum.com/t/how-can-i-know-weather-a-record-is-saved-or-not/162139)

<div class="topic-metadata">

**Author:** [@SSZSmSS](https://www.ruby-forum.com/u/SSZSmSS)\
**Replies:** 7\
**Last updated:** [March 6, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/how-can-i-know-weather-a-record-is-saved-or-not/162139 "2009-03-06T21:41:54Z")

</div>

after creating a new record of a model , using new() is there any way to know weather an record is saved to dataabase of is it still in “new” state ?

---

## [Nested include](https://www.ruby-forum.com/t/nested-include/145227)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 7\
**Last updated:** [August 7, 2008, 4:52am UTC](https://www.ruby-forum.com/t/nested-include/145227 "2008-08-07T04:52:47Z")

</div>

I’m trying to access data from the skins table through a nested include with no luck. The association is all through imageasset but I do not know how to figure it out. Any help is highly appreciated. ######the control…

---

## [Regexp Capture Access](https://www.ruby-forum.com/t/regexp-capture-access/133679)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 7\
**Last updated:** [April 2, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/regexp-capture-access/133679 "2008-04-02T17:46:03Z")

</div>

Given that: %r{(\\w,)+}.match(‘a,b,c’)\[0\] #=\> “a,b,” and %r{(\\w,)+}.match(‘a,b,c’)\[1\] #=\> “b,” How do I access the capture that contains “a,”?

---

## [Call action from an action](https://www.ruby-forum.com/t/call-action-from-an-action/88329)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 7\
**Last updated:** [March 9, 2007, 10:25pm UTC](https://www.ruby-forum.com/t/call-action-from-an-action/88329 "2007-03-09T22:25:18Z")

</div>

I have an index action that shows a list of data. def index # go get data, # setup some instance vars # render view - display data in table end URL: /orders/ I would like to have another action that sets up a fe…

---

## [PHP in instant rails](https://www.ruby-forum.com/t/php-in-instant-rails/84370)

<div class="topic-metadata">

**Author:** [@Hanan\_M](https://www.ruby-forum.com/u/Hanan_M)\
**Replies:** 7\
**Last updated:** [February 8, 2007, 12:15am UTC](https://www.ruby-forum.com/t/php-in-instant-rails/84370 "2007-02-08T00:15:00Z")

</div>

Hello I’m trying to use php in rhtml(views) of Instant rails, but it is not working although javascript works and instant rails supports PHP. Why? Thanks in advance Hana

---

## [Re: Splitting a sentence with delimiter preserved](https://www.ruby-forum.com/t/re-splitting-a-sentence-with-delimiter-preserved/72540)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 7\
**Last updated:** [October 18, 2006, 10:36am UTC](https://www.ruby-forum.com/t/re-splitting-a-sentence-with-delimiter-preserved/72540 "2006-10-18T10:36:01Z")

</div>

From: Ajithkumar Warrier \[mailto:removed\_email\_address@domain.invalid\] puts b p string.scan( /\\w\[^.!?\]+\\S+/ ) #=\> \[“This is an example string.”, “The purpose is to save the delimiter during split.”, “Does this work…

---

## [Problems compiling Ruby/Tk](https://www.ruby-forum.com/t/problems-compiling-ruby-tk/66409)

<div class="topic-metadata">

**Author:** [@ron](https://www.ruby-forum.com/u/ron)\
**Replies:** 7\
**Last updated:** [August 29, 2006, 5:41am UTC](https://www.ruby-forum.com/t/problems-compiling-ruby-tk/66409 "2006-08-29T05:41:35Z")

</div>

Hi, I am having problems getting Ruby/Tk to work. Below are the results of my attempts to get Tk working. My configure command: ./configure --prefix=/opt/ruby --enable-thread Results of make: compiling tk compili…

---

## [How to pull text from database and eval it?](https://www.ruby-forum.com/t/how-to-pull-text-from-database-and-eval-it/61382)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 7\
**Last updated:** [May 23, 2006, 6:37pm UTC](https://www.ruby-forum.com/t/how-to-pull-text-from-database-and-eval-it/61382 "2006-05-23T18:37:35Z")

</div>

I’m trying to add some executable code to my blog posts. How can I include this inside of a blog post and eval it? Charlie bowman http://www.recentrambles.com

---

## [Ruby Before Rails](https://www.ruby-forum.com/t/ruby-before-rails/60949)

<div class="topic-metadata">

**Author:** [@Nathan\_PSVerni](https://www.ruby-forum.com/u/Nathan_PSVerni)\
**Replies:** 7\
**Last updated:** [May 19, 2006, 9:33pm UTC](https://www.ruby-forum.com/t/ruby-before-rails/60949 "2006-05-19T21:33:07Z")

</div>

As I, like many people, are coming to ruby in the rails era, I’m curious about how Ruby Web Dev was done prior to rails. Any veterans want to share their insights?

---

## [Make a revised version of design patterns in ruby](https://www.ruby-forum.com/t/make-a-revised-version-of-design-patterns-in-ruby/60891)

<div class="topic-metadata">

**Author:** [@uncutstone](https://www.ruby-forum.com/u/uncutstone)\
**Replies:** 7\
**Last updated:** [May 19, 2006, 5:25am UTC](https://www.ruby-forum.com/t/make-a-revised-version-of-design-patterns-in-ruby/60891 "2006-05-19T05:25:19Z")

</div>

Ruby is highly dynamic and extensible. Ruby is duck typed. Interface which is pervasive in Java is hard to see in Ruby. Thing changes. Many Gangof4 design patterns handle limitations of static languages like java and …

---

## [Newbee Question on what if x === 2..5 does](https://www.ruby-forum.com/t/newbee-question-on-what-if-x-2-5-does/59544)

<div class="topic-metadata">

**Author:** [@robtotheb](https://www.ruby-forum.com/u/robtotheb)\
**Replies:** 7\
**Last updated:** [May 4, 2006, 5:49pm UTC](https://www.ruby-forum.com/t/newbee-question-on-what-if-x-2-5-does/59544 "2006-05-04T17:49:47Z")

</div>

I’m new to ruby and don’t understand why the following code does what is does. Can anyone enlighten me? ruby -e 'a = \[1,2,3,4,5,6,7,8,9,10\]; a.each { |x| if (x === 2…5 ) then print x, " " end}; puts ’ 2 3 4 5 6 7 8 9…

---

## [Which class defined](https://www.ruby-forum.com/t/which-class-defined/53859)

<div class="topic-metadata">

**Author:** [@raving\_ruby\_rider](https://www.ruby-forum.com/u/raving_ruby_rider)\
**Replies:** 7\
**Last updated:** [February 16, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/which-class-defined/53859 "2006-02-16T15:31:01Z")

</div>

Hi, I need to load scripts dynamically. Is there a way to know about what classes were defined by loading a script? If not, can the Ruby system be asked for a collection of subclasses for a particular Class? thx

---

## [Accessing tcl/tk global variables from callbacks](https://www.ruby-forum.com/t/accessing-tcl-tk-global-variables-from-callbacks/49357)

<div class="topic-metadata">

**Author:** [@bpetrovi](https://www.ruby-forum.com/u/bpetrovi)\
**Replies:** 1\
**Last updated:** [December 3, 2005, 8:57am UTC](https://www.ruby-forum.com/t/accessing-tcl-tk-global-variables-from-callbacks/49357 "2005-12-03T08:57:43Z")

</div>

Is there a way to access tcl global variables from a callback by directly using tcl code? This code does not work: ##test.rb############### require ‘tk’ def button\_callback p root.ip\_eval(“info globals”) root.ip…

---

## [Serving from cache even when the origin server goes down](https://www.ruby-forum.com/t/serving-from-cache-even-when-the-origin-server-goes-down/242520)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 30, 2015, 5:36pm UTC](https://www.ruby-forum.com/t/serving-from-cache-even-when-the-origin-server-goes-down/242520 "2015-06-30T17:36:45Z")

</div>

Is it possible to configure Nginx to serve from cache even when the origin server is not accessible? I am trying to figure out if I can use a replicated Nginx instance that has cache files rsynced (lsyncd http://t.…

---

## [{Code block} Ruby Gtk](https://www.ruby-forum.com/t/code-block-ruby-gtk/242242)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [June 8, 2015, 5:21am UTC](https://www.ruby-forum.com/t/code-block-ruby-gtk/242242 "2015-06-08T05:21:11Z")

</div>

Hi everyone, I am very new to Ruby. A few days earlier I was looking at a ruby-gtk tutorial by Zetcode.com (http://zetcode.com/gui/rubygtk/introduction/) which in one of the examples provided contains the following li…

---

## [Read column from text or csv file and append "varchar,"](https://www.ruby-forum.com/t/read-column-from-text-or-csv-file-and-append-varchar/245961)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 9:38pm UTC](https://www.ruby-forum.com/t/read-column-from-text-or-csv-file-and-append-varchar/245961 "2013-08-01T21:38:52Z")

</div>

Hi Guys, I’m trying to use a ruby script to read a column of data from a single text file or csv and put it into an array which i can print out and also append “varchar,” after each hash entry. For example if i had …

---

## [Call a method with block on distributed object (drb)](https://www.ruby-forum.com/t/call-a-method-with-block-on-distributed-object-drb/245764)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 18, 2013, 8:38pm UTC](https://www.ruby-forum.com/t/call-a-method-with-block-on-distributed-object-drb/245764 "2013-07-18T20:38:12Z")

</div>

Hi. I’ve the follow class for a distributed object: class Counter def initialize(i = 0) @index = i end def increment @index += 1 end def current return @index end def each(n = 1) threads …

---

## [Vr: using drawingarea1](https://www.ruby-forum.com/t/vr-using-drawingarea1/225125)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [December 18, 2012, 10:52pm UTC](https://www.ruby-forum.com/t/vr-using-drawingarea1/225125 "2012-12-18T22:52:02Z")

</div>

Hi there I put a drawing area into my GUI class: window1 / vbox1 / drawingarea1 Can someone tell me how to draw lines circles and boxes on it by mouse? BR Pat

---

## [\#encode and (pre/de)composed characters](https://www.ruby-forum.com/t/encode-and-pre-de-composed-characters/224043)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 28, 2012, 2:42am UTC](https://www.ruby-forum.com/t/encode-and-pre-de-composed-characters/224043 "2012-10-28T02:42:24Z")

</div>

Why does encode to UTF-8 (in at least this one case) appear to favor a decomposed character while encode to UTF-16LE favors a precomposed character? See below… Thanks, Hal 1.9.2p290 :009 \> str = \[233\].pack(“c\*”).fo…

---

## [\[ruby-trunk - Bug #7005\]\[Open\] NKF: CP50221 から CP932 に変換できない文字がある](https://www.ruby-forum.com/t/ruby-trunk-bug-7005-open-nkf-cp50221-cp932/222813)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 12, 2012, 4:50pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7005-open-nkf-cp50221-cp932/222813 "2012-09-12T16:50:02Z")

</div>

Issue #7005 has been reported by tommy (Masahiro T.). Bug #7005: NKF: CP50221 から CP932 に変換できない文字がある Author: tommy (Masahiro T.) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.…

---

## [Hide/Delete a cookie when stored in cache](https://www.ruby-forum.com/t/hide-delete-a-cookie-when-stored-in-cache/222475)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 1, 2012, 1:03am UTC](https://www.ruby-forum.com/t/hide-delete-a-cookie-when-stored-in-cache/222475 "2012-09-01T01:03:21Z")

</div>

Hello, I’m caching pages with nginx using the following rules: fastcgi\_no\_cache $cookie\_member\_id $is\_args fastcgi\_cache\_bypass $cookie\_member\_id $is\_args fastcgi\_ignore\_headers Cache-Control Expires Set-Cookie; Now…

---

## [Could not run jruby-based app](https://www.ruby-forum.com/t/could-not-run-jruby-based-app/211772)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 14, 2011, 4:07am UTC](https://www.ruby-forum.com/t/could-not-run-jruby-based-app/211772 "2011-09-14T04:07:41Z")

</div>

Hey guys. Can you help me to run my JRuby project : https://github.com/rodionovp/recurly-jruby When I run TestRecurly, I see some odd errors, here is a stacktrace : SyntaxError: file:C:/Users/rodionovp/idea\_projects…

---

## [Question about install support for python and php together](https://www.ruby-forum.com/t/question-about-install-support-for-python-and-php-together/188121)

<div class="topic-metadata">

**Author:** [@sagasw](https://www.ruby-forum.com/u/sagasw)\
**Replies:** 2\
**Last updated:** [May 7, 2010, 10:29am UTC](https://www.ruby-forum.com/t/question-about-install-support-for-python-and-php-together/188121 "2010-05-07T10:29:02Z")

</div>

I get a vps host and install php already with spawn-fcgi. And you could see my steps here: Now I want to add support python (web.py) in this host, http://webpy.org/cookbook/fastcgi-nginx and try the steps in web.py,…

---

## [Pasar una variable](https://www.ruby-forum.com/t/pasar-una-variable/187873)

<div class="topic-metadata">

**Author:** [@k\_liliana](https://www.ruby-forum.com/u/k_liliana)\
**Replies:** 2\
**Last updated:** [May 1, 2010, 12:34am UTC](https://www.ruby-forum.com/t/pasar-una-variable/187873 "2010-05-01T00:34:41Z")

</div>

mi codigo es el siguiente Welcome \<% if logged\_in? %\> @aja=\<%= current\_user.login %\> You are logged in as \<%=h current\_user.login %\> \<%= link\_to 'Logout', logout\_path %\> \<%= link\_to "Mantenimiento", { :control…

---

## [Execute javascript in Ruby](https://www.ruby-forum.com/t/execute-javascript-in-ruby/175159)

<div class="topic-metadata">

**Author:** [@chillexistence](https://www.ruby-forum.com/u/chillexistence)\
**Replies:** 2\
**Last updated:** [September 9, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/execute-javascript-in-ruby/175159 "2009-09-09T18:18:51Z")

</div>

Hello all! I use ‘net/http’ lib for get and parse html pages. But I also need to execute some javascripts on pages from my ruby-scripts like on web-browsers. Is it possible? May be there are special libraries… Please…

---

## [Como arreglar Time.today](https://www.ruby-forum.com/t/como-arreglar-time-today/169140)

<div class="topic-metadata">

**Author:** [@francob](https://www.ruby-forum.com/u/francob)\
**Replies:** 2\
**Last updated:** [May 30, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/como-arreglar-time-today/169140 "2009-05-30T23:29:13Z")

</div>

Hola gente, tengo el siguiente cÃ³digo en algÃºn controlador por ahi: if @discount && (@discount.duration \> Time.today) .... end el tema es que en el ambiente development todo funciona barbaro, pero en producc…

---

## [Local Gems ins vendor](https://www.ruby-forum.com/t/local-gems-ins-vendor/161469)

<div class="topic-metadata">

**Author:** [@railscamper](https://www.ruby-forum.com/u/railscamper)\
**Replies:** 2\
**Last updated:** [February 26, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/local-gems-ins-vendor/161469 "2009-02-26T20:46:34Z")

</div>

Ich habe einen Sack voll gems in meinem Projekt auf die ich auch zugreifen will/muss. Leider habe ich auf dem Zielserver keine Rechte, um die gems zu installieren. Wie kann ich denn die gems mit ins vendor Verzeichni…

---

## [URI.parse errors!](https://www.ruby-forum.com/t/uri-parse-errors/159387)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 2\
**Last updated:** [February 4, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/uri-parse-errors/159387 "2009-02-04T15:31:05Z")

</div>

resp = Net::HTTP.get(URI.parse("http:#{img\['src'\]}")) thats the line that is making this error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/common.rb:436:in \`split’: bad URI(is not UR…

---

## [Current optimum app versions?](https://www.ruby-forum.com/t/current-optimum-app-versions/154616)

<div class="topic-metadata">

**Author:** [@nateless](https://www.ruby-forum.com/u/nateless)\
**Replies:** 2\
**Last updated:** [December 2, 2008, 4:40pm UTC](https://www.ruby-forum.com/t/current-optimum-app-versions/154616 "2008-12-02T16:40:16Z")

</div>

What is the optimum match for Ruby, Rails, etc. for use with Radiant v. 0.6.9? Does is play well with the latest stable releases of Rails and Ruby (2.2.2 & 1.8.7) or are there issues with running the up to date relea…

---

## [Lack of proper expansion using FlexGridSizer](https://www.ruby-forum.com/t/lack-of-proper-expansion-using-flexgridsizer/147524)

<div class="topic-metadata">

**Author:** [@carluva](https://www.ruby-forum.com/u/carluva)\
**Replies:** 2\
**Last updated:** [September 2, 2008, 9:15pm UTC](https://www.ruby-forum.com/t/lack-of-proper-expansion-using-flexgridsizer/147524 "2008-09-02T21:15:49Z")

</div>

I experienced a problem similar to this using GridBagSizer earlier today (Two issues using GridBagSizer - wxRuby - Ruby-Forum). The problem was resolved at that point by using a BoxSizer instead of the GridBagSizer, b…

---

## [Actualizar Combos en Cascada usando Ajax](https://www.ruby-forum.com/t/actualizar-combos-en-cascada-usando-ajax/128480)

<div class="topic-metadata">

**Author:** [@jarrouj](https://www.ruby-forum.com/u/jarrouj)\
**Replies:** 2\
**Last updated:** [February 8, 2008, 1:48am UTC](https://www.ruby-forum.com/t/actualizar-combos-en-cascada-usando-ajax/128480 "2008-02-08T01:48:44Z")

</div>

Que tal gente, les parecera un caso sencillo pero la verdad se me ha complicado un poco. Necesito actualizar varios objetos select (combos) en cascada usando Ajax, como por ejemplo, pais, estado, ciudad. Si alguien ti…

---

## [If statement with multiple conditions](https://www.ruby-forum.com/t/if-statement-with-multiple-conditions/125730)

<div class="topic-metadata">

**Author:** [@katsuo](https://www.ruby-forum.com/u/katsuo)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 8:49am UTC](https://www.ruby-forum.com/t/if-statement-with-multiple-conditions/125730 "2008-01-12T08:49:42Z")

</div>

Hi, I am pretty new to programming. What is the good way to write the following condition. def cart if request.post and @cart.size \< 10 puts “order accepted” else redirect\_to :action =\> ‘list’ end end

---

## [Defined $TESTING](https://www.ruby-forum.com/t/defined-testing/106375)

<div class="topic-metadata">

**Author:** [@Matijs\_van\_Zuijlen](https://www.ruby-forum.com/u/Matijs_van_Zuijlen)\
**Replies:** 2\
**Last updated:** [June 12, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/defined-testing/106375 "2007-06-12T16:29:38Z")

</div>

Hi, The copy of memcache.rb in typo’s trunk has the line $TESTING = defined? $TESTING at the top. This means that after including memcache, $TESTING is definitely defined. If we’re testing, it’s true, if not, it’s de…

---

## [Combining Radiant with a Rails App](https://www.ruby-forum.com/t/combining-radiant-with-a-rails-app/96661)

<div class="topic-metadata">

**Author:** [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Replies:** 2\
**Last updated:** [July 9, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/combining-radiant-with-a-rails-app/96661 "2006-07-09T19:18:47Z")

</div>

Hi Guys, I’ve only been using Radiant for a couple of days but I am really liking it. I wonder if somebody could offer me some advise about integrating another rails application into Radiant. Here’s the scenario. …

---

## [Rails engines in textdrive error](https://www.ruby-forum.com/t/rails-engines-in-textdrive-error/57710)

<div class="topic-metadata">

**Author:** [@Christophe\_GuSSSSga](https://www.ruby-forum.com/u/Christophe_GuSSSSga)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 10:53am UTC](https://www.ruby-forum.com/t/rails-engines-in-textdrive-error/57710 "2006-04-18T10:53:00Z")

</div>

Hi, Login\_engine just working fine on my local MacOSX but fails on textDrive Hosting when I try to launch the lighttpd process Rails 1.0 and Ruby 1.8 Any idea ? /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/…

---

## [Model's table names](https://www.ruby-forum.com/t/models-table-names/56989)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/models-table-names/56989 "2006-04-06T12:07:01Z")

</div>

Hello, I would like to have all the tables referenced by my engine prefixed with “something” I can’t use the set\_table\_name function because unfortunately this break fixtures usage (fixtures are not found if fixture n…

---

## [Problem with webrick and edge rails](https://www.ruby-forum.com/t/problem-with-webrick-and-edge-rails/55242)

<div class="topic-metadata">

**Author:** [@empty\_body](https://www.ruby-forum.com/u/empty_body)\
**Replies:** 2\
**Last updated:** [March 18, 2006, 8:35pm UTC](https://www.ruby-forum.com/t/problem-with-webrick-and-edge-rails/55242 "2006-03-18T20:35:28Z")

</div>

i know i do not really have the right to seek help with edge rails, but i am hoping it is something trivial. quick scenario: $ rails test # create a new project $ svn import # import it into the repo, then go elsew…

---

## [Glimmer DSL for SWT 4.30.0.0](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-30-0-0/264478)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [December 31, 2023, 8:48pm UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-30-0-0/264478 "2023-12-31T20:48:13Z")

</div>

Glimmer DSL for SWT 4.30.0.0 (JRuby Desktop Development Cross-Platform Native GUI Framework) is the quarterly major release that supports a new version of Eclipse SWT (version 4.30, released in December 2023). Happy New …

---

## [Cant link to files in public folder - Ruby on rails](https://www.ruby-forum.com/t/cant-link-to-files-in-public-folder-ruby-on-rails/252918)

<div class="topic-metadata">

**Author:** [@kaithapra](https://www.ruby-forum.com/u/kaithapra)\
**Replies:** 0\
**Last updated:** [August 21, 2019, 2:54pm UTC](https://www.ruby-forum.com/t/cant-link-to-files-in-public-folder-ruby-on-rails/252918 "2019-08-21T14:54:58Z")

</div>

In my ruby on rails project I can’t link to files in public folder. When go to those files, server redirects to root of domain(www.example.com). Rails: 5 ruby: 2.4 puma In my ruby on rails app I uploaded a file .well…

---

## [Bowling Scores (#181)](https://www.ruby-forum.com/t/bowling-scores-181/152242)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 6:02pm UTC](https://www.ruby-forum.com/t/bowling-scores-181/152242 "2008-10-31T18:02:44Z")

</div>

Calculating bowling scores seems to be trivial, at least until you start dealing with the exceptions. Strikes and spares can’t be scored until at least one ball from the next frame is thrown, and of course the next fr…

---

## [Handling association changes? What's the best practice?](https://www.ruby-forum.com/t/handling-association-changes-whats-the-best-practice/148900)

<div class="topic-metadata">

**Author:** [@Danimal](https://www.ruby-forum.com/u/Danimal)\
**Replies:** 8\
**Last updated:** [September 19, 2008, 10:23am UTC](https://www.ruby-forum.com/t/handling-association-changes-whats-the-best-practice/148900 "2008-09-19T10:23:05Z")

</div>

Hello all! I have a conundrum that I’m sure someone else has already thought of and solved. How does one best handle the scenario of association object changes and data integrity? For example, if I have a standard ec…

---

## [Where have the forms gone?](https://www.ruby-forum.com/t/where-have-the-forms-gone/129206)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 8\
**Last updated:** [February 19, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/where-have-the-forms-gone/129206 "2008-02-19T21:52:48Z")

</div>

Hi, I recently installed: Aptana Studio 1.1.0.007007 Rails 2.0.2 Ruby 1.8.6 First thing I noticed was that now I needed SqlLite3. I changed the database.yml to keep it like before: development: adapter: mysql dat…

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

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