# Top

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

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

---

## [Glimmer DSL for SWT Video Tutorial 24 - Hello, Canvas Data-Binding!](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-video-tutorial-24-hello-canvas-data-binding/263062)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [July 17, 2022, 12:29am UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-video-tutorial-24-hello-canvas-data-binding/263062 "2022-07-17T00:29:23Z")

</div>

Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! Glimmer DSL for SWT (Free & Open-…

---

## [Hi there Ruby Fellas](https://www.ruby-forum.com/t/hi-there-ruby-fellas/262806)

<div class="topic-metadata">

**Author:** [@jonachoo](https://www.ruby-forum.com/u/jonachoo)\
**Replies:** 0\
**Last updated:** [April 26, 2022, 7:55am UTC](https://www.ruby-forum.com/t/hi-there-ruby-fellas/262806 "2022-04-26T07:55:22Z")

</div>

Hey everyone. So, this is a nice forum about ruby discussions. I ain’t sure if my contribution matters but I would love to spend time here.

---

## [Can anyone suggest me for data import form Google Analytics](https://www.ruby-forum.com/t/can-anyone-suggest-me-for-data-import-form-google-analytics/244003)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 11:21am UTC](https://www.ruby-forum.com/t/can-anyone-suggest-me-for-data-import-form-google-analytics/244003 "2016-02-04T11:21:54Z")

</div>

Hi, I have worked on intermediate project. Here they used 7 domains and each domains retrieved Google Analytics data properly. Now i have create 3 new domains. It have records in Google Analitics but i can’t get t…

---

## [Dúvidas com Nested Attributes](https://www.ruby-forum.com/t/duvidas-com-nested-attributes/252627)

<div class="topic-metadata">

**Author:** [@paulorof](https://www.ruby-forum.com/u/paulorof)\
**Replies:** 0\
**Last updated:** [June 28, 2019, 3:41pm UTC](https://www.ruby-forum.com/t/duvidas-com-nested-attributes/252627 "2019-06-28T15:41:21Z")

</div>

Bom dia a todos. Tenho o seguinte problema com nested attributes no rails 4. Criei um modelo Pessoa onde pessoa tem um endereço. Até aí tudo bem, pois com as configurações básicas do nested attributes ele cria aninhad…

---

## [Jetbrains challenge](https://www.ruby-forum.com/t/jetbrains-challenge/231293)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 1, 2014, 6:17pm UTC](https://www.ruby-forum.com/t/jetbrains-challenge/231293 "2014-08-01T18:17:51Z")

</div>

I don’t know how many people are on JetBrain’s mailing list, but they just sent this challenge out: http://www.jetbrains.com/ruby/contest/challenge.jsp?mkt\_tok=3RkMMJWWfF9wsRokvqvLZKXonjHpfsX%2B7OgqXaK%2FlMI%2F0ER3fOvr…

---

## [New module: Nginx OpenSSL version check](https://www.ruby-forum.com/t/new-module-nginx-openssl-version-check/240339)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 9, 2014, 4:12am UTC](https://www.ruby-forum.com/t/new-module-nginx-openssl-version-check/240339 "2014-04-09T04:12:03Z")

</div>

On behalf of my employer, Apcera Inc, we are delighted to make available a new Nginx module, providing for a start-up OpenSSL version check for those who wish for a little more belt&braces protection. https://github.c…

---

## [Action mailer + smtp.gmail.com = timeout](https://www.ruby-forum.com/t/action-mailer-smtp-gmail-com-timeout/239326)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [February 21, 2014, 11:32pm UTC](https://www.ruby-forum.com/t/action-mailer-smtp-gmail-com-timeout/239326 "2014-02-21T23:32:44Z")

</div>

Hi, I’m using google’s smtp server for sending mail using action mailer. This is my mailer config ActionMailer::Base.delivery\_method = :smtp ActionMailer::Base.perform\_deliveries = true ActionMailer::Base.raise\_de…

---

## [About the latest submission of usrp\_spectrum\_sense.py](https://www.ruby-forum.com/t/about-the-latest-submission-of-usrp-spectrum-sense-py/235954)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 27, 2013, 2:39pm UTC](https://www.ruby-forum.com/t/about-the-latest-submission-of-usrp-spectrum-sense-py/235954 "2013-07-27T14:39:19Z")

</div>

Dear all, I checked your latest submission of “usrp\_spectrum\_sense.py” and I don’t understand why there is a division of the value of each bin by the sampling rate. Also I don’t understand why there is a subtraction…

---

## [Regexp Problem](https://www.ruby-forum.com/t/regexp-problem/223501)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 7, 2012, 2:14pm UTC](https://www.ruby-forum.com/t/regexp-problem/223501 "2012-10-07T14:14:41Z")

</div>

Hi all, I recently started learning ruby from some videos online. These videos, however are not so detailed and hence skim through the topics very fast. Due to this I am facing a fair few problems in the understanding…

---

## [Rails with Cassandra](https://www.ruby-forum.com/t/rails-with-cassandra/221771)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 30, 2012, 10:15am UTC](https://www.ruby-forum.com/t/rails-with-cassandra/221771 "2012-07-30T10:15:38Z")

</div>

I am trying to integrate Cassandra with Rails using the method described on this page, I made a small change. I created a rails app with two variables, Name and Age. Name of the app is user. After I did this, I …

---

## [Render :json not sending any data back](https://www.ruby-forum.com/t/render-json-not-sending-any-data-back/218265)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 26, 2012, 11:14pm UTC](https://www.ruby-forum.com/t/render-json-not-sending-any-data-back/218265 "2012-03-26T23:14:20Z")

</div>

\[rails 3.2.2\] I perform an ajax call : … $.ajax url: " /backoffice/expenses/rate" type: “GET” dataType: “json” data: project\_id: $(’#project\_id’).val() code: $(this).val() success: (result) -\> alert result $(…

---

## [Sql query into ror query](https://www.ruby-forum.com/t/sql-query-into-ror-query/216884)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 17, 2012, 10:56am UTC](https://www.ruby-forum.com/t/sql-query-into-ror-query/216884 "2012-02-17T10:56:30Z")

</div>

I want this query into ror form select name from Batch where id = 1 i want only name i tried Batch.find(:all, :conditions =\> {:id =\> 1}) it works but Batch.find(:name, :conditions =\> {:id =\> 1}) not work please gi…

---

## [Build UHD on FreeBSD 8.x](https://www.ruby-forum.com/t/build-uhd-on-freebsd-8-x/215620)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 11, 2012, 4:35pm UTC](https://www.ruby-forum.com/t/build-uhd-on-freebsd-8-x/215620 "2012-01-11T16:35:43Z")

</div>

I did a fresh git clone of UHD this morning. Using my script to build it, there was a problem finding Cheetah. After trying the usual suspects, I deinstalled and newly installed cheetah (py27-cheetah-2.4.4). That did …

---

## [Installing Ruby on Rails](https://www.ruby-forum.com/t/installing-ruby-on-rails/204112)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 5, 2011, 11:16pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/204112 "2011-03-05T23:16:19Z")

</div>

Hi I am new to ruby on rails. I had tried to install ror through the RaislReady script but have been unsucessfull. Ruby has been installed Checked … ruby 1.9.2p180 (2011-02-18 revision 30909) \[i686-linux\] But Rail…

---

## [Unauthorized Access](https://www.ruby-forum.com/t/unauthorized-access/203942)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 3, 2011, 8:51am UTC](https://www.ruby-forum.com/t/unauthorized-access/203942 "2011-03-03T08:51:46Z")

</div>

Hello All, I have recently begun working on RoR. I am working on a microblogging application.I have a timeline where messages posted by users and his/her followers are being displayed.There is a facility for the logg…

---

## [Automatically populate database fields?](https://www.ruby-forum.com/t/automatically-populate-database-fields/202919)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 9, 2011, 12:53am UTC](https://www.ruby-forum.com/t/automatically-populate-database-fields/202919 "2011-02-09T00:53:41Z")

</div>

Hello, I have a table that holds certain places (cities) in them. Is there a way to pre-populate my database during production with all the cities I want included? My application relies on pre submitted cities to run …

---

## [Max Voltage swing for WBX boards](https://www.ruby-forum.com/t/max-voltage-swing-for-wbx-boards/194979)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [September 18, 2010, 8:26pm UTC](https://www.ruby-forum.com/t/max-voltage-swing-for-wbx-boards/194979 "2010-09-18T20:26:08Z")

</div>

Hi, I’m trying to do some signal reconstruction and in testing and developing a concept design, I wanted to attenuate a test signal and hook it up directly to the RX port of my USRP2 through either the Basic RX or L…

---

## [Encrypt passwords](https://www.ruby-forum.com/t/encrypt-passwords/194449)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 3\
**Last updated:** [September 7, 2010, 9:44am UTC](https://www.ruby-forum.com/t/encrypt-passwords/194449 "2010-09-07T09:44:25Z")

</div>

hi i have a ruby script screenscraping my bank. how can i encypt the userid/password in the ruby so that even if someone steals my script, they will not have access to my passwords.

---

## [Visit a url programatically](https://www.ruby-forum.com/t/visit-a-url-programatically/188351)

<div class="topic-metadata">

**Author:** [@kevid](https://www.ruby-forum.com/u/kevid)\
**Replies:** 3\
**Last updated:** [May 20, 2010, 4:21pm UTC](https://www.ruby-forum.com/t/visit-a-url-programatically/188351 "2010-05-20T16:21:29Z")

</div>

hi all, i have the code below; require ‘rexml/document’ require ‘open-uri’ open(‘http://api.evdb.com/rest/users/login?app\_key=ct2hJqTCg4XLCP5h’) { |f| $res = REXML::Document.new(f.read) } the xml data that is rea…

---

## [Uninitialized constant Rails::Initializer::MemCache](https://www.ruby-forum.com/t/uninitialized-constant-rails-memcache/188092)

<div class="topic-metadata">

**Author:** [@tedomeara](https://www.ruby-forum.com/u/tedomeara)\
**Replies:** 0\
**Last updated:** [May 5, 2010, 4:26pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-rails-memcache/188092 "2010-05-05T16:26:20Z")

</div>

I’ve installed just about every library/gem that I could find for memcached/memcache, but everytime I attempt to run my application I get this error: Error message: uninitialized constant Rails::Initializer::MemCache …

---

## [Collection\_select has\_many](https://www.ruby-forum.com/t/collection-select-has-many/185244)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 3\
**Last updated:** [March 26, 2010, 12:12am UTC](https://www.ruby-forum.com/t/collection-select-has-many/185244 "2010-03-26T00:12:53Z")

</div>

hi i have two models: GeoRegion & GeoRegionSub which have a has\_many relation to each other. how can include the has\_many relation in the collection\_select helper? i want to have that dropdown where the parent is in…

---

## [Receiving and displaying video](https://www.ruby-forum.com/t/receiving-and-displaying-video/185640)

<div class="topic-metadata">

**Author:** [@Demijan\_K](https://www.ruby-forum.com/u/Demijan_K)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 12:00am UTC](https://www.ruby-forum.com/t/receiving-and-displaying-video/185640 "2010-03-24T00:00:39Z")

</div>

Hi everyone: I am trying to implement a USRP testbed, where a transmitter sends video and the receiver displays it in real-time. I’ve been playing around with benchmark tx/rx and am now able to transmit files between…

---

## [\[slightly OT\] Grokking agile practices](https://www.ruby-forum.com/t/slightly-ot-grokking-agile-practices/184598)

<div class="topic-metadata">

**Author:** [@Phoenix\_R](https://www.ruby-forum.com/u/Phoenix_R)\
**Replies:** 3\
**Last updated:** [March 6, 2010, 10:46pm UTC](https://www.ruby-forum.com/t/slightly-ot-grokking-agile-practices/184598 "2010-03-06T22:46:31Z")

</div>

I’m somewhat of a newbie to agile practices, and I know the Rails community in general is pretty “up to speed” on agile methodologies, but if there’s a better place for me to ask this question, let me know, and forgiv…

---

## [OpenSSL](https://www.ruby-forum.com/t/openssl/113986)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 3\
**Last updated:** [December 21, 2009, 2:14pm UTC](https://www.ruby-forum.com/t/openssl/113986 "2009-12-21T14:14:05Z")

</div>

Does anyone know of a useful reference for Ruby’s OpenSSL libraries? I’m getting a useless error and the rdoc is effectively non-existant. – “Hey brother Christian with your high and mighty errand, Your actions spea…

---

## [Regexing a file's contents without reading the whole thing?](https://www.ruby-forum.com/t/regexing-a-files-contents-without-reading-the-whole-thing/179628)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [December 2, 2009, 2:33am UTC](https://www.ruby-forum.com/t/regexing-a-files-contents-without-reading-the-whole-thing/179628 "2009-12-02T02:33:45Z")

</div>

I see that it is possible currently to parse through a file without reading the whole thing into RAM, a la a = File.open(‘a’, ‘r’) a.lines{|line| if line =~ /some regex/ … end } But what if I can to do something …

---

## [RSS Parser Help](https://www.ruby-forum.com/t/rss-parser-help/175760)

<div class="topic-metadata">

**Author:** [@gimmickivek](https://www.ruby-forum.com/u/gimmickivek)\
**Replies:** 3\
**Last updated:** [October 6, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/rss-parser-help/175760 "2009-10-06T16:56:01Z")

</div>

I am trying to parse a rss file. I use the rss module to do it. Suppose this is the data file, Singapore Airlines Asia Travel - A345 All Business Class to Asia Fri, 18 Sep 2009 22:56:33 +0000 http…

---

## [Not opening default site page via FastCGI and try\_files](https://www.ruby-forum.com/t/not-opening-default-site-page-via-fastcgi-and-try-files/174946)

<div class="topic-metadata">

**Author:** [@personxxl](https://www.ruby-forum.com/u/personxxl)\
**Replies:** 3\
**Last updated:** [September 4, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/not-opening-default-site-page-via-fastcgi-and-try-files/174946 "2009-09-04T15:09:34Z")

</div>

Hi, I use FastCGI and try\_files with Nginx. FastCGI catches all url patterns and render appropriate page. It works well for urls like site.com/some-page site.com/index.htm site.com/any-page.htm site.com/any-wildca…

---

## [RMagick reacts very oddly to an incorrect file](https://www.ruby-forum.com/t/rmagick-reacts-very-oddly-to-an-incorrect-file/174518)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 3\
**Last updated:** [August 28, 2009, 2:46am UTC](https://www.ruby-forum.com/t/rmagick-reacts-very-oddly-to-an-incorrect-file/174518 "2009-08-28T02:46:11Z")

</div>

I am not sure if this is me or Rmagick. I ‘accidentally’ used an input file which was a 40Meg multi-image TIF with 50 or so images and my mac os x went totally haywire. As I traced down into the problem I got to this: …

---

## [Commands I will need to know in production](https://www.ruby-forum.com/t/commands-i-will-need-to-know-in-production/173665)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 3\
**Last updated:** [August 13, 2009, 12:57am UTC](https://www.ruby-forum.com/t/commands-i-will-need-to-know-in-production/173665 "2009-08-13T00:57:01Z")

</div>

I’m fairly certain this is an easy question to answer but I like to make things more complicated than they need to be. I notice that a lot of people have: RAILS\_ENV=production … in their environment.rb files I don’t…

---

## [Problem with adding a new column to table](https://www.ruby-forum.com/t/problem-with-adding-a-new-column-to-table/172984)

<div class="topic-metadata">

**Author:** [@jj46](https://www.ruby-forum.com/u/jj46)\
**Replies:** 3\
**Last updated:** [July 31, 2009, 1:49am UTC](https://www.ruby-forum.com/t/problem-with-adding-a-new-column-to-table/172984 "2009-07-31T01:49:09Z")

</div>

hi everyone. ok i have a little problem. I created a simple blog + comments system. i followd ryan bates tutorial on that one, maybe you’ve checked that screencast out once. anyway, i added a new colum to my comments…

---

## [What is the Hash datatype in Ruby?](https://www.ruby-forum.com/t/what-is-the-hash-datatype-in-ruby/172947)

<div class="topic-metadata">

**Author:** [@prateekagarwal](https://www.ruby-forum.com/u/prateekagarwal)\
**Replies:** 3\
**Last updated:** [July 30, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/what-is-the-hash-datatype-in-ruby/172947 "2009-07-30T14:28:52Z")

</div>

What is the Hash datatype in Ruby? And what is it used for? Can anyone please explain with an example.

---

## [How to integrate svn with rails](https://www.ruby-forum.com/t/how-to-integrate-svn-with-rails/172023)

<div class="topic-metadata">

**Author:** [@Xiahong\_G](https://www.ruby-forum.com/u/Xiahong_G)\
**Replies:** 3\
**Last updated:** [July 13, 2009, 5:39pm UTC](https://www.ruby-forum.com/t/how-to-integrate-svn-with-rails/172023 "2009-07-13T17:39:06Z")

</div>

Hi everyone, I am a newbie on rails. I tried to use svn to control my code version. However, I found the following problems: When I typed in “ruby script/generate scaffold product”, the added files were not applied i…

---

## [Nginx high memory usage in benchmarks](https://www.ruby-forum.com/t/nginx-high-memory-usage-in-benchmarks/170454)

<div class="topic-metadata">

**Author:** [@martinr](https://www.ruby-forum.com/u/martinr)\
**Replies:** 3\
**Last updated:** [June 24, 2009, 6:17am UTC](https://www.ruby-forum.com/t/nginx-high-memory-usage-in-benchmarks/170454 "2009-06-24T06:17:37Z")

</div>

hello, i’ve been running some benchmarks for static content with httperf and autobench to compare nginx to apache’s worker mpm. i used the default config on apache (2 worker processes, 150 max clients) and set nginx t…

---

## [aaF: How can I retrive a list of terms for a document's field?](https://www.ruby-forum.com/t/aaf-how-can-i-retrive-a-list-of-terms-for-a-documents-field/170225)

<div class="topic-metadata">

**Author:** [@Christian\_Aust](https://www.ruby-forum.com/u/Christian_Aust)\
**Replies:** 0\
**Last updated:** [June 14, 2009, 12:41pm UTC](https://www.ruby-forum.com/t/aaf-how-can-i-retrive-a-list-of-terms-for-a-documents-field/170225 "2009-06-14T12:41:52Z")

</div>

Hi all, my Rails 2.3.2 model uses acts\_as\_ferret. I need to break down the contents of a field into a list of words, which is almost the same Ferret did when indexing the field. Can I somehow access the TermVectors f…

---

## [Python error USRP question](https://www.ruby-forum.com/t/python-error-usrp-question/168956)

<div class="topic-metadata">

**Author:** [@BlueEyeBirdy](https://www.ruby-forum.com/u/BlueEyeBirdy)\
**Replies:** 3\
**Last updated:** [May 27, 2009, 10:26pm UTC](https://www.ruby-forum.com/t/python-error-usrp-question/168956 "2009-05-27T22:26:10Z")

</div>

After installing everything, I tried to run one of the python examples through the terminal. Each of the examples played but threw the following error: Exception RuntimeError: ‘maximum recursion depth exceeded while …

---

## [Matching data within the host field of the header](https://www.ruby-forum.com/t/matching-data-within-the-host-field-of-the-header/166999)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 3\
**Last updated:** [May 2, 2009, 1:30pm UTC](https://www.ruby-forum.com/t/matching-data-within-the-host-field-of-the-header/166999 "2009-05-02T13:30:42Z")

</div>

hey guys, I cant seem to get this working… im trying to look at the host field within the header and match it against an ip, if it a hit, I want to redirect to 403 Normally there should be a domain set as the host, n…

---

## [Repost : Trouble with Error: "..undefined method \`write'.."](https://www.ruby-forum.com/t/repost-trouble-with-error-undefined-method-write/166843)

<div class="topic-metadata">

**Author:** [@roger](https://www.ruby-forum.com/u/roger)\
**Replies:** 0\
**Last updated:** [April 30, 2009, 3:12am UTC](https://www.ruby-forum.com/t/repost-trouble-with-error-undefined-method-write/166843 "2009-04-30T03:12:40Z")

</div>

The Complete line from error inside SciTE : test.rb:12: undefined method \`write’ for #String:0x3a36d64 (NoMethodError) Error results from this line : google\_data.to\_xml.write($stdout, 1) … trying to use this Scruby…

---

## [Question on clearing Active Record objects](https://www.ruby-forum.com/t/question-on-clearing-active-record-objects/165238)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 3\
**Last updated:** [April 10, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/question-on-clearing-active-record-objects/165238 "2009-04-10T19:29:58Z")

</div>

I have the following function that will do a query for me, the problem I am having (being new to Ruby and RoR) is how to reinitialize the object. Right now it always returns the same value. class AutoHarnesses \< Activ…

---

## [Xml-simp](https://www.ruby-forum.com/t/xml-simp/164383)

<div class="topic-metadata">

**Author:** [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/xml-simp/164383 "2009-04-01T14:50:50Z")

</div>

I have dowunloaded the xml-simple-1.0.12.gem . I used xml-simple to requie . require ‘xml-simple’ But it doesn’t work Then I have given like this It works, require ‘xmlsimple’ My question is that, How do i know i…

---

## [How to write packets on ethernet card](https://www.ruby-forum.com/t/how-to-write-packets-on-ethernet-card/162560)

<div class="topic-metadata">

**Author:** [@stalin](https://www.ruby-forum.com/u/stalin)\
**Replies:** 3\
**Last updated:** [March 12, 2009, 2:22am UTC](https://www.ruby-forum.com/t/how-to-write-packets-on-ethernet-card/162560 "2009-03-12T02:22:02Z")

</div>

Hi all, I want to write raw packets over the Ethernet card. I don’t how to do it in ruby. If anybody knows help me…

---

## [Dummy question about method in class](https://www.ruby-forum.com/t/dummy-question-about-method-in-class/160664)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 3\
**Last updated:** [February 19, 2009, 10:13am UTC](https://www.ruby-forum.com/t/dummy-question-about-method-in-class/160664 "2009-02-19T10:13:42Z")

</div>

Dear all I have a dummy question. \[1,2,3,4,5\].inject { |sum,n| sum+n } The inject method in this case is to calculate the sum of array. I searched the RDoc. Why the inject method is belongs to Enumerable Class, but …

---

## [Date Range comparison](https://www.ruby-forum.com/t/date-range-comparison/158117)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 3\
**Last updated:** [January 19, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/date-range-comparison/158117 "2009-01-19T21:15:17Z")

</div>

I have a set of dates in my database and would like to only get the latest one or the one closest to the current date. I’m trying to come up with a way of doing it but had no luck. If any one could help I would apprec…

---

## [Conceptual confusion with facebook connect](https://www.ruby-forum.com/t/conceptual-confusion-with-facebook-connect/157540)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 12:28pm UTC](https://www.ruby-forum.com/t/conceptual-confusion-with-facebook-connect/157540 "2009-01-13T12:28:12Z")

</div>

Slightly off topic, but I’m exploring FB connect integration with my rails site. Right now I have an application with a User model, and that user model links to all of my other models, such as comments, votes, etc. A…

---

## [Newbie trying self-referencing :through via REST model](https://www.ruby-forum.com/t/newbie-trying-self-referencing-through-via-rest-model/156951)

<div class="topic-metadata">

**Author:** [@itsastickup](https://www.ruby-forum.com/u/itsastickup)\
**Replies:** 3\
**Last updated:** [January 7, 2009, 3:28pm UTC](https://www.ruby-forum.com/t/newbie-trying-self-referencing-through-via-rest-model/156951 "2009-01-07T15:28:51Z")

</div>

I’ve read through countless blogs and the docs and can’t seem to get what I expect. I also tried irc on freenode, but they ignored me. I must have a case of the mange or something. I have a Person model (on a people t…

---

## [Php's \_\_call for ruby? or better approach?](https://www.ruby-forum.com/t/phps-call-for-ruby-or-better-approach/156467)

<div class="topic-metadata">

**Author:** [@zero0x](https://www.ruby-forum.com/u/zero0x)\
**Replies:** 3\
**Last updated:** [December 28, 2008, 2:43pm UTC](https://www.ruby-forum.com/t/phps-call-for-ruby-or-better-approach/156467 "2008-12-28T14:43:56Z")

</div>

Hi Rubyists! I’m quite new to Ruby/Rails thing, so please be patient with me :slight\_smile: -------- (skip to next -------- if you want to quickly see the problem) I am learning by creating something like timetable a…

---

## [.erb invoked unexpectedly](https://www.ruby-forum.com/t/erb-invoked-unexpectedly/155732)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 3\
**Last updated:** [December 16, 2008, 3:54pm UTC](https://www.ruby-forum.com/t/erb-invoked-unexpectedly/155732 "2008-12-16T15:54:01Z")

</div>

I’ve got an app that starts up with: map.root :controller =\> “csvs”, :action =\> ‘startup’ The csvs\_controller.rb is posted on http://www.pastie.org/340100 The startup routine checks the RAILS\_ROOT + “/public/data/csv” …

---

## [Feature Request: Supporting variables in fastcgi\_pass](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133)

<div class="topic-metadata">

**Author:** [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Replies:** 3\
**Last updated:** [December 10, 2008, 7:54pm UTC](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133 "2008-12-10T19:54:59Z")

</div>

Hey guys, About two months ago I tried to use variables in the fastcgi\_pass directive. This didn’t work and Igor pointed out that it is not supported yet, but will be in the future. I really would like to know how t…

---

## [SSL questions](https://www.ruby-forum.com/t/ssl-questions/154411)

<div class="topic-metadata">

**Author:** [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Replies:** 3\
**Last updated:** [November 29, 2008, 2:29am UTC](https://www.ruby-forum.com/t/ssl-questions/154411 "2008-11-29T02:29:03Z")

</div>

Hello, How does the following change in 0.6.34 impact existing configurations: \*) Feature: now the “rewrite” directive does a redirect automatically if the “https://” protocol is used. What rewrites would be af…

---

## [Ferret crash when using lazy\_doc after closing IndexReader](https://www.ruby-forum.com/t/ferret-crash-when-using-lazy-doc-after-closing-indexreader/153238)

<div class="topic-metadata">

**Author:** [@Eduardo\_Habkost](https://www.ruby-forum.com/u/Eduardo_Habkost)\
**Replies:** 0\
**Last updated:** [November 13, 2008, 7:30pm UTC](https://www.ruby-forum.com/t/ferret-crash-when-using-lazy-doc-after-closing-indexreader/153238 "2008-11-13T19:30:13Z")

</div>

Hi, As the Ferret site is down for a while, I am reporting this bug here, so it gets documented somewhere and people with more experience with Ferret can comment. I was hitting this crash easily on Sup, that uses Fer…

---

## [Can I sell my RubyConf ticket?](https://www.ruby-forum.com/t/can-i-sell-my-rubyconf-ticket/152540)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [November 5, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/can-i-sell-my-rubyconf-ticket/152540 "2008-11-05T15:49:32Z")

</div>

Unfortunately I can’t make it this year…I saw that there is a waiting list now though. Can I sell my ticket off to somebody? How? btw the ticket would be what I paid for it, which is $250

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

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