# Top

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

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

---

## [GoDaddy Deployment](https://www.ruby-forum.com/t/godaddy-deployment/114741)

<div class="topic-metadata">

**Author:** [@Marlon\_M](https://www.ruby-forum.com/u/Marlon_M)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/godaddy-deployment/114741 "2007-09-25T23:06:59Z")

</div>

I’m not sure why people still want to, but every once in a while I get a question emailed to me about how I was able to deploy a rails app to GoDaddy. I went ahead and wrote up a step by step tutorial on how to do it.…

---

## [If i don't use @n but use n instead, there is no error](https://www.ruby-forum.com/t/if-i-dont-use-n-but-use-n-instead-there-is-no-error/114619)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/if-i-dont-use-n-but-use-n-instead-there-is-no-error/114619 "2007-09-17T13:23:39Z")

</div>

in an instance method, if i didn’t use @n but used n, the program still runs… and it is not changing the global n… so what is it changing? Example: n = 10 class Foo def initialize(i) @n = i end def change() put…

---

## [Physical path the public directory](https://www.ruby-forum.com/t/physical-path-the-public-directory/113688)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 2\
**Last updated:** [September 4, 2007, 12:02am UTC](https://www.ruby-forum.com/t/physical-path-the-public-directory/113688 "2007-09-04T00:02:23Z")

</div>

How, from my controller, can I get the filesystem path to my rails app’s ‘public directory’? e.g.: /users/eggie5/sites/rails\_app/public

---

## [STI functionality, but then with multiple tables](https://www.ruby-forum.com/t/sti-functionality-but-then-with-multiple-tables/111140)

<div class="topic-metadata">

**Author:** [@daxhuiberts](https://www.ruby-forum.com/u/daxhuiberts)\
**Replies:** 2\
**Last updated:** [August 3, 2007, 9:26am UTC](https://www.ruby-forum.com/t/sti-functionality-but-then-with-multiple-tables/111140 "2007-08-03T09:26:26Z")

</div>

Hello, I’m creating my own Tumblr \[tumblr.com\] like rails app. It’s like a blog, but in this case a blog post could be of a certain type, i.e. a regular post, a video, a link, a photo, a song(info). Well now, it’s cl…

---

## [Time from seconds](https://www.ruby-forum.com/t/time-from-seconds/110860)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 31, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/time-from-seconds/110860 "2007-07-31T21:42:36Z")

</div>

Hi I was just wondering if anyone can think of a simpler way of doing the following: def number\_to\_time(seconds) seconds = seconds.to\_i if seconds \> 1.hours hours = seconds / 1.hour hours = “0#{hours}” if hours \< …

---

## [While gsub!](https://www.ruby-forum.com/t/while-gsub/109786)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 2\
**Last updated:** [July 19, 2007, 6:42pm UTC](https://www.ruby-forum.com/t/while-gsub/109786 "2007-07-19T18:42:20Z")

</div>

Is there a better way to perform multiple substitutions to a string than this? string = ‘/…/…/…//…////…/…/etc/passwd’ while string.gsub!(/..//,’’) end it’s working as is, but seems odd to me to have an empty loop… I…

---

## [Simple question on rbgsl vectors](https://www.ruby-forum.com/t/simple-question-on-rbgsl-vectors/108538)

<div class="topic-metadata">

**Author:** [@baptiste\_AuguiSSSS](https://www.ruby-forum.com/u/baptiste_AuguiSSSS)\
**Replies:** 2\
**Last updated:** [July 6, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/simple-question-on-rbgsl-vectors/108538 "2007-07-06T21:58:34Z")

</div>

Hi, I’m trying to do a simple thing : access elements of a vector specified by their index. In Matlab/Octave i would do, newVector=oldVector( \[1, 3, 56, 72\] ) How does this work with Ruby vectors? oldVector.get(3,4,…

---

## [Gremlins -- Ruby interpreter suggestion](https://www.ruby-forum.com/t/gremlins-ruby-interpreter-suggestion/108586)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 2\
**Last updated:** [July 5, 2007, 4:52am UTC](https://www.ruby-forum.com/t/gremlins-ruby-interpreter-suggestion/108586 "2007-07-05T04:52:22Z")

</div>

I would like to make a suggestion for the Ruby interpreter to not complain about gremlins (extra newline characters) after the final end in a file. This is often the source of unnecessary bugs. It would also be nic…

---

## [Proposal: merge x64-mswin64 port](https://www.ruby-forum.com/t/proposal-merge-x64-mswin64-port/107789)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 2\
**Last updated:** [June 27, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/proposal-merge-x64-mswin64-port/107789 "2007-06-27T14:07:55Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B e$B$@$i$@$i$H;~4V$r$+$1$F:n6H$7$F$-$^$7$?$,!"$I$&$d$iL=h$,N)$Ce(B e$B$?$N$G!"I=Bj$NDL$j!"e(Bx64e$BHGe(BWindowse$B8~$1e(Bporte$B$re(Btrunke$B$K%^!\<%8$7$?$$e(B e$B$H;W$$$…

---

## [Several basic questions](https://www.ruby-forum.com/t/several-basic-questions/106492)

<div class="topic-metadata">

**Author:** [@Teun](https://www.ruby-forum.com/u/Teun)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/several-basic-questions/106492 "2007-06-11T16:21:23Z")

</div>

Hi Guys, I tried searching the forum, but I still got some problems which I don’t fully understand. To my knowledge, the receiving ADC Rate is 64 MSamples/second, at a granuality of 14 bits/sample. This would make it…

---

## [Rubygems problem on Mac OS X, please help](https://www.ruby-forum.com/t/rubygems-problem-on-mac-os-x-please-help/105303)

<div class="topic-metadata">

**Author:** [@Karl\_von\_Laudermann](https://www.ruby-forum.com/u/Karl_von_Laudermann)\
**Replies:** 2\
**Last updated:** [May 28, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/rubygems-problem-on-mac-os-x-please-help/105303 "2007-05-28T18:24:47Z")

</div>

I finally got around to installing the latest Ruby version onto my Mac instead of using the one that comes with Mac OS X. I followed the instructions here: http://maczealots.com/tutorials/rubyosa/ Doing so, I install…

---

## [Is older Ruby versions "looser" than new ones?](https://www.ruby-forum.com/t/is-older-ruby-versions-looser-than-new-ones/104533)

<div class="topic-metadata">

**Author:** [@SuperRunt](https://www.ruby-forum.com/u/SuperRunt)\
**Replies:** 2\
**Last updated:** [May 19, 2007, 6:11am UTC](https://www.ruby-forum.com/t/is-older-ruby-versions-looser-than-new-ones/104533 "2007-05-19T06:11:54Z")

</div>

We are trying to get a pre-existing ruby on rails site up and running (we just got these files sent to us). We are new to ruby so we have a new install (we’re running 1.8.6, patch level 0). We have already had to upd…

---

## [Building mblock fails when building in a separate tree](https://www.ruby-forum.com/t/building-mblock-fails-when-building-in-a-separate-tree/103262)

<div class="topic-metadata">

**Author:** [@Trond\_D](https://www.ruby-forum.com/u/Trond_D)\
**Replies:** 2\
**Last updated:** [May 3, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/building-mblock-fails-when-building-in-a-separate-tree/103262 "2007-05-03T19:24:13Z")

</div>

Hi, I create a separate folder when building gnuradio (mkdir -p build && pushd build && …/configure ). This however fails when it comes to mblock: \[trondd@dhcp-3254 mblock\]$ pwd /home/trondd/src/gnuradio/trunk/build…

---

## [Just started with RubyOnRails](https://www.ruby-forum.com/t/just-started-with-rubyonrails/92405)

<div class="topic-metadata">

**Author:** [@Friedrich\_L](https://www.ruby-forum.com/u/Friedrich_L)\
**Replies:** 2\
**Last updated:** [April 19, 2007, 11:03am UTC](https://www.ruby-forum.com/t/just-started-with-rubyonrails/92405 "2007-04-19T11:03:54Z")

</div>

Dear gentlemen/madams, i am in need to develop a program that is supposed to use the web as its primary support for user interface. It is supposed to be developed in three tier: model, logic, view. I do enjoy programm…

---

## [Observers, environment.rb and application.rb](https://www.ruby-forum.com/t/observers-environment-rb-and-application-rb/91670)

<div class="topic-metadata">

**Author:** [@jotape](https://www.ruby-forum.com/u/jotape)\
**Replies:** 2\
**Last updated:** [April 11, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/observers-environment-rb-and-application-rb/91670 "2007-04-11T15:11:38Z")

</div>

Hi. I’m running some tests with Observers and I’m having trouble making them work. I’ve tried to follow the code that’s on the API, but that does not work. I’ve name my Observer after a model, as said, and added it i…

---

## [Monitor.rb for ruby-1.9](https://www.ruby-forum.com/t/monitor-rb-for-ruby-1-9/88156)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 10:59am UTC](https://www.ruby-forum.com/t/monitor-rb-for-ruby-1-9/88156 "2007-03-13T10:59:41Z")

</div>

e$B$1$$$8$e!w$$$7$D$+$G$9e(B. ruby 1.9 e$B$Ne(B monitor.rb e$B$G$9$,e(B, def mon\_try\_enter if @mon\_owner != Thread.current unless @mon\_owner.trylock #\<— e$B$3$3e(B return false end @mon\_owner = Thread.current end …

---

## [Can I use link\_to\_function with html\_options somehow?](https://www.ruby-forum.com/t/can-i-use-link-to-function-with-html-options-somehow/85112)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 2\
**Last updated:** [February 10, 2007, 6:14am UTC](https://www.ruby-forum.com/t/can-i-use-link-to-function-with-html-options-somehow/85112 "2007-02-10T06:14:06Z")

</div>

I’m using link\_to\_function with visual\_effect to toggle a list down and up. I would like to add { :class =\> ‘mystyle’ } to the link\_to\_function statement but don’t see it accepts html\_options based on the API. Is the…

---

## [Text\_field\_with\_auto\_complete problem](https://www.ruby-forum.com/t/text-field-with-auto-complete-problem/83323)

<div class="topic-metadata">

**Author:** [@darrenevans](https://www.ruby-forum.com/u/darrenevans)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-problem/83323 "2007-01-25T18:11:17Z")

</div>

I have some difficulties with text\_field\_with\_auto\_complete. Iâ€™m new to this, it just will not work, I must be doing something wrong. It would be great if someone could advise me. I have tried to follow advice avail…

---

## [Pasar parametros con RoR](https://www.ruby-forum.com/t/pasar-parametros-con-ror/83200)

<div class="topic-metadata">

**Author:** [@andres](https://www.ruby-forum.com/u/andres)\
**Replies:** 2\
**Last updated:** [January 24, 2007, 11:40am UTC](https://www.ruby-forum.com/t/pasar-parametros-con-ror/83200 "2007-01-24T11:40:27Z")

</div>

Hola, ante todo muchas gracias por la ayuda que seguro me dareis: Como se hace para paser datos de una pÃ¡gina a otra? Tengo una tabla clientes y otra pedidos, y no se como seleccionando un cliente puedo ver todos los…

---

## [Text field as date selector (not comboboxes) =\> how to creat](https://www.ruby-forum.com/t/text-field-as-date-selector-not-comboboxes-how-to-creat/81702)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 15, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/text-field-as-date-selector-not-comboboxes-how-to-creat/81702 "2007-01-15T16:35:00Z")

</div>

Having to set 6 comboboxes just to enter a date/time is simply overkill to me. I prefer a simple text field where I can (e.g. for date input fields) input strings like 2007-12-02 +3 (remark: means the date of 3 days…

---

## [Reading bytes from a file](https://www.ruby-forum.com/t/reading-bytes-from-a-file/81094)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 2\
**Last updated:** [January 3, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/reading-bytes-from-a-file/81094 "2007-01-03T21:46:22Z")

</div>

I’m trying to read bytes from a file, and it would be handy if there was a method that threw an exception if I couldn’t read that many bytes, or encountered an EOF. IO#readbytes seems like the perfect method, but I ha…

---

## [Advice on handling malformed CSV with FasterCSV](https://www.ruby-forum.com/t/advice-on-handling-malformed-csv-with-fastercsv/79768)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [December 18, 2006, 10:43pm UTC](https://www.ruby-forum.com/t/advice-on-handling-malformed-csv-with-fastercsv/79768 "2006-12-18T22:43:31Z")

</div>

All, FasterCSV 1.0.0 Ruby 1.8.4 I am writing functionality to replace an an older system. Part of this system accepts uploaded CSV files, parses, and displays their contents. When confronted with a file including o…

---

## [Attn: Robert Klemme](https://www.ruby-forum.com/t/attn-robert-klemme/79443)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 2\
**Last updated:** [December 15, 2006, 8:19am UTC](https://www.ruby-forum.com/t/attn-robert-klemme/79443 "2006-12-15T08:19:56Z")

</div>

Hi, Could Robert K. please re-post his reply to “newbie: unpacking binary data”? It seems my post and his reply have disappeared into the ethernet. Thanks in advance Regards Mark

---

## [Database.yml YAML questions](https://www.ruby-forum.com/t/database-yml-yaml-questions/74301)

<div class="topic-metadata">

**Author:** [@slain](https://www.ruby-forum.com/u/slain)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:02am UTC](https://www.ruby-forum.com/t/database-yml-yaml-questions/74301 "2006-11-07T11:02:04Z")

</div>

I’m trying to DRY up my database.yml file. At first I tried settign some variables in my environment.rb to use in the database.yml, but it doesnt seem that the environment.rb variables are available to the Erb that ge…

---

## [How to: Individualized mass email with ActiveMailer - separa](https://www.ruby-forum.com/t/how-to-individualized-mass-email-with-activemailer-separa/74682)

<div class="topic-metadata">

**Author:** [@underbjerg](https://www.ruby-forum.com/u/underbjerg)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:52am UTC](https://www.ruby-forum.com/t/how-to-individualized-mass-email-with-activemailer-separa/74682 "2006-11-07T10:52:57Z")

</div>

Hi, We are building a rails application that’s sort of a CRM + room/course booking. Among other things, it provides a centralized database of all the people the company has been in contact with. We want to provide th…

---

## [Active\_record issues following upgrade to rails 1.1.6](https://www.ruby-forum.com/t/active-record-issues-following-upgrade-to-rails-1-1-6/72719)

<div class="topic-metadata">

**Author:** [@Ian\_Van\_Hoven](https://www.ruby-forum.com/u/Ian_Van_Hoven)\
**Replies:** 2\
**Last updated:** [October 18, 2006, 9:39pm UTC](https://www.ruby-forum.com/t/active-record-issues-following-upgrade-to-rails-1-1-6/72719 "2006-10-18T21:39:06Z")

</div>

hello, controller code that was working fine prior to the upgrade… @foo = Foo.find( @params\[ :id \] ) @bar = Bar.find( @foo.id\_bar ) …is now throwing following error messages… ArgumentError (wrong number of arguments …

---

## [Help with LOAD\_PATH](https://www.ruby-forum.com/t/help-with-load-path/71646)

<div class="topic-metadata">

**Author:** [@Eduardo\_YSSSSSSSSez](https://www.ruby-forum.com/u/Eduardo_YSSSSSSSSez)\
**Replies:** 2\
**Last updated:** [October 10, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/help-with-load-path/71646 "2006-10-10T16:47:24Z")

</div>

Hi, I’m in troubles with this variable. I’m running a Linux OS, after logging in, if I type: echo $LOAD\_PATH .:/home/eyp/Desarrollo/ruby/lib:/home/eyp/Desarrollo/ruby/lib/sybase:/usr/lib/ruby then I go into irb: irb …

---

## [Quando uno non ha un czazo di mglieo da fare](https://www.ruby-forum.com/t/quando-uno-non-ha-un-czazo-di-mglieo-da-fare/71335)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 2\
**Last updated:** [October 7, 2006, 10:49am UTC](https://www.ruby-forum.com/t/quando-uno-non-ha-un-czazo-di-mglieo-da-fare/71335 "2006-10-07T10:49:52Z")

</div>

Penso che tutti stppaiae che se nllee parloe si miiasnhco tttue le letetre lasinadco al loro psoto la prima e l’ultmia, rcimsiuao a leegrge tmulqtnnraaeile il tetso preché il nrosto cllevero lggee le plroae tttue iine…

---

## [Getting first value of a mysql return](https://www.ruby-forum.com/t/getting-first-value-of-a-mysql-return/69759)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 2, 2006, 12:01am UTC](https://www.ruby-forum.com/t/getting-first-value-of-a-mysql-return/69759 "2006-10-02T00:01:43Z")

</div>

hi list - cant find any decent mysql/ruby usage examples, any suggestions? even the dave thomas book has very little… i have a sql statement which sometimes returns a single value, and sometimes it cant find a matchi…

---

## [Emulab & GNU Radio](https://www.ruby-forum.com/t/emulab-gnu-radio/65429)

<div class="topic-metadata">

**Author:** [@Brent\_Horine](https://www.ruby-forum.com/u/Brent_Horine)\
**Replies:** 2\
**Last updated:** [August 18, 2006, 6:23pm UTC](https://www.ruby-forum.com/t/emulab-gnu-radio/65429 "2006-08-18T18:23:57Z")

</div>

Eric, you mentioned that GNU Radio and USRPs are setup on the Utah emulab system and that we could get access to them. I’m researching link establishment and maintenance in cognitive radios with dynamic spectrum acc…

---

## [Ruby on Rails newbie question](https://www.ruby-forum.com/t/ruby-on-rails-newbie-question/100946)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [August 2, 2006, 2:04am UTC](https://www.ruby-forum.com/t/ruby-on-rails-newbie-question/100946 "2006-08-02T02:04:25Z")

</div>

I just inherited a project. I had to make a small change to a helper file located in the helper folder (apps/helpers) and uploaded that .rb file only to my remote server, but nothing changed. I tried to see if the c…

---

## [Log4r](https://www.ruby-forum.com/t/log4r/100867)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 2\
**Last updated:** [August 1, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/log4r/100867 "2006-08-01T20:57:06Z")

</div>

The following code is throwing errors below. It looks like the wrong module is getting referenced. The constructor for c:\\ruby\\lib\\ruby\\1.8\\Logger.rb takes 3-arguments. Seems to be some confusion here. Can someone poi…

---

## [How to SELECT from multiple talbes with AR#find and associat](https://www.ruby-forum.com/t/how-to-select-from-multiple-talbes-with-ar-find-and-associat/99439)

<div class="topic-metadata">

**Author:** [@alder](https://www.ruby-forum.com/u/alder)\
**Replies:** 2\
**Last updated:** [July 22, 2006, 8:13pm UTC](https://www.ruby-forum.com/t/how-to-select-from-multiple-talbes-with-ar-find-and-associat/99439 "2006-07-22T20:13:53Z")

</div>

So I want to SELECT from multiple tables, so as to be able to do “SELECT FROM foo, bar WHERE foo.id=bar.id AND bar.baz=23”. How do I do it with AR#find? Also, I need this for associations. has\_many et. al. have :finde…

---

## [Trouble creating new records](https://www.ruby-forum.com/t/trouble-creating-new-records/60178)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 2\
**Last updated:** [May 11, 2006, 4:33am UTC](https://www.ruby-forum.com/t/trouble-creating-new-records/60178 "2006-05-11T04:33:57Z")

</div>

Is it possible to create / save a new record from a controller other than the one I specified when I created the scaffolding? My situation is that I have two tables. Emrecs is the parent. Actors is the child and has…

---

## [Dumb polymorphic association question](https://www.ruby-forum.com/t/dumb-polymorphic-association-question/59688)

<div class="topic-metadata">

**Author:** [@matthew\_d](https://www.ruby-forum.com/u/matthew_d)\
**Replies:** 2\
**Last updated:** [May 6, 2006, 1:28pm UTC](https://www.ruby-forum.com/t/dumb-polymorphic-association-question/59688 "2006-05-06T13:28:50Z")

</div>

Hi, Why is it that polymorphic associations only work with the :has\_many and :belongs\_to relationships? Why can’t it be a :has\_one? Matt

---

## [Rails report engine?](https://www.ruby-forum.com/t/rails-report-engine/58394)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 2\
**Last updated:** [April 21, 2006, 9:59am UTC](https://www.ruby-forum.com/t/rails-report-engine/58394 "2006-04-21T09:59:37Z")

</div>

Is there such a thing as a report engine that can be used in a rails application? Maybe something like jasper?

---

## [Rb\_obj\_instance\_exec](https://www.ruby-forum.com/t/rb-obj-instance-exec/56880)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 9:49am UTC](https://www.ruby-forum.com/t/rb-obj-instance-exec/56880 "2006-04-06T09:49:39Z")

</div>

e$B1J0fe(B@e$BCNG=!%6e9)Bg$G$9!%e(B rb\_obj\_instance\_eval e$B$Oe(B intern.h e$B$K%(%s%H%j$5$l$F$$$^$9$,!$e(B rb\_obj\_instance\_exec e$B$O%(%s%H%j$5$l$F$$$^$;$s!%e(B rb\_obj\_instance\_exec e$B$bDI2C$7$F$\*$$$?J}$,$$$$$N$G$O$…

---

## [Connectivity to Microsoft SQL Server using ADO](https://www.ruby-forum.com/t/connectivity-to-microsoft-sql-server-using-ado/81507)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [March 14, 2006, 1:59am UTC](https://www.ruby-forum.com/t/connectivity-to-microsoft-sql-server-using-ado/81507 "2006-03-14T01:59:22Z")

</div>

Based on this page: http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer using this specification development: adapter: sqlserver database: database\_name host: server\_name username: user\_name …

---

## [Newbie: Rails Controller Attribute Scope](https://www.ruby-forum.com/t/newbie-rails-controller-attribute-scope/54573)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 10:00pm UTC](https://www.ruby-forum.com/t/newbie-rails-controller-attribute-scope/54573 "2006-03-08T22:00:16Z")

</div>

I’m having a hard time figguring out what is wrong with my controller. I create an attribure, @processes in the method index. I then want to access the attribute in the same class, in another method process\_status. I …

---

## [Edge Rails doesn't work for my app](https://www.ruby-forum.com/t/edge-rails-doesnt-work-for-my-app/77963)

<div class="topic-metadata">

**Author:** [@Curtis\_E](https://www.ruby-forum.com/u/Curtis_E)\
**Replies:** 2\
**Last updated:** [March 7, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/edge-rails-doesnt-work-for-my-app/77963 "2006-03-07T20:09:47Z")

</div>

My app was fine before “rake freeze\_edge” but after, I can no longer boot up webrick. I’m on Win Xp MySql backend and this is what I get =\> Booting WEBrick… ./script/…/config/…/vendor/rails/activesupport/lib/active\_…

---

## [Help implementing a 43things-like 'activity' measurement](https://www.ruby-forum.com/t/help-implementing-a-43things-like-activity-measurement/76853)

<div class="topic-metadata">

**Author:** [@maraby](https://www.ruby-forum.com/u/maraby)\
**Replies:** 2\
**Last updated:** [March 5, 2006, 12:15pm UTC](https://www.ruby-forum.com/t/help-implementing-a-43things-like-activity-measurement/76853 "2006-03-05T12:15:00Z")

</div>

I’m trying to implement something in my app akin to 43things’ main page, where more active topics are bigger than the less active topics. The difference in my app is that I’m building a business-oriented app and want …

---

## [Oracle auto\_increment ? & Rails](https://www.ruby-forum.com/t/oracle-auto-increment-rails/75352)

<div class="topic-metadata">

**Author:** [@axle988](https://www.ruby-forum.com/u/axle988)\
**Replies:** 2\
**Last updated:** [March 2, 2006, 12:25am UTC](https://www.ruby-forum.com/t/oracle-auto-increment-rails/75352 "2006-03-02T00:25:51Z")

</div>

To make a new istance of an Oracle table with Rails, i need that this table had a column named ‘id’. This ‘id’ must be Primary Key & auto\_increment;. How Can I modify the ‘id’ properties to do it Auto\_increment in Ora…

---

## [Nuby - help with Ruby object references](https://www.ruby-forum.com/t/nuby-help-with-ruby-object-references/54138)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 24, 2006, 3:55am UTC](https://www.ruby-forum.com/t/nuby-help-with-ruby-object-references/54138 "2006-02-24T03:55:42Z")

</div>

I’m very new to Ruby (as in, just started yesterday). As a learning exercise I decided to write a short program that would traverse a directory tree and take note of all duplicate files in that tree. I’m using a hash …

---

## [Relocatable Ruby executable](https://www.ruby-forum.com/t/relocatable-ruby-executable/102459)

<div class="topic-metadata">

**Author:** [@Asfand\_Yar\_Q](https://www.ruby-forum.com/u/Asfand_Yar_Q)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 10:24pm UTC](https://www.ruby-forum.com/t/relocatable-ruby-executable/102459 "2006-02-08T22:24:07Z")

</div>

Hi, How can I create a relocatable Ruby executable? Meaning, that I can distribute a copy of it along with the modules I need with a binary app I am embedding Ruby into. I’m considering both actually programaticall…

---

## [I need superman!](https://www.ruby-forum.com/t/i-need-superman/52776)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 2\
**Last updated:** [January 25, 2006, 11:35pm UTC](https://www.ruby-forum.com/t/i-need-superman/52776 "2006-01-25T23:35:53Z")

</div>

I have a legacy database that I can’t figure out. I’ve tried hundres of times and spent way tooooo much time trying to figure this out. I don’t think that rails can do it. Maybe there is a superman here who can get …

---

## [OT: What is in a name? (was: Demystifying Symbols)](https://www.ruby-forum.com/t/ot-what-is-in-a-name-was-demystifying-symbols/51695)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [January 6, 2006, 4:24pm UTC](https://www.ruby-forum.com/t/ot-what-is-in-a-name-was-demystifying-symbols/51695 "2006-01-06T16:24:18Z")

</div>

On Jan 5, 2006, at 3:54 PM, Steve L. wrote: self-modifying Object, and not an ordinary string at all. I don’t think it would hurt to think of it as an immutable string (not a String), in your own personal life. Ho…

---

## [Syntax highligth with textile: Syntax+RedCloth?](https://www.ruby-forum.com/t/syntax-highligth-with-textile-syntax-redcloth/51442)

<div class="topic-metadata">

**Author:** [@gabriele\_renzi](https://www.ruby-forum.com/u/gabriele_renzi)\
**Replies:** 2\
**Last updated:** [January 1, 2006, 9:32pm UTC](https://www.ruby-forum.com/t/syntax-highligth-with-textile-syntax-redcloth/51442 "2006-01-01T21:32:02Z")

</div>

Hi gurus and nubys, I was trying to mix RedCloth\[1\] with Syntax\[2\] and I’m facing some small problems. The idea is to forward parsing of tags to the HTML convertor withouth touching the rest of the code. I thought…

---

## [From a file to an array of words](https://www.ruby-forum.com/t/from-a-file-to-an-array-of-words/48994)

<div class="topic-metadata">

**Author:** [@ngoc](https://www.ruby-forum.com/u/ngoc)\
**Replies:** 2\
**Last updated:** [November 28, 2005, 1:51pm UTC](https://www.ruby-forum.com/t/from-a-file-to-an-array-of-words/48994 "2005-11-28T13:51:56Z")

</div>

I want to compare two text(html) files. “diff” command in Linux compares only by line. In Ruby, I can use “File.readlines” and “split” later. Is there a single function(method) to go from a file to an array of words. …

---

## [TN3270E library for Ruby?](https://www.ruby-forum.com/t/tn3270e-library-for-ruby/48733)

<div class="topic-metadata">

**Author:** [@wilsonb](https://www.ruby-forum.com/u/wilsonb)\
**Replies:** 2\
**Last updated:** [November 24, 2005, 4:38pm UTC](https://www.ruby-forum.com/t/tn3270e-library-for-ruby/48733 "2005-11-24T16:38:28Z")

</div>

Has anyone done anything with the 3270 protocol in Ruby? I write a lot of code that needs connectivity to IBM mainframe hosts via TN3270E. At the moment, I do that by ‘wiring up’ a terminal emulator and telling it to…

---

## [Extending ApplicationHelper not working with plugins](https://www.ruby-forum.com/t/extending-applicationhelper-not-working-with-plugins/47535)

<div class="topic-metadata">

**Author:** [@mannl](https://www.ruby-forum.com/u/mannl)\
**Replies:** 2\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/extending-applicationhelper-not-working-with-plugins/47535 "2005-11-12T12:49:22Z")

</div>

Hi! I want a plugin to supply me with additonal helpers like this: #/vendor/plugins/test\_plugin/init.rb module ApplicationHelper def test\_helper ‘does this work?’ end end Contrary to my expectation, the method “t…

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

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