# Top

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

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

---

## [Script/console doesn't load model](https://www.ruby-forum.com/t/script-console-doesnt-load-model/86052)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 4\
**Last updated:** [February 20, 2007, 1:21am UTC](https://www.ruby-forum.com/t/script-console-doesnt-load-model/86052 "2007-02-20T01:21:18Z")

</div>

I’m trying to test functions in my models using the console. Should the code be in the model? I think so. I’m encapsulating find( … :conditions=\> … However these functions aren’t available when I run the console. A…

---

## [Re: What we have here is a retard pretending to be a compute](https://www.ruby-forum.com/t/re-what-we-have-here-is-a-retard-pretending-to-be-a-compute/80598)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 4\
**Last updated:** [December 29, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/re-what-we-have-here-is-a-retard-pretending-to-be-a-compute/80598 "2006-12-29T17:32:47Z")

</div>

removed\_email\_address@domain.invalid wrote: http://www.iam.unibe.ch/~scg/Archive/Papers/Scha04bOOEncapsulation.pdf . this retard thinks Smalltalk and Ruby don’t have private public and what not. what a joke. This is …

---

## [Using like in multiple conditions](https://www.ruby-forum.com/t/using-like-in-multiple-conditions/76840)

<div class="topic-metadata">

**Author:** [@aginghipster](https://www.ruby-forum.com/u/aginghipster)\
**Replies:** 4\
**Last updated:** [November 21, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/using-like-in-multiple-conditions/76840 "2006-11-21T22:17:04Z")

</div>

From the beta version of the Agile book V2, I can understand the following: User.find(:all, :conditions =\> \[“name like ?” , params\[:name\]+"%" \]) yet\_more = Order.find(:all, :conditions =\> \[“name = :name and pay\_type …

---

## [Je perds les accents dans le cache](https://www.ruby-forum.com/t/je-perds-les-accents-dans-le-cache/99294)

<div class="topic-metadata">

**Author:** [@mirandole](https://www.ruby-forum.com/u/mirandole)\
**Replies:** 4\
**Last updated:** [July 24, 2006, 5:24pm UTC](https://www.ruby-forum.com/t/je-perds-les-accents-dans-le-cache/99294 "2006-07-24T17:24:50Z")

</div>

Tout se passe bien au premier lancement mais au rafraichissement je perds les accents Merci de votre aide

---

## [How to add a migration with a plugin?](https://www.ruby-forum.com/t/how-to-add-a-migration-with-a-plugin/61605)

<div class="topic-metadata">

**Author:** [@Berin\_L](https://www.ruby-forum.com/u/Berin_L)\
**Replies:** 4\
**Last updated:** [May 26, 2006, 3:10pm UTC](https://www.ruby-forum.com/t/how-to-add-a-migration-with-a-plugin/61605 "2006-05-26T15:10:40Z")

</div>

I’m working on a plugin that requires some database support to do its job (adding a model or two). I’d like the plugin to automatically add a migration once it is installed. Is there already a mechanism for this? If…

---

## [Subversion setup for maintaining customizations to base code](https://www.ruby-forum.com/t/subversion-setup-for-maintaining-customizations-to-base-code/59550)

<div class="topic-metadata">

**Author:** [@Hammed\_M](https://www.ruby-forum.com/u/Hammed_M)\
**Replies:** 4\
**Last updated:** [May 4, 2006, 4:17am UTC](https://www.ruby-forum.com/t/subversion-setup-for-maintaining-customizations-to-base-code/59550 "2006-05-04T04:17:53Z")

</div>

To the subversion experts out there: I’d like to set up svn to maintain customizations to my base app for each client. A simple example would be to have a base CSS file and a custom one for each client. What is the be…

---

## [Passing data from controller to rjs and then to partial](https://www.ruby-forum.com/t/passing-data-from-controller-to-rjs-and-then-to-partial/94362)

<div class="topic-metadata">

**Author:** [@psethi2000](https://www.ruby-forum.com/u/psethi2000)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/passing-data-from-controller-to-rjs-and-then-to-partial/94362 "2006-05-03T18:59:13Z")

</div>

Hello Experts, I am fetching data in my controller from a web service def search response = @@api.DoSearch() end and in my .rjs template, I am doing page.replace\_html ‘fields\_chooser’, :partial =\> ‘fields\_chooser’ …

---

## [Module.private like method](https://www.ruby-forum.com/t/module-private-like-method/58796)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 4\
**Last updated:** [May 2, 2006, 12:05am UTC](https://www.ruby-forum.com/t/module-private-like-method/58796 "2006-05-02T00:05:40Z")

</div>

i want to make a class method similar to Module.private in that it should affect subsequent instance method defentions. class Foo def self.rule name # code such that all subsequent instance methods # defined in subc…

---

## [Newbie query regarding ruby best practice](https://www.ruby-forum.com/t/newbie-query-regarding-ruby-best-practice/53340)

<div class="topic-metadata">

**Author:** [@Neowulf](https://www.ruby-forum.com/u/Neowulf)\
**Replies:** 4\
**Last updated:** [February 2, 2006, 7:45am UTC](https://www.ruby-forum.com/t/newbie-query-regarding-ruby-best-practice/53340 "2006-02-02T07:45:23Z")

</div>

Hi all, I’ve just finished working on a few util scripts in Ruby to cut my teeth and I was wondering what the best practice is with regards the use of class methods. E.g. Is it better to do something like this… requ…

---

## [Undefined method \`scafford'](https://www.ruby-forum.com/t/undefined-method-scafford/48160)

<div class="topic-metadata">

**Author:** [@gary](https://www.ruby-forum.com/u/gary)\
**Replies:** 4\
**Last updated:** [November 17, 2005, 7:34am UTC](https://www.ruby-forum.com/t/undefined-method-scafford/48160 "2005-11-17T07:34:37Z")

</div>

I went through the tutorial. I assume this is because of my mysql path is not set right but I have tried connecting to the host / port combinatrion and the socket connection. How would I know what the socket value sh…

---

## [Typo does not to work](https://www.ruby-forum.com/t/typo-does-not-to-work/47745)

<div class="topic-metadata">

**Author:** [@hipertracker](https://www.ruby-forum.com/u/hipertracker)\
**Replies:** 4\
**Last updated:** [November 13, 2005, 11:32pm UTC](https://www.ruby-forum.com/t/typo-does-not-to-work/47745 "2005-11-13T23:32:30Z")

</div>

I cannot lauch Typo 2.0.6 under my Debian 3.1. I set up chmod a+w for log and public folder. public/.htaccess is using dispatch.cgi. database mysql5.0 works fine and database.yml is set correctly. I lauch webrick with…

---

## [Ruby holiday in the UK?](https://www.ruby-forum.com/t/ruby-holiday-in-the-uk/228619)

<div class="topic-metadata">

**Author:** [@louisror](https://www.ruby-forum.com/u/louisror)\
**Replies:** 0\
**Last updated:** [April 30, 2013, 2:12pm UTC](https://www.ruby-forum.com/t/ruby-holiday-in-the-uk/228619 "2013-04-30T14:12:04Z")

</div>

Hola Espana, Hope you guys are doing well. The UK contract Rails market has got awesome over the last couple of weeks. I’ve got like 6 friggin’ contracts available at the moment in London and around the UK working on…

---

## [2 levels nested form with a polymorphic association](https://www.ruby-forum.com/t/2-levels-nested-form-with-a-polymorphic-association/195701)

<div class="topic-metadata">

**Author:** [@temesta](https://www.ruby-forum.com/u/temesta)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 1:15pm UTC](https://www.ruby-forum.com/t/2-levels-nested-form-with-a-polymorphic-association/195701 "2010-09-28T13:15:52Z")

</div>

Hi, I’m trying to build a complex nested form for the model ‘page’, which has a polymorphic association with different component types. Unfortunately it does not seem to work properly. model “Page” : has\_many :compo…

---

## [Bad link?](https://www.ruby-forum.com/t/bad-link/174401)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 1:33pm UTC](https://www.ruby-forum.com/t/bad-link/174401 "2009-08-26T13:33:15Z")

</div>

sorry if this is the wrong place for this, but there appears to be a bad link: http://rails-engines.org/development the link to “README” Also any update on the “no migrations” aspect of EDGE? Thanks. -r

---

## [403 Forbidden Mediawiki](https://www.ruby-forum.com/t/403-forbidden-mediawiki/165257)

<div class="topic-metadata">

**Author:** [@SSSlippy](https://www.ruby-forum.com/u/SSSlippy)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/403-forbidden-mediawiki/165257 "2009-04-10T22:42:19Z")

</div>

This is my config file however when going to http://ssslippy.com/wiki/ it gives me a 403 error. I cant figure out for the life of me why. Anyone got an idea? In the error logs I see 2009/04/10 16:27:44 6421#0: \*1 “…

---

## [Routing issue/bug?](https://www.ruby-forum.com/t/routing-issue-bug/140500)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 8\
**Last updated:** [June 16, 2008, 3:40pm UTC](https://www.ruby-forum.com/t/routing-issue-bug/140500 "2008-06-16T15:40:31Z")

</div>

For some reason the following form always sends me to the index action \<% form\_for :league, :url =\> admin\_leagues\_url do |f| %\> … \<% end %\> If I set the :url to leagues\_url (to which is also set in the routes file) …

---

## [Question about io problem](https://www.ruby-forum.com/t/question-about-io-problem/138724)

<div class="topic-metadata">

**Author:** [@M.Kursad\_DARA](https://www.ruby-forum.com/u/M.Kursad_DARA)\
**Replies:** 8\
**Last updated:** [May 27, 2008, 2:34pm UTC](https://www.ruby-forum.com/t/question-about-io-problem/138724 "2008-05-27T14:34:34Z")

</div>

How can i optimize io on nginx ? it’s serving image and flv files. IO is very high ( %90 ) is there any option to handle it ? thanks. M.Kursad DARA Sistem ve Uygulama Muhendisi Tel : +90 212 365 95 08 mailto:remov…

---

## [Newbie radrails question](https://www.ruby-forum.com/t/newbie-radrails-question/57682)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 8\
**Last updated:** [April 13, 2006, 4:34am UTC](https://www.ruby-forum.com/t/newbie-radrails-question/57682 "2006-04-13T04:34:33Z")

</div>

I’ve just install Eclipse with RadRails for the first time. I’m trying to follow the very simple DemoAppPart1 at http://wiki.awebfactory.com.ar/awebfactory/published/DemoAppPart1 When I click on the DepotServer and tr…

---

## [Turning a function into a proc object](https://www.ruby-forum.com/t/turning-a-function-into-a-proc-object/242966)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 10, 2015, 2:30pm UTC](https://www.ruby-forum.com/t/turning-a-function-into-a-proc-object/242966 "2015-09-10T14:30:49Z")

</div>

Consider the following piece of code: f = Proc.new {|\*args| g(\*args)} f is a proc object which, when called, basically behaves like g (the only difference being the fact that one additional function call is executed,…

---

## [To loop through an array and only print if eq "app.crash"](https://www.ruby-forum.com/t/to-loop-through-an-array-and-only-print-if-eq-app-crash/242878)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 5, 2015, 4:20pm UTC](https://www.ruby-forum.com/t/to-loop-through-an-array-and-only-print-if-eq-app-crash/242878 "2015-08-05T16:20:54Z")

</div>

Ruby script to loop through an array and only print if eq “app.crash” not getting results I want. This ruby script take a command and puts into an array then removes the first three elements of the array. Trying the …

---

## [Value Objects implementation in Ruby](https://www.ruby-forum.com/t/value-objects-implementation-in-ruby/231813)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 1, 2014, 9:39am UTC](https://www.ruby-forum.com/t/value-objects-implementation-in-ruby/231813 "2014-09-01T09:39:58Z")

</div>

Hi, I am reading currently one design pattern called the value object. To understand it I am reading a blog post Value Objects Explained with Ruby — SitePoint, as it contains a Ruby example. The problem is the autho…

---

## [Rake aborated](https://www.ruby-forum.com/t/rake-aborated/230145)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 2, 2014, 3:56pm UTC](https://www.ruby-forum.com/t/rake-aborated/230145 "2014-06-02T15:56:30Z")

</div>

Hi I have installed gem install rake on my machine. but when I run command rake C:\\Ruby193\\lib\\ruby\\gems\\1.9.1\>rake it gives error message as rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefi…

---

## [Optimize la value of pool in database.yml](https://www.ruby-forum.com/t/optimize-la-value-of-pool-in-database-yml/246455)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 21, 2013, 1:07pm UTC](https://www.ruby-forum.com/t/optimize-la-value-of-pool-in-database-yml/246455 "2013-10-21T13:07:13Z")

</div>

Hi, I would like to understand how to calculate optimal value for “pool” parameter in database.yml I’m using rails 3, ruby 2, postgres, elasticsearch, unicorn, nginx My server : 12 coeurs 24 threads ( I dont know if …

---

## [Best way to strip XML header/tag](https://www.ruby-forum.com/t/best-way-to-strip-xml-header-tag/227993)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 2\
**Last updated:** [April 5, 2013, 5:31pm UTC](https://www.ruby-forum.com/t/best-way-to-strip-xml-header-tag/227993 "2013-04-05T17:31:52Z")

</div>

I have a very basic web service written in C# that runs some stuff and spits back in XML a hash that is different depending on what parameters I send. The format of the return info I am getting looks like this: \<?xm…

---

## [\[ruby-trunk - Bug #7911\]\[Open\] 特定の条件の時に、File.fnmatchに渡すpatternがUS-ASCII、pathがUTF-8だとInvalid sequence](https://www.ruby-forum.com/t/ruby-trunk-bug-7911-open-file-fnmatch-pattern-us-ascii-path-utf-8-invalid-sequence/226827)

<div class="topic-metadata">

**Author:** [@grafi\_SShunsuke\_Shi](https://www.ruby-forum.com/u/grafi_SShunsuke_Shi)\
**Replies:** 2\
**Last updated:** [March 9, 2013, 2:34pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7911-open-file-fnmatch-pattern-us-ascii-path-utf-8-invalid-sequence/226827 "2013-03-09T14:34:41Z")

</div>

Issue #7911 has been reported by grafi (Shunsuke Shimizu). Bug #7911: 特定の条件の時に、File.fnmatchに渡すpatternがUS-ASCII、pathがUTF-8だとInvalid sequenceでエラーが出る Author: grafi (Shunsuke Shimizu) Status: Open Priority: Normal As…

---

## [How is the Kernel module an ancestor of Object?](https://www.ruby-forum.com/t/how-is-the-kernel-module-an-ancestor-of-object/223259)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 27, 2012, 6:36am UTC](https://www.ruby-forum.com/t/how-is-the-kernel-module-an-ancestor-of-object/223259 "2012-09-27T06:36:56Z")

</div>

inheritance chain: Class -\> Module -\> Object Kernel.is\_a?(Module) # =\> true Kernel is an instance of Module, which in turn inherits from Object. So how is Kernel an ancestor of Object? I found it on line 262 of “The…

---

## ['validation' in un 'multistep form'](https://www.ruby-forum.com/t/validation-in-un-multistep-form/223203)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 26, 2012, 2:03am UTC](https://www.ruby-forum.com/t/validation-in-un-multistep-form/223203 "2012-09-26T02:03:50Z")

</div>

Salve a tutti, ritorno a postare in quanto ho deciso di riprendere lo studio di RoR ho realizzato un semplice multistep form in Rails 3.1 utilizzando l’ottima guida di #217 Multistep Forms - RailsCasts FUNZIONA TUTTO…

---

## [Handling arrays in threads](https://www.ruby-forum.com/t/handling-arrays-in-threads/211330)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 1, 2011, 8:14pm UTC](https://www.ruby-forum.com/t/handling-arrays-in-threads/211330 "2011-09-01T20:14:03Z")

</div>

Hi all. I need to adding elements to an array, which is inside another array. suppose: $arr = \[\[\],\[\],\[\]\] or simply: $arr = Array.new(3,\[\]) @n = 1 from the main thread the “$arr\[@n\] \<\< ‘e’” method populate all the fir…

---

## [Junction table question](https://www.ruby-forum.com/t/junction-table-question/210495)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 9, 2011, 8:45pm UTC](https://www.ruby-forum.com/t/junction-table-question/210495 "2011-08-09T20:45:01Z")

</div>

I’m looking into how to implement a relationship between some models, and I think I need to use a junction table. From the documentation I’ve read, a junction table doesn’t require a model. But from my controller, I…

---

## [Count error on lambda should change](https://www.ruby-forum.com/t/count-error-on-lambda-should-change/226115)

<div class="topic-metadata">

**Author:** [@djangst](https://www.ruby-forum.com/u/djangst)\
**Replies:** 2\
**Last updated:** [December 14, 2010, 7:32pm UTC](https://www.ruby-forum.com/t/count-error-on-lambda-should-change/226115 "2010-12-14T19:32:19Z")

</div>

Hi, any idea what could cause the following error in a controller test? "count should have been changed by 1, but was changed by 0" I’m posting to a create route using a lambda, similar to Hartl’s example in his Rai…

---

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

<div class="topic-metadata">

**Author:** [@Aston](https://www.ruby-forum.com/u/Aston)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 1:56am UTC](https://www.ruby-forum.com/t/ruby-ffi-problem/167559 "2009-05-10T01:56:55Z")

</div>

Hello, I am trying to learn ruby-ffi now (after sadly leaving dl library), I have some trouble here too I will present a simple example where I want to pass a struct between ruby and C I am facing problems while set…

---

## [Ruby/Tk refresh problem](https://www.ruby-forum.com/t/ruby-tk-refresh-problem/164829)

<div class="topic-metadata">

**Author:** [@diego\_v](https://www.ruby-forum.com/u/diego_v)\
**Replies:** 2\
**Last updated:** [April 6, 2009, 11:53pm UTC](https://www.ruby-forum.com/t/ruby-tk-refresh-problem/164829 "2009-04-06T23:53:23Z")

</div>

Hello, I am using Ruby 1.8.7 with Tk. The code runs fine. However, a few instructions that I set while the program is busy (basically before starting heavy computation it sets a TkLabel to display “Busy”… and once it…

---

## [Alternative to destroying a dialog? (to avoid segfault)](https://www.ruby-forum.com/t/alternative-to-destroying-a-dialog-to-avoid-segfault/148427)

<div class="topic-metadata">

**Author:** [@carluva](https://www.ruby-forum.com/u/carluva)\
**Replies:** 2\
**Last updated:** [September 13, 2008, 6:43am UTC](https://www.ruby-forum.com/t/alternative-to-destroying-a-dialog-to-avoid-segfault/148427 "2008-09-13T06:43:53Z")

</div>

Hi, I’m running into a problem with a segfault when destroying a Dialog, which I’ve read is a known problem that occurs when the GC cleans up after a Dialog that contains a Sizer is destroyed (that’s exactly my situat…

---

## [Text\_area\_tag](https://www.ruby-forum.com/t/text-area-tag/139258)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 11:58am UTC](https://www.ruby-forum.com/t/text-area-tag/139258 "2008-06-02T11:58:58Z")

</div>

Hi How can I set value for text\_area\_tag…I tried \<%= text\_area\_tag “transfer\_reason#{div\_no}”, nil, :size =\> “50x1”, “value”=\>params\[:transfer\_reason\] %\> But not working Thanks in advance Sijo

---

## [Procesar ficheros](https://www.ruby-forum.com/t/procesar-ficheros/126926)

<div class="topic-metadata">

**Author:** [@sparkle](https://www.ruby-forum.com/u/sparkle)\
**Replies:** 2\
**Last updated:** [January 23, 2008, 4:14pm UTC](https://www.ruby-forum.com/t/procesar-ficheros/126926 "2008-01-23T16:14:52Z")

</div>

Hola a todos, ya estoy de nuevo preguntando,jejejejeje Esta vez es para procesar ficheros de texto, pero no de texto plano (.txt) sino archivos de texto como .odt o .rtf o .doc, por lo que son binarios. El caso es qu…

---

## [Which method to use to get content from index with a\_a\_f?](https://www.ruby-forum.com/t/which-method-to-use-to-get-content-from-index-with-a-a-f/84680)

<div class="topic-metadata">

**Author:** [@mischa78](https://www.ruby-forum.com/u/mischa78)\
**Replies:** 2\
**Last updated:** [February 7, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/which-method-to-use-to-get-content-from-index-with-a-a-f/84680 "2007-02-07T21:44:11Z")

</div>

Hi everybody, After staring at the a\_a\_f API for quite sometime now, I decided it’s time to ask… Which method should I use to get content from the index without using highlight? Consider the following controller acti…

---

## [Problema con Migrations valor null en un campo](https://www.ruby-forum.com/t/problema-con-migrations-valor-null-en-un-campo/77396)

<div class="topic-metadata">

**Author:** [@Gaston\_R](https://www.ruby-forum.com/u/Gaston_R)\
**Replies:** 2\
**Last updated:** [November 27, 2006, 9:26pm UTC](https://www.ruby-forum.com/t/problema-con-migrations-valor-null-en-un-campo/77396 "2006-11-27T21:26:38Z")

</div>

Estoy tratanto de hacer una migration que modifica 2 campos de una tabla, cambiando su valor “not nul” por “null” entonces paso a detallar la tabla: create\_table “orders”, :force =\> true do |t| t.column “nro\_expedien…

---

## [Page caching feed urls](https://www.ruby-forum.com/t/page-caching-feed-urls/66166)

<div class="topic-metadata">

**Author:** [@Piers\_C](https://www.ruby-forum.com/u/Piers_C)\
**Replies:** 2\
**Last updated:** [August 25, 2006, 1:54pm UTC](https://www.ruby-forum.com/t/page-caching-feed-urls/66166 "2006-08-25T13:54:43Z")

</div>

When I look at my Server stats, the top 10 pages are feeds. Feeds don’t change very much, and none of the feed urls we publish have query strings. So, I went to xml\_controller.rb and replaced the line that reads cach…

---

## [IndexedSearchEngine Question](https://www.ruby-forum.com/t/indexedsearchengine-question/98624)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 2\
**Last updated:** [July 18, 2006, 3:47am UTC](https://www.ruby-forum.com/t/indexedsearchengine-question/98624 "2006-07-18T03:47:54Z")

</div>

Good evening – I’m really new to Rails and I was looking for a way to use IndexedSearchEngine with a “get” call instead of the default “post”. I have the script by itself on a page /myapp/app/view/search/rhtml and I …

---

## [Arrays of Model Objects, Intersections, Object Identificatio](https://www.ruby-forum.com/t/arrays-of-model-objects-intersections-object-identificatio/55103)

<div class="topic-metadata">

**Author:** [@DSTaylor\_S](https://www.ruby-forum.com/u/DSTaylor_S)\
**Replies:** 2\
**Last updated:** [March 20, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/arrays-of-model-objects-intersections-object-identificatio/55103 "2006-03-20T16:35:31Z")

</div>

Hi all, Hope you can help me with understanding how Ruby / Rails treats arrays full of objects. Let’s say I have to arrays of objects. Both are the same kinds of objects. tomatoes = Fruit.find(:all, :conditions =\> …

---

## [Re: PDF::Writer Page Size](https://www.ruby-forum.com/t/re-pdf-writer-page-size/50364)

<div class="topic-metadata">

**Author:** [@mwhite](https://www.ruby-forum.com/u/mwhite)\
**Replies:** 2\
**Last updated:** [November 28, 2005, 2:20pm UTC](https://www.ruby-forum.com/t/re-pdf-writer-page-size/50364 "2005-11-28T14:20:21Z")

</div>

More info. Looks like the size problem arises when the document is generated by calling pdf.render and sending the output directly to the browser instead of writing an intermediate file using save\_as. I’d really hate…

---

## [Hash maps/ string formatting and % {}...Help!](https://www.ruby-forum.com/t/hash-maps-string-formatting-and-help/247133)

<div class="topic-metadata">

**Author:** [@rob\_dimba](https://www.ruby-forum.com/u/rob_dimba)\
**Replies:** 1\
**Last updated:** [October 3, 2018, 2:34pm UTC](https://www.ruby-forum.com/t/hash-maps-string-formatting-and-help/247133 "2018-10-03T14:34:22Z")

</div>

Hey guys, Iam a newbie going through basic Ruby code… and Ive come completley unstuck on an excercise, I cant find anywhere that explains how this bit of code works and just the general concept of %{}…Can some please hel…

---

## [Compressing the original image stored by Paperclip](https://www.ruby-forum.com/t/compressing-the-original-image-stored-by-paperclip/244629)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [May 16, 2016, 5:17pm UTC](https://www.ruby-forum.com/t/compressing-the-original-image-stored-by-paperclip/244629 "2016-05-16T17:17:40Z")

</div>

i am trying to compress the original image stored by paperclip using smusher on my local machine but i am getting this (getaddrinfo: Name or service not known (ypoweb-01.experf.gq1.yahoo.com:80). i want to know the p…

---

## [How do I set Keep Alive](https://www.ruby-forum.com/t/how-do-i-set-keep-alive/244236)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [March 9, 2016, 2:49pm UTC](https://www.ruby-forum.com/t/how-do-i-set-keep-alive/244236 "2016-03-09T14:49:02Z")

</div>

Hello, I am new to nginx and Speedgrade suggest I enable keepalive to enhance performance of my website(s). I’ve read\*1 that enabling this is also a risk. What is the best practise? \*1 Using NGINX as an Accelerating …

---

## [FSK - implementation](https://www.ruby-forum.com/t/fsk-implementation/242931)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 8, 2015, 2:15pm UTC](https://www.ruby-forum.com/t/fsk-implementation/242931 "2015-08-08T14:15:01Z")

</div>

I have a question about BFSK/M-FSK modulations in GnuRadio. If I have a symbol 1 or 0 and it has got 64 samples (2 periods of sin/cos) and I want to modulate it with 2 different frequencies for example: f1 = 175 KHz =…

---

## [How to support file upload in Nginx 1.8](https://www.ruby-forum.com/t/how-to-support-file-upload-in-nginx-1-8/242124)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 17, 2015, 11:50pm UTC](https://www.ruby-forum.com/t/how-to-support-file-upload-in-nginx-1-8/242124 "2015-07-17T23:50:10Z")

</div>

Hi I am using Nginx 1.8 version, and Is it default support file upload, I found there is clientbodyinfileonly in Nginx, so is it official method to support file upload\>? Thanks~ – Rejoice,I Desire!

---

## [How to convert a batch script in ruby](https://www.ruby-forum.com/t/how-to-convert-a-batch-script-in-ruby/233989)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 30, 2015, 3:10pm UTC](https://www.ruby-forum.com/t/how-to-convert-a-batch-script-in-ruby/233989 "2015-01-30T15:10:26Z")

</div>

Hi All, I am new to ruby and currently working on a batch file which needs to be converted into ruby. The batch code is :FindCurrentPagingFileSettingsC wmic pagefileset list | findstr /i /c:“c:”\>nul if not {%errorl…

---

## [Problem installing GNURADIO on ODROID-XU UBUNTU 12.04LTS](https://www.ruby-forum.com/t/problem-installing-gnuradio-on-odroid-xu-ubuntu-12-04lts/232006)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 12, 2014, 5:37pm UTC](https://www.ruby-forum.com/t/problem-installing-gnuradio-on-odroid-xu-ubuntu-12-04lts/232006 "2014-09-12T17:37:08Z")

</div>

Hi, I’m trying to install gnuradio with Build Gnuradio Script on ODROID-XU . First of all, when the script looks for libraries, a first error occurs for libqwtplot3d-qt4-dev, and it seems that there is no package ava…

---

## [Using a separate classloader for a block](https://www.ruby-forum.com/t/using-a-separate-classloader-for-a-block/223206)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 1, 2012, 5:13pm UTC](https://www.ruby-forum.com/t/using-a-separate-classloader-for-a-block/223206 "2012-10-01T17:13:36Z")

</div>

I am looking to see how plausible it is to execute a block within a child Classloader. A list of Jars would be passed to the ClassLoader to load for the execution of the block. The problem I have is telling the JRuby …

---

## [Gem for storing and tracking changes](https://www.ruby-forum.com/t/gem-for-storing-and-tracking-changes/214356)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [November 29, 2011, 10:34pm UTC](https://www.ruby-forum.com/t/gem-for-storing-and-tracking-changes/214356 "2011-11-29T22:34:30Z")

</div>

Hi people I want to know which is the best gem or plug-in to store and track register changes for a rails 3.0.9 app Hope you can help me, thanks

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

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