# Top

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

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

---

## [A twist on polymorphism](https://www.ruby-forum.com/t/a-twist-on-polymorphism/204042)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 14, 2011, 1:41pm UTC](https://www.ruby-forum.com/t/a-twist-on-polymorphism/204042 "2011-03-14T13:41:36Z")

</div>

I’m struggling with the following problem: I have a class, call it ‘School’. An instance of School can have all sorts of assets, such as ‘Books’, ‘Tables’, ‘Chairs’, ‘Teachers’. Each of these asset types is modeled b…

---

## [Implementing a Frontend/Backend structure](https://www.ruby-forum.com/t/implementing-a-frontend-backend-structure/201951)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 18, 2011, 5:19pm UTC](https://www.ruby-forum.com/t/implementing-a-frontend-backend-structure/201951 "2011-01-18T17:19:10Z")

</div>

Hi folks, I am playing around with Ruby on Rails and, probably like most of the beginners, I started by writing a blog-application. My questions is, if there is a special way to build something like a frontend/backen…

---

## [:url being ignored or routing problem?](https://www.ruby-forum.com/t/url-being-ignored-or-routing-problem/192622)

<div class="topic-metadata">

**Author:** [@codecrafted](https://www.ruby-forum.com/u/codecrafted)\
**Replies:** 6\
**Last updated:** [August 4, 2010, 5:43pm UTC](https://www.ruby-forum.com/t/url-being-ignored-or-routing-problem/192622 "2010-08-04T17:43:36Z")

</div>

background i have a page with a drop-down menu item. if any of the choices is selected, a partial gets activated to appear with new drop-down menu choices. the initial page uses a select\_tag, observe\_field, and a di…

---

## [Close Modalpopup with RJS](https://www.ruby-forum.com/t/close-modalpopup-with-rjs/190966)

<div class="topic-metadata">

**Author:** [@kampers](https://www.ruby-forum.com/u/kampers)\
**Replies:** 6\
**Last updated:** [July 2, 2010, 12:00pm UTC](https://www.ruby-forum.com/t/close-modalpopup-with-rjs/190966 "2010-07-02T12:00:45Z")

</div>

hi guys: I’m scratching my head on this one: I have a twitter app where I’m trying to open a modalpopup with a twitter sign in, get them to sign in, then close the popup and refresh the main window. My code however r…

---

## [OptionParser: unexpected behaviour with -help](https://www.ruby-forum.com/t/optionparser-unexpected-behaviour-with-help/168679)

<div class="topic-metadata">

**Author:** [@stephanwehner](https://www.ruby-forum.com/u/stephanwehner)\
**Replies:** 6\
**Last updated:** [May 28, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/optionparser-unexpected-behaviour-with-help/168679 "2009-05-28T18:38:27Z")

</div>

I ran into some unexpected behaviour with the Ruby OptionParser class. When running this script (without any command line arguments) the output is as in the last, commented, line. require ‘optparse’ options = {} Op…

---

## [Mac OS X compilation errors](https://www.ruby-forum.com/t/mac-os-x-compilation-errors/81649)

<div class="topic-metadata">

**Author:** [@StormsShadow\_Silver](https://www.ruby-forum.com/u/StormsShadow_Silver)\
**Replies:** 6\
**Last updated:** [January 12, 2009, 11:27am UTC](https://www.ruby-forum.com/t/mac-os-x-compilation-errors/81649 "2009-01-12T11:27:43Z")

</div>

Hi all, Apologies if this issue has already been resolved - I couldn’t find a mention of it on the wiki or in the list archives. I’m compiling gnuradio-core on Mac OS 10.4. I’ve downloaded all the dependencies succ…

---

## [Macaddr-1.0.0](https://www.ruby-forum.com/t/macaddr-1-0-0/145008)

<div class="topic-metadata">

**Author:** [@ahoward](https://www.ruby-forum.com/u/ahoward)\
**Replies:** 6\
**Last updated:** [August 5, 2008, 6:24am UTC](https://www.ruby-forum.com/t/macaddr-1-0-0/145008 "2008-08-05T06:24:33Z")

</div>

NAME macaddr DESCRIPTION cross platform mac address determination for ruby URI http://codeforpeople.com/lib/ruby http://rubyforg.org/projects/codeforpeople INSTALL gem install macaddr HISTORY 1.0.0: - rdoc ad…

---

## [Hpricot-0.6-java issues](https://www.ruby-forum.com/t/hpricot-0-6-java-issues/143299)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 6\
**Last updated:** [July 31, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/hpricot-0-6-java-issues/143299 "2008-07-31T17:57:07Z")

</div>

Hi all. Has anyone had any issues with Hpricot lately? I’m running on JRuby 1.1.2… irb(main):001:0\> require ‘rubygems’ =\> true irb(main):002:0\> require ‘hpricot’ =\> true irb(main):003:0\> t = “this is a test googl…

---

## [Aprire un file musicale](https://www.ruby-forum.com/t/aprire-un-file-musicale/141023)

<div class="topic-metadata">

**Author:** [@rasitux](https://www.ruby-forum.com/u/rasitux)\
**Replies:** 6\
**Last updated:** [June 22, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/aprire-un-file-musicale/141023 "2008-06-22T22:32:54Z")

</div>

Esiste una stringa da mettere in un programma per aprire un file musicale? Stefano rasi

---

## [Cannot get simple search by date to work with will\_paginate](https://www.ruby-forum.com/t/cannot-get-simple-search-by-date-to-work-with-will-paginate/111584)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 6\
**Last updated:** [December 5, 2007, 5:37am UTC](https://www.ruby-forum.com/t/cannot-get-simple-search-by-date-to-work-with-will-paginate/111584 "2007-12-05T05:37:07Z")

</div>

View: \<% form\_tag attendances\_path, :method =\> ‘get’ do %\> Search attendances by date: \<%= date\_select :search, params\[:search\], :use\_short\_month =\> true, :order =\> \[:month, :day, :year\] %\> \<%= submit\_tag 'Se…

---

## [Indenting REXML output](https://www.ruby-forum.com/t/indenting-rexml-output/120029)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 6\
**Last updated:** [November 13, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/indenting-rexml-output/120029 "2007-11-13T18:24:30Z")

</div>

Hey Guys, Anyone know how to get REXML to generate indented XML? At the moment I get something like this: Superglue is great stuff. When I really want this: Superglue is great stuff. Sonny.

---

## [Why aren't filenames being lowercased?](https://www.ruby-forum.com/t/why-arent-filenames-being-lowercased/110959)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 6\
**Last updated:** [August 1, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/why-arent-filenames-being-lowercased/110959 "2007-08-01T15:12:44Z")

</div>

This is a simple script that I’m just using for something bigger in the near future, kind of a test. I’m looking in a directory of TIFF files, lower-casing the filenames, and then listing them with PDF named counterpa…

---

## [Expire a page and its children?](https://www.ruby-forum.com/t/expire-a-page-and-its-children/107453)

<div class="topic-metadata">

**Author:** [@rpheath](https://www.ruby-forum.com/u/rpheath)\
**Replies:** 6\
**Last updated:** [June 22, 2007, 10:48am UTC](https://www.ruby-forum.com/t/expire-a-page-and-its-children/107453 "2007-06-22T10:48:50Z")

</div>

Is there an easy way to expire a page and all its children? For example, this page: http://biola.artofmission.com/news/ and all its children need to be expired whenever a new page is posted in the news section. I was…

---

## [Lighttd 1.5](https://www.ruby-forum.com/t/lighttd-1-5/90962)

<div class="topic-metadata">

**Author:** [@pibireddu](https://www.ruby-forum.com/u/pibireddu)\
**Replies:** 6\
**Last updated:** [April 3, 2007, 12:54pm UTC](https://www.ruby-forum.com/t/lighttd-1-5/90962 "2007-04-03T12:54:15Z")

</div>

Ciao a tutti, mi chiamo Cristian Annis e sto di recente scoprendo il mondo di Ruby e ora di Rails, ora sto leggendo “Ruby on rails made easy” che consiglia l’installazione di lighttd,ecc. Dal sito web di lighttd ho s…

---

## [Ruby regex lookarounds?](https://www.ruby-forum.com/t/ruby-regex-lookarounds/88771)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 6\
**Last updated:** [March 18, 2007, 12:31pm UTC](https://www.ruby-forum.com/t/ruby-regex-lookarounds/88771 "2007-03-18T12:31:04Z")

</div>

In Programming Ruby(1st Ed), it says: The match operators return the character position at which the match occurred. They also have the side effect of setting a whole load of Ruby variables. $& receives the part of the…

---

## [Acts\_as\_attachment plugin + rails](https://www.ruby-forum.com/t/acts-as-attachment-plugin-rails/70656)

<div class="topic-metadata">

**Author:** [@so0ly](https://www.ruby-forum.com/u/so0ly)\
**Replies:** 6\
**Last updated:** [October 29, 2006, 2:42am UTC](https://www.ruby-forum.com/t/acts-as-attachment-plugin-rails/70656 "2006-10-29T02:42:08Z")

</div>

Hello, Is it possible to use the acts\_as\_attachment plugin with a remote\_form ? because when i try to use it i don’t get the file parameter. When i use it without ajax it works perfectly. thnx in advance Daan P.

---

## [\[ANN\] Rails CHM Documentation - 1.1.6](https://www.ruby-forum.com/t/ann-rails-chm-documentation-1-1-6/72365)

<div class="topic-metadata">

**Author:** [@DeLynn\_B](https://www.ruby-forum.com/u/DeLynn_B)\
**Replies:** 6\
**Last updated:** [October 17, 2006, 4:24am UTC](https://www.ruby-forum.com/t/ann-rails-chm-documentation-1-1-6/72365 "2006-10-17T04:24:53Z")

</div>

Just a quick email to let those interested know that I’ve posted an updated version of my CHM document that now has all the documentation from the 1.1.6 release of Rails. You can read more about it here: http://delynn…

---

## [Make distcheck fails](https://www.ruby-forum.com/t/make-distcheck-fails/102423)

<div class="topic-metadata">

**Author:** [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/make-distcheck-fails/102423 "2006-08-15T14:17:41Z")

</div>

make distcheck fails cause it cannot find the file /gnuradio\_svn/gr-trellis/src/python/awgn1o2\_4.fsm inside the directory /gnuradio\_svn/gnuradio-2.8svn/gr-trellis/src/python so one of the qa\_ checks fails. How shou…

---

## [Dynamic data passing thru Rails to Flash](https://www.ruby-forum.com/t/dynamic-data-passing-thru-rails-to-flash/60242)

<div class="topic-metadata">

**Author:** [@gbalaji](https://www.ruby-forum.com/u/gbalaji)\
**Replies:** 6\
**Last updated:** [May 13, 2006, 7:13am UTC](https://www.ruby-forum.com/t/dynamic-data-passing-thru-rails-to-flash/60242 "2006-05-13T07:13:04Z")

</div>

Hi, I am using Flash Dashboard and 3 sets of listbox. When i change my first list box say name i need to dynamically change the second list box and from the second list box when i choose an name i need to change the …

---

## [How To Validate Boolean Form Field](https://www.ruby-forum.com/t/how-to-validate-boolean-form-field/74984)

<div class="topic-metadata">

**Author:** [@mfeadler](https://www.ruby-forum.com/u/mfeadler)\
**Replies:** 6\
**Last updated:** [March 2, 2006, 9:52pm UTC](https://www.ruby-forum.com/t/how-to-validate-boolean-form-field/74984 "2006-03-02T21:52:59Z")

</div>

Hello all. I’ve got the following in my model: class Individual \< ActiveRecord::Base validates\_presence\_of :first\_name, :last\_name, :street, :city, :state, :zip validates\_acceptance\_of :AZ\_resident, :message =\> “You…

---

## [Starting Ruby](https://www.ruby-forum.com/t/starting-ruby/65746)

<div class="topic-metadata">

**Author:** [@anil](https://www.ruby-forum.com/u/anil)\
**Replies:** 6\
**Last updated:** [February 11, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/starting-ruby/65746 "2006-02-11T23:03:13Z")

</div>

Hi, i m a web-developer(php).I just started learning ruby. I already tried basic tutorials online.I also installed ruby on my machine(fedora). But i since not understand where i have to write ruby code & how to exec…

---

## [Upload notification](https://www.ruby-forum.com/t/upload-notification/205178)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [April 1, 2011, 1:37pm UTC](https://www.ruby-forum.com/t/upload-notification/205178 "2011-04-01T13:37:16Z")

</div>

hi all, i am uploading files via nginx upload module.can i pass query parameters to tomcat which is running on backend after every file upload is completed? can i do that via configuration? Posted at Nginx Forum:

---

## [NoMethodError#message takes very long](https://www.ruby-forum.com/t/nomethoderror-message-takes-very-long/204577)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [March 17, 2011, 9:09am UTC](https://www.ruby-forum.com/t/nomethoderror-message-takes-very-long/204577 "2011-03-17T09:09:21Z")

</div>

Hello. I’ve been noticing a problem for a while in a larger application and today I produced a minimal example, given below. When a method is not found, Sinatra calls NoMethodError#message to display a nice error me…

---

## [Form field returns string instead of int](https://www.ruby-forum.com/t/form-field-returns-string-instead-of-int/124962)

<div class="topic-metadata">

**Author:** [@spokra](https://www.ruby-forum.com/u/spokra)\
**Replies:** 8\
**Last updated:** [January 4, 2008, 5:59am UTC](https://www.ruby-forum.com/t/form-field-returns-string-instead-of-int/124962 "2008-01-04T05:59:52Z")

</div>

\<%= select( “user” , “type”, { “Practice” =\> 1, “Doctor” =\> 2, “Hygenist” =\>3, “Assistant” =\> 4 }, {:include\_blank =\> false, :prompt =\>true}) %\> produces: Please select Hygenist Assistant Doctor Practice and the f…

---

## [Two arrays: return only values that exist in both arrays?](https://www.ruby-forum.com/t/two-arrays-return-only-values-that-exist-in-both-arrays/121068)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 8\
**Last updated:** [November 23, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/two-arrays-return-only-values-that-exist-in-both-arrays/121068 "2007-11-23T20:07:13Z")

</div>

Hi all a = \[:one, :two, :three, :six\] b = \[:two, :four, :five: six\] I want to extract the values of two arrays which exist in both ones (a and b): =\> \[:two, :six\] Does there exist a method for this? Thanks Josh

---

## [How to run my application in browser without web connecting](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 8\
**Last updated:** [September 19, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883 "2007-09-19T15:17:51Z")

</div>

hello: I moved to a new place where i can not use internet.But i found i can not run my web app in my browser. For example,when i input "http://localhost:3000/store/index"in the browser after running web server:ruby…

---

## [Spin buffers](https://www.ruby-forum.com/t/spin-buffers/109507)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 8\
**Last updated:** [July 18, 2007, 4:44am UTC](https://www.ruby-forum.com/t/spin-buffers/109507 "2007-07-18T04:44:25Z")

</div>

Hmm. Just being reading the Dr. Dobbs. I certainly have hit the bottleneck talked about in this article… Spin Buffers | Dr Dobb's when using the ‘thread.rb’ Queue class. I hacked around it by creating a Queue of Arra…

---

## [How to stop the ML sending my mails back to me?](https://www.ruby-forum.com/t/how-to-stop-the-ml-sending-my-mails-back-to-me/103888)

<div class="topic-metadata">

**Author:** [@fcruxen](https://www.ruby-forum.com/u/fcruxen)\
**Replies:** 8\
**Last updated:** [May 18, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/how-to-stop-the-ml-sending-my-mails-back-to-me/103888 "2007-05-18T15:00:18Z")

</div>

I don’t want to receive the messages I send, it screws my Gmail display. I have searched everywhere for a way to do that with no luck. I even tried to send a message to ruby-talk-ctl with the #msg command, but I got n…

---

## [External CSS files](https://www.ruby-forum.com/t/external-css-files/64317)

<div class="topic-metadata">

**Author:** [@thebestsophist](https://www.ruby-forum.com/u/thebestsophist)\
**Replies:** 8\
**Last updated:** [June 24, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/external-css-files/64317 "2006-06-24T15:42:57Z")

</div>

I fell in love with Radiant’s simplicity the other day. Now I am seeing if I can migrate a couple sites over to Radiant, but I’m not sure how to create .css files within the system. Did I something dreadfully obvious…

---

## [10x Developer Puzzle, Solved!](https://www.ruby-forum.com/t/10x-developer-puzzle-solved/266446)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [September 3, 2024, 7:22pm UTC](https://www.ruby-forum.com/t/10x-developer-puzzle-solved/266446 "2024-09-03T19:22:45Z")

</div>

Here is a thought! The mythical 10x Developer is simply a developer that eliminates 9/10 of unnecessary over-engineered code, and then writes the remaining 1/10 of the code needed at the productivity rate of a 1x Develop…

---

## [Using MySQL over Postgresql while Deploying my own host](https://www.ruby-forum.com/t/using-mysql-over-postgresql-while-deploying-my-own-host/242908)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 8, 2015, 8:32am UTC](https://www.ruby-forum.com/t/using-mysql-over-postgresql-while-deploying-my-own-host/242908 "2015-08-08T08:32:42Z")

</div>

The subject is precise. I’m new to Ruby on Rails but I am learning everyday. Also I am a php programmer and I have my own host I am wanting to deploy to. Does anyone have any links or advice on using MySQL over Postg…

---

## [Ofdm frequency offset](https://www.ruby-forum.com/t/ofdm-frequency-offset/242441)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [June 24, 2015, 6:16pm UTC](https://www.ruby-forum.com/t/ofdm-frequency-offset/242441 "2015-06-24T18:16:56Z")

</div>

Dear all: Thank you in advance. 1. I want to ask a question about the new ofdm example.And I know the receiver have used the SCA(schmidl and cox algorithm) algorithm.Now in my application,maybe this algorithm isn’t …

---

## [How it works: Work in Valley](https://www.ruby-forum.com/t/how-it-works-work-in-valley/228948)

<div class="topic-metadata">

**Author:** [@iago\_a](https://www.ruby-forum.com/u/iago_a)\
**Replies:** 0\
**Last updated:** [May 14, 2013, 6:09am UTC](https://www.ruby-forum.com/t/how-it-works-work-in-valley/228948 "2013-05-14T06:09:46Z")

</div>

Hi guys, I want to go USA for work in IT. I have knowledge in programming and I work a lot, how is live in Silicon Valley to work? I need a university to enter a good “start up”(like a Facebook, Google, Apple in your…

---

## [Zoom out/in problem](https://www.ruby-forum.com/t/zoom-out-in-problem/228230)

<div class="topic-metadata">

**Author:** [@serhat\_b](https://www.ruby-forum.com/u/serhat_b)\
**Replies:** 0\
**Last updated:** [April 14, 2013, 6:48pm UTC](https://www.ruby-forum.com/t/zoom-out-in-problem/228230 "2013-04-14T18:48:25Z")

</div>

It is possible to add to new gnuradio (3.7 versiyon) zoom out and in (if you added it i dont know) with mouse or something… Beacause I had bored at 3.6.4 version at this case. because it is may going to make easy use …

---

## [What's the difference between mattr\_accessor and cattr\_accessor in ActiveSupport?](https://www.ruby-forum.com/t/whats-the-difference-between-mattr-accessor-and-cattr-accessor-in-activesupport/212029)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 20, 2011, 3:19pm UTC](https://www.ruby-forum.com/t/whats-the-difference-between-mattr-accessor-and-cattr-accessor-in-activesupport/212029 "2011-09-20T15:19:03Z")

</div>

Hi, I was reading source code of mattr\_accessor and cattr\_accessor in ActiveSupport and found out that the method definitions are all most identical. Except cattr\_writer accepts a optional block. I googled and read r…

---

## [RoR with Reia](https://www.ruby-forum.com/t/ror-with-reia/207441)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 25, 2011, 11:09pm UTC](https://www.ruby-forum.com/t/ror-with-reia/207441 "2011-05-25T23:09:21Z")

</div>

Hello, would be possible to run RoR with Reia ( Elixir (programming language) - Wikipedia )?

---

## [Incorrect paths generated in Windows](https://www.ruby-forum.com/t/incorrect-paths-generated-in-windows/206833)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 12, 2011, 12:15am UTC](https://www.ruby-forum.com/t/incorrect-paths-generated-in-windows/206833 "2011-05-12T00:15:54Z")

</div>

Hello, I’m currently busy compiling several gems from source on my Windows platform. Yes, you’ve read that right, W-I-N-D-O-W-S platform :slight\_smile: Most of the gems and ruby code is compiling without issues, but …

---

## [Weird problem with json rendering of model of relationship in Rails 3.0.4](https://www.ruby-forum.com/t/weird-problem-with-json-rendering-of-model-of-relationship-in-rails-3-0-4/204071)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 4, 2011, 7:53pm UTC](https://www.ruby-forum.com/t/weird-problem-with-json-rendering-of-model-of-relationship-in-rails-3-0-4/204071 "2011-03-04T19:53:59Z")

</div>

Hi, I’ve got a relationship through a one\_to\_many :though relationship: Controller: class TodaysOrdersController \< ApplicationController respond\_to :json before\_filter :require\_user authorize\_resource :class =\> fal…

---

## [Syncing RubySpec and mspec](https://www.ruby-forum.com/t/syncing-rubyspec-and-mspec/190847)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 3\
**Last updated:** [June 30, 2010, 8:24am UTC](https://www.ruby-forum.com/t/syncing-rubyspec-and-mspec/190847 "2010-06-30T08:24:00Z")

</div>

Hey all! I’ve been talking with Jim via email about helping with syncing IronRuby’s copy of RubySpec and mspec with the official repos. I’v started work on pulling in the latest RubySpec changes. These also require t…

---

## [Updated BBN 80211 code for current release (3.1.3)?](https://www.ruby-forum.com/t/updated-bbn-80211-code-for-current-release-3-1-3/154804)

<div class="topic-metadata">

**Author:** [@Yihu\_Li](https://www.ruby-forum.com/u/Yihu_Li)\
**Replies:** 3\
**Last updated:** [January 3, 2009, 1:48am UTC](https://www.ruby-forum.com/t/updated-bbn-80211-code-for-current-release-3-1-3/154804 "2009-01-03T01:48:48Z")

</div>

Hi everyone, I am new to gnuradio and plan to do some cross-layer implementation (MAC and PHY layers with MIMO) on gnuradio. I intalled the newest stable version of gnuradio (v3.1.3) and plan to use BBN 802.11 code …

---

## [How to create an object of File dialog box](https://www.ruby-forum.com/t/how-to-create-an-object-of-file-dialog-box/149666)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 0\
**Last updated:** [September 27, 2008, 8:56pm UTC](https://www.ruby-forum.com/t/how-to-create-an-object-of-file-dialog-box/149666 "2008-09-27T20:56:30Z")

</div>

Hi all, I want to create a file dialog box. And I copy a script from FXRuby (by Lyle J.) as follow: require ‘fox16’ include Fox dialog=FXFileDialog.new(self,“Open Files”) #line 4 dialog.patternList=\[ “All Files ()…

---

## [How to run a shell script from rails](https://www.ruby-forum.com/t/how-to-run-a-shell-script-from-rails/146095)

<div class="topic-metadata">

**Author:** [@APAPAP](https://www.ruby-forum.com/u/APAPAP)\
**Replies:** 3\
**Last updated:** [August 18, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/how-to-run-a-shell-script-from-rails/146095 "2008-08-18T23:01:37Z")

</div>

Hello, I’m new for ruby on rails. I have a shell script but really don’t know how to run it from rails. And after the script has been executed, how can I get the value of the variables that has been created by the sc…

---

## [Installation issues nginx-0.6.32 and mod\_zip-1.1.1](https://www.ruby-forum.com/t/installation-issues-nginx-0-6-32-and-mod-zip-1-1-1/145240)

<div class="topic-metadata">

**Author:** [@Mark\_Jarecki](https://www.ruby-forum.com/u/Mark_Jarecki)\
**Replies:** 3\
**Last updated:** [August 7, 2008, 6:42am UTC](https://www.ruby-forum.com/t/installation-issues-nginx-0-6-32-and-mod-zip-1-1-1/145240 "2008-08-07T06:42:05Z")

</div>

Hi there, just starting out with Nginx, started installing and have a few warnings appearing during ‘make’. I’m running Debian Etch 32-bit with latest set of updates. I undergo the following install procedure: wget …

---

## [Logging all method calls?](https://www.ruby-forum.com/t/logging-all-method-calls/114443)

<div class="topic-metadata">

**Author:** [@s04015](https://www.ruby-forum.com/u/s04015)\
**Replies:** 3\
**Last updated:** [September 13, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/logging-all-method-calls/114443 "2007-09-13T22:41:41Z")

</div>

Hey Is there a way to log all the method calls that occur throughout the execution of some script? Something like an hook that gets called whenever a method executes would be ideal. Eg. class Object def before\_met…

---

## [Seeking C# references about Ruby Code block functionality](https://www.ruby-forum.com/t/seeking-c-references-about-ruby-code-block-functionality/104410)

<div class="topic-metadata">

**Author:** [@dkmd\_nielsen](https://www.ruby-forum.com/u/dkmd_nielsen)\
**Replies:** 3\
**Last updated:** [May 18, 2007, 3:06pm UTC](https://www.ruby-forum.com/t/seeking-c-references-about-ruby-code-block-functionality/104410 "2007-05-18T15:06:21Z")

</div>

I have two rather simple class methods coded in Ruby…my own each iterator: Loop through each instruction in the block, yielding the result from the specified code block. def each(&logic) @instructions.each {|instr| y…

---

## [Where did tmcode go?](https://www.ruby-forum.com/t/where-did-tmcode-go/89299)

<div class="topic-metadata">

**Author:** [@Urban\_H](https://www.ruby-forum.com/u/Urban_H)\
**Replies:** 3\
**Last updated:** [March 19, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/where-did-tmcode-go/89299 "2007-03-19T21:03:48Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hej! I just realized that my code snippets don’t look acceptable anymore. I guess that’s because I’ve used the typo:tmcode macro for them. Is this completely gone or am…

---

## [RSpec - superclass mismatch](https://www.ruby-forum.com/t/rspec-superclass-mismatch/76751)

<div class="topic-metadata">

**Author:** [@huli](https://www.ruby-forum.com/u/huli)\
**Replies:** 3\
**Last updated:** [November 20, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/rspec-superclass-mismatch/76751 "2006-11-20T23:22:36Z")

</div>

Today I was installing the rspec plugin for my railsapp. Installation works fine but after I tried to run ‘rake spec’ I got: c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.4.2/test/test\_help.rb:5: superclass mis match for…

---

## [Indexing and searching across multiple locales](https://www.ruby-forum.com/t/indexing-and-searching-across-multiple-locales/74797)

<div class="topic-metadata">

**Author:** [@Chris\_Gansen](https://www.ruby-forum.com/u/Chris_Gansen)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:01am UTC](https://www.ruby-forum.com/t/indexing-and-searching-across-multiple-locales/74797 "2006-11-07T11:01:36Z")

</div>

Hi - I’m currently investigating support for Ferret and content that spans multiple locales. I am particularly interested in using stemming and fuzzy searches (e.g. with slop factor) across multiple locales. So far …

---

## [Salted Hash Login Generator problem](https://www.ruby-forum.com/t/salted-hash-login-generator-problem/57737)

<div class="topic-metadata">

**Author:** [@robtotheb](https://www.ruby-forum.com/u/robtotheb)\
**Replies:** 3\
**Last updated:** [April 13, 2006, 10:12pm UTC](https://www.ruby-forum.com/t/salted-hash-login-generator-problem/57737 "2006-04-13T22:12:22Z")

</div>

Im trying to install salted and get errors when running the rake test… /usr/bin/ruby1.8 -Ilib:test “/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake\_test\_loader .rb” “test/unit/localization\_test.rb” “test/unit/use…

---

## [ActiveRecord row-by-row processing](https://www.ruby-forum.com/t/activerecord-row-by-row-processing/54839)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 3\
**Last updated:** [March 15, 2006, 4:51am UTC](https://www.ruby-forum.com/t/activerecord-row-by-row-processing/54839 "2006-03-15T04:51:28Z")

</div>

I want to use ActiveRecord outside of Rails to do processing on large tables. I want to be able to process the rows as they are retrieved rather than having to store the results in an intermediate array. Any suggesti…

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

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