# Top

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

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

---

## [ANSI v1.4.0 released](https://www.ruby-forum.com/t/ansi-v1-4-0-released/213568)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [December 29, 2011, 12:01am UTC](https://www.ruby-forum.com/t/ansi-v1-4-0-released/213568 "2011-12-29T00:01:54Z")

</div>

ANSI 1.4.0 has been released. The ANSI project is a collection of ANSI escape code related libraries enabling ANSI code based colorization and stylization of output. It is very nice for beautifying shell output. hom…

---

## [How to get Mycompute.sum(\[1,2,3,4\]).mean=2.5?](https://www.ruby-forum.com/t/how-to-get-mycompute-sum-1-2-3-4-mean-2-5/195223)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 7\
**Last updated:** [September 23, 2010, 7:39am UTC](https://www.ruby-forum.com/t/how-to-get-mycompute-sum-1-2-3-4-mean-2-5/195223 "2010-09-23T07:39:02Z")

</div>

class Mycompute def self.sum(a) a.inject(0){|s,i|s+i} end def self.mean(a) a.inject(0){|s,i|s+i}/(a.size.to\_f) end end Mycompute.sum(\[1,2,3,4\]) =\> 10 Mycompute.mean(\[1,2,3,4\]) =\> 2.5 how can i get Mycom…

---

## [Upload file with url parameter](https://www.ruby-forum.com/t/upload-file-with-url-parameter/167668)

<div class="topic-metadata">

**Author:** [@hongseok.com](https://www.ruby-forum.com/u/hongseok.com)\
**Replies:** 7\
**Last updated:** [May 12, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/upload-file-with-url-parameter/167668 "2009-05-12T22:21:54Z")

</div>

I want to upload file using get method. for example, “http://www.mydomain.com/upload?file=c:\\test.exe” upload my local file to the remote server. I found one useful link about file uploading here(http:// Ruby on Rail…

---

## [Best way to modify spec (the command-line tool)?](https://www.ruby-forum.com/t/best-way-to-modify-spec-the-command-line-tool/125019)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 7\
**Last updated:** [January 4, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/best-way-to-modify-spec-the-command-line-tool/125019 "2008-01-04T20:50:59Z")

</div>

Hi all, where I work we’ve cooked up a kind of ghetto profiler for our specs. It basically just does this: time = Time.now run the spec puts “woah! dude. long spec.” if time \> 1.second I’m simplifying here. I think …

---

## [\[newbie\] Passare un array fra 2 controller](https://www.ruby-forum.com/t/newbie-passare-un-array-fra-2-controller/119024)

<div class="topic-metadata">

**Author:** [@aurora](https://www.ruby-forum.com/u/aurora)\
**Replies:** 7\
**Last updated:** [November 2, 2007, 11:32am UTC](https://www.ruby-forum.com/t/newbie-passare-un-array-fra-2-controller/119024 "2007-11-02T11:32:43Z")

</div>

Ho qualche difficoltÃ nel capire come passare da un controller ad un altro un array di elementi, ad esempoio degli ID. Ho una situazione di questo tipo: controllerA def method1 idList = \[‘1’,‘2’,‘3’\] redirect\_to …

---

## [Segmentation Fault](https://www.ruby-forum.com/t/segmentation-fault/193732)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [August 25, 2010, 5:43am UTC](https://www.ruby-forum.com/t/segmentation-fault/193732 "2010-08-25T05:43:15Z")

</div>

Once more, with feeling. I’m trying to implement using xrc\_replace so as to use a RichTextCtrl in a form created by FormBuilder. The problem is that I can’t even create a RichTextCtrl. When I try to, I get a segmentat…

---

## [Nginx 0.7.64 ignoring Cache-Control headers](https://www.ruby-forum.com/t/nginx-0-7-64-ignoring-cache-control-headers/183050)

<div class="topic-metadata">

**Author:** [@Kura](https://www.ruby-forum.com/u/Kura)\
**Replies:** 4\
**Last updated:** [February 7, 2010, 12:46am UTC](https://www.ruby-forum.com/t/nginx-0-7-64-ignoring-cache-control-headers/183050 "2010-02-07T00:46:54Z")

</div>

Hey guys, I apologise if this is covered in another topic, I have searched many pages on the forum and not come across this issue. I’m using nginx v. 0.7.64 with the following: --with-debug –with-http\_stub\_status\_modu…

---

## [Linux and file permissions - newb linux user](https://www.ruby-forum.com/t/linux-and-file-permissions-newb-linux-user/167952)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 4\
**Last updated:** [May 15, 2009, 12:09am UTC](https://www.ruby-forum.com/t/linux-and-file-permissions-newb-linux-user/167952 "2009-05-15T00:09:01Z")

</div>

Hi Ive been googling around but cant get anything concrete on this. Whenever I create a rails project or use a generate command I have to use use the sudo command otherwise ubuntu complains about permissions. However …

---

## [How to use Gdk::Property.change?](https://www.ruby-forum.com/t/how-to-use-gdk-property-change/162454)

<div class="topic-metadata">

**Author:** [@Magicloud\_M](https://www.ruby-forum.com/u/Magicloud_M)\
**Replies:** 4\
**Last updated:** [March 23, 2009, 4:35am UTC](https://www.ruby-forum.com/t/how-to-use-gdk-property-change/162454 "2009-03-23T04:35:33Z")

</div>

Hi, I want to do something like Gdk::Property.change(self, Gdk::Atom.intern('\_NET\_WM\_STRUT', false), Gdk::Atom.intern('CARDINAL', false), Gdk::Property::MODE\_REPLACE, \[0, 162, 0, 1024\]). It failed with “no supported ty…

---

## [Problem with generic method resolution](https://www.ruby-forum.com/t/problem-with-generic-method-resolution/162440)

<div class="topic-metadata">

**Author:** [@stefan8107](https://www.ruby-forum.com/u/stefan8107)\
**Replies:** 4\
**Last updated:** [March 19, 2009, 2:07am UTC](https://www.ruby-forum.com/t/problem-with-generic-method-resolution/162440 "2009-03-19T02:07:00Z")

</div>

Hi, I have found out the following problem: require ‘System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ =\> true include System =\> Object include System::Linq::Expressions E…

---

## [URI::InvalidURIError when using curly brackets](https://www.ruby-forum.com/t/uri-invalidurierror-when-using-curly-brackets/96283)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 4\
**Last updated:** [June 28, 2006, 12:16am UTC](https://www.ruby-forum.com/t/uri-invalidurierror-when-using-curly-brackets/96283 "2006-06-28T00:16:19Z")

</div>

I’ve been experimenting using open-uri to retrieve HTML from various sites and have spent the past couple of days searching for an answer to my problem. One page I’ve been trying to access contains a GUID in the query…

---

## [Bluetooth on OSX](https://www.ruby-forum.com/t/bluetooth-on-osx/49046)

<div class="topic-metadata">

**Author:** [@rictic](https://www.ruby-forum.com/u/rictic)\
**Replies:** 4\
**Last updated:** [November 29, 2005, 11:34am UTC](https://www.ruby-forum.com/t/bluetooth-on-osx/49046 "2005-11-29T11:34:10Z")

</div>

I’m looking to automate transferring pics from a cellphone via bluetooth on OS X. Any suggestions on where to start with this project? Ruby is the natural language for this, not just because I love it so dearly, but …

---

## [Loading csv giving error](https://www.ruby-forum.com/t/loading-csv-giving-error/235634)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [July 5, 2013, 9:56pm UTC](https://www.ruby-forum.com/t/loading-csv-giving-error/235634 "2013-07-05T21:56:01Z")

</div>

hi guys I am trying to compare some data so I create one file name called “Price\_lookup” in notepad then saved in plugin folder “Price\_lookup.csv”. Price\_lookup.csv contain like below “PARTNO”, “PRICE” 600157,402.20 …

---

## [Is nginx vulnerable to the Hash Table Vulnerability (n.runs AG)?](https://www.ruby-forum.com/t/is-nginx-vulnerable-to-the-hash-table-vulnerability-n-runs-ag/215347)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [January 4, 2012, 9:02pm UTC](https://www.ruby-forum.com/t/is-nginx-vulnerable-to-the-hash-table-vulnerability-n-runs-ag/215347 "2012-01-04T21:02:23Z")

</div>

Without going through the way nginx parses an incoming request, I’m unsure if nginx isn’t vulnerable to this, because of the availability to grab the value of a GET parameter via http://wiki.nginx.org/HttpCoreModu…

---

## [Is this deterministic or not?](https://www.ruby-forum.com/t/is-this-deterministic-or-not/139201)

<div class="topic-metadata">

**Author:** [@slix](https://www.ruby-forum.com/u/slix)\
**Replies:** 8\
**Last updated:** [June 25, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/is-this-deterministic-or-not/139201 "2008-06-25T19:36:23Z")

</div>

puts “Enter a sentence: " puts gets.split.sort\_by { rand }.join(” ") takes a sentence and scrambles the words. how is this implemented? i tried myself first with a for or while loop and tried if word is not in new\_se…

---

## [Radiant web site down?](https://www.ruby-forum.com/t/radiant-web-site-down/109377)

<div class="topic-metadata">

**Author:** [@Michael\_Erb](https://www.ruby-forum.com/u/Michael_Erb)\
**Replies:** 8\
**Last updated:** [July 14, 2007, 4:47am UTC](https://www.ruby-forum.com/t/radiant-web-site-down/109377 "2007-07-14T04:47:18Z")

</div>

When I try to get to the Radiant web site (www.radiantcms.org) I get a request with a content type: application/x-httpd-fastphp and it asks if I want to download the binary. A little tweaking going on? erb

---

## [\[ANN\] CAS Authentication filter](https://www.ruby-forum.com/t/ann-cas-authentication-filter/98393)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 8\
**Last updated:** [July 15, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/ann-cas-authentication-filter/98393 "2006-07-15T14:47:15Z")

</div>

Hi CAS is a centralized authentication service, and the cas\_auth filter can be installed to automatically make your web application authenticate against a CAS server. The SVN path to the plugin is http://svn.ki.se/ra…

---

## [Working with file types and directories](https://www.ruby-forum.com/t/working-with-file-types-and-directories/98180)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 8\
**Last updated:** [January 29, 2006, 12:40pm UTC](https://www.ruby-forum.com/t/working-with-file-types-and-directories/98180 "2006-01-29T12:40:27Z")

</div>

This line shows all the files in the current dir. This one -should- show all of thier filetypes… Dir.foreach(".") {|x| File.ftype x } =\> nil what gives? irb(main):023:0\> Dir.foreach(".") {|x| File.ftype(x) } =\> nil …

---

## [Best practise for setting default URL parameters in the controller](https://www.ruby-forum.com/t/best-practise-for-setting-default-url-parameters-in-the-controller/238876)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [February 2, 2014, 7:00pm UTC](https://www.ruby-forum.com/t/best-practise-for-setting-default-url-parameters-in-the-controller/238876 "2014-02-02T19:00:38Z")

</div>

I’ve been trying to set default URL parameters in the controller, which will also be used within the view. This is what I’ve got: @params = params defaults = { :date\_from =\> ‘21/1/21014’, :date\_to =\> ‘21/2/21014’, :d…

---

## [How to uninstall particular ruby version](https://www.ruby-forum.com/t/how-to-uninstall-particular-ruby-version/229245)

<div class="topic-metadata">

**Author:** [@niravbhatu](https://www.ruby-forum.com/u/niravbhatu)\
**Replies:** 6\
**Last updated:** [January 3, 2013, 2:54pm UTC](https://www.ruby-forum.com/t/how-to-uninstall-particular-ruby-version/229245 "2013-01-03T14:54:24Z")

</div>

Hello guys, I am using Ubuntu 11 and i have two versions of ruby 1.8.7 & 1.9.1 and i want to uninstall ruby 1.9.1 version.I need Your help thank you!

---

## [Unable to use gems in simple scripts](https://www.ruby-forum.com/t/unable-to-use-gems-in-simple-scripts/221338)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [July 9, 2012, 8:05pm UTC](https://www.ruby-forum.com/t/unable-to-use-gems-in-simple-scripts/221338 "2012-07-09T20:05:30Z")

</div>

Hello, i’m just getting started with ruby and have hit a wall attempting to use some simple gems. Source: #! /usr/bin/ruby require ‘flt’ puts DecNum(22.1138) thats it! right now it spits out this error: ruby -T t…

---

## [3.1 development and the asset pipeline](https://www.ruby-forum.com/t/3-1-development-and-the-asset-pipeline/211290)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [September 1, 2011, 11:15am UTC](https://www.ruby-forum.com/t/3-1-development-and-the-asset-pipeline/211290 "2011-09-01T11:15:52Z")

</div>

With the release of 3.1, it seems that things have drastically changed in the development workflow. With the asset pipeline enabled, and the likes of this in my layouts: = stylesheet\_link\_tag ‘application’, :debug =\> …

---

## [Pas de redirection (rjs)](https://www.ruby-forum.com/t/pas-de-redirection-rjs/171249)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 6\
**Last updated:** [June 29, 2009, 7:54pm UTC](https://www.ruby-forum.com/t/pas-de-redirection-rjs/171249 "2009-06-29T19:54:27Z")

</div>

def create # request.xhr? true @user = User.new(params\[:user\]) if @user.save @user.deliver\_confirm\_account\_instructions! flash\[:notice\] = “Merci de …” respond\_to do |format| format.html { redirect\_to root…

---

## [Troubles in radiant installation on windows](https://www.ruby-forum.com/t/troubles-in-radiant-installation-on-windows/91417)

<div class="topic-metadata">

**Author:** [@Jack\_Tang](https://www.ruby-forum.com/u/Jack_Tang)\
**Replies:** 6\
**Last updated:** [April 28, 2007, 6:45am UTC](https://www.ruby-forum.com/t/troubles-in-radiant-installation-on-windows/91417 "2007-04-28T06:45:46Z")

</div>

Hi, I am new to radiant and try to install it and learn something from it. So I followed the introductions from wiki and blog: http://dev.radiantcms.org/radiant/wiki/Installation http://radiantcms.org/blog/ Both 0.6…

---

## [Slowness of WIN32OLE.rb in 1.8.2 - faster in 1.8.4?](https://www.ruby-forum.com/t/slowness-of-win32ole-rb-in-1-8-2-faster-in-1-8-4/53072)

<div class="topic-metadata">

**Author:** [@russianbandit](https://www.ruby-forum.com/u/russianbandit)\
**Replies:** 6\
**Last updated:** [January 25, 2006, 1:09am UTC](https://www.ruby-forum.com/t/slowness-of-win32ole-rb-in-1-8-2-faster-in-1-8-4/53072 "2006-01-25T01:09:48Z")

</div>

Hi, I’ve extensively used WIN32OLE.rb to program against excel data and Access databases via ADO. Even after generating the wrappers using the generator tool COM object calls are excrutiatingly slow (indeed I noticed…

---

## [Making an RDoc Template Gem](https://www.ruby-forum.com/t/making-an-rdoc-template-gem/176482)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [October 2, 2009, 3:59am UTC](https://www.ruby-forum.com/t/making-an-rdoc-template-gem/176482 "2009-10-02T03:59:03Z")

</div>

I want to create a new RDoc template and I want to ship it as a gem. But I cannot figure out how to set it up so RDoc will find it. For that matter I’m not exactly sure what kind of file it’s wants either. Is there an…

---

## [\[Annonce\] Offre de stage Ruby/Rails](https://www.ruby-forum.com/t/annonce-offre-de-stage-ruby-rails/173128)

<div class="topic-metadata">

**Author:** [@StSSSSphane\_Akkaoui](https://www.ruby-forum.com/u/StSSSSphane_Akkaoui)\
**Replies:** 5\
**Last updated:** [August 4, 2009, 9:11am UTC](https://www.ruby-forum.com/t/annonce-offre-de-stage-ruby-rails/173128 "2009-08-04T09:11:45Z")

</div>

Bonjour, Pour aller directement au but : nous cherchons un stagiaire pour du développement ruby (ruby on rails principalement) entre septembre 2009 et juillet / août 2010. Sociabliz est une jeune société de marketing…

---

## [Issues with Location: header in perl module](https://www.ruby-forum.com/t/issues-with-location-header-in-perl-module/167722)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [May 13, 2009, 3:11am UTC](https://www.ruby-forum.com/t/issues-with-location-header-in-perl-module/167722 "2009-05-13T03:11:15Z")

</div>

trying to use nginx’s built-in perl stuff… here’s an example. any clue why this doesn’t work? in /etc/nginx/nginx.conf: http { perl\_modules /etc/nginx/perl/lib; perl\_require Foo.pm; server { listen 80; server\_n…

---

## [How to do the equivalent of PHP's "$\_GET" in Ruby?](https://www.ruby-forum.com/t/how-to-do-the-equivalent-of-phps-get-in-ruby/137596)

<div class="topic-metadata">

**Author:** [@giantpanda77](https://www.ruby-forum.com/u/giantpanda77)\
**Replies:** 5\
**Last updated:** [May 14, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/how-to-do-the-equivalent-of-phps-get-in-ruby/137596 "2008-05-14T16:06:20Z")

</div>

Hello, all … I’m new to Ruby, but so far, I like it quite a lot. I’ve a question, though … I need to do the Ruby equivalent of PHPs “$\_GET” … how do I do this? Regards, John Falling You - exploring the beauty of v…

---

## [Best way to create table-like lists?](https://www.ruby-forum.com/t/best-way-to-create-table-like-lists/107577)

<div class="topic-metadata">

**Author:** [@joaz](https://www.ruby-forum.com/u/joaz)\
**Replies:** 5\
**Last updated:** [June 28, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/best-way-to-create-table-like-lists/107577 "2007-06-28T17:30:49Z")

</div>

Hi, I tried different approaches to create table-like lists. What I need a head (1-3 rows), non-scrollable a scrollable body head and body cells must align My first draft was: VBox -\> Table (for head), childs are l…

---

## [Removing a block of text within a string](https://www.ruby-forum.com/t/removing-a-block-of-text-within-a-string/78605)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 5\
**Last updated:** [December 7, 2006, 10:57pm UTC](https://www.ruby-forum.com/t/removing-a-block-of-text-within-a-string/78605 "2006-12-07T22:57:14Z")

</div>

When you first visit my site, you see a snippet (the first 75 words) of the most recent post. If it exceeds 75 words, a link will be appended to extend the post and read it in full. Now, my problem is when I post a c…

---

## [Alias\_method on a model](https://www.ruby-forum.com/t/alias-method-on-a-model/72908)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 5\
**Last updated:** [October 19, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/alias-method-on-a-model/72908 "2006-10-19T22:30:40Z")

</div>

Is there a way to alias an automaically created model attribute? I have a column named start\_time, and when I use alias\_method :default\_start\_time, :start\_time In the model’s class definition, I get an “undefined me…

---

## [Win32OLE output parameter access?](https://www.ruby-forum.com/t/win32ole-output-parameter-access/89717)

<div class="topic-metadata">

**Author:** [@dennismajor1](https://www.ruby-forum.com/u/dennismajor1)\
**Replies:** 5\
**Last updated:** [March 29, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/win32ole-output-parameter-access/89717 "2006-03-29T14:18:06Z")

</div>

I am trying to use Ruby’s WIN32OLE support to drive Mindjet’s Mindmanager. Their Object Model reference shows the following method: \*\*\* GetOffset Method \*\*\* Returns the topic’s position-offset relative to its parent. …

---

## [RSpec Requestable Examples](https://www.ruby-forum.com/t/rspec-requestable-examples/216182)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 29, 2012, 9:46pm UTC](https://www.ruby-forum.com/t/rspec-requestable-examples/216182 "2012-01-29T21:46:21Z")

</div>

I would be interested to hear any thoughts from the community about the ability to request specific examples from a shared example group as expressed in the rspec-requestable-examples gem. Here’s the post that introdu…

---

## [C module calling ruby code cause cfp consistency error](https://www.ruby-forum.com/t/c-module-calling-ruby-code-cause-cfp-consistency-error/214542)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 6, 2011, 10:05am UTC](https://www.ruby-forum.com/t/c-module-calling-ruby-code-cause-cfp-consistency-error/214542 "2011-12-06T10:05:13Z")

</div>

Hi everyone, I need some help with joining C code with Ruby. My target is to use some system libraries to get active window title and write rest in ruby. I’ve written some module in C that uses wnck(on linux) to get …

---

## [Gdk::Color to HTML Format Hex](https://www.ruby-forum.com/t/gdk-color-to-html-format-hex/173595)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [August 11, 2009, 10:15pm UTC](https://www.ruby-forum.com/t/gdk-color-to-html-format-hex/173595 "2009-08-11T22:15:54Z")

</div>

I’m trying to convert the hex code that Gdk::Color.to\_s() returns into HTML Format Hex. I think what needs to be done is some math on the string, but I’m fairly new to ruby and not sure how to do this. For instance,…

---

## [Chmod -R u+X in ruby](https://www.ruby-forum.com/t/chmod-r-u-x-in-ruby/144190)

<div class="topic-metadata">

**Author:** [@Tammo\_T](https://www.ruby-forum.com/u/Tammo_T)\
**Replies:** 3\
**Last updated:** [July 28, 2008, 2:24am UTC](https://www.ruby-forum.com/t/chmod-r-u-x-in-ruby/144190 "2008-07-28T02:24:34Z")

</div>

I want to do a recursive changemod. But the chmod in File and FileUtils allows only, at least as far as I have seen, to set absolute file permission. But I want not to make all Files executable and also do not want th…

---

## [Expires header for .css](https://www.ruby-forum.com/t/expires-header-for-css/136864)

<div class="topic-metadata">

**Author:** [@scottd72](https://www.ruby-forum.com/u/scottd72)\
**Replies:** 3\
**Last updated:** [May 6, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/expires-header-for-css/136864 "2008-05-06T23:50:51Z")

</div>

I’m using mongrel as my http server. I was using yslow to evaluate the performance of my web site and noticed I was downloading the .css file on every request??? I use one .css file for the whole site and I though I …

---

## [Using HTML frames with rails](https://www.ruby-forum.com/t/using-html-frames-with-rails/94358)

<div class="topic-metadata">

**Author:** [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/using-html-frames-with-rails/94358 "2006-05-03T18:58:41Z")

</div>

Hi: I’m trying to get a page setup with the left side having a collapsable javascript menu (built from the database) and the right side having more data about each node in the tree… very standard actually. I figured …

---

## [Alias regex use causing core dump as of nginx 1.7.1](https://www.ruby-forum.com/t/alias-regex-use-causing-core-dump-as-of-nginx-1-7-1/242786)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 27, 2015, 1:27pm UTC](https://www.ruby-forum.com/t/alias-regex-use-causing-core-dump-as-of-nginx-1-7-1/242786 "2015-07-27T13:27:17Z")

</div>

Hi, after upgrading from the v1.6.3 to v1.8.0 stable branch an alias I used for Roundcubemail no longer works. I traced the issue back to a probable change made in nginx v1.7.1: “Bugfix: the “alias” directive used in…

---

## [Getting dates from weeknumber](https://www.ruby-forum.com/t/getting-dates-from-weeknumber/90218)

<div class="topic-metadata">

**Author:** [@bitterbal](https://www.ruby-forum.com/u/bitterbal)\
**Replies:** 2\
**Last updated:** [March 26, 2007, 9:14pm UTC](https://www.ruby-forum.com/t/getting-dates-from-weeknumber/90218 "2007-03-26T21:14:26Z")

</div>

If I have a weeknumber and a year, is there an easy way to get the dates that fall in this weeknumber or the first day of that week (the other I can calculate). regards

---

## [Windows Advanced Permissions on Folders](https://www.ruby-forum.com/t/windows-advanced-permissions-on-folders/55552)

<div class="topic-metadata">

**Author:** [@acall](https://www.ruby-forum.com/u/acall)\
**Replies:** 2\
**Last updated:** [March 22, 2006, 8:09am UTC](https://www.ruby-forum.com/t/windows-advanced-permissions-on-folders/55552 "2006-03-22T08:09:01Z")

</div>

In a MS-Windows environment I know how to recurse all the folders using a Dir.glob statement that starts a certain level of the directory tree. I am struggling with a way in Ruby to set the advanced permissions for ce…

---

## [Button\_to with image](https://www.ruby-forum.com/t/button-to-with-image/222082)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 10, 2012, 8:15pm UTC](https://www.ruby-forum.com/t/button-to-with-image/222082 "2012-08-10T20:15:41Z")

</div>

I’m calling button\_to in my page, and it renders a form with a submit button just fine. But what I’d really like is \<input type=“img” src=“myimage.png” …\> instead of \<input type="submit…\> button\_to doesn’t seem able…

---

## [OpenURI::HTTPError: 404 Not Found reading http://gems.rubyforge.org/?](https://www.ruby-forum.com/t/openuri-404-not-found-reading-http-gems-rubyforge-org/121161)

<div class="topic-metadata">

**Author:** [@hadley\_wickham](https://www.ruby-forum.com/u/hadley_wickham)\
**Replies:** 1\
**Last updated:** [November 24, 2007, 7:56pm UTC](https://www.ruby-forum.com/t/openuri-404-not-found-reading-http-gems-rubyforge-org/121161 "2007-11-24T19:56:26Z")

</div>

Hi all, I just upgraded to gems 0.9.5, and now I’m getting: mathpeople: sudo gem install rails ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) OpenURI::HTTPError: 404 Not Found reading http://gems.rub…

---

## [Magick::ImageMagickError (Postscript delegate failed):](https://www.ruby-forum.com/t/magick-imagemagickerror-postscript-delegate-failed/75763)

<div class="topic-metadata">

**Author:** [@dinshaw](https://www.ruby-forum.com/u/dinshaw)\
**Replies:** 1\
**Last updated:** [November 13, 2006, 12:55pm UTC](https://www.ruby-forum.com/t/magick-imagemagickerror-postscript-delegate-failed/75763 "2006-11-13T12:55:00Z")

</div>

I there, trying to install rForum for a few hours now. keep getting this error. I have rmagick installed and have tried on edge and also the tar from the rforum site. Any one know where this is comming from ? Thank…

---

## [Limit\_req\_zone](https://www.ruby-forum.com/t/limit-req-zone/244606)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [May 12, 2016, 12:07am UTC](https://www.ruby-forum.com/t/limit-req-zone/244606 "2016-05-12T00:07:58Z")

</div>

Greetings fellow nginx users, Is the limit\_req\_zone module included in the core version ? I’t doesn’t show up when I list the modules via nginx -V although when I add the directive into my nginx configuration it ap…

---

## [Will\_Paginate Doesnt Show First Page](https://www.ruby-forum.com/t/will-paginate-doesnt-show-first-page/227779)

<div class="topic-metadata">

**Author:** [@viperjuice](https://www.ruby-forum.com/u/viperjuice)\
**Replies:** 4\
**Last updated:** [March 28, 2013, 4:43pm UTC](https://www.ruby-forum.com/t/will-paginate-doesnt-show-first-page/227779 "2013-03-28T16:43:25Z")

</div>

Hello everyone, I am having an issue with the will\_paginate gem, i have recently added AJAX and JS to refresh the div with paginate without refreshing the page. I followed online examples and successfully got it worki…

---

## [Habtm](https://www.ruby-forum.com/t/habtm/195867)

<div class="topic-metadata">

**Author:** [@kinggordo](https://www.ruby-forum.com/u/kinggordo)\
**Replies:** 4\
**Last updated:** [October 6, 2010, 1:18pm UTC](https://www.ruby-forum.com/t/habtm/195867 "2010-10-06T13:18:51Z")

</div>

Bonjour! Je souhaite enregistrer via un seul formulaire ( film ) Ã l’aide de checkoxes plusieurs modÃ¨les reliÃ©s entre eux. les fonctions et personnages sont au prÃ©alables crÃ©Ã©s. un film Ã plusieurs fonctions q…

---

## [Activerecord installation](https://www.ruby-forum.com/t/activerecord-installation/195864)

<div class="topic-metadata">

**Author:** [@orange089](https://www.ruby-forum.com/u/orange089)\
**Replies:** 4\
**Last updated:** [October 2, 2010, 8:16pm UTC](https://www.ruby-forum.com/t/activerecord-installation/195864 "2010-10-02T20:16:50Z")

</div>

when i try to install activerecord gem on ironruby, i’ve got: igem install activerecord -r --no-rdoc --no-ri ERROR: Error installing activerecord: activesupport requires Ruby version \>= 1.8.7 (‘ir.exe -e “puts RUB…

---

## [Ruby, Unicode, and HTML Entities Problem](https://www.ruby-forum.com/t/ruby-unicode-and-html-entities-problem/195601)

<div class="topic-metadata">

**Author:** [@mrpeepers](https://www.ruby-forum.com/u/mrpeepers)\
**Replies:** 4\
**Last updated:** [September 26, 2010, 10:14pm UTC](https://www.ruby-forum.com/t/ruby-unicode-and-html-entities-problem/195601 "2010-09-26T22:14:09Z")

</div>

Hi all, Using Ruby (and REXML) to parse a directory full of HTML files mixed with Spanish but mostly English. For the most part, Ruby can correctly parse the HTML. That’s all fine and dandy, BUT, when there’s a unic…

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

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