# Top

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

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

---

## [Rails rewrites URL by appending "dispatch.cgi" to URL](https://www.ruby-forum.com/t/rails-rewrites-url-by-appending-dispatch-cgi-to-url/167218)

<div class="topic-metadata">

**Author:** [@augusto](https://www.ruby-forum.com/u/augusto)\
**Replies:** 1\
**Last updated:** [July 7, 2009, 1:33pm UTC](https://www.ruby-forum.com/t/rails-rewrites-url-by-appending-dispatch-cgi-to-url/167218 "2009-07-07T13:33:27Z")

</div>

hi- i have a rails running on a server, but when i access my site as: “http://test.com” it rewrites the URL with the name of the dispatch.cgi script: “http://test.comdispatch.cgi%2Flist\_topics” which then fails to r…

---

## [Unit testing for ActiveResource](https://www.ruby-forum.com/t/unit-testing-for-activeresource/167140)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [May 6, 2009, 10:09am UTC](https://www.ruby-forum.com/t/unit-testing-for-activeresource/167140 "2009-05-06T10:09:10Z")

</div>

I’m using ActiveResouce objects which don’t have a corresponding ActiveRecord object in the DB because they’re acting as a front end to a legacy Windows application which can read and write REST type XML. That works f…

---

## [Concurrent GEM for Ruby?](https://www.ruby-forum.com/t/concurrent-gem-for-ruby/166486)

<div class="topic-metadata">

**Author:** [@jamesl](https://www.ruby-forum.com/u/jamesl)\
**Replies:** 7\
**Last updated:** [April 26, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/concurrent-gem-for-ruby/166486 "2009-04-26T19:05:01Z")

</div>

Hi, I’m wondering if anyone would like to see a Concurrent Library for Ruby, like the Java javax.concurrent library ? I know you can just use this library from jruby, but Im thinking more of a idiomatic Ruby library,…

---

## [Calling render\_to\_string from DRB, or a Rake task?](https://www.ruby-forum.com/t/calling-render-to-string-from-drb-or-a-rake-task/125326)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 1\
**Last updated:** [December 26, 2008, 6:45am UTC](https://www.ruby-forum.com/t/calling-render-to-string-from-drb-or-a-rake-task/125326 "2008-12-26T06:45:48Z")

</div>

Has anyone accomplished this magical feat and have code they’d like to share? I’m trying to offload some of my PDF generation stuff into DRB, and generate some PDFs from Rake tasks. Of course, these PDFs are driven u…

---

## [Remote\_function in IE with select input onchange](https://www.ruby-forum.com/t/remote-function-in-ie-with-select-input-onchange/155720)

<div class="topic-metadata">

**Author:** [@Nik\_B](https://www.ruby-forum.com/u/Nik_B)\
**Replies:** 1\
**Last updated:** [December 16, 2008, 3:50am UTC](https://www.ruby-forum.com/t/remote-function-in-ie-with-select-input-onchange/155720 "2008-12-16T03:50:15Z")

</div>

Here is the code: http://pastie.org/339967 Generated HTML: http://pastie.org/339969 This works great in Gecko and Webkit based browsers, but IE throws an error: “Object doesn’t support this property or method”. Any c…

---

## [AAF + DRb + Windows. Index works, search maybe?](https://www.ruby-forum.com/t/aaf-drb-windows-index-works-search-maybe/151966)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/aaf-drb-windows-index-works-search-maybe/151966 "2008-10-28T20:26:23Z")

</div>

Currently running the following setup: -Ferret 0.11.5 -Acts as Ferret plugin 0.4.3 Rev.257 -Rails 2.1.1 -Ruby 1.8.6 Patchlevel 111 -Windows 2003 Server This all works fine and dandy and after a lot of struggling wi…

---

## [Select only if exist?](https://www.ruby-forum.com/t/select-only-if-exist/146640)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [August 23, 2008, 8:52pm UTC](https://www.ruby-forum.com/t/select-only-if-exist/146640 "2008-08-23T20:52:07Z")

</div>

I have a table for neighborhoods with a name and an id Also have a table for assets, each asset have a neighborhood\_id Asset model =\> belongs to neighborhood Neighborhood model =\> has many assets I have a page where …

---

## [Correlate Ruby version/build with patch number](https://www.ruby-forum.com/t/correlate-ruby-version-build-with-patch-number/141669)

<div class="topic-metadata">

**Author:** [@caliwildman](https://www.ruby-forum.com/u/caliwildman)\
**Replies:** 7\
**Last updated:** [June 29, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/correlate-ruby-version-build-with-patch-number/141669 "2008-06-29T17:40:08Z")

</div>

I heard from a couple of sources about Ruby security concerns, quoting from http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html The official Ruby blog is reporting â€œmultiple vulnerabilitiesâ€…

---

## [What does undefined method \`session=' for ActionController::Base:Class mean?](https://www.ruby-forum.com/t/what-does-undefined-method-session-for-actioncontroller-class-mean/186743)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 25, 2008, 6:15pm UTC](https://www.ruby-forum.com/t/what-does-undefined-method-session-for-actioncontroller-class-mean/186743 "2008-02-25T18:15:41Z")

</div>

Hi, I’m trying to take a rails project built on gem version 1.2.6 and upgrade it to 2.0.2. So far, I haven’t changed anything except this line in the config/environment.rb file … RAILS\_GEM\_VERSION = ‘2.0.2’ unless d…

---

## [Whiser selection of user/roles engines](https://www.ruby-forum.com/t/whiser-selection-of-user-roles-engines/125652)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 1\
**Last updated:** [January 10, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/whiser-selection-of-user-roles-engines/125652 "2008-01-10T23:54:31Z")

</div>

Hi, I just need to offer my application user’s means to login to the system. And be able to assign different roles to those users to protect access to different views of the application. Typical stuff. I’m a bit conf…

---

## [Stub ActionController::Base#params](https://www.ruby-forum.com/t/stub-actioncontroller-base-params/117353)

<div class="topic-metadata">

**Author:** [@meekish](https://www.ruby-forum.com/u/meekish)\
**Replies:** 1\
**Last updated:** [October 16, 2007, 8:35am UTC](https://www.ruby-forum.com/t/stub-actioncontroller-base-params/117353 "2007-10-16T08:35:06Z")

</div>

Has anyone had any success stubbing ActionController::Base#params? The following is not intercepting calls to params\[:foo\] in my controllers: ActionController::Base.stub!(:params).and\_return(:foo =\> ‘bar’)

---

## [Ruby Weekly News 5th - 11th March 2007](https://www.ruby-forum.com/t/ruby-weekly-news-5th-11th-march-2007/88643)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/ruby-weekly-news-5th-11th-march-2007/88643 "2007-03-13T13:43:07Z")

</div>

Links are at http://www.rubyweeklynews.org/20070311.html Ruby Weekly News 5th - 11th March 2007 Ruby Weekly News is a summary of the week’s activity on the ruby-talk mailing list and its cohorts, the comp.lang.ruby ne…

---

## [Mongrel proxied through Apache won't serve images](https://www.ruby-forum.com/t/mongrel-proxied-through-apache-wont-serve-images/102089)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 7\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/mongrel-proxied-through-apache-wont-serve-images/102089 "2006-08-15T14:19:39Z")

</div>

I followed the tutorial from Coda Hale\[1\] on setting up Mongrel/Mongrel\_cluster and Apache to move away from my current Apache+FastCGI setup. The mongrels are all working fine, and Apache is proxying all dynamic requ…

---

## [A little regexp help for a newbie](https://www.ruby-forum.com/t/a-little-regexp-help-for-a-newbie/101318)

<div class="topic-metadata">

**Author:** [@RJ\_Melton](https://www.ruby-forum.com/u/RJ_Melton)\
**Replies:** 7\
**Last updated:** [August 4, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/a-little-regexp-help-for-a-newbie/101318 "2006-08-04T16:15:24Z")

</div>

Sorry this is such an absurdly simple question, but I can’t find the answer after some googling, probably just me not knowing how to look. Anyway, I have a simple string in the format 1a2+3 and want to basically take…

---

## [Progress on "Automated Wrapper Generation for Information Ex](https://www.ruby-forum.com/t/progress-on-automated-wrapper-generation-for-information-ex/97096)

<div class="topic-metadata">

**Author:** [@ASSSBradbury](https://www.ruby-forum.com/u/ASSSBradbury)\
**Replies:** 7\
**Last updated:** [July 5, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/progress-on-automated-wrapper-generation-for-information-ex/97096 "2006-07-05T18:46:38Z")

</div>

As you may or may not be aware, I am currently working on one of the 10 Google Summer of Code projects\[1\] mentored by Ruby Central. I am being mentored by Austin Z… Wrapper generators allow the extraction of informati…

---

## [.each skipping elements](https://www.ruby-forum.com/t/each-skipping-elements/194836)

<div class="topic-metadata">

**Author:** [@cameron1inm](https://www.ruby-forum.com/u/cameron1inm)\
**Replies:** 6\
**Last updated:** [September 13, 2010, 7:43pm UTC](https://www.ruby-forum.com/t/each-skipping-elements/194836 "2010-09-13T19:43:06Z")

</div>

I have an array of links from a webpage. I need to clean up the links so it only has city links in it. So I do a .each and test for regex. page.links.each{ if link.text =~ /(Blog|About Us|Status|Help|TOS|Privacy|Are …

---

## [Get methods params type soap4r](https://www.ruby-forum.com/t/get-methods-params-type-soap4r/189147)

<div class="topic-metadata">

**Author:** [@marcos](https://www.ruby-forum.com/u/marcos)\
**Replies:** 6\
**Last updated:** [June 23, 2010, 10:30am UTC](https://www.ruby-forum.com/t/get-methods-params-type-soap4r/189147 "2010-06-23T10:30:00Z")

</div>

Hello everybody, I’m using the following to get a driver to call to some functions on a remote soap described by wsdl: require ‘soap/wsdlDriver’ wsdl = “mywsdluri” client = SOAP::WSDLDriverFactory.new(wsdl).create\_rp…

---

## [Looking for external program invocations](https://www.ruby-forum.com/t/looking-for-external-program-invocations/183153)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 6\
**Last updated:** [February 9, 2010, 10:10am UTC](https://www.ruby-forum.com/t/looking-for-external-program-invocations/183153 "2010-02-09T10:10:44Z")

</div>

I have some open source software packages that were written in Ruby by a third party that make use of external programs. For the purposes of security auditing, and for making appropriate fixes, I need to locate all i…

---

## [Array of hashes issue](https://www.ruby-forum.com/t/array-of-hashes-issue/175747)

<div class="topic-metadata">

**Author:** [@bdaily](https://www.ruby-forum.com/u/bdaily)\
**Replies:** 6\
**Last updated:** [September 23, 2009, 8:27pm UTC](https://www.ruby-forum.com/t/array-of-hashes-issue/175747 "2009-09-23T20:27:15Z")

</div>

Hi, I’m new to ruby and am trying to do a project so I can learn ruby and build a tool I need for my job. I want to creat an array of hashes and then get the information out. This is what I have right now: this is i…

---

## [Having problems with Gem version on Snow Leopard](https://www.ruby-forum.com/t/having-problems-with-gem-version-on-snow-leopard/174622)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 6\
**Last updated:** [September 1, 2009, 1:17am UTC](https://www.ruby-forum.com/t/having-problems-with-gem-version-on-snow-leopard/174622 "2009-09-01T01:17:22Z")

</div>

So, the migration to Snow Leopard has gone well, except that it’s totally bollixed up my ruby/rails development environment. It looks like Snow Leopard shipped with gem version 1.2.0 is this right? $ which gem /usr…

---

## [Indexing hash with longer strings faster?](https://www.ruby-forum.com/t/indexing-hash-with-longer-strings-faster/172833)

<div class="topic-metadata">

**Author:** [@jablan](https://www.ruby-forum.com/u/jablan)\
**Replies:** 6\
**Last updated:** [July 29, 2009, 6:23pm UTC](https://www.ruby-forum.com/t/indexing-hash-with-longer-strings-faster/172833 "2009-07-29T18:23:34Z")

</div>

Hi, I have some wierd results measuring Ruby’s hash operations, particulary indexing hash using two member string array. Have a look: require ‘benchmark’ =\> false puts(Benchmark.measure do ?\> h = {} 1000000…

---

## [Class.class = class](https://www.ruby-forum.com/t/class-class-class/172248)

<div class="topic-metadata">

**Author:** [@ruby\_newbie\_72](https://www.ruby-forum.com/u/ruby_newbie_72)\
**Replies:** 6\
**Last updated:** [July 22, 2009, 4:05am UTC](https://www.ruby-forum.com/t/class-class-class/172248 "2009-07-22T04:05:52Z")

</div>

I understand that when you define a new class itÂ´s an instance of Class… class Test end So you can treat “Test” as an object and asks its class : Test.class Class Is this Class itself an object ? Because when i …

---

## [Contacts](https://www.ruby-forum.com/t/contacts/166664)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 28, 2009, 4:55pm UTC](https://www.ruby-forum.com/t/contacts/166664 "2009-04-28T16:55:54Z")

</div>

Can anyone help me with a contact for Ruby on Rails? I really need to talk to them and I cannot find any details anywhere. Many thanks, Pip Watkins

---

## [Formatting issue](https://www.ruby-forum.com/t/formatting-issue/154508)

<div class="topic-metadata">

**Author:** [@vaughajj](https://www.ruby-forum.com/u/vaughajj)\
**Replies:** 6\
**Last updated:** [December 2, 2008, 12:01am UTC](https://www.ruby-forum.com/t/formatting-issue/154508 "2008-12-02T00:01:26Z")

</div>

I have a text file that has data in it which is perfectly formatted the way I want it. I have the following code in my controller to open the file and read each line into an array which I then call from my view. The p…

---

## [Can Two Active Record Results be Added?](https://www.ruby-forum.com/t/can-two-active-record-results-be-added/143996)

<div class="topic-metadata">

**Author:** [@Jorg\_L](https://www.ruby-forum.com/u/Jorg_L)\
**Replies:** 6\
**Last updated:** [July 24, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/can-two-active-record-results-be-added/143996 "2008-07-24T21:04:41Z")

</div>

I have an sql with some inputs,notably a date. For that date I run the sql and get a result @result = Model.find\_by\_sql(sql) What I want is to have eight versions of this (different dates in the sql) and then combin…

---

## [!= again](https://www.ruby-forum.com/t/again/139208)

<div class="topic-metadata">

**Author:** [@Matthias\_Hennemeyer](https://www.ruby-forum.com/u/Matthias_Hennemeyer)\
**Replies:** 6\
**Last updated:** [June 2, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/again/139208 "2008-06-02T20:03:59Z")

</div>

Hey! I have implemented a quick solution for the should != … , should ! ~ … ‘problem’. It uses source code inspection (I think it’s the only way) and i’ve done some benchmarking to see if it’s really that slow. A d…

---

## [MySQL Lost Connection Errors](https://www.ruby-forum.com/t/mysql-lost-connection-errors/133239)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 6\
**Last updated:** [March 29, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/mysql-lost-connection-errors/133239 "2008-03-29T20:12:29Z")

</div>

I’m experiencing an intermittent appearance of “Mysql::Error: Lost connection to MySQL server during query” Read through many of the prior messages (most from mid 2006), and I don’t see any that apply to my setup. Th…

---

## [Website Examples/Is it that easy?](https://www.ruby-forum.com/t/website-examples-is-it-that-easy/124803)

<div class="topic-metadata">

**Author:** [@rnew](https://www.ruby-forum.com/u/rnew)\
**Replies:** 6\
**Last updated:** [January 3, 2008, 2:57am UTC](https://www.ruby-forum.com/t/website-examples-is-it-that-easy/124803 "2008-01-03T02:57:12Z")

</div>

Hi Folks, Does anyone have a list of websites developed with RoR? I just read some discouraging real world news from ZMag who tried to redo their website with RoR. I think their previous site was done in PHP. See qu…

---

## [I need a list of advantages](https://www.ruby-forum.com/t/i-need-a-list-of-advantages/123446)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [December 17, 2007, 11:57pm UTC](https://www.ruby-forum.com/t/i-need-a-list-of-advantages/123446 "2007-12-17T23:57:04Z")

</div>

does anyone have a list of advantages this language provides ?

---

## [\[rails\] come mai la mia classe risponde al metodo "valid?"](https://www.ruby-forum.com/t/rails-come-mai-la-mia-classe-risponde-al-metodo-valid/114211)

<div class="topic-metadata">

**Author:** [@Gian\_marco\_G](https://www.ruby-forum.com/u/Gian_marco_G)\
**Replies:** 6\
**Last updated:** [September 10, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/rails-come-mai-la-mia-classe-risponde-al-metodo-valid/114211 "2007-09-10T13:45:49Z")

</div>

Ciao a tutti Sono nuovo del mondo Ruby/Rails. Ho definito una classe nel modo seguente class Expense \< ActiveRecord::Base end ed un semplice test class ExpenseTest \< Test::Unit::TestCase def test\_required\_fields …

---

## [URI class bug?](https://www.ruby-forum.com/t/uri-class-bug/105980)

<div class="topic-metadata">

**Author:** [@mog](https://www.ruby-forum.com/u/mog)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/uri-class-bug/105980 "2007-06-05T13:14:47Z")

</div>

I am using Ruby 1.8.6. I found URI cannot parse URI with “\_” is host. uri = “http://dr\_gabriele.podomatic.com/enclosure/ 2006-08-03T15\_09\_59-07\_00.m4v” URI.parse(uri) Is there any way to work around that? thanks

---

## [How can I write this find with AR?](https://www.ruby-forum.com/t/how-can-i-write-this-find-with-ar/86336)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 6\
**Last updated:** [February 21, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/how-can-i-write-this-find-with-ar/86336 "2007-02-21T17:47:48Z")

</div>

All - I have an array of values arr = \[‘a’,‘b’,‘c’\] and I want to find all records such that :value is contained within the array. Something like: Record.find(:all,:conditions=\>{:value=\>arr.include?}) Does AR support…

---

## [Restfully Noob](https://www.ruby-forum.com/t/restfully-noob/81343)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 6\
**Last updated:** [January 9, 2007, 11:34am UTC](https://www.ruby-forum.com/t/restfully-noob/81343 "2007-01-09T11:34:58Z")

</div>

I’ve been playing with REST today and can’t quite figure out a routing issue. I have a controller named Accounts which has 3 actions: 1. new 2. create 3. chuck My routes file has the following: map.resources :acc…

---

## [Adding new items to index breaks searches with \*](https://www.ruby-forum.com/t/adding-new-items-to-index-breaks-searches-with/66759)

<div class="topic-metadata">

**Author:** [@Clare](https://www.ruby-forum.com/u/Clare)\
**Replies:** 6\
**Last updated:** [August 29, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/adding-new-items-to-index-breaks-searches-with/66759 "2006-08-29T17:37:45Z")

</div>

Hi after upgrading to ferret 0.10.1 and bleeding edge aaf i’m getting some strange behavior. Generally much better stability with new version of ferret but when i add new items for some reason i can no longer search w…

---

## [How to access element attributes using RJS?](https://www.ruby-forum.com/t/how-to-access-element-attributes-using-rjs/98616)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [July 20, 2006, 6:40am UTC](https://www.ruby-forum.com/t/how-to-access-element-attributes-using-rjs/98616 "2006-07-20T06:40:15Z")

</div>

For example, in the following block: page.select(‘.foo’).each do |element| … end How would I access, just for example, the id attribute of each element in the collection? I’ve randomly tried element.id and element…

---

## [Translating Radiant](https://www.ruby-forum.com/t/translating-radiant/98623)

<div class="topic-metadata">

**Author:** [@fred](https://www.ruby-forum.com/u/fred)\
**Replies:** 6\
**Last updated:** [July 19, 2006, 6:29am UTC](https://www.ruby-forum.com/t/translating-radiant/98623 "2006-07-19T06:29:49Z")

</div>

Hi all, I need to translate the admin page into French for one of my client… In that regard, I would be very happy to contribute… In your opinion, what is the best place to start. Do you recommend something as comple…

---

## [Secret documentation and Python 2.4](https://www.ruby-forum.com/t/secret-documentation-and-python-2-4/98375)

<div class="topic-metadata">

**Author:** [@breko](https://www.ruby-forum.com/u/breko)\
**Replies:** 6\
**Last updated:** [July 18, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/secret-documentation-and-python-2-4/98375 "2006-07-18T20:42:43Z")

</div>

Hi there, I must be missing something - recently I saw a note here on this list about --enable-doxygen to autogenerate documentation for gnuradio-core. Very nice! It would be very useful if this kind of information wa…

---

## [Not ok iterator 80 -- ./sample/test.rb:1104](https://www.ruby-forum.com/t/not-ok-iterator-80-sample-test-rb-1104/63696)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 6\
**Last updated:** [June 20, 2006, 8:15am UTC](https://www.ruby-forum.com/t/not-ok-iterator-80-sample-test-rb-1104/63696 "2006-06-20T08:15:07Z")

</div>

sample/test.rb e$B$,e(B 2e$B$D\<:GT$7$F$$$^$9$,!":G=i$N\<:GT$O\<!$N$b$N$G$9!#e(B % ./ruby ./sample/test.rb … not ok iterator 80 – ./sample/test.rb:1104 … e$B\<h$j=P$7$F$\_$k$H!"\<!$N$h$&$K$J$j$^$9!#e(B % ./ruby -ve ’ d…

---

## [Rails Edge, has\_many :through in searches](https://www.ruby-forum.com/t/rails-edge-has-many-through-in-searches/65917)

<div class="topic-metadata">

**Author:** [@dmarkow](https://www.ruby-forum.com/u/dmarkow)\
**Replies:** 6\
**Last updated:** [February 23, 2006, 1:48am UTC](https://www.ruby-forum.com/t/rails-edge-has-many-through-in-searches/65917 "2006-02-23T01:48:57Z")

</div>

I have two tables, a Projects table and a Clients table. It’s basically a HABTM relationship, but I have additional project/ client-specific information in the join table. I’m trying to use the new has\_many :through m…

---

## [Next rails release?](https://www.ruby-forum.com/t/next-rails-release/52717)

<div class="topic-metadata">

**Author:** [@Anthony\_Rudgick](https://www.ruby-forum.com/u/Anthony_Rudgick)\
**Replies:** 6\
**Last updated:** [January 18, 2006, 6:39pm UTC](https://www.ruby-forum.com/t/next-rails-release/52717 "2006-01-18T18:39:48Z")

</div>

when is the next release of rails expected to drop? i’m looking forward to the multiple habtm associations working correctly, among a bunch of other fixes… just curious! -A

---

## [Using a Regexp in String#gsub in C](https://www.ruby-forum.com/t/using-a-regexp-in-string-gsub-in-c/245938)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [August 1, 2013, 10:42pm UTC](https://www.ruby-forum.com/t/using-a-regexp-in-string-gsub-in-c/245938 "2013-08-01T22:42:34Z")

</div>

Hi, I’ve got some code in C that makes a call to String#gsub via rb\_funcall VALUE pattern = rb\_str\_new2(" “); VALUE heading = rb\_funcall(str, rb\_intern(“gsub”), 2, pattern, rb\_str\_new2(”-")); I’d like to get pattern…

---

## [Rails 3 application capable of generating an offline version of itself for download as zip archive](https://www.ruby-forum.com/t/rails-3-application-capable-of-generating-an-offline-version-of-itself-for-download-as-zip-archive/245539)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [June 18, 2013, 11:56am UTC](https://www.ruby-forum.com/t/rails-3-application-capable-of-generating-an-offline-version-of-itself-for-download-as-zip-archive/245539 "2013-06-18T11:56:51Z")

</div>

I’m kinda newbie in RoR yet and I’m having a hard time trying to figure out how should I implement this. I’m writing an application to store and display information about insects and their distribution. Currently I ha…

---

## [Rails ActiveResource URLs for searches including habtm relationships](https://www.ruby-forum.com/t/rails-activeresource-urls-for-searches-including-habtm-relationships/228833)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 4\
**Last updated:** [May 9, 2013, 10:46pm UTC](https://www.ruby-forum.com/t/rails-activeresource-urls-for-searches-including-habtm-relationships/228833 "2013-05-09T22:46:19Z")

</div>

Hi! I’m trying to build a small client that connects to Redmine to get the list of users attached to a project. Following the AR/ Rails conventions, I can get back all projects as: http://redmine/projects.xml http:…

---

## [Get it on one line?](https://www.ruby-forum.com/t/get-it-on-one-line/226953)

<div class="topic-metadata">

**Author:** [@abbbe](https://www.ruby-forum.com/u/abbbe)\
**Replies:** 4\
**Last updated:** [February 26, 2013, 11:12pm UTC](https://www.ruby-forum.com/t/get-it-on-one-line/226953 "2013-02-26T23:12:23Z")

</div>

Hello pros! Im pretty new at Ruby and doing some toturials! But what i don’t understand is how i get the Puts on the same line in the following code; I know i need to use .chop!? but were in the code? Ty! class Hund …

---

## [C Extension Shutdown GC vs Free Functions Called](https://www.ruby-forum.com/t/c-extension-shutdown-gc-vs-free-functions-called/224664)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 21, 2012, 4:44pm UTC](https://www.ruby-forum.com/t/c-extension-shutdown-gc-vs-free-functions-called/224664 "2012-11-21T16:44:14Z")

</div>

It was my assumption that during shutdown the objects would be freed leaf objects first, and a mark and sweep like approach. It seems however that Ruby just walks an object table and frees each in entry order. For nat…

---

## [Progetto online](https://www.ruby-forum.com/t/progetto-online/215087)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 21, 2011, 9:35pm UTC](https://www.ruby-forum.com/t/progetto-online/215087 "2011-12-21T21:35:59Z")

</div>

ciao a tutti.Sto da poco lavorando con ruby on rails e varie applicazioni.Adesso ho lavorato un pochino con il plugin spree per un sito ecommerce, ma il mio problema sta quì…come faccio a metterlo online? la mia idea…

---

## [Rdoc 3.10 Released](https://www.ruby-forum.com/t/rdoc-3-10-released/212635)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 24, 2011, 11:42pm UTC](https://www.ruby-forum.com/t/rdoc-3-10-released/212635 "2011-10-24T23:42:14Z")

</div>

GitHub - rdoc/rdoc: RDoc produces HTML and online documentation for Ruby projects. RDoc includes the rdoc and ri tools for generating and displaying online documentation. http://rdoc.rubyforg.org RDoc produces HTML and…

---

## [Nested error\_page](https://www.ruby-forum.com/t/nested-error-page/200514)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 14, 2010, 12:58pm UTC](https://www.ruby-forum.com/t/nested-error-page/200514 "2010-12-14T12:58:47Z")

</div>

hi i have a situtation where i would need something similar to this: location / { error\_page 404 = /fallback\_all; // do a request to get content from memcache, if not found go to /fallback\_all } location = /fallba…

---

## [Nuovo progetto, chi si vuole unire?](https://www.ruby-forum.com/t/nuovo-progetto-chi-si-vuole-unire/194681)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 4\
**Last updated:** [December 1, 2010, 2:20am UTC](https://www.ruby-forum.com/t/nuovo-progetto-chi-si-vuole-unire/194681 "2010-12-01T02:20:01Z")

</div>

A tempo perso, sto creando un’applicazione per la gestione di piccoli team che vorrei usare come social network ristretto ad un ambito aziendale. Avevo in mente un mix tra basecamp e twitter Interessa a qualcuno o …

---

## [Could not find a valid gem 'xaws-s3x' (\>= 0) in any repository](https://www.ruby-forum.com/t/could-not-find-a-valid-gem-xaws-s3x-0-in-any-repository/197721)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 22, 2010, 4:08pm UTC](https://www.ruby-forum.com/t/could-not-find-a-valid-gem-xaws-s3x-0-in-any-repository/197721 "2010-10-22T16:08:20Z")

</div>

Hi I’m trying to install xaws-s3x but got this error. Any advice or suggestion is much appreciated. root@ubuntu:/d# gem install xaws-s3x ERROR: Could not find a valid gem ‘xaws-s3x’ (\>= 0) in any repository

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

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