# Top

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

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

---

## [Internatiolazing columns in Rails](https://www.ruby-forum.com/t/internatiolazing-columns-in-rails/194384)

<div class="topic-metadata">

**Author:** [@wardenik](https://www.ruby-forum.com/u/wardenik)\
**Replies:** 1\
**Last updated:** [September 3, 2010, 2:11pm UTC](https://www.ruby-forum.com/t/internatiolazing-columns-in-rails/194384 "2010-09-03T14:11:08Z")

</div>

Hey, I’m a newbie with Rails and ActiveRecord so sorry for stupid question if it is stupid though :wink: I have read several articles about making i18n for validation messages, models and stuff. What I want to do, i…

---

## [Blur on transparent images with RMagick](https://www.ruby-forum.com/t/blur-on-transparent-images-with-rmagick/155769)

<div class="topic-metadata">

**Author:** [@leethal](https://www.ruby-forum.com/u/leethal)\
**Replies:** 1\
**Last updated:** [December 16, 2008, 11:42pm UTC](https://www.ruby-forum.com/t/blur-on-transparent-images-with-rmagick/155769 "2008-12-16T23:42:09Z")

</div>

Hello, Let’s start with some code. http://pastie.org/340438 . If you run it (after changing the font on line 33), you get a neat image with the text appearing two times. One flat, the other with a blur. Now, set the …

---

## [Gem install mechanize; Windows](https://www.ruby-forum.com/t/gem-install-mechanize-windows/146616)

<div class="topic-metadata">

**Author:** [@jtucker](https://www.ruby-forum.com/u/jtucker)\
**Replies:** 1\
**Last updated:** [August 23, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/gem-install-mechanize-windows/146616 "2008-08-23T21:13:25Z")

</div>

Um… D:/ruby/bin/ruby.exe extconf.rb install mechanize checking for stdio.h… no \*\*\* extconf.rb failed \*\*\* Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the …

---

## [Preview of Textile-filtered articles?](https://www.ruby-forum.com/t/preview-of-textile-filtered-articles/144812)

<div class="topic-metadata">

**Author:** [@Ben\_Armstrong](https://www.ruby-forum.com/u/Ben_Armstrong)\
**Replies:** 1\
**Last updated:** [August 6, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/preview-of-textile-filtered-articles/144812 "2008-08-06T21:46:48Z")

</div>

Before my upgrade, I could write an article in Textile and see it rendered in the automatically generated preview. That no longer appears to be the case, either with the rich or simple editors. How do I verify the f…

---

## [Date format on text\_field when editing](https://www.ruby-forum.com/t/date-format-on-text-field-when-editing/140788)

<div class="topic-metadata">

**Author:** [@flaubert](https://www.ruby-forum.com/u/flaubert)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/date-format-on-text-field-when-editing/140788 "2008-06-18T18:06:25Z")

</div>

Hello all, for weeks I have been looking for any code that can help me with this. I type the date in a text\_field in the Brazilian format “dd/mm/yyyy”. Ok, everything works well, the data is stored in the table, great…

---

## [Arrrg! Load Error : Expected.../forum.rb to define forum](https://www.ruby-forum.com/t/arrrg-load-error-expected-forum-rb-to-define-forum/123763)

<div class="topic-metadata">

**Author:** [@tsonnysys](https://www.ruby-forum.com/u/tsonnysys)\
**Replies:** 1\
**Last updated:** [December 20, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/arrrg-load-error-expected-forum-rb-to-define-forum/123763 "2007-12-20T22:09:17Z")

</div>

I keep getting the following error when I deploy to mongrel: Expected C:/muforum/rforum/app/models/forum.rb to define Forum RAILS\_ROOT: C:/muforum/rforum Application Trace | Framework Trace | Full Trace C:/ruby/lib/r…

---

## [Why packet decode failure happen when fft-length is set to 64?](https://www.ruby-forum.com/t/why-packet-decode-failure-happen-when-fft-length-is-set-to-64/227742)

<div class="topic-metadata">

**Author:** [@Yingjie\_C](https://www.ruby-forum.com/u/Yingjie_C)\
**Replies:** 5\
**Last updated:** [March 29, 2013, 9:02pm UTC](https://www.ruby-forum.com/t/why-packet-decode-failure-happen-when-fft-length-is-set-to-64/227742 "2013-03-29T21:02:52Z")

</div>

Hi guys, Thanks in advance. I am using usrp2 in OFM example. When I set fft-length to 64, subcarrier to 32,the receiver cannnot decode the packet correctly. The whole chunk of received data are almost false. However,…

---

## [Re: Mentoring Request](https://www.ruby-forum.com/t/re-mentoring-request/225036)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 8, 2012, 4:01pm UTC](https://www.ruby-forum.com/t/re-mentoring-request/225036 "2012-12-08T16:01:09Z")

</div>

Hi all, I am a recent graduate. I have been coding in Java professionally for the past one year. I am trying to get better at Ruby by using it on my hobby projects after work. I want to accelerate my learning and ge…

---

## [Site Redirecting](https://www.ruby-forum.com/t/site-redirecting/203918)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 1, 2011, 10:16pm UTC](https://www.ruby-forum.com/t/site-redirecting/203918 "2011-03-01T22:16:54Z")

</div>

Hello, everyone. I have Wordpress 3.1 Multisite installed, and my main site is in a continuous loop: http://classblogs.us/. There is nothing in my error logs to tell me what is wrong. Can someone help me with trouble…

---

## [Vc9 x64$B$G(Btrunk dl$B$,%3%s%Q%$%k$G$-$J$$(B](https://www.ruby-forum.com/t/vc9-x64-b-g-btrunk-dl-b-3-s-q-k-g-j-b/193779)

<div class="topic-metadata">

**Author:** [@kuwamoto\_shintaro](https://www.ruby-forum.com/u/kuwamoto_shintaro)\
**Replies:** 5\
**Last updated:** [August 25, 2010, 5:29am UTC](https://www.ruby-forum.com/t/vc9-x64-b-g-btrunk-dl-b-3-s-q-k-g-j-b/193779 "2010-08-25T05:29:13Z")

</div>

e$B$3$s$K$A$oe(B trunke$B$re(BVC9 x64-mswin64e$B$G%S%k%I$7$h$&$H$9$k$He(Bdle$B$N%3%s%Q%$%k;~$KFbIt%(%i!\<$,H/@8$7%3%s%Q%$%k$G$-$^$;$s!#e(B compiling dl cl -nologo -I. -I…/…/.ext/include/x64-mswin64\_90 -I…/…/…/include…

---

## [\[Bug #3378\] Range#each should not yield its \`begin' itself](https://www.ruby-forum.com/t/bug-3378-range-each-should-not-yield-its-begin-itself/189490)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 5\
**Last updated:** [June 2, 2010, 6:59am UTC](https://www.ruby-forum.com/t/bug-3378-range-each-should-not-yield-its-begin-itself/189490 "2010-06-02T06:59:52Z")

</div>

Bug #3378: Range#each should not yield its \`begin’ itself http://redmine.ruby-lang.org/issues/show/3378 e$B5/I\<\<Te(B: Yusuke E. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.8.8dev (2010-05-26) \[i686-l…

---

## [Differences in Time v1.8.6 and 1.9.1](https://www.ruby-forum.com/t/differences-in-time-v1-8-6-and-1-9-1/188405)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 5\
**Last updated:** [May 11, 2010, 4:04pm UTC](https://www.ruby-forum.com/t/differences-in-time-v1-8-6-and-1-9-1/188405 "2010-05-11T16:04:49Z")

</div>

Hello, I wrote a ruby-script that used Time on a machine with v1.9.1. When I now try to use it on a machine with v1.8.6, the Time-part is acting up. It looks to me like the strftime-option gets ignored totally in 1.8.…

---

## [Example or Tutorial of Rails & XML](https://www.ruby-forum.com/t/example-or-tutorial-of-rails-xml/182358)

<div class="topic-metadata">

**Author:** [@Seirie](https://www.ruby-forum.com/u/Seirie)\
**Replies:** 5\
**Last updated:** [January 27, 2010, 4:16pm UTC](https://www.ruby-forum.com/t/example-or-tutorial-of-rails-xml/182358 "2010-01-27T16:16:07Z")

</div>

Hey guys. Does anyone know where I can find a good tutorial or example on how exactly to work with XML in Rails. Now, I know the different technologies you can use (REXML, Builder, etc) and I know how do use these to …

---

## [Finding data which, when tweaked, matches](https://www.ruby-forum.com/t/finding-data-which-when-tweaked-matches/174559)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 5\
**Last updated:** [August 31, 2009, 2:53pm UTC](https://www.ruby-forum.com/t/finding-data-which-when-tweaked-matches/174559 "2009-08-31T14:53:50Z")

</div>

Say I have a string : “012345678”. I have a column in a table which also stores strings. I want to find all rows which match that string of numbers in that order. That is, “012345678” will match, but “012-34-5678” wil…

---

## [What does --without-http-cache mean?](https://www.ruby-forum.com/t/what-does-without-http-cache-mean/170404)

<div class="topic-metadata">

**Author:** [@XUFENG](https://www.ruby-forum.com/u/XUFENG)\
**Replies:** 5\
**Last updated:** [June 17, 2009, 12:26pm UTC](https://www.ruby-forum.com/t/what-does-without-http-cache-mean/170404 "2009-06-17T12:26:54Z")

</div>

Hi, What does --without-http-cache option mean when compiling Nginx? Is it related with proxy\_store directive or some other things? I could not find any explicit docs about this. Thank you in advance.

---

## [Know what was updated](https://www.ruby-forum.com/t/know-what-was-updated/169013)

<div class="topic-metadata">

**Author:** [@blueomega](https://www.ruby-forum.com/u/blueomega)\
**Replies:** 5\
**Last updated:** [May 28, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/know-what-was-updated/169013 "2009-05-28T20:45:20Z")

</div>

I am doing a rss feed who reports all the changes in the program. all changes are sent to a database where the afected item, who made changed, time of change and a string reporting the change is kept the problem is th…

---

## [Preloading database tables](https://www.ruby-forum.com/t/preloading-database-tables/168691)

<div class="topic-metadata">

**Author:** [@msmsms](https://www.ruby-forum.com/u/msmsms)\
**Replies:** 5\
**Last updated:** [May 24, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/preloading-database-tables/168691 "2009-05-24T17:54:52Z")

</div>

Hello, as I write a little cms system, I need to preload some table with data. I don’t know, if ‘preloading’ is the right name for this. I know, that I can write into some tables right in the migration file, but I wa…

---

## [\[USRP2\] Some problems by sending sinusoidal signals. :-(](https://www.ruby-forum.com/t/usrp2-some-problems-by-sending-sinusoidal-signals/163109)

<div class="topic-metadata">

**Author:** [@CostantiniS\_Andrea](https://www.ruby-forum.com/u/CostantiniS_Andrea)\
**Replies:** 5\
**Last updated:** [March 17, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/usrp2-some-problems-by-sending-sinusoidal-signals/163109 "2009-03-17T20:26:17Z")

</div>

Dear all, the last discussion on sending and receiving the sinusoidal signal raised to me a lot of questions. I am also having some problems with this basic example. I have searched over the whole archive without fou…

---

## [Help reading data from a file](https://www.ruby-forum.com/t/help-reading-data-from-a-file/160221)

<div class="topic-metadata">

**Author:** [@zoephoenix](https://www.ruby-forum.com/u/zoephoenix)\
**Replies:** 5\
**Last updated:** [February 13, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/help-reading-data-from-a-file/160221 "2009-02-13T17:15:02Z")

</div>

I have a ruby program that I use to generate text files from a single array’s data, but what I would like to do is be able to have it generate files from multiple arrays and save them in a different folder when it sta…

---

## [Calling class method from instance](https://www.ruby-forum.com/t/calling-class-method-from-instance/159979)

<div class="topic-metadata">

**Author:** [@Larz](https://www.ruby-forum.com/u/Larz)\
**Replies:** 5\
**Last updated:** [February 11, 2009, 2:04am UTC](https://www.ruby-forum.com/t/calling-class-method-from-instance/159979 "2009-02-11T02:04:10Z")

</div>

I was puzzled on this but figured out a way to do it. Figured I’d post it on here, maybe there’s a better way … class Test @c = 2 def self.ctest puts @c end def initialize(i) @i = i end def itest puts @i here…

---

## [\[Bug #943\] Segmentation fault (cygwin)](https://www.ruby-forum.com/t/bug-943-segmentation-fault-cygwin/156501)

<div class="topic-metadata">

**Author:** [@Martin\_DSSS\_rst](https://www.ruby-forum.com/u/Martin_DSSS_rst)\
**Replies:** 5\
**Last updated:** [December 30, 2008, 7:59am UTC](https://www.ruby-forum.com/t/bug-943-segmentation-fault-cygwin/156501 "2008-12-30T07:59:46Z")

</div>

Bug #943: Segmentation fault (cygwin) http://redmine.ruby-lang.org/issues/show/943 e$B5/I\<\<Te(B: Martin De$(D+de(Brst e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B\<!$N%9%/%j%W%H$,e(B Segmentation fault (core dumpe…

---

## [How to get a Rails job?](https://www.ruby-forum.com/t/how-to-get-a-rails-job/146983)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 5\
**Last updated:** [August 27, 2008, 12:35pm UTC](https://www.ruby-forum.com/t/how-to-get-a-rails-job/146983 "2008-08-27T12:35:31Z")

</div>

Hi, I have a question about getting a job. I have a strong passion about web programming, but I find it quite difficult to get a job. Here’s my background: No CS background. I was an English major. (English is not m…

---

## [2 views, 1 action](https://www.ruby-forum.com/t/2-views-1-action/143337)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 5\
**Last updated:** [July 18, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/2-views-1-action/143337 "2008-07-18T13:04:50Z")

</div>

hi all, I want to have an index view for photoalbums both for an admin and for the users. Does Rails provide a better way to do something like site.com/albums?admin=1 =\> shows admin index and site.com/albums =\> shows…

---

## [Rescu all errors and then case statement](https://www.ruby-forum.com/t/rescu-all-errors-and-then-case-statement/125614)

<div class="topic-metadata">

**Author:** [@nicpon](https://www.ruby-forum.com/u/nicpon)\
**Replies:** 5\
**Last updated:** [January 10, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/rescu-all-errors-and-then-case-statement/125614 "2008-01-10T21:12:36Z")

</div>

How can I read what type of error occured in rescue clause. For example, I have the following: begin “some code here” rescue case when “error type 1” when “error type 2” end end I know I could raise errors with…

---

## [Reliable multicasting](https://www.ruby-forum.com/t/reliable-multicasting/116990)

<div class="topic-metadata">

**Author:** [@Christoffer\_LernSSS](https://www.ruby-forum.com/u/Christoffer_LernSSS)\
**Replies:** 5\
**Last updated:** [October 12, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/reliable-multicasting/116990 "2007-10-12T17:03:40Z")

</div>

Does anyone know if anyone of the reliable multicasting protocols exist implemented in ruby? Actually what I am really looking for is something like JGroups implemented in a language-independent way. I mean jgroups pr…

---

## [Excluding a user from the validate\_presence of](https://www.ruby-forum.com/t/excluding-a-user-from-the-validate-presence-of/115516)

<div class="topic-metadata">

**Author:** [@oweism](https://www.ruby-forum.com/u/oweism)\
**Replies:** 5\
**Last updated:** [September 26, 2007, 12:34am UTC](https://www.ruby-forum.com/t/excluding-a-user-from-the-validate-presence-of/115516 "2007-09-26T00:34:27Z")

</div>

hi, I am creating a website for a summer institute; i have flaged the student with a zero entry in the table, and the administrator with a one. An admin can edit a students information. However, i don’t want him to e…

---

## [Enforce mutual exclusivity](https://www.ruby-forum.com/t/enforce-mutual-exclusivity/114110)

<div class="topic-metadata">

**Author:** [@Toby\_OSRourke](https://www.ruby-forum.com/u/Toby_OSRourke)\
**Replies:** 5\
**Last updated:** [September 8, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/enforce-mutual-exclusivity/114110 "2007-09-08T20:49:45Z")

</div>

Hi, First post, please be gentle! I couldn’t find any mention of this already I’m using ActiveRecord and I want to enforce mutual exclusivity on a has\_and\_belongs\_to\_many. A concrete example: I have a User which can…

---

## [Duplicate 'SHOW FIELDS' statements when inserting data for p](https://www.ruby-forum.com/t/duplicate-show-fields-statements-when-inserting-data-for-p/106440)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 5\
**Last updated:** [June 12, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/duplicate-show-fields-statements-when-inserting-data-for-p/106440 "2007-06-12T16:25:38Z")

</div>

I am using a HABTM relationship for my app. When inserting data for a number of collection objects, I am seeing a ‘SHOW FIELD’ query as each row is inserted: 0m \[4;36;1melements\_tags Columns (0.020000) \[0m \[0;1mSH…

---

## [Extending other languages with Ruby](https://www.ruby-forum.com/t/extending-other-languages-with-ruby/90350)

<div class="topic-metadata">

**Author:** [@djmook](https://www.ruby-forum.com/u/djmook)\
**Replies:** 5\
**Last updated:** [March 29, 2007, 1:59am UTC](https://www.ruby-forum.com/t/extending-other-languages-with-ruby/90350 "2007-03-29T01:59:53Z")

</div>

Hello, I have recently been trying to figure out how to extend another language by using Ruby as a scripting language. I have found a bit of information on how to do this, but it is mostly just bland explanations and,…

---

## [Question on application/database design for a application po](https://www.ruby-forum.com/t/question-on-application-database-design-for-a-application-po/88718)

<div class="topic-metadata">

**Author:** [@maunzinha](https://www.ruby-forum.com/u/maunzinha)\
**Replies:** 5\
**Last updated:** [March 13, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/question-on-application-database-design-for-a-application-po/88718 "2007-03-13T20:49:37Z")

</div>

Hi all I am hoping that the experience and knowledge of this ‘list’ will be able to help me out with some design decisions I have to make while porting a desktop app to rails. Here is the scoop: I am in the design p…

---

## [Best way to manage group by request in rails?](https://www.ruby-forum.com/t/best-way-to-manage-group-by-request-in-rails/78271)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 5\
**Last updated:** [December 5, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/best-way-to-manage-group-by-request-in-rails/78271 "2006-12-05T17:09:38Z")

</div>

Hey all, I’m doing something like that: #in my controller: @posts=Post.find(:all,:group=\>‘created\_on’) #then in my view: \<% for post in @posts %\> \<% 'Posts created on '+post.created\_on%\> @currentposts=Post.find\_by\_…

---

## [Problems trying to unsubscribe](https://www.ruby-forum.com/t/problems-trying-to-unsubscribe/68323)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [September 22, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/problems-trying-to-unsubscribe/68323 "2006-09-22T17:43:43Z")

</div>

Hi guys, I feel kind of bad sending this, but I just don’t seem to be managing to unsubscribe. It’s not that I don’t want to read the list, just that my inbox is getting flooded and I’d rather go to the archive to rea…

---

## [BBEdit, Ruby and Intel Macs](https://www.ruby-forum.com/t/bbedit-ruby-and-intel-macs/58381)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [April 21, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/bbedit-ruby-and-intel-macs/58381 "2006-04-21T21:23:32Z")

</div>

Can anyone verify (as in “yes” or “no”) that the Ruby language module for BBEdit located here: http://www.rubygarden.com/ruby/ruby?action=browse&diff=1&id=BbEdit does not work on Mac Intel machines? I copied the plugi…

---

## [When is model() needed?](https://www.ruby-forum.com/t/when-is-model-needed/56875)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 5\
**Last updated:** [April 5, 2006, 11:41pm UTC](https://www.ruby-forum.com/t/when-is-model-needed/56875 "2006-04-05T23:41:34Z")

</div>

I have just some vague and thus probably wrong ideas about when to use model() in controllers, and by now I err on being redundant. I don’t post them here to avoid leaving anything that may be false in the archives. C…

---

## [Can't get Fast CGI working](https://www.ruby-forum.com/t/cant-get-fast-cgi-working/54432)

<div class="topic-metadata">

**Author:** [@mendake](https://www.ruby-forum.com/u/mendake)\
**Replies:** 5\
**Last updated:** [March 6, 2006, 10:37pm UTC](https://www.ruby-forum.com/t/cant-get-fast-cgi-working/54432 "2006-03-06T22:37:48Z")

</div>

Well, after many hours of tinkering and internet browsing I just can’t get Fast CGI to work with Rails and Apache 1.3 on FreeBSD 5.4 Normal CGI works fine, but as soon as I enable FastCGI in .htaccess I get the messag…

---

## [Rails auth systems using LDAP?](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 5\
**Last updated:** [February 1, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410 "2006-02-01T14:56:19Z")

</div>

Hi everyone, Are there any Rails systems that are either: Easily extensible to use a different auth store? Use LDAP out of the box? Thanks, Sean

---

## [Using the p command to print files](https://www.ruby-forum.com/t/using-the-p-command-to-print-files/51515)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 5\
**Last updated:** [January 2, 2006, 11:15am UTC](https://www.ruby-forum.com/t/using-the-p-command-to-print-files/51515 "2006-01-02T11:15:20Z")

</div>

If any one has a copy of “why’s poignant guide to ruby”, turn to page 45. I can see immediately that i)ruby p Dir \['\*'\] works and lists all files within a specified directory. However ii)ruby p File::methods produces…

---

## [AJAX : Server to Client callback possible?](https://www.ruby-forum.com/t/ajax-server-to-client-callback-possible/50996)

<div class="topic-metadata">

**Author:** [@olivier\_Hericord](https://www.ruby-forum.com/u/olivier_Hericord)\
**Replies:** 5\
**Last updated:** [December 23, 2005, 8:24pm UTC](https://www.ruby-forum.com/t/ajax-server-to-client-callback-possible/50996 "2005-12-23T20:24:37Z")

</div>

hi, is there a way (with rails) to have live updates triggerred by the server on the client side? is there a little javascript lib i didn’t know that can listen to incoming server orders… a friend of mine thought ab…

---

## [Inserting multiple rows](https://www.ruby-forum.com/t/inserting-multiple-rows/50256)

<div class="topic-metadata">

**Author:** [@mizage](https://www.ruby-forum.com/u/mizage)\
**Replies:** 5\
**Last updated:** [December 14, 2005, 11:20pm UTC](https://www.ruby-forum.com/t/inserting-multiple-rows/50256 "2005-12-14T23:20:36Z")

</div>

I have table which stores multiple entries. Each row has user\_id, game\_id and a pick\_id. On a page the user has to make load of choices. All this gets submitted. the html looks like so: .... ... on and on… h…

---

## [Memcached - clear all keys matching a pattern?](https://www.ruby-forum.com/t/memcached-clear-all-keys-matching-a-pattern/153303)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [November 14, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/memcached-clear-all-keys-matching-a-pattern/153303 "2008-11-14T16:58:25Z")

</div>

I have some pages that serve up a massive tree of html, with a few different varieties used on different pages. Generating the html is quite intensive so I use memcached to store the different flavours, generating a …

---

## [ESI meets ERB, with some odd results](https://www.ruby-forum.com/t/esi-meets-erb-with-some-odd-results/209693)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [July 21, 2011, 1:34am UTC](https://www.ruby-forum.com/t/esi-meets-erb-with-some-odd-results/209693 "2011-07-21T01:34:20Z")

</div>

Hi – I’ve got some ESI variables in a template, and am trying to assign their values to Ruby variables. Strangely, it seems to work and not work at the same time. Here’s the relevant part of the template, with some c…

---

## [Is this thing here a helper or a model, or something else?](https://www.ruby-forum.com/t/is-this-thing-here-a-helper-or-a-model-or-something-else/201725)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 13, 2011, 7:45pm UTC](https://www.ruby-forum.com/t/is-this-thing-here-a-helper-or-a-model-or-something-else/201725 "2011-01-13T19:45:03Z")

</div>

Hello, for my Rails application I’m going to need a class that does timestamp computations, e.g. “give me a list of all 5-minute-blocks for a certain time range”. Example: .set\_start\_time(‘2011-01-13 12:00:00’) .se…

---

## [Debug flag being ignored](https://www.ruby-forum.com/t/debug-flag-being-ignored/67038)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 6\
**Last updated:** [December 23, 2010, 6:51am UTC](https://www.ruby-forum.com/t/debug-flag-being-ignored/67038 "2010-12-23T06:51:15Z")

</div>

I’m trying to run ‘ruby -d foo.rb’ and the d is either ignored or I don’t understand how it works. The code just runs as if there is no -d option. Does this require something at compile time of Ruby that I might hav…

---

## [Speeding up "gem1.9 install" during development](https://www.ruby-forum.com/t/speeding-up-gem1-9-install-during-development/191090)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 6\
**Last updated:** [July 5, 2010, 5:32pm UTC](https://www.ruby-forum.com/t/speeding-up-gem1-9-install-during-development/191090 "2010-07-05T17:32:04Z")

</div>

During development, I keep running rake install. The following command often takes a minute to execute, although the gem is created in a second. gem1.9 install …/pkg/xxxx.gem Running --trace doesn’t help at all since…

---

## [Accessing session data from a background worker](https://www.ruby-forum.com/t/accessing-session-data-from-a-background-worker/189119)

<div class="topic-metadata">

**Author:** [@PierreW](https://www.ruby-forum.com/u/PierreW)\
**Replies:** 6\
**Last updated:** [May 27, 2010, 8:53pm UTC](https://www.ruby-forum.com/t/accessing-session-data-from-a-background-worker/189119 "2010-05-27T20:53:36Z")

</div>

Hi guys, I have been trying to access session data (I am using the ActiveRecordStore option) from a background process (Workling in my case - but I suspect it should be the same for others). It seems to me it should …

---

## [Problem about "each" in rails](https://www.ruby-forum.com/t/problem-about-each-in-rails/185356)

<div class="topic-metadata">

**Author:** [@pengzhang](https://www.ruby-forum.com/u/pengzhang)\
**Replies:** 6\
**Last updated:** [March 19, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/problem-about-each-in-rails/185356 "2010-03-19T16:27:04Z")

</div>

CODE1: \<% @posts.each do |p|%\> \<%=h p.name %\> \<% end %\> this will show the name string like “Tom” in the web page. CODE2: \<%=h @posts.each {|p| p.name} %\> why this code return serial strings like #Post:0x3a893e8 ? …

---

## [How to access something within an array](https://www.ruby-forum.com/t/how-to-access-something-within-an-array/180963)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 6\
**Last updated:** [January 3, 2010, 5:03am UTC](https://www.ruby-forum.com/t/how-to-access-something-within-an-array/180963 "2010-01-03T05:03:25Z")

</div>

I have this array… \[#\<Yahoo::GeoPlanet::Place:0x1031d3fb8 @bounding\_box=\[\[42.554428, 1.52747\], \[42.536251, 1.50279\]\], @name=“La Massana”, @woe\_id=“472580”, @longitude=1.5153, @latitude=42.545052\>\] How do I access the…

---

## [User has many topics or subtopics](https://www.ruby-forum.com/t/user-has-many-topics-or-subtopics/171155)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 6\
**Last updated:** [June 29, 2009, 4:30am UTC](https://www.ruby-forum.com/t/user-has-many-topics-or-subtopics/171155 "2009-06-29T04:30:02Z")

</div>

Hi, So i have users in the system and i have topics. Topics also have\_many subtopics. What is the cleanest way to setup the AR relationships if a user can either have\_many topics or subtopics ? Its basically a dual…

---

## [Autocomplete fill in text fields](https://www.ruby-forum.com/t/autocomplete-fill-in-text-fields/169082)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 6\
**Last updated:** [June 1, 2009, 5:19am UTC](https://www.ruby-forum.com/t/autocomplete-fill-in-text-fields/169082 "2009-06-01T05:19:43Z")

</div>

If you have an autocomplete and you have several text fields that have the other columns from the db. How do you autocomplete on a box and when you select it it fills in the other text fields with the rest of the data…

---

## [Blacklist](https://www.ruby-forum.com/t/blacklist/161558)

<div class="topic-metadata">

**Author:** [@madhavi.k](https://www.ruby-forum.com/u/madhavi.k)\
**Replies:** 6\
**Last updated:** [February 27, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/blacklist/161558 "2009-02-27T13:47:34Z")

</div>

hello all, I installed blacklist plugin from the link------------ http://github.com/watsonian/blacklist/tree/master. when start the server I am getting as below : C:\\Documents and Settings\\Madhavi\\Desktop\\madhavi\_mo…

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

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