# Top

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

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

---

## [Rails 2.0 Breaks Javascript?](https://www.ruby-forum.com/t/rails-2-0-breaks-javascript/125777)

<div class="topic-metadata">

**Author:** [@partydrone](https://www.ruby-forum.com/u/partydrone)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/rails-2-0-breaks-javascript/125777 "2008-01-11T23:51:02Z")

</div>

I have a Rails app frozen to v1.2.5 with a Java Script ticker that rotates through news article headlines. It works just fine. I am porting my app to Rails 2.0, and have implemented the Java Script ticker EXACTLY as I…

---

## [Better idiom for title on an optional list?](https://www.ruby-forum.com/t/better-idiom-for-title-on-an-optional-list/121661)

<div class="topic-metadata">

**Author:** [@slothbear](https://www.ruby-forum.com/u/slothbear)\
**Replies:** 3\
**Last updated:** [December 4, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/better-idiom-for-title-on-an-optional-list/121661 "2007-12-04T22:31:05Z")

</div>

I’m still learning Ruby, and most of the time I can find a beautiful Ruby idiom that collapses two or more statements into one easy-to-read (or learn) idiom, like h\[key\] ||= 0. My current project has a lot of places …

---

## [Trying to download first 10k](https://www.ruby-forum.com/t/trying-to-download-first-10k/121874)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [December 2, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/trying-to-download-first-10k/121874 "2007-12-02T23:30:13Z")

</div>

Hi, I’m trying to download via http only the first, say, 10k of a file. I’m using open-uri but even when I try to break out of the core loop where it’s reading the buffer, I can hear my hard-drive grinding away downlo…

---

## [Traduction, internationalisation, localisation](https://www.ruby-forum.com/t/traduction-internationalisation-localisation/119605)

<div class="topic-metadata">

**Author:** [@SSSSSbastien\_Lamy](https://www.ruby-forum.com/u/SSSSSbastien_Lamy)\
**Replies:** 3\
**Last updated:** [November 8, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/traduction-internationalisation-localisation/119605 "2007-11-08T14:10:49Z")

</div>

Bonjour à tous. Je débute actuellement en rails et je suis en train de me poser la question de l’internationalisation, vu que rails semble croire que toute appli web sera écrite par et pour des anglophones. Passage a…

---

## [Logging in model](https://www.ruby-forum.com/t/logging-in-model/118735)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [October 30, 2007, 7:42pm UTC](https://www.ruby-forum.com/t/logging-in-model/118735 "2007-10-30T19:42:42Z")

</div>

When I try to use logger in a model, I get a NameError: for example, class ItemFactory def getItemById(id) logger.info(“getItemById #{id}”) end end produces… NameError: undefined local variable or method logger' …

---

## [RubyConf 2006 Presenter? Send me your materials!](https://www.ruby-forum.com/t/rubyconf-2006-presenter-send-me-your-materials/82075)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/rubyconf-2006-presenter-send-me-your-materials/82075 "2007-09-25T22:42:18Z")

</div>

I’ve been hosting the rubyconf presentation materials for the past 5 years and I’m not about to stop now. Please send me your slides / pdfs / whatever and I’ll get them up.

---

## [Create a string from a pattern?](https://www.ruby-forum.com/t/create-a-string-from-a-pattern/109102)

<div class="topic-metadata">

**Author:** [@prichard](https://www.ruby-forum.com/u/prichard)\
**Replies:** 3\
**Last updated:** [July 11, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/create-a-string-from-a-pattern/109102 "2007-07-11T16:19:59Z")

</div>

Im trying to come up with an easy way to generate a random string, based on a supplied pattern, maybe something like: String.from\_pattern("\\d\\d\\d@\\w{3,5}.com") =\> “removed\_email\_address@domain.invalid” Ive used a stan…

---

## [Rails:freeze:gems breaks rails/info/properties](https://www.ruby-forum.com/t/railsgems-breaks-rails-info-properties/107612)

<div class="topic-metadata">

**Author:** [@desertpenguin](https://www.ruby-forum.com/u/desertpenguin)\
**Replies:** 3\
**Last updated:** [June 24, 2007, 6:34am UTC](https://www.ruby-forum.com/t/railsgems-breaks-rails-info-properties/107612 "2007-06-24T06:34:42Z")

</div>

For some reason, running rake rails:freeze:gems breaks the default info page at rails/info/properties. rake unfreeze\_rails fixes the problem. Any ideas what causes this? (I am considering freezing my app before I dep…

---

## [Problem with gems](https://www.ruby-forum.com/t/problem-with-gems/107448)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [June 22, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/problem-with-gems/107448 "2007-06-22T12:57:10Z")

</div>

Hello everybody ! I just installed some gem but when I want to use it Ruby comes up with a “no such file to load” message. Has anyone an idea where gem installs the packages ? Or what did I do wrong ? Dominik

---

## [jQuery Users](https://www.ruby-forum.com/t/jquery-users/89367)

<div class="topic-metadata">

**Author:** [@sshefer](https://www.ruby-forum.com/u/sshefer)\
**Replies:** 3\
**Last updated:** [May 9, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/jquery-users/89367 "2007-05-09T21:42:44Z")

</div>

Any jQuery users out there? I would like to learn more about incorporating jQuery with Rails as the performance seems to be the best of any library I’ve seen and it is great in separating the JScript from the HTML. An…

---

## [Dynamically setting the image directory used by attachment\_f](https://www.ruby-forum.com/t/dynamically-setting-the-image-directory-used-by-attachment-f/87634)

<div class="topic-metadata">

**Author:** [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Replies:** 3\
**Last updated:** [March 30, 2007, 5:14am UTC](https://www.ruby-forum.com/t/dynamically-setting-the-image-directory-used-by-attachment-f/87634 "2007-03-30T05:14:44Z")

</div>

It took me a while to figure this out and I don’t see any wiki pages for attachment\_fu so I figure I would just post this here. I didn’t like the way attachment\_fu by default creates directories under a given director…

---

## [\[solved\] merging controllers and helpers includes?](https://www.ruby-forum.com/t/solved-merging-controllers-and-helpers-includes/87467)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/solved-merging-controllers-and-helpers-includes/87467 "2007-03-02T19:57:07Z")

</div>

all good now - my fu is still weak but growing! iniit.rb now mixes in the module. Jodi Greetings, I’m enginefying a popular rails forum, and have found it’s necessary to include the engines lib module into the appl…

---

## [Rails on Windows](https://www.ruby-forum.com/t/rails-on-windows/86864)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [February 26, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/rails-on-windows/86864 "2007-02-26T17:40:21Z")

</div>

For reasons beyond my control I’ve been saddled with deploying a Rails app I wrote onto a Win2k box. Installing Ruby, Rails, Mysql, and a host of other things that I need was easy enough, and I can now run the actual …

---

## [Ruby-services 0.2.0](https://www.ruby-forum.com/t/ruby-services-0-2-0/77915)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [January 28, 2007, 12:05am UTC](https://www.ruby-forum.com/t/ruby-services-0-2-0/77915 "2007-01-28T00:05:47Z")

</div>

Hi all, The Win32Utils Team is happy to announce the 0.2.0 release of the ruby-services package. This release adds services for both Gems (gem\_server) and FastRI (fastri\_server). This isn’t a typical library or appl…

---

## [Best way to populate a calendar](https://www.ruby-forum.com/t/best-way-to-populate-a-calendar/82963)

<div class="topic-metadata">

**Author:** [@joshs](https://www.ruby-forum.com/u/joshs)\
**Replies:** 3\
**Last updated:** [January 22, 2007, 7:29pm UTC](https://www.ruby-forum.com/t/best-way-to-populate-a-calendar/82963 "2007-01-22T19:29:16Z")

</div>

Hi All, I’m looking for advice on the best way to populate a calendar. Currently, I can think of two ways to do it: Loop through each day on my calendar and request all items for that day from the database in ea…

---

## [Rake bootstrap in test environment](https://www.ruby-forum.com/t/rake-bootstrap-in-test-environment/81894)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [January 16, 2007, 3:14am UTC](https://www.ruby-forum.com/t/rake-bootstrap-in-test-environment/81894 "2007-01-16T03:14:50Z")

</div>

Hi, Is there a way to get db:bootstrap:load to execute on the test database when running ‘rake test’? –Aaron – Aaron P. http://tenderlovemaking.com/

---

## [Autoloading static linked extension](https://www.ruby-forum.com/t/autoloading-static-linked-extension/79726)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 3\
**Last updated:** [December 20, 2006, 6:35pm UTC](https://www.ruby-forum.com/t/autoloading-static-linked-extension/79726 "2006-12-20T18:35:50Z")

</div>

e$B$J$+$@$G$9!#e(B http://moonrock.jp/~don/d/200612.html#d08\_t2 e$B$N7o$G$9$,!"e(B Init\_ext()e$B$G$Oe(Bloading\_tble$B$KF~$i$J$$$N$,860x$G$9!#e(B e$B$H$j$"$($:e(B\[ruby-dev:29523\]e$B$N:\]$K:n$C$?%Q%C%A$G$9!#e(Bext/extmk.…

---

## [Subfolders in app/models](https://www.ruby-forum.com/t/subfolders-in-app-models/75799)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 3\
**Last updated:** [November 14, 2006, 11:52am UTC](https://www.ruby-forum.com/t/subfolders-in-app-models/75799 "2006-11-14T11:52:15Z")

</div>

Hi, I have many many models ('cos of SIngle Table Inheritance), and I want to organize the various subclasses together in subfolders in the app/models folder. SO e.g. app/models/status.rb app/models/statuses/open.…

---

## [Instant Rails - phpMyAdmin](https://www.ruby-forum.com/t/instant-rails-phpmyadmin/70047)

<div class="topic-metadata">

**Author:** [@ike](https://www.ruby-forum.com/u/ike)\
**Replies:** 3\
**Last updated:** [September 26, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/instant-rails-phpmyadmin/70047 "2006-09-26T16:23:00Z")

</div>

Can someone please tell me how I can access phpMyAdmin on a box where I have installed instant rails 1.1x ? Directory structure is: \\Instant Rails \\Instant Rails\\apache \\Instant Rails\\apache\\www (this is the web roo…

---

## [Problems with routes in production mode](https://www.ruby-forum.com/t/problems-with-routes-in-production-mode/69774)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [September 26, 2006, 1:24pm UTC](https://www.ruby-forum.com/t/problems-with-routes-in-production-mode/69774 "2006-09-26T13:24:38Z")

</div>

I can’t seem to solve this issue on anything but a temporary basis I have the following line in one of my models… require “lib/pewholename” and corresponding file in RAILS\_ROOT/lib/pewholename.rb This works perfectly…

---

## [Alternative to :decimal column type for migrations?](https://www.ruby-forum.com/t/alternative-to-decimal-column-type-for-migrations/69295)

<div class="topic-metadata">

**Author:** [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 5:01pm UTC](https://www.ruby-forum.com/t/alternative-to-decimal-column-type-for-migrations/69295 "2006-09-20T17:01:00Z")

</div>

Hi, I’m reading Agile Web D. 2nd Edition and I’m following along by doing the sample application ‘depot’ on my Linux machine. In one of their migrate scripts, they use the following line of code: add\_column :product…

---

## [Clearest Exposition of A very Important technical subject of](https://www.ruby-forum.com/t/clearest-exposition-of-a-very-important-technical-subject-of/67692)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [September 6, 2006, 5:21am UTC](https://www.ruby-forum.com/t/clearest-exposition-of-a-very-important-technical-subject-of/67692 "2006-09-06T05:21:09Z")

</div>

We give you the top links and material on the subject. THIS IS REAL SMOKING GUN !!! EVIDENCE: 911 was CONTROLLED DEMOLITION to make muslims 2nd class We have now video evidence that 911 was an INSIDE JOB like the USS …

---

## [Custom status](https://www.ruby-forum.com/t/custom-status/67225)

<div class="topic-metadata">

**Author:** [@islepilot](https://www.ruby-forum.com/u/islepilot)\
**Replies:** 3\
**Last updated:** [September 2, 2006, 1:50pm UTC](https://www.ruby-forum.com/t/custom-status/67225 "2006-09-02T13:50:20Z")

</div>

I need to add a status “Archived”, so that a page with not show up in the original tree, but will show up in the archive when the user changes the status. I have easily added the status in the status.rb Model and it w…

---

## [Reflecting on associations](https://www.ruby-forum.com/t/reflecting-on-associations/65140)

<div class="topic-metadata">

**Author:** [@Gareth\_A](https://www.ruby-forum.com/u/Gareth_A)\
**Replies:** 3\
**Last updated:** [August 16, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/reflecting-on-associations/65140 "2006-08-16T15:59:25Z")

</div>

Is there an easy way to programatically work out the associations on a model? If not, is there a positive reason it was omitted, or is it just something that hasn’t been implemented yet? Thanks Gareth

---

## [Polymorphic associations and single table inheritance](https://www.ruby-forum.com/t/polymorphic-associations-and-single-table-inheritance/100638)

<div class="topic-metadata">

**Author:** [@Rich\_Cavanaugh](https://www.ruby-forum.com/u/Rich_Cavanaugh)\
**Replies:** 3\
**Last updated:** [July 31, 2006, 6:55am UTC](https://www.ruby-forum.com/t/polymorphic-associations-and-single-table-inheritance/100638 "2006-07-31T06:55:09Z")

</div>

Running into an interesting problem that at first glance appears to be a bug in the AR association code. However, it’s explicitly coded this way so I’m not so sure. I have some code like this: class Address \< ActiveR…

---

## [B = binding; b.eval("xxx")](https://www.ruby-forum.com/t/b-binding-b-eval-xxx/96597)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [July 1, 2006, 5:42pm UTC](https://www.ruby-forum.com/t/b-binding-b-eval-xxx/96597 "2006-07-01T17:42:08Z")

</div>

e$B0J2\<$N$h$&$K$9$k$HMn$A$^$9!#e(B % ./ruby -ve ’ b = binding b.eval(“xxx”)’ ruby 1.9.0 (2006-06-29) \[i686-linux\] zsh: segmentation fault (core dumped) ./ruby -ve ’ b = binding b.eval(“xxx”)’ % gdb ruby core GNU…

---

## [\[ANN\] Capgem 0.1 Released](https://www.ruby-forum.com/t/ann-capgem-0-1-released/96222)

<div class="topic-metadata">

**Author:** [@chovy](https://www.ruby-forum.com/u/chovy)\
**Replies:** 3\
**Last updated:** [June 30, 2006, 7:12pm UTC](https://www.ruby-forum.com/t/ann-capgem-0-1-released/96222 "2006-06-30T19:12:04Z")

</div>

I’ve put up a first release of Capgem on Rubyforge. It’s available under the MIT license. Capgem is an extension to Capistrano which adds a pack task to Capistrano so you can package up your Rails application as a G…

---

## [Auto T/R switching](https://www.ruby-forum.com/t/auto-t-r-switching/64000)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 3\
**Last updated:** [June 30, 2006, 6:12pm UTC](https://www.ruby-forum.com/t/auto-t-r-switching/64000 "2006-06-30T18:12:53Z")

</div>

so, I left out an important part of my e-mail…dang it…ignore the previous e-mail ; ) I was looking through the gmsk2 code and I stumbled across this line of code in the transmit\_path.py file: self.set\_auto\_tr(True) #…

---

## [Collection.each { |x| puts x} in rhtml?](https://www.ruby-forum.com/t/collection-each-x-puts-x-in-rhtml/62043)

<div class="topic-metadata">

**Author:** [@brez](https://www.ruby-forum.com/u/brez)\
**Replies:** 3\
**Last updated:** [May 31, 2006, 12:11am UTC](https://www.ruby-forum.com/t/collection-each-x-puts-x-in-rhtml/62043 "2006-05-31T00:11:32Z")

</div>

Been trying to use the short format for a collection in rhtml, i.e. \<% collection.each {|x| puts x} %\> Doesn’t seem to work though \[outputs nothing\] ?

---

## [Using ParseDate in for loop](https://www.ruby-forum.com/t/using-parsedate-in-for-loop/61217)

<div class="topic-metadata">

**Author:** [@Jason\_Gilstrap](https://www.ruby-forum.com/u/Jason_Gilstrap)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 1:39am UTC](https://www.ruby-forum.com/t/using-parsedate-in-for-loop/61217 "2006-05-23T01:39:03Z")

</div>

Hi, I’m trying to use ParseDate within a for loop but I get this error: can’t dup NilClass Any suggestions for making this work? Thanks, -Jason

---

## [Mac OS X and Uninitialzed Constant Mysql](https://www.ruby-forum.com/t/mac-os-x-and-uninitialzed-constant-mysql/60501)

<div class="topic-metadata">

**Author:** [@jer](https://www.ruby-forum.com/u/jer)\
**Replies:** 3\
**Last updated:** [May 15, 2006, 10:36pm UTC](https://www.ruby-forum.com/t/mac-os-x-and-uninitialzed-constant-mysql/60501 "2006-05-15T22:36:26Z")

</div>

Development Platform: ruby 1.8.4 Rails 1.1.2 mysql “gem” 2.7 Mac OS X (10.4.6), 64-bit Mysql 5.0.19-standard (64-bit) Lighttpd, 1.4.11 I’m trying to startup a simple test rails app against mysql. Rails starts up…

---

## [How do I manually throw a 404?](https://www.ruby-forum.com/t/how-do-i-manually-throw-a-404/58527)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 3\
**Last updated:** [April 23, 2006, 9:59am UTC](https://www.ruby-forum.com/t/how-do-i-manually-throw-a-404/58527 "2006-04-23T09:59:56Z")

</div>

I’m sure this has been asked before but a quick search on the web didn’t give me any hints… I’d like to do this: @person = Person.find\_by\_name throw\_page\_not\_found unless @person Anybody know how to do this, do I ha…

---

## [File Upload Problems](https://www.ruby-forum.com/t/file-upload-problems/57417)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 8:55pm UTC](https://www.ruby-forum.com/t/file-upload-problems/57417 "2006-04-10T20:55:15Z")

</div>

following the instructions at Peak Obsession, I am able to upload to an explicit and existing directory (i.e. c:\\ror\\app\\public\\images\\photo.jpg). However, when I try to upload to a folder that does not exist, say, …

---

## [Form\_remote\_tag : additional onsubmit funct. possible?](https://www.ruby-forum.com/t/form-remote-tag-additional-onsubmit-funct-possible/93800)

<div class="topic-metadata">

**Author:** [@aginghipster](https://www.ruby-forum.com/u/aginghipster)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 6:50pm UTC](https://www.ruby-forum.com/t/form-remote-tag-additional-onsubmit-funct-possible/93800 "2006-04-10T18:50:46Z")

</div>

Is there a way to add onsubmit functionality to a form\_remote\_tag with an additional javascript directive? eg I’d like for an inline javascript to make the form’s div container hidden as soon as the button is pressed …

---

## [Problems with GNU Radio 2.6](https://www.ruby-forum.com/t/problems-with-gnu-radio-2-6/56085)

<div class="topic-metadata">

**Author:** [@Rafael\_Schena](https://www.ruby-forum.com/u/Rafael_Schena)\
**Replies:** 3\
**Last updated:** [March 28, 2006, 6:28am UTC](https://www.ruby-forum.com/t/problems-with-gnu-radio-2-6/56085 "2006-03-28T06:28:47Z")

</div>

I built GNU Radio yesterday, and I can’t run the USRP examples. It returns the message: “segmentation fail” and the USRP examples do not work. Audio examples run normally. Thanks, Rafael Schena View this message in…

---

## [Why 'hello world' doen't work?](https://www.ruby-forum.com/t/why-hello-world-doent-work/71695)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 3\
**Last updated:** [February 22, 2006, 7:14pm UTC](https://www.ruby-forum.com/t/why-hello-world-doent-work/71695 "2006-02-22T19:14:37Z")

</div>

I just learn RoR. I try a ‘hello world’ here http://www.smtservers.com/demo/ you can see all my code. I hope ‘hello world’ works on the URL. http://www.smtservers.com/demo/say/hello But I get a 404 error. Please h…

---

## [Invoke render multiple times](https://www.ruby-forum.com/t/invoke-render-multiple-times/53630)

<div class="topic-metadata">

**Author:** [@marcan](https://www.ruby-forum.com/u/marcan)\
**Replies:** 3\
**Last updated:** [February 13, 2006, 1:14pm UTC](https://www.ruby-forum.com/t/invoke-render-multiple-times/53630 "2006-02-13T13:14:09Z")

</div>

I need to invoke render() multiple times. This is not to render a response to the browser but to get the result of render() and put it in files. Is there another way to do it if it’s not possible to do it directly wit…

---

## [Inheritence of aliases methods - suprise!](https://www.ruby-forum.com/t/inheritence-of-aliases-methods-suprise/53467)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 6, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/inheritence-of-aliases-methods-suprise/53467 "2006-02-06T22:59:48Z")

</div>

this suprised me today: harp:~ \> cat a.rb class A def assertion raise NotImplementedError end alias\_method "assertion?", "assertion" end class B \< A def assertion true end end B::new.ass…

---

## [Global objects?](https://www.ruby-forum.com/t/global-objects/97595)

<div class="topic-metadata">

**Author:** [@justinj](https://www.ruby-forum.com/u/justinj)\
**Replies:** 3\
**Last updated:** [January 26, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/global-objects/97595 "2006-01-26T14:44:08Z")

</div>

Forgive the term global if that’s not applicable in rails (i come from a php background) I have a browse controller with a couple of different methods def method1 @properties = Property.find\_all #other stuff for tha…

---

## [Ruby Weekly News 19th - 25th December 2005](https://www.ruby-forum.com/t/ruby-weekly-news-19th-25th-december-2005/78806)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 28, 2005, 11:30am UTC](https://www.ruby-forum.com/t/ruby-weekly-news-19th-25th-december-2005/78806 "2005-12-28T11:30:42Z")

</div>

http://www.rubyweeklynews.org/20051225.html Ruby Weekly News 19th - 25th December 2005 Ruby Weekly News is a summary of the week’s activity on the ruby-talk mailing list / the comp.lang.ruby newsgroup / Ruby forum, br…

---

## [Help with unless](https://www.ruby-forum.com/t/help-with-unless/74399)

<div class="topic-metadata">

**Author:** [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Replies:** 3\
**Last updated:** [December 23, 2005, 12:42am UTC](https://www.ruby-forum.com/t/help-with-unless/74399 "2005-12-23T00:42:51Z")

</div>

Hi, I need a fresh set of eyes to look at this bit of controller code and tell me why I might be getting an error message: lookup = Profit.find(:all, :conditions =\> \[ "user\_id = ? AND product\_id = ?", uid, pid\]) …

---

## [Online Store Payment Options -- credit cards/ paypal](https://www.ruby-forum.com/t/online-store-payment-options-credit-cards-paypal/50590)

<div class="topic-metadata">

**Author:** [@wksmall](https://www.ruby-forum.com/u/wksmall)\
**Replies:** 3\
**Last updated:** [December 19, 2005, 12:29am UTC](https://www.ruby-forum.com/t/online-store-payment-options-credit-cards-paypal/50590 "2005-12-19T00:29:47Z")

</div>

I’m looking for information on connecting online stores to merchant accounts and paypal. Also – Any recommendations for businesses to use paypal vs. regular credit card merchant accounts vs. what? Warren

---

## [Ruby + yaml = warnings?](https://www.ruby-forum.com/t/ruby-yaml-warnings/50012)

<div class="topic-metadata">

**Author:** [@Kurt\_VSHindenburg](https://www.ruby-forum.com/u/Kurt_VSHindenburg)\
**Replies:** 3\
**Last updated:** [December 12, 2005, 4:31pm UTC](https://www.ruby-forum.com/t/ruby-yaml-warnings/50012 "2005-12-12T16:31:30Z")

</div>

% ruby --version ruby 1.8.3 (2005-09-21) \[i686-linux\] % cat a.rb require ‘yaml’ o = \[ ‘array’, ‘of’, ‘items’ \] o2 = YAML::load( o.to\_yaml ) % ruby -w a.rb (eval):2: warning: method redefined; discarding old taguri …

---

## [Question](https://www.ruby-forum.com/t/question/228428)

<div class="topic-metadata">

**Author:** [@Zakaria\_0x7](https://www.ruby-forum.com/u/Zakaria_0x7)\
**Replies:** 4\
**Last updated:** [April 25, 2013, 12:50am UTC](https://www.ruby-forum.com/t/question/228428 "2013-04-25T00:50:16Z")

</div>

Hi everybody , At first , i like to thank the community of ruby, and the Creator for the best language , and i hope I’ll do my best to improve and help. I like to ask about ruby (Internals): What’s the most importa…

---

## [Is my developer dodgy?](https://www.ruby-forum.com/t/is-my-developer-dodgy/219305)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 28, 2012, 10:38am UTC](https://www.ruby-forum.com/t/is-my-developer-dodgy/219305 "2012-04-28T10:38:25Z")

</div>

Hi! I need some help, my partner and I have hired an app development company to create an iPhone app that allows shops to list their inventory and advertise their specials, there is also a back end admin website that…

---

## [Break from a loop which is run on a xml](https://www.ruby-forum.com/t/break-from-a-loop-which-is-run-on-a-xml/214403)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [December 7, 2011, 11:47am UTC](https://www.ruby-forum.com/t/break-from-a-loop-which-is-run-on-a-xml/214403 "2011-12-07T11:47:37Z")

</div>

how do i loop through a xml and break when i find the node with a specific value…really struggling to break out of a xml loop…most of the iterators just loop but cannot be break - ed please help me with this for e.g. …

---

## [Simple Active Record Query fails on Ruby 1.9.2 not on ree-1.8.2](https://www.ruby-forum.com/t/simple-active-record-query-fails-on-ruby-1-9-2-not-on-ree-1-8-2/209542)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 17, 2011, 10:04am UTC](https://www.ruby-forum.com/t/simple-active-record-query-fails-on-ruby-1-9-2-not-on-ree-1-8-2/209542 "2011-07-17T10:04:55Z")

</div>

Hi, I have this small problem that made me really frustrating for 3 hours. the code is simple. Im using rails 3.1. it uses paperclip gem to manage attachment. this code works fine on production and development either …

---

## [Download Instructions Unnecessarily Complicated, Probably Wrong for Ruby 1.9+](https://www.ruby-forum.com/t/download-instructions-unnecessarily-complicated-probably-wrong-for-ruby-1-9/201920)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 18, 2011, 9:13am UTC](https://www.ruby-forum.com/t/download-instructions-unnecessarily-complicated-probably-wrong-for-ruby-1-9/201920 "2011-01-18T09:13:56Z")

</div>

I downloaded Rails 3 this weekend. I’ve used Rails 2 before, but this will be my first Rails 3 project. I’m not sure if it matters, but I was using a Win7 machine which did not previously have Ruby installed. The ins…

---

## [API + tokens?](https://www.ruby-forum.com/t/api-tokens/195645)

<div class="topic-metadata">

**Author:** [@paulo](https://www.ruby-forum.com/u/paulo)\
**Replies:** 4\
**Last updated:** [September 27, 2010, 5:38pm UTC](https://www.ruby-forum.com/t/api-tokens/195645 "2010-09-27T17:38:29Z")

</div>

Hi all, This is almost certainly a noob question, but I’ve hit a wall developing my rails3 app. I am looking to integrate various sections with a legacy system based on PHP. I had envisaged this being fairly straight…

---

## [Strange image display issue](https://www.ruby-forum.com/t/strange-image-display-issue/194251)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 4\
**Last updated:** [September 1, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/strange-image-display-issue/194251 "2010-09-01T19:14:02Z")

</div>

In my .html.erb I wrote: \<%= image\_tag @displayPath %\> @displayPath = ‘invalid\_plot.png’ when the .erb is rendered. Viewing the page source in FF I find: The file exist in \<rails\_root\>/images, but FF fails to d…

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

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