# Top

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

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

---

## [Reminder: Phoenix.rb Meeting Monday, Dec 19](https://www.ruby-forum.com/t/reminder-phoenix-rb-meeting-monday-dec-19/50550)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 5\
**Last updated:** [December 19, 2005, 5:54am UTC](https://www.ruby-forum.com/t/reminder-phoenix-rb-meeting-monday-dec-19/50550 "2005-12-19T05:54:10Z")

</div>

Just a reminder that the Phoenix Ruby U. Group is meeting this coming Monday evening, Dec 19 2005. Details are up on the Refresh Phoenix wiki James B. – http://www.ruby-doc.org - Ruby Help & Documentation R…

---

## [Redirect urls](https://www.ruby-forum.com/t/redirect-urls/223707)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 15, 2012, 9:56pm UTC](https://www.ruby-forum.com/t/redirect-urls/223707 "2012-10-15T21:56:41Z")

</div>

I’m porting a .asp application over to something else, and I need to re-write the following url pattern: www.example.com/posts/get\_post.asp?post\_id=123 to www.example.com/posts/123 How can I do that?

---

## [My app ignore default\_locale](https://www.ruby-forum.com/t/my-app-ignore-default-locale/205973)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 26, 2012, 3:14pm UTC](https://www.ruby-forum.com/t/my-app-ignore-default-locale/205973 "2012-06-26T15:14:16Z")

</div>

In application.rb i defined: config.i18n.default\_locale = :ru But all texts on the site are in English. Typus interface is in English too and when I delete config/locales/en.yml it prints can not load translations fr…

---

## [How long does it take?](https://www.ruby-forum.com/t/how-long-does-it-take/217953)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 19, 2012, 6:31pm UTC](https://www.ruby-forum.com/t/how-long-does-it-take/217953 "2012-03-19T18:31:29Z")

</div>

I was given this project as a part of an interviewing process. Ok, I’m not asking how to implement it but how long it takes. How long does it take to implement the following application? Implement an online\_store with …

---

## [Authorization problem](https://www.ruby-forum.com/t/authorization-problem/207420)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 25, 2011, 7:34pm UTC](https://www.ruby-forum.com/t/authorization-problem/207420 "2011-05-25T19:34:38Z")

</div>

Hello everyone, I want to add authorization to my Rails app. As I am using devise for authentication, so I add an admin field to User model. class User … field :admin, :type =\> Boolean, :default =\> false … end In…

---

## [Query Regarding Rspec](https://www.ruby-forum.com/t/query-regarding-rspec/204227)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 8, 2011, 2:57pm UTC](https://www.ruby-forum.com/t/query-regarding-rspec/204227 "2011-03-08T14:57:03Z")

</div>

hello guys, I would like to know how to run the rspec files to test the functionality code which is written? actually i am working on a project which is currently which was previously handled by someone else and he h…

---

## [Lazy regexp is not lazy enough](https://www.ruby-forum.com/t/lazy-regexp-is-not-lazy-enough/202899)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 8, 2011, 7:10pm UTC](https://www.ruby-forum.com/t/lazy-regexp-is-not-lazy-enough/202899 "2011-02-08T19:10:43Z")

</div>

Consider the string xyz x P0 yx Q1 y1 Placeholder2 2abc and the pattern \<(h\\d)\>.?Placeholder2.?\</\\1\> the pattern matches x P0 yx Q1 y1 Placeholder2 2 I want it to match 1 Placeholder2 2 How can I do this? That …

---

## [Comment.all returns array of what?](https://www.ruby-forum.com/t/comment-all-returns-array-of-what/202045)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 20, 2011, 6:00pm UTC](https://www.ruby-forum.com/t/comment-all-returns-array-of-what/202045 "2011-01-20T18:00:06Z")

</div>

I have a bad feeling asking this but I did not manage to find an answer myself :confused: @comments = Comment.all @comments is an array. I can for example access comment.created\_at directly, or I could do: \<% @comme…

---

## [Markdown parser for auto html link](https://www.ruby-forum.com/t/markdown-parser-for-auto-html-link/201492)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 8, 2011, 11:43pm UTC](https://www.ruby-forum.com/t/markdown-parser-for-auto-html-link/201492 "2011-01-08T23:43:57Z")

</div>

Hi, Does anyone know about a Markdown parser (or why not textile) that can automatically interpret a string that looks like “http://…” as a hyperlink? I find it painful to type the square brackets and the parenthesis…

---

## [Has\_many :through - creating a new model](https://www.ruby-forum.com/t/has-many-through-creating-a-new-model/197558)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 16, 2010, 11:28am UTC](https://www.ruby-forum.com/t/has-many-through-creating-a-new-model/197558 "2010-10-16T11:28:43Z")

</div>

Hi guys! I’m having this trouble over relationships between models, like this: Venue (read a student's tests) ---\> Assignment ---\> Sheet (read musical sheets) Here’s a video of what I need to accomplish: The World's…

---

## [0.8.x branch is stable](https://www.ruby-forum.com/t/0-8-x-branch-is-stable/195648)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [September 28, 2010, 9:09am UTC](https://www.ruby-forum.com/t/0-8-x-branch-is-stable/195648 "2010-09-28T09:09:41Z")

</div>

Now the 0.8.x branch becomes a stable branch. The new features have been appeared during 0.8 development: \* named regular expression captures, \* file AIO in FreeBSD and Linux, \* SSL CRL, \* SCGI and uwsgi modules. – I…

---

## [Possible bug with -f test](https://www.ruby-forum.com/t/possible-bug-with-f-test/189980)

<div class="topic-metadata">

**Author:** [@bkirkbri](https://www.ruby-forum.com/u/bkirkbri)\
**Replies:** 4\
**Last updated:** [June 10, 2010, 11:51pm UTC](https://www.ruby-forum.com/t/possible-bug-with-f-test/189980 "2010-06-10T23:51:00Z")

</div>

I’m seeing a problem with static file handling when using multiple -f tests in a location block. I could be doing something stupid, but from the debug log it looks like a bug is corrupting the pathname nginx uses to …

---

## [\[Bug #3382\] cannot cross-compile socket.so for winsock2 (mingw32)](https://www.ruby-forum.com/t/bug-3382-cannot-cross-compile-socket-so-for-winsock2-mingw32/189570)

<div class="topic-metadata">

**Author:** [@Shyouhei\_U](https://www.ruby-forum.com/u/Shyouhei_U)\
**Replies:** 4\
**Last updated:** [June 8, 2010, 5:22pm UTC](https://www.ruby-forum.com/t/bug-3382-cannot-cross-compile-socket-so-for-winsock2-mingw32/189570 "2010-06-08T17:22:14Z")

</div>

Bug #3382: cannot cross-compile socket.so for winsock2 (mingw32) http://redmine.ruby-lang.org/issues/show/3382 e$B5/I\<\<Te(B: Shyouhei U. e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Nobuyoshi N., e$…

---

## [Nginx build against zlib-1.2.4 fails](https://www.ruby-forum.com/t/nginx-build-against-zlib-1-2-4-fails/185492)

<div class="topic-metadata">

**Author:** [@vys](https://www.ruby-forum.com/u/vys)\
**Replies:** 4\
**Last updated:** [March 24, 2010, 8:08pm UTC](https://www.ruby-forum.com/t/nginx-build-against-zlib-1-2-4-fails/185492 "2010-03-24T20:08:47Z")

</div>

Hi, zlib-1.2.4 has been released recently and it’s default Makefile has changed. It now only contains distclean target and no target named ‘clean’ before ./configure is run. Hence, nginx source build against zlib-1.2…

---

## [RDoc status and future?](https://www.ruby-forum.com/t/rdoc-status-and-future/183975)

<div class="topic-metadata">

**Author:** [@Claus\_Folke\_B](https://www.ruby-forum.com/u/Claus_Folke_B)\
**Replies:** 4\
**Last updated:** [February 24, 2010, 1:00pm UTC](https://www.ruby-forum.com/t/rdoc-status-and-future/183975 "2010-02-24T13:00:53Z")

</div>

Hi all, RDoc 1.0.1 is part of the standard library for Ruby 1.8.6 and 1.8.7 (don’t know about Ruby 1.9.x). RDoc 2.4.3 seems to be the newest and very different version but is not part of the standard library. Can an…

---

## [USRP2 Maximum througput](https://www.ruby-forum.com/t/usrp2-maximum-througput/183252)

<div class="topic-metadata">

**Author:** [@Sharif\_S](https://www.ruby-forum.com/u/Sharif_S)\
**Replies:** 4\
**Last updated:** [February 10, 2010, 8:03pm UTC](https://www.ruby-forum.com/t/usrp2-maximum-througput/183252 "2010-02-10T20:03:34Z")

</div>

Hello, I am trying to test my maximum achievable throughput from our USRP2 to my host PC. The easiest way for me to do this is to invoke, let say, usrp2\_wfm\_rcv.py. The ADC sample rate in usp2\_wfm\_rcv.py is set to …

---

## [Rails and Merb session key and secret](https://www.ruby-forum.com/t/rails-and-merb-session-key-and-secret/182661)

<div class="topic-metadata">

**Author:** [@NYNYNY](https://www.ruby-forum.com/u/NYNYNY)\
**Replies:** 4\
**Last updated:** [February 4, 2010, 3:00am UTC](https://www.ruby-forum.com/t/rails-and-merb-session-key-and-secret/182661 "2010-02-04T03:00:00Z")

</div>

Hi, I have two apps, one in Rails, and one in Merb. Both use cookie based session store, and are in the same domain. I set the session key and secret to be exactly the same in both apps, but they don’t seem to get th…

---

## [Which verb?: Take a bus or take the train](https://www.ruby-forum.com/t/which-verb-take-a-bus-or-take-the-train/181882)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 4\
**Last updated:** [January 19, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/which-verb-take-a-bus-or-take-the-train/181882 "2010-01-19T22:26:57Z")

</div>

Assume that at some point in the user’s processing we come to a page in which the user is to select from one of several choices that will then determine which processing will happen on the next page … perhaps putting …

---

## [Rename files... permission](https://www.ruby-forum.com/t/rename-files-permission/179067)

<div class="topic-metadata">

**Author:** [@folke](https://www.ruby-forum.com/u/folke)\
**Replies:** 4\
**Last updated:** [November 17, 2009, 6:53am UTC](https://www.ruby-forum.com/t/rename-files-permission/179067 "2009-11-17T06:53:12Z")

</div>

Hello! I’m trying to rename a couple of files. Here my code: (0…files.size).each do |i| File.rename(files\[i\], episodeList\[i\]) end I get the error-messege “Permission denied - Permission denied - . or S05 E09 - The …

---

## [Another RSS Feed question](https://www.ruby-forum.com/t/another-rss-feed-question/170672)

<div class="topic-metadata">

**Author:** [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Replies:** 4\
**Last updated:** [July 16, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/another-rss-feed-question/170672 "2009-07-16T18:07:08Z")

</div>

I’ve searched the whole forums watched all the videos read the books and apparently there is about 1,000 ways to generate a rss feed. Which none of them worked for me. I was going to reply to a post to continue the th…

---

## [Checking booleans while maintaining database compatibility](https://www.ruby-forum.com/t/checking-booleans-while-maintaining-database-compatibility/156954)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 4\
**Last updated:** [January 5, 2009, 8:39pm UTC](https://www.ruby-forum.com/t/checking-booleans-while-maintaining-database-compatibility/156954 "2009-01-05T20:39:26Z")

</div>

Users have many invitations and Invitations belongs\_to a User. In the user model: has\_many :open\_invitations, :class\_name =\> ‘Invitation’, :conditions =\> “completed\_at IS NULL AND is\_closed = ‘f’” This works for S…

---

## [Can anyone tell me why my code isn't working?](https://www.ruby-forum.com/t/can-anyone-tell-me-why-my-code-isnt-working/151399)

<div class="topic-metadata">

**Author:** [@tcm614ce](https://www.ruby-forum.com/u/tcm614ce)\
**Replies:** 4\
**Last updated:** [October 21, 2008, 10:48am UTC](https://www.ruby-forum.com/t/can-anyone-tell-me-why-my-code-isnt-working/151399 "2008-10-21T10:48:23Z")

</div>

Hi there, For some reason the get\_mac\_by\_printer(host\_name) method isn’t working. All the other bits work, but I have a feeling that I’m running into a problem with variables defined within blocks, but I’m at a loss a…

---

## [Benchmark result of reverse\_complement](https://www.ruby-forum.com/t/benchmark-result-of-reverse-complement/137999)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 4\
**Last updated:** [May 21, 2008, 4:05am UTC](https://www.ruby-forum.com/t/benchmark-result-of-reverse-complement/137999 "2008-05-21T04:05:28Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!%Y%s%A%^!\<%/$r$H$C$F$$$F!$$A$g$C$H5$$K$J$C$?7k2L$,$"$C$?$N$GJs9p$7e(B e$B$^$9!%e(B e$B!!e(Btrunk/benchmark/bm\_so\_reverse\_complement.rb e$B$H$$$&%F%9%H$G$9$,!$\<Be(B e$B$Ke(B ruby 1.8.5 e$B$h…

---

## [Re: Fair Proxy Balancer](https://www.ruby-forum.com/t/re-fair-proxy-balancer/136837)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 4\
**Last updated:** [May 6, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/re-fair-proxy-balancer/136837 "2008-05-06T20:46:03Z")

</div>

Thank you. These are excellent points. In my case all upstream servers share the same responsibility for the types of requests that are served. I guess I am looking at ‘fair’ more as a way to auto-tune the weighting b…

---

## [Too many open files](https://www.ruby-forum.com/t/too-many-open-files/136353)

<div class="topic-metadata">

**Author:** [@Davy\_C](https://www.ruby-forum.com/u/Davy_C)\
**Replies:** 4\
**Last updated:** [May 1, 2008, 6:21am UTC](https://www.ruby-forum.com/t/too-many-open-files/136353 "2008-05-01T06:21:19Z")

</div>

I’m getting a “Too many open files in system” error after running for about 10 minutes. I’m in the process of testing out nginx and it’s a pretty busy server doing around 200 requests/sec. My current open file limi…

---

## [Tutorial basico simple](https://www.ruby-forum.com/t/tutorial-basico-simple/129824)

<div class="topic-metadata">

**Author:** [@Phillip\_N](https://www.ruby-forum.com/u/Phillip_N)\
**Replies:** 4\
**Last updated:** [February 22, 2008, 10:17am UTC](https://www.ruby-forum.com/t/tutorial-basico-simple/129824 "2008-02-22T10:17:19Z")

</div>

Hola a todos! Ando en busca de un manual o tutorial practico y simple que explique desde 0 como trabajar con RubyOnRails, en castellano. Solo lo basico. Cualquier sugerencia es bienvenida. gracias!

---

## [Google maps with RoR](https://www.ruby-forum.com/t/google-maps-with-ror/127928)

<div class="topic-metadata">

**Author:** [@fla](https://www.ruby-forum.com/u/fla)\
**Replies:** 4\
**Last updated:** [February 3, 2008, 11:08am UTC](https://www.ruby-forum.com/t/google-maps-with-ror/127928 "2008-02-03T11:08:02Z")

</div>

Hello, exist already a library like google maps ( Google Maps ) for Rails. If not what I need for zoom in and out and move picture on site? best regards

---

## [Re: Ruby1.9String $B!%P%$%HNs$X$N%$%s%G%C%/%9!%"%/%;%9(B](https://www.ruby-forum.com/t/re-ruby1-9string-b-p-hns-x-n-s-g-c-9-9-b/126613)

<div class="topic-metadata">

**Author:** [@Hisanori\_Kiryu](https://www.ruby-forum.com/u/Hisanori_Kiryu)\
**Replies:** 4\
**Last updated:** [January 20, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/re-ruby1-9string-b-p-hns-x-n-s-g-c-9-9-b/126613 "2008-01-20T18:03:03Z")

</div>

e$B$A$J$\_$K!"e(Bbyte e$B$N$G$O$J$/e(B bytes e$B$NJ}$,BEEv$@$H;W$$$^$9!#e(B s = “abcde” s.byte # "abcde"e$B$N%P%$%HNs%\*%V%8%’%/%He(B s.byte\[3\] # =\> 100 e$B$3$l$OB?J,e(B s.byte\[3\].ord e$B$G2fK}$G$-$k$…

---

## [Method on a collection in a model](https://www.ruby-forum.com/t/method-on-a-collection-in-a-model/126401)

<div class="topic-metadata">

**Author:** [@galeal](https://www.ruby-forum.com/u/galeal)\
**Replies:** 4\
**Last updated:** [January 18, 2008, 2:03am UTC](https://www.ruby-forum.com/t/method-on-a-collection-in-a-model/126401 "2008-01-18T02:03:34Z")

</div>

I have a model (x) that has\_many y. Is it possible to write a method that says: x.ys.some\_method I’m assuming you’d put it in the x class…but I’m not too sure where to go from there. TIA

---

## [To query multiple tables](https://www.ruby-forum.com/t/to-query-multiple-tables/126322)

<div class="topic-metadata">

**Author:** [@bpankaj](https://www.ruby-forum.com/u/bpankaj)\
**Replies:** 4\
**Last updated:** [January 17, 2008, 6:59pm UTC](https://www.ruby-forum.com/t/to-query-multiple-tables/126322 "2008-01-17T18:59:11Z")

</div>

Hi every body, I have a database containing around 15 tables. There are lots of relationships. Now if I need to add a query involving say 8 tables(a,b,c,d,e,f,g,h) can I do it using find\_by\_sql. If so where do I impl…

---

## [Gzip\_static](https://www.ruby-forum.com/t/gzip-static/124501)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 4\
**Last updated:** [December 29, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/gzip-static/124501 "2007-12-29T18:39:27Z")

</div>

The gzip\_static static module seems like something that could help us during high traffic events. I didn’t see a wiki entry for it…is there some documentation? Thanks…and happy new year to the list!

---

## [Ruby gem, library, class to implement typical functionality of a utility like cp?](https://www.ruby-forum.com/t/ruby-gem-library-class-to-implement-typical-functionality-of-a-utility-like-cp/117216)

<div class="topic-metadata">

**Author:** [@randy\_k](https://www.ruby-forum.com/u/randy_k)\
**Replies:** 4\
**Last updated:** [October 15, 2007, 4:13pm UTC](https://www.ruby-forum.com/t/ruby-gem-library-class-to-implement-typical-functionality-of-a-utility-like-cp/117216 "2007-10-15T16:13:01Z")

</div>

I’m in the process of writing a small utility in Ruby to convert files in one format to a different format. Eventually it would be nice to to have the utility incorporate all or most of the command line functionalit…

---

## [Updating header in file](https://www.ruby-forum.com/t/updating-header-in-file/111147)

<div class="topic-metadata">

**Author:** [@rorjeff](https://www.ruby-forum.com/u/rorjeff)\
**Replies:** 4\
**Last updated:** [August 3, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/updating-header-in-file/111147 "2007-08-03T17:18:24Z")

</div>

Let me try this in another way. I have a file (test.txt) where each line contains comma separated values and I am using CSV to work though that stored file. The first line of the file is a header used by the CSV pr…

---

## [SSL test server](https://www.ruby-forum.com/t/ssl-test-server/104209)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 4\
**Last updated:** [May 15, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/ssl-test-server/104209 "2007-05-15T15:31:04Z")

</div>

Hi Does anyone know of a Ruby SSL server script? Basically want to test some SSL socket stuff, but need a server to tet it with. Thanks, Jim.

---

## [Simple problem with Resources Routes](https://www.ruby-forum.com/t/simple-problem-with-resources-routes/103297)

<div class="topic-metadata">

**Author:** [@learningruby](https://www.ruby-forum.com/u/learningruby)\
**Replies:** 4\
**Last updated:** [May 4, 2007, 12:34am UTC](https://www.ruby-forum.com/t/simple-problem-with-resources-routes/103297 "2007-05-04T00:34:18Z")

</div>

Ok, I’m quite near to grasp all the resources and related routing affair… There is, anyway, a problem that I’m not able to solve: I do not get the picture, here. I have Offers, and I have Categories… (offers are cate…

---

## [Relationship between Tables](https://www.ruby-forum.com/t/relationship-between-tables/92875)

<div class="topic-metadata">

**Author:** [@Linus\_M](https://www.ruby-forum.com/u/Linus_M)\
**Replies:** 4\
**Last updated:** [May 3, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/relationship-between-tables/92875 "2007-05-03T14:08:09Z")

</div>

Hello, how is it possible to specify a “has\_one” attribut in an one-to-many relationship? This code doesn’t work: class Order \< ActiveRecord::Base has\_and\_belongs\_to\_many :invoices has\_one :most\_recent\_invoice, :or…

---

## [SOAP problems](https://www.ruby-forum.com/t/soap-problems/93033)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 4\
**Last updated:** [April 27, 2007, 2:15am UTC](https://www.ruby-forum.com/t/soap-problems/93033 "2007-04-27T02:15:52Z")

</div>

Here is my irb session: irb -r soap/wsdlDriver irb(main):001:0\> end\_point = “http://my.endpoint.com/cgi-bin/ipc- SOAP/” =\> “http://my.endpoint.com/cgi-bin/ipc-SOAP/” irb(main):002:0\> soap = SOAP::WSDLDriverFactory.…

---

## [Adding multiple users to my site?](https://www.ruby-forum.com/t/adding-multiple-users-to-my-site/85023)

<div class="topic-metadata">

**Author:** [@surfivor](https://www.ruby-forum.com/u/surfivor)\
**Replies:** 4\
**Last updated:** [February 10, 2007, 3:47am UTC](https://www.ruby-forum.com/t/adding-multiple-users-to-my-site/85023 "2007-02-10T03:47:30Z")

</div>

I have a site I set up for my band. Basically the main page URL is of the form: mysite.com/main/myband myband is a method in the main controller I am thinking of setting it up so many other bands can be on the site …

---

## [Overriding AR accessors](https://www.ruby-forum.com/t/overriding-ar-accessors/82995)

<div class="topic-metadata">

**Author:** [@quangn](https://www.ruby-forum.com/u/quangn)\
**Replies:** 4\
**Last updated:** [January 23, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/overriding-ar-accessors/82995 "2007-01-23T14:08:19Z")

</div>

As I said in my previous post, I need to override some AR accessor methods. I thought that alias\_method would work, it didn’t, I believe because AR methods are invoked via method\_missing. I thought alias\_attribute wou…

---

## [Windows bat file help needed for rubygems](https://www.ruby-forum.com/t/windows-bat-file-help-needed-for-rubygems/80401)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 4\
**Last updated:** [December 26, 2006, 1:26am UTC](https://www.ruby-forum.com/t/windows-bat-file-help-needed-for-rubygems/80401 "2006-12-26T01:26:54Z")

</div>

How do I get a windows .bat file to return a proper exit code? RubyGems build stubs that look something like this: “c:\\ruby\\bin\\ruby” -x “%~f0” %\* goto endofruby #!/bin/ruby abort ‘boom’ END :endofruby But if I r…

---

## [Undefined method \`fullname' for #\<User:0x357e380\>, BUT works](https://www.ruby-forum.com/t/undefined-method-fullname-for-user-0x357e380-but-works/79872)

<div class="topic-metadata">

**Author:** [@askegg](https://www.ruby-forum.com/u/askegg)\
**Replies:** 4\
**Last updated:** [December 20, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/undefined-method-fullname-for-user-0x357e380-but-works/79872 "2006-12-20T22:10:13Z")

</div>

Hi all, Please excuse the long post, but I wanted to make sure you have all the information… I have a NewsModel that looks like this: class News \< ActiveRecord::Base belongs\_to :user validates\_associated :user val…

---

## [How to get observe\_field to use GET method?](https://www.ruby-forum.com/t/how-to-get-observe-field-to-use-get-method/74329)

<div class="topic-metadata">

**Author:** [@RJRJRJ](https://www.ruby-forum.com/u/RJRJRJ)\
**Replies:** 4\
**Last updated:** [November 9, 2006, 8:51am UTC](https://www.ruby-forum.com/t/how-to-get-observe-field-to-use-get-method/74329 "2006-11-09T08:51:50Z")

</div>

Hi All. I am trying to set-up observe\_field so that it uses the GET method (To work with a RESTful controller). \<%= link\_to\_remote(“Test”, :update =\> “main”, :url =\> { :controller =\> “projects”, :action =\> “show”, :i…

---

## [PYTHONPATH on Fedora Core 6 x86\_64](https://www.ruby-forum.com/t/pythonpath-on-fedora-core-6-x86-64/74818)

<div class="topic-metadata">

**Author:** [@Trond\_D](https://www.ruby-forum.com/u/Trond_D)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:01am UTC](https://www.ruby-forum.com/t/pythonpath-on-fedora-core-6-x86-64/74818 "2006-11-07T11:01:34Z")

</div>

Hi everyone! I have followed the instructions on http://gnuradio.org/trac/wiki/FC5Install, but I still have a problem. Python does not find the modules unless I add all the necessary subfolders to PYTHONPATH. Any ide…

---

## [Why does this work?](https://www.ruby-forum.com/t/why-does-this-work/70752)

<div class="topic-metadata">

**Author:** [@Bryan\_M](https://www.ruby-forum.com/u/Bryan_M)\
**Replies:** 4\
**Last updated:** [October 2, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/why-does-this-work/70752 "2006-10-02T17:40:53Z")

</div>

Hi. I’m still getting adjusted to Rails coding, and and stumbled into a piece of code that in my mind, shouldn’t work, but it does. I know Rails is smart, but…take a look. I’m trying to populate a select box with firs…

---

## [Ruby/Git?](https://www.ruby-forum.com/t/ruby-git/70262)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 4\
**Last updated:** [September 27, 2006, 10:32pm UTC](https://www.ruby-forum.com/t/ruby-git/70262 "2006-09-27T22:32:06Z")

</div>

Hi I’ve been working with subversion for some time now and thought I’d have a look at trying one of the distributed SCMs. I read about many of them, and ended up with a choice between mercurial and git. Since both se…

---

## [Weird behavior of case/when](https://www.ruby-forum.com/t/weird-behavior-of-case-when/98059)

<div class="topic-metadata">

**Author:** [@Nicolas\_DesprSSSSs](https://www.ruby-forum.com/u/Nicolas_DesprSSSSs)\
**Replies:** 4\
**Last updated:** [July 13, 2006, 9:46pm UTC](https://www.ruby-forum.com/t/weird-behavior-of-case-when/98059 "2006-07-13T21:46:19Z")

</div>

I’m getting a very weird result using case/when. $ cat test.rb def test(a) case a.class when Class puts “class” when String puts “string” else puts “else” end end test(Float) test(“hello”) test(42) $ ruby …

---

## [Using STI in a migration](https://www.ruby-forum.com/t/using-sti-in-a-migration/63003)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 4\
**Last updated:** [June 10, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/using-sti-in-a-migration/63003 "2006-06-10T21:29:47Z")

</div>

I have some classes in my model which use STI and they work as expected in the console. However, when I try to use them in a migration, I get “uninitialized constant OfficePhone”, for example. Why doesn’t the migrat…

---

## [Other databases](https://www.ruby-forum.com/t/other-databases/60577)

<div class="topic-metadata">

**Author:** [@regg](https://www.ruby-forum.com/u/regg)\
**Replies:** 4\
**Last updated:** [May 16, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/other-databases/60577 "2006-05-16T19:21:30Z")

</div>

I’m a newbie to Ruby and I was wondering if Ruby on Rails will work with databases that has a ODBC/JDBC driver or does it ONLY work with the databases that it list in it’s documentation? Thanks

---

## [Ruby-oci8 0.1.14](https://www.ruby-forum.com/t/ruby-oci8-0-1-14/73432)

<div class="topic-metadata">

**Author:** [@KUBO\_Takehiro](https://www.ruby-forum.com/u/KUBO_Takehiro)\
**Replies:** 4\
**Last updated:** [April 10, 2006, 11:14am UTC](https://www.ruby-forum.com/t/ruby-oci8-0-1-14/73432 "2006-04-10T11:14:49Z")

</div>

ruby-oci8 0.1.14 is released. This is a Oracle module using OCI8 API. URL:http://rubyforge.org/projects/ruby-oci8/ What’s new: add OCI8#prefetch\_rows=. This specifies the number of rows in a single round trip. Th…

---

## [Software Carpentry (Version 955)](https://www.ruby-forum.com/t/software-carpentry-version-955/79246)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 4\
**Last updated:** [March 10, 2006, 1:53pm UTC](https://www.ruby-forum.com/t/software-carpentry-version-955/79246 "2006-03-10T13:53:27Z")

</div>

Do we have something similar to this in the Ruby world? http://www.third-bit.com/swc2/ The only thing that came to mind was the material that Jim F. was using to teach his fellow engineers a few years back… Regards, …

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

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