# Top

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

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

---

## [Clonare un Element](https://www.ruby-forum.com/t/clonare-un-element/120633)

<div class="topic-metadata">

**Author:** [@dcaseres](https://www.ruby-forum.com/u/dcaseres)\
**Replies:** 5\
**Last updated:** [November 19, 2007, 11:47pm UTC](https://www.ruby-forum.com/t/clonare-un-element/120633 "2007-11-19T23:47:35Z")

</div>

Ciao a tutti, sono nuovo nel mondo di Ruby e per impratichirmi sto provando a riscrivere dei vecchi programmi con questo nuovo linguaggio. Ho un problema con la gestione degli XML, per parsificarli e crearne di nuovi…

---

## [RailsStory - lessons learned](https://www.ruby-forum.com/t/railsstory-lessons-learned/117445)

<div class="topic-metadata">

**Author:** [@Alvin\_S](https://www.ruby-forum.com/u/Alvin_S)\
**Replies:** 5\
**Last updated:** [October 17, 2007, 12:57am UTC](https://www.ruby-forum.com/t/railsstory-lessons-learned/117445 "2007-10-17T00:57:30Z")

</div>

After trying RailsStory for a few days, I have learned: Rails testing support does not serve up static pages RailsStory masks errors generated by the app under test The masked errors are available in log/test …

---

## [Eliminating spam on Ruby Forum](https://www.ruby-forum.com/t/eliminating-spam-on-ruby-forum/109052)

<div class="topic-metadata">

**Author:** [@kapslok](https://www.ruby-forum.com/u/kapslok)\
**Replies:** 5\
**Last updated:** [July 11, 2007, 4:03pm UTC](https://www.ruby-forum.com/t/eliminating-spam-on-ruby-forum/109052 "2007-07-11T16:03:56Z")

</div>

I don’t know about you guys and gals, but the daily spam messages making their way into these forums is giving me the $hit$. I think what we need is a button to mark messages as spam, so someone can blow them away, and …

---

## [Multiple Instance of rand?](https://www.ruby-forum.com/t/multiple-instance-of-rand/107695)

<div class="topic-metadata">

**Author:** [@are](https://www.ruby-forum.com/u/are)\
**Replies:** 5\
**Last updated:** [June 26, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/multiple-instance-of-rand/107695 "2007-06-26T16:58:42Z")

</div>

Is it possible to have multiple instances Ruby’s random-number generator running within one program? I would like to have different random sequences, each with its own seed.

---

## [An error I can't find](https://www.ruby-forum.com/t/an-error-i-cant-find/107232)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 5\
**Last updated:** [June 19, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/an-error-i-cant-find/107232 "2007-06-19T15:12:47Z")

</div>

Hello, there’s certainly a monstrous error I don’t see in : \<% for i in @news %\> \<% if dern\_cat != i.categorie %\> \<% case i.categorie %\> \<% end %\> \<% end %\> \<% end %\> I’ve removed all the code I could and don’t un…

---

## [Abstract interfaces as a means of documentation](https://www.ruby-forum.com/t/abstract-interfaces-as-a-means-of-documentation/106941)

<div class="topic-metadata">

**Author:** [@eliben](https://www.ruby-forum.com/u/eliben)\
**Replies:** 5\
**Last updated:** [June 16, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/abstract-interfaces-as-a-means-of-documentation/106941 "2007-06-16T15:54:42Z")

</div>

Hi all, The issue of abstract interfaces has been discussed extensively in this group. The general consensus is that Ruby’s duck typing coupled with the power of mixins renders solves the vast majority of the problem…

---

## [Please illuminate how stupid I am re: initialization blocks](https://www.ruby-forum.com/t/please-illuminate-how-stupid-i-am-re-initialization-blocks/86391)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 5\
**Last updated:** [February 21, 2007, 11:42pm UTC](https://www.ruby-forum.com/t/please-illuminate-how-stupid-i-am-re-initialization-blocks/86391 "2007-02-21T23:42:01Z")

</div>

I seem to use blocks much differently from other people and that frightens me a little. (Maybe I’m being really dumb and nobody wants to say anything.) Before I get into what I do, let me define how normal people cal…

---

## [DRY or not](https://www.ruby-forum.com/t/dry-or-not/84888)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 5\
**Last updated:** [February 8, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/dry-or-not/84888 "2007-02-08T16:11:29Z")

</div>

as a new(ru)bie I always wonder when trying to DRY such code is good or not and why it should be (I don’t like a lot the if… else… elsif… but sometimes it seems better for readiness… vs performances (less code…) If…

---

## [Problems using the RedCloth gem !?!](https://www.ruby-forum.com/t/problems-using-the-redcloth-gem/82815)

<div class="topic-metadata">

**Author:** [@emuen](https://www.ruby-forum.com/u/emuen)\
**Replies:** 5\
**Last updated:** [January 22, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/problems-using-the-redcloth-gem/82815 "2007-01-22T16:33:43Z")

</div>

Hi there. I have this line in my view: \<%= RedCloth.new(@news.long, \[:filter\_html, :filter\_styles\]).to\_html(:textile) %\> but it doesn’t filter out the html out, from this input: h1. Header some paragraph BOOM #Th…

---

## [Edge Rails: parse error, unexpected $, expecting kEND](https://www.ruby-forum.com/t/edge-rails-parse-error-unexpected-expecting-kend/81422)

<div class="topic-metadata">

**Author:** [@sydneystephen](https://www.ruby-forum.com/u/sydneystephen)\
**Replies:** 5\
**Last updated:** [January 9, 2007, 6:45am UTC](https://www.ruby-forum.com/t/edge-rails-parse-error-unexpected-expecting-kend/81422 "2007-01-09T06:45:34Z")

</div>

New to this environment and working my way through “Agile Web Development with Rails”. I had a problem with decimal fields and am using Edge Rails now to get around that issue - only I am now experiencing other probl…

---

## [Continuation](https://www.ruby-forum.com/t/continuation/80228)

<div class="topic-metadata">

**Author:** [@Prithvi\_Krishna\_Man](https://www.ruby-forum.com/u/Prithvi_Krishna_Man)\
**Replies:** 5\
**Last updated:** [December 22, 2006, 10:36pm UTC](https://www.ruby-forum.com/t/continuation/80228 "2006-12-22T22:36:55Z")

</div>

in continuation to my earlier mail, if i entered the command mysql -u root -p depot\_development \<db/create.sql instead of mysql depot\_development \<db/create.sql then it works. can anyone please enlighten me on w…

---

## [Re: newbie ftp problem](https://www.ruby-forum.com/t/re-newbie-ftp-problem/72773)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 5\
**Last updated:** [October 18, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/re-newbie-ftp-problem/72773 "2006-10-18T21:23:00Z")

</div>

From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] files = ftp.nlst(‘data’) Net::FTPPermError: 500 Invalid PORT command. You changed directories into ‘data’, and are then trying…

---

## [How to test for values in ajax form](https://www.ruby-forum.com/t/how-to-test-for-values-in-ajax-form/71932)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 5\
**Last updated:** [October 18, 2006, 10:38am UTC](https://www.ruby-forum.com/t/how-to-test-for-values-in-ajax-form/71932 "2006-10-18T10:38:54Z")

</div>

I want to see if the values are making it over from my form into my controller. What’s the way to test that ? TIA Stuart –

---

## [NetBSD USB progress](https://www.ruby-forum.com/t/netbsd-usb-progress/96150)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [July 17, 2006, 4:22am UTC](https://www.ruby-forum.com/t/netbsd-usb-progress/96150 "2006-07-17T04:22:35Z")

</div>

Hi all, As was discussed here earlier (starting from http://lists.gnu.org/archive/html/discuss-gnuradio/2006-05/msg00045.html in the list archive), BBN has been working on improving the ugen(4) driver for NetBSD. We…

---

## [Subversion and migrations confusion](https://www.ruby-forum.com/t/subversion-and-migrations-confusion/98539)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 5\
**Last updated:** [July 15, 2006, 9:34pm UTC](https://www.ruby-forum.com/t/subversion-and-migrations-confusion/98539 "2006-07-15T21:34:48Z")

</div>

I’ve spent the last several months learning RoR and building my first app. I’ve not used migrations yet and honestly don’t understand them much, and have not had my app under version control. I’ve decided it’s time …

---

## [Failing with Dir.glob results](https://www.ruby-forum.com/t/failing-with-dir-glob-results/63809)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 5\
**Last updated:** [June 20, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/failing-with-dir-glob-results/63809 "2006-06-20T15:13:51Z")

</div>

Hello, My script is failing at the following move command, right after the capturing of a bunch of files in a directory. My glob is a big one. It’s checking against 49 different file prefixes. Is that a problem? All I …

---

## [InstantRails Lost connection to MySQL server](https://www.ruby-forum.com/t/instantrails-lost-connection-to-mysql-server/63337)

<div class="topic-metadata">

**Author:** [@martin-ga](https://www.ruby-forum.com/u/martin-ga)\
**Replies:** 5\
**Last updated:** [June 15, 2006, 1:57am UTC](https://www.ruby-forum.com/t/instantrails-lost-connection-to-mysql-server/63337 "2006-06-15T01:57:05Z")

</div>

Hiall, I just tried out InstantRails version 1.3a. After a virgin install and filling the fresh mysql db with my app schema, I tried runningthe app with webrick, only to see the infamous “Lost connection to mysql ser…

---

## [Suggestions wanted for non-logged-in user in closed beta pha](https://www.ruby-forum.com/t/suggestions-wanted-for-non-logged-in-user-in-closed-beta-pha/62827)

<div class="topic-metadata">

**Author:** [@Chris\_T](https://www.ruby-forum.com/u/Chris_T)\
**Replies:** 5\
**Last updated:** [June 9, 2006, 12:36am UTC](https://www.ruby-forum.com/t/suggestions-wanted-for-non-logged-in-user-in-closed-beta-pha/62827 "2006-06-09T00:36:48Z")

</div>

Will shortly be deploying first iteration of app to some beta testers (i.e. friends), and want them to be able see it both from logged-in view and guest (i.e. not logged-in) view. The two are a fair bit different. It’…

---

## [Setting nil to zero](https://www.ruby-forum.com/t/setting-nil-to-zero/72172)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 5\
**Last updated:** [February 23, 2006, 10:49am UTC](https://www.ruby-forum.com/t/setting-nil-to-zero/72172 "2006-02-23T10:49:48Z")

</div>

Hi, is there a setting to set nil to zero? something like $NIL=0, then set it back again to $NIL=nil… reason is i have quite a number of codes like ff s.each do |w| f\[w\] = 0 unless f\[w\] #i want to kill this lne sinc…

---

## [Noob ActiveRecord Join Question](https://www.ruby-forum.com/t/noob-activerecord-join-question/52018)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 5\
**Last updated:** [January 11, 2006, 2:01am UTC](https://www.ruby-forum.com/t/noob-activerecord-join-question/52018 "2006-01-11T02:01:08Z")

</div>

I’m new to rails and ruby, and after trying to get this to work correctly for hours, I thought I’d give this forum an try. I’ve setup a trivial project just to mess around with Rails database naming conventions and as…

---

## [Problem with autocompletion on firefox](https://www.ruby-forum.com/t/problem-with-autocompletion-on-firefox/49888)

<div class="topic-metadata">

**Author:** [@marciorf](https://www.ruby-forum.com/u/marciorf)\
**Replies:** 5\
**Last updated:** [December 15, 2005, 6:43pm UTC](https://www.ruby-forum.com/t/problem-with-autocompletion-on-firefox/49888 "2005-12-15T18:43:03Z")

</div>

Im facing some problems with autocomplete on firefox. Im using autocomplete\_for helper. It shows the data correctly, but if I select one to input, it fills the text with spaces. That doesn’t happens on IE6. I have new…

---

## [Functional testing multiple page actions](https://www.ruby-forum.com/t/functional-testing-multiple-page-actions/48635)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 5\
**Last updated:** [November 23, 2005, 11:38am UTC](https://www.ruby-forum.com/t/functional-testing-multiple-page-actions/48635 "2005-11-23T11:38:31Z")

</div>

Some actions in Rails require sessions spanning multiple pages. Things like “login & check account” or “fill a shopping cart and check out”. I’m having trouble creating functional testing for these for two reasons: …

---

## [GeoIP data in access\_log Nginx](https://www.ruby-forum.com/t/geoip-data-in-access-log-nginx/242792)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 28, 2015, 2:43pm UTC](https://www.ruby-forum.com/t/geoip-data-in-access-log-nginx/242792 "2015-07-28T14:43:10Z")

</div>

Hello World, I would like to know if is possible to put GeoIP data (country for exemple) in my log access (nginx) I enabled the GeoIP module in my nginx (configure) and i would like to use the “$geoip\_country\_name”…

---

## [Allow directive with variables](https://www.ruby-forum.com/t/allow-directive-with-variables/225346)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [March 19, 2015, 5:32am UTC](https://www.ruby-forum.com/t/allow-directive-with-variables/225346 "2015-03-19T05:32:08Z")

</div>

I am trying to use a variable with the allow directive, i.e. set $home\_ip 1.2.3.4; location ^~ /apc/ { # Allow home allow $home\_ip; deny all; include /etc/nginx/php.conf; } But I am getting an error. Does th…

---

## [Uninitialized constant error with a variables within a module](https://www.ruby-forum.com/t/uninitialized-constant-error-with-a-variables-within-a-module/233290)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 6, 2014, 6:24pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-error-with-a-variables-within-a-module/233290 "2014-12-06T18:24:59Z")

</div>

Hi, New to ruby development so wondering if someone could help… I have this code in a file1.rb #file1.rb module GG class GG ::NAME = ‘gginfrausermanager’ end end and want to call this variable in another file2.r…

---

## [Problem with auth\_basic and auth\_basic\_user\_file](https://www.ruby-forum.com/t/problem-with-auth-basic-and-auth-basic-user-file/230561)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 24, 2014, 5:59pm UTC](https://www.ruby-forum.com/t/problem-with-auth-basic-and-auth-basic-user-file/230561 "2014-06-24T17:59:05Z")

</div>

Hallo, I want a login for this location. location /TEST/ { alias /www/c2c/; } With location /TEST/ { alias /www/c2c/; auth\_basic “Test Auth”; } no username/password box in the browser. I see the index.html …

---

## [Re: List of all request headers in perl?](https://www.ruby-forum.com/t/re-list-of-all-request-headers-in-perl/229252)

<div class="topic-metadata">

**Author:** [@ESWestbrook](https://www.ruby-forum.com/u/ESWestbrook)\
**Replies:** 2\
**Last updated:** [December 18, 2012, 6:03pm UTC](https://www.ruby-forum.com/t/re-list-of-all-request-headers-in-perl/229252 "2012-12-18T18:03:48Z")

</div>

I’m very confused… there’s not an “$r” to be seen at that link. Perhaps I asked the original question poorly, or in the wrong place? Thanks again, Eric On Mon, Dec 17, 2012 at 7:38 PM, Bob S. removed\_email\_address@d…

---

## [Passing Sockets (or other FDs) to target of Exec()](https://www.ruby-forum.com/t/passing-sockets-or-other-fds-to-target-of-exec/222703)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 6, 2012, 7:56pm UTC](https://www.ruby-forum.com/t/passing-sockets-or-other-fds-to-target-of-exec/222703 "2012-09-06T19:56:19Z")

</div>

I’ve been playing around with an issue that is giving me a bit of a headache and I’m hoping someone can point me in a more useful direction… On a standard startup, I have two variables: $nCS = TCPServer.new(HOST, POR…

---

## [Form\_for renders content block twice](https://www.ruby-forum.com/t/form-for-renders-content-block-twice/220340)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 6, 2012, 3:59pm UTC](https://www.ruby-forum.com/t/form-for-renders-content-block-twice/220340 "2012-06-06T15:59:38Z")

</div>

Hi. I amn just upgrading a project from 2.3.12 to 3.0.11. I have come pretty long, my unit tests succeeds, but my functional tests also tests the views. There I experience that code like \<%= form\_for(@order, :html =\> …

---

## [File sink file size mismatch problem](https://www.ruby-forum.com/t/file-sink-file-size-mismatch-problem/220157)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 3, 2012, 4:42pm UTC](https://www.ruby-forum.com/t/file-sink-file-size-mismatch-problem/220157 "2012-06-03T16:42:42Z")

</div>

Hello All, A couple of days ago i had installed a GNURadio digital image processing block that makes an image source and sink block available as displayed in the image below. Resource : GitHub - a-w-s/GNURadio-DIP:…

---

## [Consiglio libro/fonte da studiare](https://www.ruby-forum.com/t/consiglio-libro-fonte-da-studiare/215790)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 16, 2012, 12:39pm UTC](https://www.ruby-forum.com/t/consiglio-libro-fonte-da-studiare/215790 "2012-01-16T12:39:01Z")

</div>

Buongiorno, da natale sto studiando il libro “Agile Development with Rails”, ho quasi terminato la parte che tratta l’applicazione di esempio \*depot… \* Premesso che mi manca ancora quasi met di libro da studiare, qu…

---

## [\[Redmine\] plugin timesheet](https://www.ruby-forum.com/t/redmine-plugin-timesheet/209921)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 26, 2011, 2:49pm UTC](https://www.ruby-forum.com/t/redmine-plugin-timesheet/209921 "2011-07-26T14:49:51Z")

</div>

Ciao, ho installato questo plugin per redmine e lo vedo correttamente nella lista dei plugin, quando pero’ imposto dei filtri non riesco ad estrarre nulla nel csv e l’ html mi riporta: translation missing: it, times…

---

## [Can Labview UHD driver and FW/FPGA images work with Matlab 2010b on Windows 7?](https://www.ruby-forum.com/t/can-labview-uhd-driver-and-fw-fpga-images-work-with-matlab-2010b-on-windows-7/203097)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 10, 2011, 10:14pm UTC](https://www.ruby-forum.com/t/can-labview-uhd-driver-and-fw-fpga-images-work-with-matlab-2010b-on-windows-7/203097 "2011-06-10T22:14:22Z")

</div>

Hi, I installed Labview UHD driver for USRP N210 on Windows 7. I burned the firmware and FPGA images provided from NI website. USRP is working perfectly with Labview on windows 7. I tried using the same driver and i…

---

## [Need suggestions on how to test a class](https://www.ruby-forum.com/t/need-suggestions-on-how-to-test-a-class/205676)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 13, 2011, 12:24pm UTC](https://www.ruby-forum.com/t/need-suggestions-on-how-to-test-a-class/205676 "2011-04-13T12:24:50Z")

</div>

Hi \*, the class I need to test is: I know my question is very generic, but I honestly fail to see how to test something that is so strictly procedural and so dependent to the platform/libraries. Should I mock/stub …

---

## [Counting items in associate with a limit](https://www.ruby-forum.com/t/counting-items-in-associate-with-a-limit/203069)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 14, 2011, 10:04am UTC](https://www.ruby-forum.com/t/counting-items-in-associate-with-a-limit/203069 "2011-02-14T10:04:09Z")

</div>

Rails 3 I have a relationship where Category has\_and\_belongs\_to\_many Article. I want to grab a small subsection of articles related to a particular category. When I try to iterate over these, Rails tries to count the …

---

## [Nginx truncates pages and reports worker process exited on signal 6](https://www.ruby-forum.com/t/nginx-truncates-pages-and-reports-worker-process-exited-on-signal-6/199202)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [December 5, 2010, 6:57pm UTC](https://www.ruby-forum.com/t/nginx-truncates-pages-and-reports-worker-process-exited-on-signal-6/199202 "2010-12-05T18:57:52Z")

</div>

Hello All: We are seeing an issue with nginx (0.8.54) where it occasionally truncates pages loading only a portion of the content. When a truncated page is delivered nginx reports the message recorded below in its er…

---

## [Cannot require 'liquid' (workitem created)](https://www.ruby-forum.com/t/cannot-require-liquid-workitem-created/182586)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 2\
**Last updated:** [January 30, 2010, 7:09pm UTC](https://www.ruby-forum.com/t/cannot-require-liquid-workitem-created/182586 "2010-01-30T19:09:58Z")

</div>

Hi, I wanted to see if liquid (http://www.liquidmarkup.org =\> non evaling templating system) would work with IronRuby, but apparently it doesn’t. require ‘liquid’ is raising this: Expression of type ‘System.Boolean’ …

---

## [ActiveRecord Question: Disabling Boolean Emulation](https://www.ruby-forum.com/t/activerecord-question-disabling-boolean-emulation/176471)

<div class="topic-metadata">

**Author:** [@zettabyte](https://www.ruby-forum.com/u/zettabyte)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 5:41am UTC](https://www.ruby-forum.com/t/activerecord-question-disabling-boolean-emulation/176471 "2009-10-02T05:41:29Z")

</div>

Hello everyone, I’ve got a question for the ActiveRecord gurus. ActiveRecord version: 2.3.4 ActiveRecord adapter: mysql I’m accessing a database originally designed as the back-end data- store for a Microsoft Access-…

---

## [Compilation from sources failed. Could not load FFI provider](https://www.ruby-forum.com/t/compilation-from-sources-failed-could-not-load-ffi-provider/176543)

<div class="topic-metadata">

**Author:** [@Jean-Christophe\_Le\_S](https://www.ruby-forum.com/u/Jean-Christophe_Le_S)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 10:56pm UTC](https://www.ruby-forum.com/t/compilation-from-sources-failed-could-not-load-ffi-provider/176543 "2009-10-01T22:56:59Z")

</div>

Hello, I have downloaded the sources of jruby for the first time, but I get an error during compilation. Could someone help ? Should I post this to dev ? I am running fedora 9. java version “1.6.0\_07” Java™ SE Runt…

---

## [Inheritance problem with dynamic methods](https://www.ruby-forum.com/t/inheritance-problem-with-dynamic-methods/172425)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 2\
**Last updated:** [July 21, 2009, 1:59pm UTC](https://www.ruby-forum.com/t/inheritance-problem-with-dynamic-methods/172425 "2009-07-21T13:59:15Z")

</div>

Hello, I’m tying to create a method which would allow me to get and set instance variables having the same name as the class. And this should be true even for classes inheriting it. For instance class Mother …

---

## [Troncare cifre decimali](https://www.ruby-forum.com/t/troncare-cifre-decimali/165955)

<div class="topic-metadata">

**Author:** [@Salvatore](https://www.ruby-forum.com/u/Salvatore)\
**Replies:** 2\
**Last updated:** [April 20, 2009, 11:34am UTC](https://www.ruby-forum.com/t/troncare-cifre-decimali/165955 "2009-04-20T11:34:14Z")

</div>

Ciao a tutti e scusate la banalità della domanda ma non riesco a trovare nulla che mi possa aiutare. Ho un numero tipo: 0.09128903812908301293 a me servirebbero le prime 3 cifre dopo la virgola. C’è un modo veloce per…

---

## [ERROR: GlassFish gem needs Java ver. 6.0 or higher!](https://www.ruby-forum.com/t/error-glassfish-gem-needs-java-ver-6-0-or-higher/163498)

<div class="topic-metadata">

**Author:** [@mickeymike](https://www.ruby-forum.com/u/mickeymike)\
**Replies:** 2\
**Last updated:** [March 21, 2009, 12:49am UTC](https://www.ruby-forum.com/t/error-glassfish-gem-needs-java-ver-6-0-or-higher/163498 "2009-03-21T00:49:38Z")

</div>

Hi, I’m currently trying to install a jruby/merb/glassfish environment but i have this issue : $ jruby -S glassfish ERROR: You are running, Java version: 1.5.0\_16. ERROR: GlassFish gem needs Java ver. 6.0 or higher! …

---

## [Link\_to\_remote: return value from action into string?](https://www.ruby-forum.com/t/link-to-remote-return-value-from-action-into-string/155080)

<div class="topic-metadata">

**Author:** [@mrpete](https://www.ruby-forum.com/u/mrpete)\
**Replies:** 2\
**Last updated:** [December 10, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/link-to-remote-return-value-from-action-into-string/155080 "2008-12-10T13:26:29Z")

</div>

Is the only way to get a “return value” from the action called through a div tag via the :update =\> ‘my\_div’ entry? I want the value returned to be put into a string that I can manipulate in my :complete =\> ‘my\_comple…

---

## [First encounter with RSpec, please help](https://www.ruby-forum.com/t/first-encounter-with-rspec-please-help/145490)

<div class="topic-metadata">

**Author:** [@caiwangqin](https://www.ruby-forum.com/u/caiwangqin)\
**Replies:** 2\
**Last updated:** [August 11, 2008, 1:22am UTC](https://www.ruby-forum.com/t/first-encounter-with-rspec-please-help/145490 "2008-08-11T01:22:29Z")

</div>

Hello, I’m working on a feature of insoshi to limit daily connection requests, using a boolean and integer value set by the admin. The feature works fine, but causes 11 failures in \`rake spec’, not to mention the two…

---

## [The realip module and multiple X-Forwarded-For lines](https://www.ruby-forum.com/t/the-realip-module-and-multiple-x-forwarded-for-lines/143269)

<div class="topic-metadata">

**Author:** [@Martin\_Stitt](https://www.ruby-forum.com/u/Martin_Stitt)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/the-realip-module-and-multiple-x-forwarded-for-lines/143269 "2008-07-17T17:07:13Z")

</div>

hi, we are currently using nginx v0.5.35 in our production environment. fast, lean and stable. thanks! and, we have run into one problem recently. i’ve devised what i believe is a fix. the attached a patch file show…

---

## [Rspec render :update](https://www.ruby-forum.com/t/rspec-render-update/142813)

<div class="topic-metadata">

**Author:** [@regealey](https://www.ruby-forum.com/u/regealey)\
**Replies:** 2\
**Last updated:** [July 13, 2008, 6:58am UTC](https://www.ruby-forum.com/t/rspec-render-update/142813 "2008-07-13T06:58:10Z")

</div>

Hi all, I’m having trouble with rspec 1.1.4 and rjs In the controller: render :update do |page| page \<\< ‘added text’ end render :update do |page| page.replace\_html :divid :partial =\> ‘apartial’ end spec: respon…

---

## [Caching a has\_many child's parent](https://www.ruby-forum.com/t/caching-a-has-many-childs-parent/127600)

<div class="topic-metadata">

**Author:** [@patnakajima](https://www.ruby-forum.com/u/patnakajima)\
**Replies:** 2\
**Last updated:** [January 30, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/caching-a-has-many-childs-parent/127600 "2008-01-30T19:55:30Z")

</div>

Let’s say we have two models with a plain has\_many/belongs\_to relationship. class Driver has\_one :car end class Car belongs\_to :driver end The question is this: Why isn’t the car’s parent driver cached when we e…

---

## [Self referential habtm](https://www.ruby-forum.com/t/self-referential-habtm/123935)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 2\
**Last updated:** [December 24, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/self-referential-habtm/123935 "2007-12-24T23:55:57Z")

</div>

Perdonad por la pregunta tonta, pero tengo una tabla de usuarios donde guardo el nombre y una tabla de amigos del tipo: create\_table :users\_friends do |t| t.column :user\_id, :integer t.column :friend\_id, :integer …

---

## [AAF index updated when record is deleted?](https://www.ruby-forum.com/t/aaf-index-updated-when-record-is-deleted/110557)

<div class="topic-metadata">

**Author:** [@izit](https://www.ruby-forum.com/u/izit)\
**Replies:** 2\
**Last updated:** [July 28, 2007, 9:20am UTC](https://www.ruby-forum.com/t/aaf-index-updated-when-record-is-deleted/110557 "2007-07-28T09:20:26Z")

</div>

Got it all running nicely now for a few days but noticed something funny. I have a table were lots of records get added, deleted every day. I can see the added records being added by AAF to the index but I notices som…

---

## [Need help to understand form\_tag vs form\_for](https://www.ruby-forum.com/t/need-help-to-understand-form-tag-vs-form-for/108899)

<div class="topic-metadata">

**Author:** [@pacochin](https://www.ruby-forum.com/u/pacochin)\
**Replies:** 2\
**Last updated:** [July 9, 2007, 1:06pm UTC](https://www.ruby-forum.com/t/need-help-to-understand-form-tag-vs-form-for/108899 "2007-07-09T13:06:51Z")

</div>

Hi, Need help to understand and differences when to use form\_tag and form\_for… I have a simple app that runs on creating article and allow user to upload picture. I have no problem to have a form using form\_for to c…

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

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