# Top

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

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

---

## [Google QUIC support in nginx](https://www.ruby-forum.com/t/google-quic-support-in-nginx/234006)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 30, 2015, 8:29am UTC](https://www.ruby-forum.com/t/google-quic-support-in-nginx/234006 "2015-01-30T08:29:38Z")

</div>

Any plans to support Google QUIC\[1\] in nginx? \[1\] QUIC - Wikipedia Posted at Nginx Forum:

---

## [Errors in rails console](https://www.ruby-forum.com/t/errors-in-rails-console/233326)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [December 4, 2014, 8:20am UTC](https://www.ruby-forum.com/t/errors-in-rails-console/233326 "2014-12-04T08:20:36Z")

</div>

hi when i enter rails console this errors displays ,could you help me please ? /home/farnaz/workspace/sample\_app/path/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active\_support/dependencies.rb:252:in require': cann…

---

## [Override String.to\_f method](https://www.ruby-forum.com/t/override-string-to-f-method/237700)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 25, 2013, 1:58pm UTC](https://www.ruby-forum.com/t/override-string-to-f-method/237700 "2013-11-25T13:58:19Z")

</div>

Hi, I’m trying to override the .to\_f method in String class in order to trunk strings with more than 10 decimals: class String def to\_f if self.size \> 10 aux = self\[0…9\] return aux.to\_f else super end end end …

---

## [Getting info from array](https://www.ruby-forum.com/t/getting-info-from-array/225045)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [December 10, 2012, 1:24pm UTC](https://www.ruby-forum.com/t/getting-info-from-array/225045 "2012-12-10T13:24:35Z")

</div>

Hello there. I would like to make script that gets failed logging attempt ip, when it count that ip tried logging more than 5 times in row script will write new block rule with that ip to ipfilter in freebsd 8. So I…

---

## [If x.condition, set x to y](https://www.ruby-forum.com/t/if-x-condition-set-x-to-y/221187)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [July 4, 2012, 8:52am UTC](https://www.ruby-forum.com/t/if-x-condition-set-x-to-y/221187 "2012-07-04T08:52:12Z")

</div>

Hi, big time newbie here. if actor\_data\['biography'\].empty? actor\_data\['biography'\] = "Biography not available" end Is there a shorter/better way to do this? Thanks for your help!

---

## [Modify only a .rb file, but not other .rb files, while still extending core classes?](https://www.ruby-forum.com/t/modify-only-a-rb-file-but-not-other-rb-files-while-still-extending-core-classes/213210)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [October 27, 2011, 1:43pm UTC](https://www.ruby-forum.com/t/modify-only-a-rb-file-but-not-other-rb-files-while-still-extending-core-classes/213210 "2011-10-27T13:43:17Z")

</div>

Given is a small .rb file. In that .rb file, class Array is modified and a convenience method is added. class Array def rand I want to limit this modification to only that specific .rb file though. When I use that…

---

## [Logging DRb source IP address](https://www.ruby-forum.com/t/logging-drb-source-ip-address/212671)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 11, 2011, 10:22pm UTC](https://www.ruby-forum.com/t/logging-drb-source-ip-address/212671 "2011-10-11T22:22:01Z")

</div>

I use Drb to talk from a number of clients to a central server. I have logging on the server that records the method called and the arguments that it was called with. I’d like to include the IP address that the Drb re…

---

## [REXML advice - output](https://www.ruby-forum.com/t/rexml-advice-output/195086)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 7\
**Last updated:** [October 29, 2010, 10:16pm UTC](https://www.ruby-forum.com/t/rexml-advice-output/195086 "2010-10-29T22:16:42Z")

</div>

Hey all, I would like to pick your brains about Rexml and how to report from it. For example, I am reading an XML file using references to each XML tag like so: doc.root.each\_element("/UserData/List/ItemInfo/Title") …

---

## [Ruby eval function](https://www.ruby-forum.com/t/ruby-eval-function/197132)

<div class="topic-metadata">

**Author:** [@kevid](https://www.ruby-forum.com/u/kevid)\
**Replies:** 7\
**Last updated:** [April 27, 2010, 7:55pm UTC](https://www.ruby-forum.com/t/ruby-eval-function/197132 "2010-04-27T19:55:35Z")

</div>

Hi all, I have the code below from “mechanize gem” \[ the file is module.rb\]. am a newbie in ruby. Could anyone help me redesign the code below to use either (a) block eval OR (b) not use eval at all. Thoughts ? c…

---

## [Has HAML gone "mainstream"?](https://www.ruby-forum.com/t/has-haml-gone-mainstream/174581)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 7\
**Last updated:** [September 1, 2009, 5:18am UTC](https://www.ruby-forum.com/t/has-haml-gone-mainstream/174581 "2009-09-01T05:18:00Z")

</div>

I’ve been looking for a new gig lately, and have noticed that an alarming (to me, since I don’t yet speak HAML) number of the openings mention HAML as a required or desired skill. I noticed HAML out of the corner of m…

---

## [Re: Will engines be around in Rails 2.3?](https://www.ruby-forum.com/t/re-will-engines-be-around-in-rails-2-3/160874)

<div class="topic-metadata">

**Author:** [@Michael\_Klett](https://www.ruby-forum.com/u/Michael_Klett)\
**Replies:** 1\
**Last updated:** [February 21, 2009, 11:13am UTC](https://www.ruby-forum.com/t/re-will-engines-be-around-in-rails-2-3/160874 "2009-02-21T11:13:32Z")

</div>

I didn’t notice a mention of engine routes and how they are currently different in Rails 2.3.0. As far as I can tell, there is no control over ordering. All of the plugin/engine routes load, and then the main app r…

---

## [Class design question](https://www.ruby-forum.com/t/class-design-question/158295)

<div class="topic-metadata">

**Author:** [@JesSSSSs\_Gabriel\_y\_S](https://www.ruby-forum.com/u/JesSSSSs_Gabriel_y_S)\
**Replies:** 7\
**Last updated:** [January 22, 2009, 10:41am UTC](https://www.ruby-forum.com/t/class-design-question/158295 "2009-01-22T10:41:03Z")

</div>

Hi, I have a question about what would be the best way to implement this functionality. I have a deck class which represents a deck of something (for example cards), with the functionality you would expect: cut, shuf…

---

## [What is the difference between two block?](https://www.ruby-forum.com/t/what-is-the-difference-between-two-block/118707)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 7\
**Last updated:** [October 30, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/what-is-the-difference-between-two-block/118707 "2007-10-30T13:57:33Z")

</div>

Dear friends, What is the difference between do … end block and { … }. Is there any big difference.while doign the program more than one do and also we can have inside one do … end. like this do puts hai do puts …

---

## [Adding images using textile](https://www.ruby-forum.com/t/adding-images-using-textile/118233)

<div class="topic-metadata">

**Author:** [@maggiep](https://www.ruby-forum.com/u/maggiep)\
**Replies:** 7\
**Last updated:** [October 25, 2007, 1:44pm UTC](https://www.ruby-forum.com/t/adding-images-using-textile/118233 "2007-10-25T13:44:42Z")

</div>

I am trying to add images to a web page using textile but the image is not showing up. I put the image in my public folder/images then I used the following link: !http://(mywebsite)/photo.jpg! Nothing happened - wher…

---

## [Using Predicates to look at an array](https://www.ruby-forum.com/t/using-predicates-to-look-at-an-array/116354)

<div class="topic-metadata">

**Author:** [@epasquier](https://www.ruby-forum.com/u/epasquier)\
**Replies:** 7\
**Last updated:** [October 4, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/using-predicates-to-look-at-an-array/116354 "2007-10-04T22:35:32Z")

</div>

Hi all, I have an array of shipping\_type’s being returned, and I want to see what is in there. In the past I have done: shipping\_type.include?(Cart::SHIPPING\_TYPE\_REGULAR).should be\_true This works, but looks reall…

---

## [Has\_many and class function](https://www.ruby-forum.com/t/has-many-and-class-function/111074)

<div class="topic-metadata">

**Author:** [@Fabien\_J](https://www.ruby-forum.com/u/Fabien_J)\
**Replies:** 7\
**Last updated:** [August 2, 2007, 2:21pm UTC](https://www.ruby-forum.com/t/has-many-and-class-function/111074 "2007-08-02T14:21:56Z")

</div>

Hello, i have two models : class Container \< ActiveRecord::Base has\_many :bottles end class Bottle \< ActiveRecord::Base belongs\_to :container def self.find\_all\_from\_container(container) container.bottles.find(:a…

---

## [Creating Radiant Extensions Tutorial](https://www.ruby-forum.com/t/creating-radiant-extensions-tutorial/107561)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 7\
**Last updated:** [July 4, 2007, 1:46am UTC](https://www.ruby-forum.com/t/creating-radiant-extensions-tutorial/107561 "2007-07-04T01:46:53Z")

</div>

I just finished up the rough draft of the Creating Radiant Extensions Tutorial: http://wiki.radiantcms.org/Creating\_Radiant\_Extensions Corrections or suggestions are welcome. Better yet, feel free to make changes you…

---

## [STI and acts\_as\_list: scope =\> type does not work?](https://www.ruby-forum.com/t/sti-and-acts-as-list-scope-type-does-not-work/79555)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 1\
**Last updated:** [December 16, 2006, 12:23pm UTC](https://www.ruby-forum.com/t/sti-and-acts-as-list-scope-type-does-not-work/79555 "2006-12-16T12:23:14Z")

</div>

Hi all I have a model Product1 and Product2 which both have Product as parent class. I use single table inheritance to share their similar DB fields. Now I wanted to add acts\_as\_list for them, and wanted to use :scope…

---

## [RoR : Shortening this code](https://www.ruby-forum.com/t/ror-shortening-this-code/71239)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 7\
**Last updated:** [October 8, 2006, 12:35pm UTC](https://www.ruby-forum.com/t/ror-shortening-this-code/71239 "2006-10-08T12:35:53Z")

</div>

Hello, Under Ruby On Rails, I would like to replace mouvement = Mouvement.find(params\[:id\]) mouvement.statut = :traite mouvement.save! By Mouvement.update(params\[:id\], statut =’#{:traite}’") But this error occurs …

---

## [Offering downloads only to registered users](https://www.ruby-forum.com/t/offering-downloads-only-to-registered-users/57489)

<div class="topic-metadata">

**Author:** [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Replies:** 7\
**Last updated:** [August 28, 2006, 3:46pm UTC](https://www.ruby-forum.com/t/offering-downloads-only-to-registered-users/57489 "2006-08-28T15:46:55Z")

</div>

I’m writing an app for a blood exam center, where people can go and check the results without going physically there. The customers log in the system and a pdf download is offered to them. The downloads though will n…

---

## [Method arguments](https://www.ruby-forum.com/t/method-arguments/102079)

<div class="topic-metadata">

**Author:** [@sard](https://www.ruby-forum.com/u/sard)\
**Replies:** 7\
**Last updated:** [August 15, 2006, 2:14pm UTC](https://www.ruby-forum.com/t/method-arguments/102079 "2006-08-15T14:14:47Z")

</div>

Is there a way to refer to the arguments passed to a function, so I can avoid re-stating the argument inside it like the example below? puts “this is a test”\[4…“this is a test”.length\]

---

## [Going crazy! ActiveRecord::StatementInvalid in Project](https://www.ruby-forum.com/t/going-crazy-activerecord-statementinvalid-in-project/94635)

<div class="topic-metadata">

**Author:** [@ssssss](https://www.ruby-forum.com/u/ssssss)\
**Replies:** 7\
**Last updated:** [May 10, 2006, 10:04am UTC](https://www.ruby-forum.com/t/going-crazy-activerecord-statementinvalid-in-project/94635 "2006-05-10T10:04:53Z")

</div>

any suggestions on why I am gaining this error. ActiveRecord::StatementInvalid in ProjectsController#create Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve…

---

## [Rails 1.1 and "freeze\_gems"](https://www.ruby-forum.com/t/rails-1-1-and-freeze-gems/89290)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 7\
**Last updated:** [April 4, 2006, 12:44am UTC](https://www.ruby-forum.com/t/rails-1-1-and-freeze-gems/89290 "2006-04-04T00:44:47Z")

</div>

I’m on OS X Tiger, and just upgraded my gems. I also ran ‘rake rails:update’. After that, I ran “rake freeze\_gems”, I recieve the following: ===================== Freezing to the gems for Rails 1.1.0 rm -rf vendor/…

---

## [Delaying initialization of associations until first access](https://www.ruby-forum.com/t/delaying-initialization-of-associations-until-first-access/53465)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 7\
**Last updated:** [February 7, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/delaying-initialization-of-associations-until-first-access/53465 "2006-02-07T15:44:06Z")

</div>

Guys, Say I have the following: class Person \< ActiveRecord::Base has\_one :house end class House \< ActiveRecord::Base belongs\_to :person attr\_accessor :color end Then I have the following code: john = Person.new …

---

## [USRP source starts to receive after certain samples](https://www.ruby-forum.com/t/usrp-source-starts-to-receive-after-certain-samples/261411)

<div class="topic-metadata">

**Author:** [@palasport](https://www.ruby-forum.com/u/palasport)\
**Replies:** 0\
**Last updated:** [June 15, 2021, 5:39pm UTC](https://www.ruby-forum.com/t/usrp-source-starts-to-receive-after-certain-samples/261411 "2021-06-15T17:39:25Z")

</div>

Hi all, I am very new to Gnuradio and USRP, and I have a question about the code transmission delay between USRPs. I have two USRP E310 with UBX160 daughterboards. I send a sequence of code from one USRP using simple a…

---

## [Make test error](https://www.ruby-forum.com/t/make-test-error/225841)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 8\
**Last updated:** [September 4, 2013, 2:44pm UTC](https://www.ruby-forum.com/t/make-test-error/225841 "2013-09-04T14:44:15Z")

</div>

hello everyone, I try to install gnuradio by source code, the version is 3.6.3. my operation system is Ubuntu 12.04. and I get this error while running make test The following tests FAILED: 120 - qa\_ctcss\_squelch (F…

---

## [Problem in Installing facebook\_oauth GEM in Windows](https://www.ruby-forum.com/t/problem-in-installing-facebook-oauth-gem-in-windows/215344)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 2, 2012, 3:16pm UTC](https://www.ruby-forum.com/t/problem-in-installing-facebook-oauth-gem-in-windows/215344 "2012-01-02T15:16:24Z")

</div>

Hi , I am using ruby 1.8.6 and rails 2.3.5 in windows… I have to install facebook\_oauth gem, but i got below the error: C:\\Documents and Settings\\Administrator\>gem install facebook\_oauth -v=0.3.0 Temporarily enhanci…

---

## [Gem only work in home directory](https://www.ruby-forum.com/t/gem-only-work-in-home-directory/200096)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 6, 2010, 2:25am UTC](https://www.ruby-forum.com/t/gem-only-work-in-home-directory/200096 "2010-12-06T02:25:38Z")

</div>

Hello every body, i have met a strange issue about activerecord gem. This is my simple code: =========================== #!/usr/bin/ruby require “rubygems” require “active\_record” ActiveRecord::Base.establish\_conne…

---

## [I18n translators tools](https://www.ruby-forum.com/t/i18n-translators-tools/193058)

<div class="topic-metadata">

**Author:** [@pejuko](https://www.ruby-forum.com/u/pejuko)\
**Replies:** 3\
**Last updated:** [August 10, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/i18n-translators-tools/193058 "2010-08-10T16:27:48Z")

</div>

Hi, there is new tool for handling translation files. You can install it using command gem install i18n-translators-tools This package brings you useful utility and library which can help you to handle locale files…

---

## [Need help getting environment setup](https://www.ruby-forum.com/t/need-help-getting-environment-setup/188093)

<div class="topic-metadata">

**Author:** [@bishopneo](https://www.ruby-forum.com/u/bishopneo)\
**Replies:** 8\
**Last updated:** [May 6, 2010, 6:07am UTC](https://www.ruby-forum.com/t/need-help-getting-environment-setup/188093 "2010-05-06T06:07:24Z")

</div>

Greetings all. Full disclosure, I am not a ruby developer by choice. I’ve been brought onto a project to do some front-end work however I am having major problems getting my environment up and running. (BTW, I am li…

---

## [Review: Array#hash and irtests.bat](https://www.ruby-forum.com/t/review-array-hash-and-irtests-bat/165832)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [April 21, 2009, 8:10am UTC](https://www.ruby-forum.com/t/review-array-hash-and-irtests-bat/165832 "2009-04-21T08:10:30Z")

</div>

---

## [Receiving on both sub devices at the same time (LFRX)](https://www.ruby-forum.com/t/receiving-on-both-sub-devices-at-the-same-time-lfrx/160429)

<div class="topic-metadata">

**Author:** [@Einar\_T](https://www.ruby-forum.com/u/Einar_T)\
**Replies:** 3\
**Last updated:** [February 16, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/receiving-on-both-sub-devices-at-the-same-time-lfrx/160429 "2009-02-16T20:56:24Z")

</div>

Hi all helpful GR people :slight\_smile: I am trying to combine the two sub device on a LFRX card, but I can not find any documentation on the USRP dual source. GRC has it’s own block “grc\_usrp.dual\_source\_c”, but usi…

---

## [Mini-sprint Results](https://www.ruby-forum.com/t/mini-sprint-results/155780)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 3\
**Last updated:** [December 24, 2008, 5:50am UTC](https://www.ruby-forum.com/t/mini-sprint-results/155780 "2008-12-24T05:50:56Z")

</div>

Did anything come out of the Mini-sprint last weekend? Were you guys able to meet? Cheers, Ben M.

---

## [Ruby midi problem](https://www.ruby-forum.com/t/ruby-midi-problem/156088)

<div class="topic-metadata">

**Author:** [@rick\_2047](https://www.ruby-forum.com/u/rick_2047)\
**Replies:** 3\
**Last updated:** [December 23, 2008, 10:48pm UTC](https://www.ruby-forum.com/t/ruby-midi-problem/156088 "2008-12-23T22:48:57Z")

</div>

Ok i was going through the book “Ruby practical Projects” and right at the first chapter i had this problem. The first chapter is all about calling the alsa raw midi functions in ruby to play midi from ruby. I think i…

---

## [Unit test fails, but shouldnt have](https://www.ruby-forum.com/t/unit-test-fails-but-shouldnt-have/156128)

<div class="topic-metadata">

**Author:** [@merrick](https://www.ruby-forum.com/u/merrick)\
**Replies:** 8\
**Last updated:** [December 21, 2008, 7:14am UTC](https://www.ruby-forum.com/t/unit-test-fails-but-shouldnt-have/156128 "2008-12-21T07:14:02Z")

</div>

Hi, I have a one to many relationship ( stories & votes ), that i wish to test via a unit test. In development everything works great, votes ends up w/ the correct story\_id and the relationship is great ( i can Vote.…

---

## [Multi-site Extension](https://www.ruby-forum.com/t/multi-site-extension/155785)

<div class="topic-metadata">

**Author:** [@toddq](https://www.ruby-forum.com/u/toddq)\
**Replies:** 3\
**Last updated:** [December 16, 2008, 9:08pm UTC](https://www.ruby-forum.com/t/multi-site-extension/155785 "2008-12-16T21:08:41Z")

</div>

I’ve installed the multi-site extension, which is most excellent, but I can’t figure out the URL patterns needed to navigate to each of my different sites. Can someone using multi-site give me the quick idiot’s guide …

---

## [Auto\_complete - no lista los items](https://www.ruby-forum.com/t/auto-complete-no-lista-los-items/142831)

<div class="topic-metadata">

**Author:** [@dvancoevorden](https://www.ruby-forum.com/u/dvancoevorden)\
**Replies:** 3\
**Last updated:** [July 12, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/auto-complete-no-lista-los-items/142831 "2008-07-12T17:54:45Z")

</div>

He empezado a utilizar el plugin autocomplete, para instalarlo realizo lo siguiente : villa$ script/plugin install auto\_complete ./README ./Rakefile ./init.rb ./lib/auto\_complete.rb ./lib/auto\_complete\_macros\_helper…

---

## [Maybe a bug in Nginx 6.0.30 x86\_64](https://www.ruby-forum.com/t/maybe-a-bug-in-nginx-6-0-30-x86-64/137279)

<div class="topic-metadata">

**Author:** [@FranSSSSois\_Battail](https://www.ruby-forum.com/u/FranSSSSois_Battail)\
**Replies:** 8\
**Last updated:** [May 12, 2008, 9:56am UTC](https://www.ruby-forum.com/t/maybe-a-bug-in-nginx-6-0-30-x86-64/137279 "2008-05-12T09:56:19Z")

</div>

Hi All, I’ve an issue with Nginx 0.6.30. So far it seems that the following things are needed to reproduce this bug: keepalives enabled, Nginx running on Linux x86\_64, many concurrent connections (\> 300). Nginx cras…

---

## [Eval, module\_eval, define\_method, and all that](https://www.ruby-forum.com/t/eval-module-eval-define-method-and-all-that/120519)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 3\
**Last updated:** [November 19, 2007, 1:22am UTC](https://www.ruby-forum.com/t/eval-module-eval-define-method-and-all-that/120519 "2007-11-19T01:22:10Z")

</div>

I don’t know how Ruby scoping works when the code involves: nested "def"s eval module\_eval instance\_eval define\_method It would be nice to find an app-note for this issue. (More generally, it would be nice to see wri…

---

## [Different ferret fields for instances of the same model?](https://www.ruby-forum.com/t/different-ferret-fields-for-instances-of-the-same-model/111727)

<div class="topic-metadata">

**Author:** [@allenyoung](https://www.ruby-forum.com/u/allenyoung)\
**Replies:** 3\
**Last updated:** [August 13, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/different-ferret-fields-for-instances-of-the-same-model/111727 "2007-08-13T12:50:37Z")

</div>

Hi all, So far as I know, while using acts\_as\_ferret, we should add the following declaration in the ActiveRecord model which is going to be indexed: acts\_as\_ferret({:fields =\> @@ferrect\_fields}) in which @@ferrect\_…

---

## [JasperReports for Ruby?](https://www.ruby-forum.com/t/jasperreports-for-ruby/81263)

<div class="topic-metadata">

**Author:** [@paolodona](https://www.ruby-forum.com/u/paolodona)\
**Replies:** 8\
**Last updated:** [January 9, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/jasperreports-for-ruby/81263 "2007-01-09T13:14:24Z")

</div>

Ciao ragazzuoli, qualcuno conosce qualcosa tipo il buon vecchio JasperReports http://jasperforge.org/sf/projects/jasperreports per ruby/rails? domanda alternativa/complementare: come vi comportate con la stampa di re…

---

## [How to know if i am in a module or in the main script?](https://www.ruby-forum.com/t/how-to-know-if-i-am-in-a-module-or-in-the-main-script/74931)

<div class="topic-metadata">

**Author:** [@matrixise](https://www.ruby-forum.com/u/matrixise)\
**Replies:** 8\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/how-to-know-if-i-am-in-a-module-or-in-the-main-script/74931 "2006-11-07T11:08:12Z")

</div>

Hi all, with ruby, it’s possible to check if I am in the main script or in a module with if name == ‘main’ Is there the same thing with ruby ? Thanks

---

## [RSS/Atom feed consuming lib?](https://www.ruby-forum.com/t/rss-atom-feed-consuming-lib/72585)

<div class="topic-metadata">

**Author:** [@pazu](https://www.ruby-forum.com/u/pazu)\
**Replies:** 8\
**Last updated:** [October 20, 2006, 2:00am UTC](https://www.ruby-forum.com/t/rss-atom-feed-consuming-lib/72585 "2006-10-20T02:00:10Z")

</div>

I have a customer (we build their intranet with Rails) that subscribes to a number of news feeds. They want to make these feeds available on their intranet so we need to fetch, parse and publish these feeds (like a in…

---

## [Radiant Meetup at Rails Conf](https://www.ruby-forum.com/t/radiant-meetup-at-rails-conf/63833)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 8\
**Last updated:** [June 24, 2006, 10:40pm UTC](https://www.ruby-forum.com/t/radiant-meetup-at-rails-conf/63833 "2006-06-24T22:40:44Z")

</div>

Raise your hand if you want to get together to talk about Radiant at Rails Conf? When’s the best time? Thursday Lunch/Afternoon Saturday Lunch Other – John L. http://wiseheartdesign.com

---

## [\[ANN\] New Rails site... RightCart.com](https://www.ruby-forum.com/t/ann-new-rails-site-rightcart-com/62157)

<div class="topic-metadata">

**Author:** [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Replies:** 8\
**Last updated:** [June 1, 2006, 11:32pm UTC](https://www.ruby-forum.com/t/ann-new-rails-site-rightcart-com/62157 "2006-06-01T23:32:12Z")

</div>

Hello Everyone ! Wanted to announce the launch of a new, 100%, Ruby/Rails based shopping system. http://www.rightcart.com (our blog: http://www.rightcartblog.com) It’s basically a shopping widget that allows user…

---

## [A newbie. not getting run a script](https://www.ruby-forum.com/t/a-newbie-not-getting-run-a-script/57244)

<div class="topic-metadata">

**Author:** [@san](https://www.ruby-forum.com/u/san)\
**Replies:** 8\
**Last updated:** [April 12, 2006, 9:20am UTC](https://www.ruby-forum.com/t/a-newbie-not-getting-run-a-script/57244 "2006-04-12T09:20:09Z")

</div>

how to start ruby programming installed a irb. started a tutorial as in following website http://www.crai.archi.fr/RubyLibraryDepot/Ruby/RUBY\_Library\_Depot.htm in programming chapter it asks to type and save a coding…

---

## [Nested find(:all, :include =\> \[\]) statements](https://www.ruby-forum.com/t/nested-find-all-include-statements/80339)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 8\
**Last updated:** [March 14, 2006, 2:07pm UTC](https://www.ruby-forum.com/t/nested-find-all-include-statements/80339 "2006-03-14T14:07:37Z")

</div>

Is there a way for me to do: OrderItem.find(:all, :include =\> \[:user, :product =\> \[:supplier\]\] So I don’t have a supplier\_id on my order\_item, but have it on my product, which is part of order\_item. Joerg

---

## [Offline application with Ruby on Rails](https://www.ruby-forum.com/t/offline-application-with-ruby-on-rails/49366)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 3\
**Last updated:** [December 7, 2005, 2:27pm UTC](https://www.ruby-forum.com/t/offline-application-with-ruby-on-rails/49366 "2005-12-07T14:27:55Z")

</div>

I was wondering if anyone out there has had to develop an application that is able to collect data offline and then sync back up to a hosted database when an internet connection is available? If you have what resourc…

---

## [Kgio 2.9.0 - kinder, gentler I/O for Ruby + Unix](https://www.ruby-forum.com/t/kgio-2-9-0-kinder-gentler-i-o-for-ruby-unix/238908)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 15, 2014, 10:33am UTC](https://www.ruby-forum.com/t/kgio-2-9-0-kinder-gentler-i-o-for-ruby-unix/238908 "2014-02-15T10:33:07Z")

</div>

kgio provides non-blocking I/O methods for Ruby without raising exceptions on EAGAIN and EINPROGRESS. It is intended for use with the Unicorn and Rainbows! Rack servers, but may be used by other applications (that ru…

---

## [Each website with its own fastcgi\_cache\_path](https://www.ruby-forum.com/t/each-website-with-its-own-fastcgi-cache-path/236926)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 11, 2013, 6:51pm UTC](https://www.ruby-forum.com/t/each-website-with-its-own-fastcgi-cache-path/236926 "2013-10-11T18:51:48Z")

</div>

Hello guys, I would like to know if it is possible to have multiple fastcgi\_cache\_path / keys\_zone. If I host multiple websites and all share the same keys\_zone, it becomes a problem if I have to purge the cache. I…

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

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