# Top

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

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

---

## [Working on a CMS, problem with Frontend](https://www.ruby-forum.com/t/working-on-a-cms-problem-with-frontend/76437)

<div class="topic-metadata">

**Author:** [@mattmcswain](https://www.ruby-forum.com/u/mattmcswain)\
**Replies:** 8\
**Last updated:** [November 19, 2006, 3:46pm UTC](https://www.ruby-forum.com/t/working-on-a-cms-problem-with-frontend/76437 "2006-11-19T15:46:42Z")

</div>

So I’m working on a CMS to help record labels manage artists, albums, and shows So at the moment I have Artist has\_many :albums has\_many :shows Album belongs\_to :artist Show belongs\_to :artist What I’m trying t…

---

## [Communicating with ruby debugger](https://www.ruby-forum.com/t/communicating-with-ruby-debugger/72589)

<div class="topic-metadata">

**Author:** [@Shea\_M](https://www.ruby-forum.com/u/Shea_M)\
**Replies:** 8\
**Last updated:** [October 18, 2006, 10:44am UTC](https://www.ruby-forum.com/t/communicating-with-ruby-debugger/72589 "2006-10-18T10:44:06Z")

</div>

For kicks I would like to write a minimalistic GUI interface to the debugger. I prefer C++ or C# for GUI applications (this is not to debate here). What is the best way to establish communication between my GUI and th…

---

## [Underscore character in session var](https://www.ruby-forum.com/t/underscore-character-in-session-var/52513)

<div class="topic-metadata">

**Author:** [@timz](https://www.ruby-forum.com/u/timz)\
**Replies:** 8\
**Last updated:** [January 16, 2006, 12:00am UTC](https://www.ruby-forum.com/t/underscore-character-in-session-var/52513 "2006-01-16T00:00:25Z")

</div>

I stumbled across a weird problem i can do: @session\[:userid\] = 1 but cant: @session\[:user\_id\] = 1 The second session var doesnt set. Is there a config setting for this?

---

## [Created\_on & updated\_on - helper to display date only](https://www.ruby-forum.com/t/created-on-updated-on-helper-to-display-date-only/51191)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 3\
**Last updated:** [December 27, 2005, 11:01pm UTC](https://www.ruby-forum.com/t/created-on-updated-on-helper-to-display-date-only/51191 "2005-12-27T23:01:14Z")

</div>

All, My initial list is rather busy. I would like to shorten the created\_on and updated\_on fields to just display the date, not the time. Best wold be a simple 12/28/05 type of presentation. I’ve found the format h…

---

## [Ruby-dev summary 27761-28026](https://www.ruby-forum.com/t/ruby-dev-summary-27761-28026/50649)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 8\
**Last updated:** [December 19, 2005, 11:55pm UTC](https://www.ruby-forum.com/t/ruby-dev-summary-27761-28026/50649 "2005-12-19T23:55:43Z")

</div>

Hi, This is ruby-dev summary 27761-28026. lity information (webrick, xmlrpc) Matz reported two vulnerabilities about webrick and xmlrpc (These problems allow DoS attack) on ruby 1.8.2 or earlier. Problems were fix…

---

## [String with single quote](https://www.ruby-forum.com/t/string-with-single-quote/241719)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 27, 2015, 1:23am UTC](https://www.ruby-forum.com/t/string-with-single-quote/241719 "2015-04-27T01:23:40Z")

</div>

Hi, I’m rendering a text inside a modal (bootstrap). But this text has this character: ’ Example: Affonso Romano de Sant’Anna When the text above is rendered, nothing occurs. I think is some problem with that charac…

---

## [Double authocetation : how can I do it the best?](https://www.ruby-forum.com/t/double-authocetation-how-can-i-do-it-the-best/233541)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [December 23, 2014, 10:20am UTC](https://www.ruby-forum.com/t/double-authocetation-how-can-i-do-it-the-best/233541 "2014-12-23T10:20:13Z")

</div>

Hello, I have this situation. I m a volunteer on a toy library and I want to write a financial / borrow app for the toy library. Now I have two seperate roles : staff member and client. Staff member can log in and …

---

## [How can I do array program in different way?](https://www.ruby-forum.com/t/how-can-i-do-array-program-in-different-way/240678)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 25, 2014, 5:40pm UTC](https://www.ruby-forum.com/t/how-can-i-do-array-program-in-different-way/240678 "2014-04-25T17:40:53Z")

</div>

I write following program to find maximum element from array. a = \[15,2,34,3,4,6,8,65,43,23\] for i in a puts i if i\>a\[8\] max = i end end puts “maximum element of array is: #{max}” In above program, If I do not w…

---

## [Error trying to download Ruby Gems on Windows](https://www.ruby-forum.com/t/error-trying-to-download-ruby-gems-on-windows/235309)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 24, 2013, 9:15pm UTC](https://www.ruby-forum.com/t/error-trying-to-download-ruby-gems-on-windows/235309 "2013-06-24T21:15:42Z")

</div>

I’m trying to download gems and every time I do I get this error: C:\\Ruby187\\rubygems-1.2.0\>gem install rake ERROR: could not find gem rake locally or in a repository I have been messing with it for two days now tryi…

---

## [Need helping parsing XML data retrieved from rest call](https://www.ruby-forum.com/t/need-helping-parsing-xml-data-retrieved-from-rest-call/225159)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 19, 2012, 12:32am UTC](https://www.ruby-forum.com/t/need-helping-parsing-xml-data-retrieved-from-rest-call/225159 "2012-12-19T00:32:31Z")

</div>

I wrote a web service in C#/ASP and published in IIS. This web service performs a function for Windows servers during the build process. I need the client to make the web call and grab the auto-generated GUID that i…

---

## [Leading Institutes or Universities in SDR](https://www.ruby-forum.com/t/leading-institutes-or-universities-in-sdr/217686)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 8, 2012, 11:25pm UTC](https://www.ruby-forum.com/t/leading-institutes-or-universities-in-sdr/217686 "2012-03-08T23:25:18Z")

</div>

Hi, Guys! I am planning on pursing my PHD degree in a leading university in Software Defined Radio research. I know VT is a reputed institute in SDR research. Are there any other good universities which are also foc…

---

## [Recovering timing after overflow](https://www.ruby-forum.com/t/recovering-timing-after-overflow/213200)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 26, 2011, 6:05pm UTC](https://www.ruby-forum.com/t/recovering-timing-after-overflow/213200 "2011-10-26T18:05:23Z")

</div>

Hi, I have been able to use the stream tagging to determine the accurate timing for the first sample of the stream. However, I run into problems after an overflow. It does seem to be feasible to recover timing by loo…

---

## [How about new syntax: "object.\\method" returns a Method instance?](https://www.ruby-forum.com/t/how-about-new-syntax-object-method-returns-a-method-instance/212202)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 29, 2011, 4:45pm UTC](https://www.ruby-forum.com/t/how-about-new-syntax-object-method-returns-a-method-instance/212202 "2011-09-29T16:45:25Z")

</div>

I’m afraid the normal way of creating a Method instance is circuitous and a bit hard to write: a\_method = object.method(:method\_name) I find the way of obtaining a function/method object in Python is so easy, for exa…

---

## [Problem with multithreading on Ruby On Rail](https://www.ruby-forum.com/t/problem-with-multithreading-on-ruby-on-rail/195795)

<div class="topic-metadata">

**Author:** [@yann](https://www.ruby-forum.com/u/yann)\
**Replies:** 4\
**Last updated:** [September 30, 2010, 11:35am UTC](https://www.ruby-forum.com/t/problem-with-multithreading-on-ruby-on-rail/195795 "2010-09-30T11:35:47Z")

</div>

Hi, first of all, sorry for my english. to start, here my config : Server linux : ubuntu 8.4 Rails : 2.3.4 Ruby : 1.8.7 (2010-06-23 patchlevel 299) \[x86\_64-linux\] I wanted to test the charge capacity of my server, …

---

## [Error when trying to run two python programs simultaneously](https://www.ruby-forum.com/t/error-when-trying-to-run-two-python-programs-simultaneously/185611)

<div class="topic-metadata">

**Author:** [@drcabrejos](https://www.ruby-forum.com/u/drcabrejos)\
**Replies:** 4\
**Last updated:** [March 23, 2010, 7:26pm UTC](https://www.ruby-forum.com/t/error-when-trying-to-run-two-python-programs-simultaneously/185611 "2010-03-23T19:26:09Z")

</div>

Hi All, I have 2 (two) USRP1 and 2 (two) RFX2400 connected to each USRP1. What I want to do is to have communication between the devices and scan for the spectrum simultaneously. If running programs one by one, all …

---

## [Attr\_accessible :field - obj.field="xxx" still possible?!](https://www.ruby-forum.com/t/attr-accessible-field-obj-field-xxx-still-possible/177223)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 4\
**Last updated:** [October 13, 2009, 9:03pm UTC](https://www.ruby-forum.com/t/attr-accessible-field-obj-field-xxx-still-possible/177223 "2009-10-13T21:03:42Z")

</div>

Hi all MyClass \< ActiveRecord::Base attr\_protected :field end In script/console: x = MyClass.find 1 =\> field = “original” x.field=“blah” =\> “blah” x.save =\> … x = MyClass.find 1 =\> field = “original” Why is ther…

---

## [Can't get an Array function to be visible inside ApplicationHelper](https://www.ruby-forum.com/t/cant-get-an-array-function-to-be-visible-inside-applicationhelper/165317)

<div class="topic-metadata">

**Author:** [@skt](https://www.ruby-forum.com/u/skt)\
**Replies:** 4\
**Last updated:** [April 12, 2009, 9:25pm UTC](https://www.ruby-forum.com/t/cant-get-an-array-function-to-be-visible-inside-applicationhelper/165317 "2009-04-12T21:25:52Z")

</div>

Folks, I seem to be missing something basic here. I am trying to call a function from my application layout that will return me a hash of the roles for the user currently signed in. Here is the simplified code I have…

---

## [Concatenation](https://www.ruby-forum.com/t/concatenation/162968)

<div class="topic-metadata">

**Author:** [@tanker](https://www.ruby-forum.com/u/tanker)\
**Replies:** 4\
**Last updated:** [March 17, 2009, 11:54am UTC](https://www.ruby-forum.com/t/concatenation/162968 "2009-03-17T11:54:33Z")

</div>

Salut tout le monde j’aimerai faire de la concatenation avec 2 champs de ma table(BD mysql) mais je ne connais pas la syntaxe voila mon exple @orders = Order.find\_all\_by\_name.concat\_password(params\[:user\])

---

## [Grep-like search help](https://www.ruby-forum.com/t/grep-like-search-help/159683)

<div class="topic-metadata">

**Author:** [@toltec](https://www.ruby-forum.com/u/toltec)\
**Replies:** 4\
**Last updated:** [February 7, 2009, 4:44pm UTC](https://www.ruby-forum.com/t/grep-like-search-help/159683 "2009-02-07T16:44:28Z")

</div>

Hello, noob here. I have a table called ‘entries’ with lots of sentences, one per row (id). I need to find specific sentences that have the words I’m looking for anywhere in them. For example: The bird entered the…

---

## [How to use the type in the Mysql::Field object?](https://www.ruby-forum.com/t/how-to-use-the-type-in-the-mysql-field-object/158365)

<div class="topic-metadata">

**Author:** [@pjpatten](https://www.ruby-forum.com/u/pjpatten)\
**Replies:** 4\
**Last updated:** [January 25, 2009, 12:00am UTC](https://www.ruby-forum.com/t/how-to-use-the-type-in-the-mysql-field-object/158365 "2009-01-25T00:00:04Z")

</div>

I’m trying to do something like this (not really, I want to use the type info instead of just displaying it…): fields = $db.list\_fields(tablename).fetch\_fields fields.each do |field| puts “Type = #{field.type} (#{fie…

---

## [Railscast 75, Observe\_field and Shopping Cart](https://www.ruby-forum.com/t/railscast-75-observe-field-and-shopping-cart/151671)

<div class="topic-metadata">

**Author:** [@vinay](https://www.ruby-forum.com/u/vinay)\
**Replies:** 4\
**Last updated:** [November 5, 2008, 6:30am UTC](https://www.ruby-forum.com/t/railscast-75-observe-field-and-shopping-cart/151671 "2008-11-05T06:30:47Z")

</div>

Hi all, I have the shopping cart page where a user can add items dynamically through ajax as explained in Railscast episode 75. I am using observe\_field to observe the ‘quantity’ and ‘cost’ fields to update the total…

---

## [Ruby is on 9th Position and C# on 8th as per Tiobe Index](https://www.ruby-forum.com/t/ruby-is-on-9th-position-and-c-on-8th-as-per-tiobe-index/145278)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 4\
**Last updated:** [August 7, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/ruby-is-on-9th-position-and-c-on-8th-as-per-tiobe-index/145278 "2008-08-07T22:20:29Z")

</div>

Ruby is on 9th Position and C# on 8th as per Tiobe Index. These are pleasing news to read that Ruby is jumping very fast. http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html Will Ruby Takeover the C# posi…

---

## [Parse XML to database](https://www.ruby-forum.com/t/parse-xml-to-database/139225)

<div class="topic-metadata">

**Author:** [@hloooi](https://www.ruby-forum.com/u/hloooi)\
**Replies:** 4\
**Last updated:** [June 2, 2008, 9:06am UTC](https://www.ruby-forum.com/t/parse-xml-to-database/139225 "2008-06-02T09:06:11Z")

</div>

hi, can someone help me with this after i read theres nothing show in my database… wat happen…? where is my error in my code?? class Map require ‘rexml/document’ require “mysql” require “dbi” include REXML scanfi…

---

## [Using form\_remote\_tag in an helper](https://www.ruby-forum.com/t/using-form-remote-tag-in-an-helper/116433)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 4\
**Last updated:** [January 30, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/using-form-remote-tag-in-an-helper/116433 "2008-01-30T17:18:35Z")

</div>

Hello, On one of my pages I’ve got a button which should do various stuff based on some params passed to the page (and some retrieved from the session). I was doing it fine using an helper : def action\_button product …

---

## [Application error](https://www.ruby-forum.com/t/application-error/123847)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 4\
**Last updated:** [December 24, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/application-error/123847 "2007-12-24T15:47:41Z")

</div>

Hi Guys, I’ve hosted with dreamhost and deployed my app in sub directory mydomain.com/project is the default executable directory under project i created rails “railsapp” i created symlink ln ln -s ~/mydomain.com/pro…

---

## [Problem retrieving user id](https://www.ruby-forum.com/t/problem-retrieving-user-id/117371)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [October 16, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/problem-retrieving-user-id/117371 "2007-10-16T15:29:03Z")

</div>

I have a problem, I use a find.params\[:id\] to display a user from a list, and then I want to edit that information. I have a separate action for the edit, named change\_user\_details, and I retrieve the user id the same…

---

## [Splitting @xyz from email id: username@xyz.com](https://www.ruby-forum.com/t/splitting-xyz-from-email-id-username-xyz-com/113886)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 4\
**Last updated:** [September 7, 2007, 7:39am UTC](https://www.ruby-forum.com/t/splitting-xyz-from-email-id-username-xyz-com/113886 "2007-09-07T07:39:46Z")

</div>

Hi, Can someone please explain how to strip username from removed\_email\_address@domain.invalid? Regards, Sandeep G

---

## [Deeper story on FCC versus open source SDR](https://www.ruby-forum.com/t/deeper-story-on-fcc-versus-open-source-sdr/110185)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 3:05am UTC](https://www.ruby-forum.com/t/deeper-story-on-fcc-versus-open-source-sdr/110185 "2007-07-27T03:05:54Z")

</div>

http://news.com.com/Feds+snub+open+source+for+smart+radios/2100-1041\_3-6195102.html This story had more details and investigation than the others I’d seen. FYI. John

---

## [File\_column](https://www.ruby-forum.com/t/file-column/108041)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSmy\_Dierx](https://www.ruby-forum.com/u/JSSSSrSSSSmy_Dierx)\
**Replies:** 4\
**Last updated:** [June 29, 2007, 10:43am UTC](https://www.ruby-forum.com/t/file-column/108041 "2007-06-29T10:43:54Z")

</div>

slt ! j’utilise le plugin file\_column bien pratique. J’ai un champs dÃ©clarÃ© pour file\_column dans ma table. Quand je dÃ©truit (mÃ©thode destroy) l’objet associÃ© Ã un des enregistrements de cette table, le fichier…

---

## [Tutorial AJAX et RJS](https://www.ruby-forum.com/t/tutorial-ajax-et-rjs/106212)

<div class="topic-metadata">

**Author:** [@22marine](https://www.ruby-forum.com/u/22marine)\
**Replies:** 4\
**Last updated:** [June 7, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/tutorial-ajax-et-rjs/106212 "2007-06-07T20:20:00Z")

</div>

Bonjour, Je me permet de vous signaler la publicaion d’un article sur l’utilisation d’Ajax et des RJS dans Rails : N’hÃ©sitez pas Ã me faire part de vos commentaires. PB

---

## [How do I recognize AJAX requests](https://www.ruby-forum.com/t/how-do-i-recognize-ajax-requests/104502)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 4\
**Last updated:** [May 18, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/how-do-i-recognize-ajax-requests/104502 "2007-05-18T19:30:56Z")

</div>

Is there any way I can recognize that a request is an AJAX (something\_remote\_xxx) request? My application saves the pages history and needs to filter out the AJAX requests. What I do is keep a list of AJAX actions and…

---

## [Copying files and changing their names](https://www.ruby-forum.com/t/copying-files-and-changing-their-names/88807)

<div class="topic-metadata">

**Author:** [@samf](https://www.ruby-forum.com/u/samf)\
**Replies:** 4\
**Last updated:** [March 14, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/copying-files-and-changing-their-names/88807 "2007-03-14T18:43:45Z")

</div>

Hi all, I have a directory with numerous folders, each of which contains numerous folders and/or files. Each of the files in each of these folders has a number. I want to iterate through all these files, and, for eve…

---

## [Extracting HTML/Javascript from Rails](https://www.ruby-forum.com/t/extracting-html-javascript-from-rails/85873)

<div class="topic-metadata">

**Author:** [@bryan82](https://www.ruby-forum.com/u/bryan82)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/extracting-html-javascript-from-rails/85873 "2007-03-01T18:28:03Z")

</div>

Hi. Is there a way, or has anyone written anything that would let me extract the HTML and Javascript code that Rails generates? I’m going to be applying for a front-end design position, and would like to be able to s…

---

## [Coming Soon](https://www.ruby-forum.com/t/coming-soon/84213)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [February 4, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/coming-soon/84213 "2007-02-04T20:53:14Z")

</div>

Hi all - I normally don’t like to blast the Ruby list w/ RSpec news besides release announcements, but this will likely be interesting to any of you who are interested in RSpec. If you’re not, then please save yoursel…

---

## [Test/spec 0.3, a BDD interface for Test::Unit](https://www.ruby-forum.com/t/test-spec-0-3-a-bdd-interface-for-test-unit/83222)

<div class="topic-metadata">

**Author:** [@cneuhaus](https://www.ruby-forum.com/u/cneuhaus)\
**Replies:** 4\
**Last updated:** [January 25, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/test-spec-0-3-a-bdd-interface-for-test-unit/83222 "2007-01-25T17:35:57Z")

</div>

Hello, today I’m releasing test/spec 0.3, a library to do BDD with Test::Unit. (See below for changes in version 0.3.) == What is test/spec? test/spec layers an RSpec-inspired interface on top of Test::Unit, so you …

---

## [Acts\_as\_taggable and new taggable items](https://www.ruby-forum.com/t/acts-as-taggable-and-new-taggable-items/82611)

<div class="topic-metadata">

**Author:** [@bjhess](https://www.ruby-forum.com/u/bjhess)\
**Replies:** 4\
**Last updated:** [January 22, 2007, 11:33am UTC](https://www.ruby-forum.com/t/acts-as-taggable-and-new-taggable-items/82611 "2007-01-22T11:33:59Z")

</div>

I just brought acts\_as\_taggable into an app and I have one question. Is the following the best way to tag a brand new taggable item? (Note: I’m grabbing the data from a form - I cut the code down to its basics for th…

---

## [Renamed partial won't render?](https://www.ruby-forum.com/t/renamed-partial-wont-render/59180)

<div class="topic-metadata">

**Author:** [@dlg](https://www.ruby-forum.com/u/dlg)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/renamed-partial-wont-render/59180 "2006-05-03T18:56:28Z")

</div>

hi all this works \<%= render :partial =\> “admin/works/work”, :collection =\> @artist.works %\> but this doesn’t \<%= render :partial =\> “admin/works/worklist”, :collection =\> @artist.works %\> even though the partial …

---

## [Space-Merchants and the future!](https://www.ruby-forum.com/t/space-merchants-and-the-future/55928)

<div class="topic-metadata">

**Author:** [@Gerben\_van\_de\_Wiel](https://www.ruby-forum.com/u/Gerben_van_de_Wiel)\
**Replies:** 4\
**Last updated:** [March 25, 2006, 10:21pm UTC](https://www.ruby-forum.com/t/space-merchants-and-the-future/55928 "2006-03-25T22:21:46Z")

</div>

I have been following the Thread about Ruby quiz number 71, with great intrest. I have a few question about the effort to develop some basic functionality of a space merchant game. -Has anyone already registered a p…

---

## [Why is configuration in YAML and not Ruby?](https://www.ruby-forum.com/t/why-is-configuration-in-yaml-and-not-ruby/70604)

<div class="topic-metadata">

**Author:** [@neilw](https://www.ruby-forum.com/u/neilw)\
**Replies:** 4\
**Last updated:** [February 21, 2006, 5:16am UTC](https://www.ruby-forum.com/t/why-is-configuration-in-yaml-and-not-ruby/70604 "2006-02-21T05:16:46Z")

</div>

On thing that has struck me about dynamic languages is that you don’t need configuration files at all. You can just alter the definitions directly in the Ruby code. So if everything is Ruby and configuration files are…

---

## [Laszlo on Rails, Flash GUI](https://www.ruby-forum.com/t/laszlo-on-rails-flash-gui/96769)

<div class="topic-metadata">

**Author:** [@christer](https://www.ruby-forum.com/u/christer)\
**Replies:** 4\
**Last updated:** [January 25, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/laszlo-on-rails-flash-gui/96769 "2006-01-25T19:16:28Z")

</div>

Ruby Forum Search did not work, and I did not find any postings about http://laszlo-plugin.rubyforge.org/. OpenLaszlo is a framework handling the GUI part, or the V in MVC. See http://www.laszlosystems.com/lps/laszlo-…

---

## [Simplify this method](https://www.ruby-forum.com/t/simplify-this-method/262193)

<div class="topic-metadata">

**Author:** [@jimtng](https://www.ruby-forum.com/u/jimtng)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 4:53am UTC](https://www.ruby-forum.com/t/simplify-this-method/262193 "2021-12-09T04:53:55Z")

</div>

Rubocop complains about Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, and Metrics/PerceivedComplexity I am wondering how this method can be simplified (or split into multiple methods, elegantly?) …

---

## [Sort an array elements based on another array element's class](https://www.ruby-forum.com/t/sort-an-array-elements-based-on-another-array-elements-class/246609)

<div class="topic-metadata">

**Author:** [@vieenay](https://www.ruby-forum.com/u/vieenay)\
**Replies:** 1\
**Last updated:** [September 28, 2018, 9:34am UTC](https://www.ruby-forum.com/t/sort-an-array-elements-based-on-another-array-elements-class/246609 "2018-09-28T09:34:39Z")

</div>

I am looking for way to sort an Array elements based on another Array element’s class. Below is such an example-\> order = \['String','Integer','NilClass','TrueClass' \] arry = \[1,2,3,4,5, true, false, nil,34,nil, 'Hello…

---

## [How to has\_one/belongs\_to association only return the objects unassociated in combobox?](https://www.ruby-forum.com/t/how-to-has-one-belongs-to-association-only-return-the-objects-unassociated-in-combobox/240546)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 23, 2014, 10:42am UTC](https://www.ruby-forum.com/t/how-to-has-one-belongs-to-association-only-return-the-objects-unassociated-in-combobox/240546 "2014-04-23T10:42:56Z")

</div>

I have two models (Car and Driver) and a combobox to select which driver belongs to which car. I want the combobox just show the objects that have not yet been associated. vehicle belongs\_to: driver driver has\_one: v…

---

## [Weird bad gateway issues](https://www.ruby-forum.com/t/weird-bad-gateway-issues/239389)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 24, 2014, 4:38pm UTC](https://www.ruby-forum.com/t/weird-bad-gateway-issues/239389 "2014-02-24T16:38:38Z")

</div>

I am using nginx/1.1.19 (Ubuntu 12.04.3). I have 3 reverse proxies setup, like so: server { listen 80; server\_name ebatch.example.com; client\_max\_body\_size 20m; location / { proxy\_pass http://127.0.0.1:8000/; …

---

## [Getting proxy\_pass to work with sub\_filter](https://www.ruby-forum.com/t/getting-proxy-pass-to-work-with-sub-filter/221975)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 8, 2012, 12:41pm UTC](https://www.ruby-forum.com/t/getting-proxy-pass-to-work-with-sub-filter/221975 "2012-08-08T12:41:20Z")

</div>

Hello, I’m trying to have nginx proxy for apache while trying to utilize sub\_filter. My default.conf block with the modules listed above looks like this: server { location / { proxy\_pass h…

---

## [Error with require "wx"](https://www.ruby-forum.com/t/error-with-require-wx/199091)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 20, 2010, 8:28am UTC](https://www.ruby-forum.com/t/error-with-require-wx/199091 "2010-11-20T08:28:15Z")

</div>

I have installed the wxruby gem, with no errors, but when I try to inclue the gem, I get this error: internal:lib/rubygems/custom\_require:29:in require': 126: The specified module could not be found. - C:/Ruby192/lib/r…

---

## [ActionMailer multipart messages with attachment rails3](https://www.ruby-forum.com/t/actionmailer-multipart-messages-with-attachment-rails3/197440)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 15, 2010, 9:37am UTC](https://www.ruby-forum.com/t/actionmailer-multipart-messages-with-attachment-rails3/197440 "2010-10-15T09:37:21Z")

</div>

Hi, I try to send a multipart message with actionmailer under rails3. When the mail client receives the mail the attachment is empty. I do definitely attach a non-empty file. Here is the code: snip recipients \[“re…

---

## [Rspec and rails: Problems while testing libraries in the lib directory](https://www.ruby-forum.com/t/rspec-and-rails-problems-while-testing-libraries-in-the-lib-directory/195032)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 15, 2010, 3:46pm UTC](https://www.ruby-forum.com/t/rspec-and-rails-problems-while-testing-libraries-in-the-lib-directory/195032 "2010-09-15T15:46:30Z")

</div>

I have some classes in the lib directory, and I want to test it. My class which I want to test looks like: class StatAggregation class \<\< self def skills\_rate(user\_id) user\_id = User.find\_by\_id(user\_id) … end end …

---

## [Como puedo hacer un POST desde mi app a otra "externa"](https://www.ruby-forum.com/t/como-puedo-hacer-un-post-desde-mi-app-a-otra-externa/188990)

<div class="topic-metadata">

**Author:** [@jjuarez](https://www.ruby-forum.com/u/jjuarez)\
**Replies:** 1\
**Last updated:** [July 6, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/como-puedo-hacer-un-post-desde-mi-app-a-otra-externa/188990 "2010-07-06T22:18:29Z")

</div>

Hola a tod@s, Me gustarÃ­a saber como se puede hacer que desde un action de un controller de mi aplicaciÃ³n se lance un POST a otra aplicaciÃ³n, no tengo posibilidad de acceso por Web Services… muchas gracias por ant…

---

## [No such file to load -- iconv](https://www.ruby-forum.com/t/no-such-file-to-load-iconv/175332)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [September 18, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-iconv/175332 "2009-09-18T14:10:45Z")

</div>

trying to update an application (2.3.2 to 2.3.4) I run rake rails:update --trace got the error : rake aborted! no such file to load – iconv /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in \`gem\_or…

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

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