# Top

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

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

---

## [Find params](https://www.ruby-forum.com/t/find-params/184111)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 6\
**Last updated:** [March 1, 2010, 9:37pm UTC](https://www.ruby-forum.com/t/find-params/184111 "2010-03-01T21:37:29Z")

</div>

Hi all, im new on ruby and im experimentig with find method. I’ve made a “Ã±apa” as we say in Spain to solve a problem, that detects the params and creates the params for find: ------------ CODE ----------------…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/180244)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [December 18, 2009, 3:08pm UTC](https://www.ruby-forum.com/t/no-subject/180244 "2009-12-18T15:08:35Z")

</div>

hi i already reported this (Ruby-GNOME 2 / Bugs / #133 ‘struct RString’ has no member named ‘ptr’ error reoccurred) but nobody did care for that bug tracker. so i subscribed to this mailing list. forgive me for rude …

---

## [Sharing variables between classes and instances](https://www.ruby-forum.com/t/sharing-variables-between-classes-and-instances/137264)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 6\
**Last updated:** [May 11, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/sharing-variables-between-classes-and-instances/137264 "2008-05-11T19:50:43Z")

</div>

Hi all, What I’m trying to achieve: add a variable to a class. Fill it with data. Every nstance of that class should have access to the data in that variable. But I want every instance be able to modify that variable, …

---

## [Optimizing large-scale Markov chain handler](https://www.ruby-forum.com/t/optimizing-large-scale-markov-chain-handler/110739)

<div class="topic-metadata">

**Author:** [@Oblomov](https://www.ruby-forum.com/u/Oblomov)\
**Replies:** 6\
**Last updated:** [August 2, 2007, 1:21am UTC](https://www.ruby-forum.com/t/optimizing-large-scale-markov-chain-handler/110739 "2007-08-02T01:21:38Z")

</div>

Hello all, I’m building a Markov chain handler with a couple of twists over the usual naive handlers. First of all, I consider both words and non-words (separators), so the string scanner uses the regexp /\\w+|\\W/u …

---

## [Admin in IE 6 Issues](https://www.ruby-forum.com/t/admin-in-ie-6-issues/62771)

<div class="topic-metadata">

**Author:** [@Chris\_Corriveau](https://www.ruby-forum.com/u/Chris_Corriveau)\
**Replies:** 6\
**Last updated:** [June 8, 2006, 9:26am UTC](https://www.ruby-forum.com/t/admin-in-ie-6-issues/62771 "2006-06-08T09:26:32Z")

</div>

Is anyone working on Ticket #20? Admin Interface Support for Internet Explorer 6 Chris- Chris Corriveau: CTO of Genevate - P.O. Box 1829, North Falmouth, MA 02556 contact | removed\_email\_address@domain.invalid - 508…

---

## [Re: Premature end of regular expression with non-ascii chara](https://www.ruby-forum.com/t/re-premature-end-of-regular-expression-with-non-ascii-chara/99145)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [February 1, 2006, 11:40pm UTC](https://www.ruby-forum.com/t/re-premature-end-of-regular-expression-with-non-ascii-chara/99145 "2006-02-01T23:40:26Z")

</div>

When I read in a text with accents from a file under cygwin, these get converted to something like ‘\\352’. You can then search for these using regexps: a=“un texte extrÃªmement Ã©nervant” p splitted\_text=a.split(/(…

---

## [Why default to plural controller in generate scaffold?](https://www.ruby-forum.com/t/why-default-to-plural-controller-in-generate-scaffold/61810)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 6\
**Last updated:** [November 15, 2005, 3:47pm UTC](https://www.ruby-forum.com/t/why-default-to-plural-controller-in-generate-scaffold/61810 "2005-11-15T15:47:48Z")

</div>

from ‘generate scaffold’: “If a controller name is not given, the plural form of the model name will be used. The model and controller names may be given in CamelCase or under\_score and should not be suffixed with ‘…

---

## [Rational resampler question](https://www.ruby-forum.com/t/rational-resampler-question/220784)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 21, 2012, 10:29pm UTC](https://www.ruby-forum.com/t/rational-resampler-question/220784 "2012-06-21T22:29:51Z")

</div>

Hi, I’m trying to convert a flowgraph from grc to c++. In grc there is a rational resampler block and a rational resampler base block. I could not find a c++ version of the rational resampler block. Does a c++ versio…

---

## ["readme" extension?](https://www.ruby-forum.com/t/readme-extension/200013)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 2, 2010, 10:21pm UTC](https://www.ruby-forum.com/t/readme-extension/200013 "2010-12-02T22:21:04Z")

</div>

Hey everyone - Does anyone know if something similar to a “readme” extension exists out there in the wild? I’m thinking something along the lines of site-specific documentation available through a top-level tab. Wo…

---

## [Rake aborted - syntax error, unexpected $end, expecting kEND](https://www.ruby-forum.com/t/rake-aborted-syntax-error-unexpected-end-expecting-kend/92213)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 2\
**Last updated:** [April 17, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/rake-aborted-syntax-error-unexpected-end-expecting-kend/92213 "2007-04-17T22:11:37Z")

</div>

I can’t create tables via rake db:migrate without encountering this error: rake aborted! ./db/migrate//001\_create\_users\_table.rb:11: syntax error, unexpected $end, expecting kEND The 001\_create\_users\_table.rb file c…

---

## [Efficient processing of binary data streams in Ruby?](https://www.ruby-forum.com/t/efficient-processing-of-binary-data-streams-in-ruby/88233)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 4:10am UTC](https://www.ruby-forum.com/t/efficient-processing-of-binary-data-streams-in-ruby/88233 "2007-03-09T04:10:56Z")

</div>

I’m writing a Ruby program that has to process binary data from files and sockets. Data items are in bytes, 16-bit words, or 32-bit words, and I cannot predict in advance whether the data will be msb-first or lsb-fir…

---

## [No such file to load -- gem\_prelude.rb (LoadError)](https://www.ruby-forum.com/t/no-such-file-to-load-gem-prelude-rb-loaderror/222995)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 18, 2012, 11:13am UTC](https://www.ruby-forum.com/t/no-such-file-to-load-gem-prelude-rb-loaderror/222995 "2012-09-18T11:13:09Z")

</div>

Hi, I am new to IronRuby. I have installed IronRuby1.1. When I execute my IronRuby script I get an error: unknown: no such file to load – gem\_prelude.rb (LoadError) Can someone tell me why this error is occuring??? …

---

## [Bug and workaround: Extra bullet or extra (blank) list item added after end of your list](https://www.ruby-forum.com/t/bug-and-workaround-extra-bullet-or-extra-blank-list-item-added-after-end-of-your-list/179524)

<div class="topic-metadata">

**Author:** [@Chris\_Niswander](https://www.ruby-forum.com/u/Chris_Niswander)\
**Replies:** 0\
**Last updated:** [November 26, 2009, 10:57pm UTC](https://www.ruby-forum.com/t/bug-and-workaround-extra-bullet-or-extra-blank-list-item-added-after-end-of-your-list/179524 "2009-11-26T22:57:19Z")

</div>

THE BUG Suppose you have a Textile document that ends in a list, but has several (say, four or more) blank lines after the last list item. ==== begin hypothetical document ==== I am a short list. ==== after end of…

---

## [Reverse proxy configuration on el7](https://www.ruby-forum.com/t/reverse-proxy-configuration-on-el7/241871)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 7, 2015, 5:50am UTC](https://www.ruby-forum.com/t/reverse-proxy-configuration-on-el7/241871 "2015-05-07T05:50:42Z")

</div>

Hello! Did anyone have same problem when configuring reverse proxy nginx + apache, when the request came from nginx, the IP didn’t shows real visitor. Example access.log: 127.0.0.1 - - \[07/May/2015:09:27:30 +0700\] “…

---

## [How to avoid repeating the same code depending if a method param is nil or not?](https://www.ruby-forum.com/t/how-to-avoid-repeating-the-same-code-depending-if-a-method-param-is-nil-or-not/234444)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [March 21, 2015, 11:18am UTC](https://www.ruby-forum.com/t/how-to-avoid-repeating-the-same-code-depending-if-a-method-param-is-nil-or-not/234444 "2015-03-21T11:18:10Z")

</div>

Hi everyone, I keep coming across this scenario where I have a method that takes multiple parameters, most are optional. Within the method I have either a call to another method, or I do something with the params. It …

---

## [Can't use rails\_upgrade plugin on Windows due to missing fork() function](https://www.ruby-forum.com/t/cant-use-rails-upgrade-plugin-on-windows-due-to-missing-fork-function/197935)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 11, 2011, 1:02am UTC](https://www.ruby-forum.com/t/cant-use-rails-upgrade-plugin-on-windows-due-to-missing-fork-function/197935 "2011-11-11T01:02:53Z")

</div>

I’m on Windows…and I can’t get anything to work with this plugin: If I run rake rails:upgrade:check, for example, I get this: rake aborted! fork() function is unimplemented on this machine What a drag! I heard that…

---

## [We're sorry, but something went wrong(500)](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong-500/180917)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 5\
**Last updated:** [December 31, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong-500/180917 "2009-12-31T16:45:25Z")

</div>

Hi all, Thankfully, my site is now live. It needs some tweaks, but most importantly I need to fix the 500 internal server error I seem to be getting. We’re sorry, but something went wrong(500), We’ve been notified ab…

---

## [\[FFI\] how to bind to a function with variable number of args](https://www.ruby-forum.com/t/ffi-how-to-bind-to-a-function-with-variable-number-of-args/157932)

<div class="topic-metadata">

**Author:** [@keltia](https://www.ruby-forum.com/u/keltia)\
**Replies:** 5\
**Last updated:** [January 19, 2009, 1:07pm UTC](https://www.ruby-forum.com/t/ffi-how-to-bind-to-a-function-with-variable-number-of-args/157932 "2009-01-19T13:07:33Z")

</div>

I’m looking at ruby-ffi 0.2.0 with MRI 1.8.7 (haven’t tried with rubinius yet) and I can get to attach to setproctitle(3) defined like this: void setproctitle(const char \*fmt, ...); require “ffi” module LibC ex…

---

## [Problem compiling nginx-0-6-34 on CentOS 5.2 x86\_64](https://www.ruby-forum.com/t/problem-compiling-nginx-0-6-34-on-centos-5-2-x86-64/155457)

<div class="topic-metadata">

**Author:** [@Yazz\_Atlas](https://www.ruby-forum.com/u/Yazz_Atlas)\
**Replies:** 5\
**Last updated:** [December 18, 2008, 1:26am UTC](https://www.ruby-forum.com/t/problem-compiling-nginx-0-6-34-on-centos-5-2-x86-64/155457 "2008-12-18T01:26:30Z")

</div>

I am unable to compile nginx with SSL support under CentOS 5.2 x86\_64 currently. ./configure --prefix=/opt/nginx --with-openssl=/usr/lib64 –with-md5=/usr/lib64 --with-sha1=/usr/lib64 –with-http\_ssl\_module Configur…

---

## [Rails Benchmarks with PostgreSQL and MySQL](https://www.ruby-forum.com/t/rails-benchmarks-with-postgresql-and-mysql/114777)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/rails-benchmarks-with-postgresql-and-mysql/114777 "2007-09-25T23:10:12Z")

</div>

Hello, I did some simple benchmarking tests on a PostgreSQL database and MySQL database. This isn’t meant to prove that one is better than the other, but is just an experiment. The tests were run on my laptop with th…

---

## [Ferret DRB, UTF-8, Mongrel](https://www.ruby-forum.com/t/ferret-drb-utf-8-mongrel/115121)

<div class="topic-metadata">

**Author:** [@brandonpt](https://www.ruby-forum.com/u/brandonpt)\
**Replies:** 5\
**Last updated:** [September 23, 2007, 10:21am UTC](https://www.ruby-forum.com/t/ferret-drb-utf-8-mongrel/115121 "2007-09-23T10:21:57Z")

</div>

I have spent days trying to figure out how to get UTF-8 working with my site. Here’s my environment: Linux version 2.6.16.29-xen\_3.0.3.0 Ruby 1.8.4 (2005-12-24 \[i386-linux\] Rails 1.2.3 mongrel (1.0.1) mongrel\_clus…

---

## [Deep Copy](https://www.ruby-forum.com/t/deep-copy/106010)

<div class="topic-metadata">

**Author:** [@mjand](https://www.ruby-forum.com/u/mjand)\
**Replies:** 5\
**Last updated:** [June 5, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/deep-copy/106010 "2007-06-05T17:51:17Z")

</div>

I’m needing to implement a deep copy operation on a couple of objects, and was wondering if there was a “best practices” for this sort of thing. I’ve seen the Marshal.load(Marshal.dump()) idiom, but I’m using singlet…

---

## [Self managed recurring billing](https://www.ruby-forum.com/t/self-managed-recurring-billing/88231)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 5\
**Last updated:** [May 30, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/self-managed-recurring-billing/88231 "2007-05-30T23:56:31Z")

</div>

I’m working on setting up the credit card processing part of a rails app for my company and running into some issues. I’m currently working with the ActiveMerchant plugin and connecting to our account at Authorize.n…

---

## [Capistrano: command never finishes?](https://www.ruby-forum.com/t/capistrano-command-never-finishes/54511)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 5\
**Last updated:** [March 8, 2006, 10:55am UTC](https://www.ruby-forum.com/t/capistrano-command-never-finishes/54511 "2006-03-08T10:55:59Z")

</div>

Hi, I have created a small :restart task to overwrite the default one: task :restart, :roles =\> :app do sudo “/etc/init.d/lighttpd stop” sudo “/etc/init.d/lighttpd start” end This works fine and lighty does restart…

---

## [Work-md: A new Ruby CLI that help you organize your work activities and notes](https://www.ruby-forum.com/t/work-md-a-new-ruby-cli-that-help-you-organize-your-work-activities-and-notes/264586)

<div class="topic-metadata">

**Author:** [@hriqueft](https://www.ruby-forum.com/u/hriqueft)\
**Replies:** 1\
**Last updated:** [January 28, 2024, 11:56am UTC](https://www.ruby-forum.com/t/work-md-a-new-ruby-cli-that-help-you-organize-your-work-activities-and-notes/264586 "2024-01-28T11:56:13Z")

</div>

I’ve been using it for 2 years. Every day in the morning, I type: work-md today and start writing a markdown with my activities and meetings for the day. Also, I use work-md annotations to keep permanent notes, work-md d…

---

## [Modtool noblock and xml files and grc](https://www.ruby-forum.com/t/modtool-noblock-and-xml-files-and-grc/242117)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 29, 2015, 11:27am UTC](https://www.ruby-forum.com/t/modtool-noblock-and-xml-files-and-grc/242117 "2015-05-29T11:27:47Z")

</div>

Hello again, I tried to add a C++ noblock to my OOT module. In this particular case I wanted to provide a reusable “n of m” counter class (for non-signal stuff to count) in C++ code that I could use within various C+…

---

## [\-Infinity for Doule type column](https://www.ruby-forum.com/t/infinity-for-doule-type-column/98052)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 1\
**Last updated:** [July 12, 2006, 11:27am UTC](https://www.ruby-forum.com/t/infinity-for-doule-type-column/98052 "2006-07-12T11:27:28Z")

</div>

Hi list. I’m writing a program that stores a lot of Floats into MySQL database. Simplified version of the program use the following form of class. class Val \< ActiveRecord::BASE end And Vals table contains one colum…

---

## [Gemma HTML to PDF](https://www.ruby-forum.com/t/gemma-html-to-pdf/234778)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [June 5, 2014, 5:18pm UTC](https://www.ruby-forum.com/t/gemma-html-to-pdf/234778 "2014-06-05T17:18:49Z")

</div>

Che gemma mi consigliate per generare documenti in formato PDF da pagine HTML in Rails? Qualcuno ha provato Wicked PDF? Com’?

---

## [Source code protection](https://www.ruby-forum.com/t/source-code-protection/239447)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [February 27, 2014, 10:49pm UTC](https://www.ruby-forum.com/t/source-code-protection/239447 "2014-02-27T22:49:30Z")

</div>

Hi everybody, I would like to know, at the present time, in which ways I can protect my ruby source code that is deployed on machine connected to the Internet? I googled a bit and found that I could compile the code t…

---

## [Accumulate total count for each month](https://www.ruby-forum.com/t/accumulate-total-count-for-each-month/229241)

<div class="topic-metadata">

**Author:** [@soujiro0725](https://www.ruby-forum.com/u/soujiro0725)\
**Replies:** 8\
**Last updated:** [December 26, 2012, 10:58pm UTC](https://www.ruby-forum.com/t/accumulate-total-count-for-each-month/229241 "2012-12-26T22:58:59Z")

</div>

I have a file that contains a list of STRING datetime like Thu Dec 20 00:58:17 +0000 2012 Thu Dec 20 00:50:18 +0000 2012 Thu Dec 20 00:48:53 +0000 2012 Thu Dec 20 00:44:43 +0000 2012 Thu Dec 20 00:42:32 +0000 2012 …

---

## [Where are Ruby's private methods documented online?](https://www.ruby-forum.com/t/where-are-rubys-private-methods-documented-online/219216)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 25, 2012, 7:00am UTC](https://www.ruby-forum.com/t/where-are-rubys-private-methods-documented-online/219216 "2012-04-25T07:00:21Z")

</div>

I can’t seem to find any documentation for for Ruby’s attr\_accessor method online? It is supposed to be in the Module class (Class: Module (Ruby 1.9.3)). I understand that the attr\_\* family of methods are private meth…

---

## [Muliple top\_block()](https://www.ruby-forum.com/t/muliple-top-block/208512)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 20, 2011, 1:07pm UTC](https://www.ruby-forum.com/t/muliple-top-block/208512 "2011-06-20T13:07:17Z")

</div>

Hi all, I wanted to know that whether one can have multiple gr.top\_block() or not? for example tb1=gr.top\_block() tb2=gr.top\_block() tb1.run() tb2.run() and have them running at the same time. Regards Smith

---

## [Ruby socket does not get reply](https://www.ruby-forum.com/t/ruby-socket-does-not-get-reply/206943)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [May 14, 2011, 7:42pm UTC](https://www.ruby-forum.com/t/ruby-socket-does-not-get-reply/206943 "2011-05-14T19:42:16Z")

</div>

Hi all, I use a TCP connection and send some data like this: begin session = “mysession” socket = TCPSocket.new(tcpaddress, port) socket.setsockopt(Socket::IPPROTO\_TCP, Socket::TCP\_NODELAY, 1) puts "sending to sock…

---

## [Trying to fix NullDB for Rails3/RSpec2.5.1](https://www.ruby-forum.com/t/trying-to-fix-nulldb-for-rails3-rspec2-5-1/206137)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 23, 2011, 6:33pm UTC](https://www.ruby-forum.com/t/trying-to-fix-nulldb-for-rails3-rspec2-5-1/206137 "2011-04-23T18:33:36Z")

</div>

I’m in the midst of upgrading an app from Rails 2.3 to Rails 3, and as part of the process, from RSpec to RSpec2. One thing that seems to have broken for me is the use of NullDB to nullify the database contextually fo…

---

## [Mixin technique overrides variables](https://www.ruby-forum.com/t/mixin-technique-overrides-variables/201330)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [January 5, 2011, 7:17pm UTC](https://www.ruby-forum.com/t/mixin-technique-overrides-variables/201330 "2011-01-05T19:17:08Z")

</div>

Take a look at code bellow: module Parent1 def initialize @loc1 = 1 @loc2 = 2 end end class Parent2 def initialize @loc3 = 3 @loc4 = 4 end def displayp2 puts @loc3 puts @loc4 end end class Child \< Parent…

---

## [Rspec-rails gem double quoting (My)SQL?](https://www.ruby-forum.com/t/rspec-rails-gem-double-quoting-my-sql/179115)

<div class="topic-metadata">

**Author:** [@vanight](https://www.ruby-forum.com/u/vanight)\
**Replies:** 8\
**Last updated:** [November 19, 2009, 9:27pm UTC](https://www.ruby-forum.com/t/rspec-rails-gem-double-quoting-my-sql/179115 "2009-11-19T21:27:00Z")

</div>

Hi all, This seems like a plugin conflict (I haven’t yet had success replicating this in a new project), but short version is: when I have “rspec-rails” in my environment.rb plugin config, table names are double quote…

---

## [New ruby gnuplot](https://www.ruby-forum.com/t/new-ruby-gnuplot/172194)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [July 17, 2009, 12:12am UTC](https://www.ruby-forum.com/t/new-ruby-gnuplot/172194 "2009-07-17T00:12:57Z")

</div>

Since the maintainer appears to have abandoned http://rubyforge.org/projects/rgplot I forked his code onto github http://github.com/rogerdpack/ruby\_gnuplot/tree/master and plan on maintaining it, so feel free \[if you…

---

## [Prevent hotlinking](https://www.ruby-forum.com/t/prevent-hotlinking/165336)

<div class="topic-metadata">

**Author:** [@max](https://www.ruby-forum.com/u/max)\
**Replies:** 8\
**Last updated:** [April 12, 2009, 10:15pm UTC](https://www.ruby-forum.com/t/prevent-hotlinking/165336 "2009-04-12T22:15:02Z")

</div>

Hello all, I tried to use the following code to prevent hotlinking. But it blockes myself as well, anyone got any idea? location ~\* (.jpg|.png|.css)$ { valid\_referers blocked domain.com \*.domain.com; if ($invalid\_re…

---

## [Tabs](https://www.ruby-forum.com/t/tabs/163016)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 3\
**Last updated:** [March 16, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/tabs/163016 "2009-03-16T19:18:06Z")

</div>

Can anyone tell me how to create a tabbed interface? I tried using the Notebook control but I could not get it to work. I’m trying to put a Grid on one of the Notebook pages. Thanks, Trans

---

## [StaticText-only Notebook page eats tab key](https://www.ruby-forum.com/t/statictext-only-notebook-page-eats-tab-key/162265)

<div class="topic-metadata">

**Author:** [@David\_Peoples](https://www.ruby-forum.com/u/David_Peoples)\
**Replies:** 3\
**Last updated:** [March 11, 2009, 4:26am UTC](https://www.ruby-forum.com/t/statictext-only-notebook-page-eats-tab-key/162265 "2009-03-11T04:26:50Z")

</div>

I’m working on the keyboard interface for a small application. The app has several controls on a Panel. One of those controls is a Notebook with 4 pages, each of which is another panel. Three of the tab panels contain…

---

## [Prob with ranges](https://www.ruby-forum.com/t/prob-with-ranges/151264)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 8\
**Last updated:** [October 21, 2008, 2:41pm UTC](https://www.ruby-forum.com/t/prob-with-ranges/151264 "2008-10-21T14:41:52Z")

</div>

i looked at an example rng.each {| i | block } -\> rng Iterates over the elements rng, passing each in turn to the block. (10…15).each do |n| print n, ’ ’ end produces: 10 11 12 13 14 15 when i try the same, it doe…

---

## [Select box for multiple models](https://www.ruby-forum.com/t/select-box-for-multiple-models/143290)

<div class="topic-metadata">

**Author:** [@mitkok](https://www.ruby-forum.com/u/mitkok)\
**Replies:** 8\
**Last updated:** [July 17, 2008, 1:39am UTC](https://www.ruby-forum.com/t/select-box-for-multiple-models/143290 "2008-07-17T01:39:04Z")

</div>

Hi, guys. I’m new to Rails and right now I’m trying to write simple test system. The thing is that I don’t know how get data from multiple tables and put the into one select box. Here is my db scheme and what I want t…

---

## [Echec de l'authentification avec IE7](https://www.ruby-forum.com/t/echec-de-lauthentification-avec-ie7/134966)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 8\
**Last updated:** [April 17, 2008, 9:29am UTC](https://www.ruby-forum.com/t/echec-de-lauthentification-avec-ie7/134966 "2008-04-17T09:29:21Z")

</div>

J’utilise Resful Authentification. Ca marche impec avec FF (linux+ windows) et mÃªme avec IE6, par contre impossible de me loguer avec IE7. Quelqu’un a une idÃ©e ? – IciMarchÃ© fÃ©dÃ¨re l’e-commerce de proximitÃ© h…

---

## [Link\_to problem](https://www.ruby-forum.com/t/link-to-problem/126495)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 8\
**Last updated:** [January 18, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/link-to-problem/126495 "2008-01-18T22:57:57Z")

</div>

hi @ all I create a new archiv.html.erb and a archiv method in the controller. Now, I would like to link from index.html.erb to archiv.html.erb. I tried to use \<%= link\_to ‘archive’, archiv\_xxx\_path %\> but it doesn’t …

---

## [How do I find and view all those RDoc files scattered on my](https://www.ruby-forum.com/t/how-do-i-find-and-view-all-those-rdoc-files-scattered-on-my/108889)

<div class="topic-metadata">

**Author:** [@Jim\_Gagne](https://www.ruby-forum.com/u/Jim_Gagne)\
**Replies:** 8\
**Last updated:** [July 26, 2007, 12:46am UTC](https://www.ruby-forum.com/t/how-do-i-find-and-view-all-those-rdoc-files-scattered-on-my/108889 "2007-07-26T00:46:08Z")

</div>

Every time I download and install a MacPort, Ruby gem, or similar software, the installer makes RI and RDoc files. They’re apt to be called “index.html”. I’ve never been able to find a way to access these files. Searc…

---

## [Multiple instances adding to the same attribute](https://www.ruby-forum.com/t/multiple-instances-adding-to-the-same-attribute/106459)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 8\
**Last updated:** [June 11, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/multiple-instances-adding-to-the-same-attribute/106459 "2007-06-11T13:52:20Z")

</div>

Is there a possibility, when for example, counting a certain request, that a highly coincidental retrieval of information by two clients will override eachother’s contributions? Suppose you have: counter +=1 counter.…

---

## [Default options](https://www.ruby-forum.com/t/default-options/86331)

<div class="topic-metadata">

**Author:** [@David\_Minor](https://www.ruby-forum.com/u/David_Minor)\
**Replies:** 8\
**Last updated:** [February 23, 2007, 4:37pm UTC](https://www.ruby-forum.com/t/default-options/86331 "2007-02-23T16:37:05Z")

</div>

Are there really only 4 available config params to set in radiant? from app/models/radiant/config.rb: admin.title :: the title of the admin system admin.subtitle :: the subtitle of the admin system default.parts ::…

---

## [Table without primary key](https://www.ruby-forum.com/t/table-without-primary-key/85425)

<div class="topic-metadata">

**Author:** [@Step](https://www.ruby-forum.com/u/Step)\
**Replies:** 8\
**Last updated:** [February 13, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/table-without-primary-key/85425 "2007-02-13T15:42:06Z")

</div>

Hi all. I have table without in my DB. Rails try to use non-existent sequence and try to write value into non-existent primary key. And i have DB error. How to use model with such table? I try set\_sequence\_name nil …

---

## [Can't update actionmailer gem?](https://www.ruby-forum.com/t/cant-update-actionmailer-gem/102020)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/cant-update-actionmailer-gem/102020 "2006-08-15T14:18:28Z")

</div>

Trying to update actionmailer gem, and it’s complaining about the version of actionpack not being correct. C:\\eclipse\\workspace\>gem update actionmailer Updating installed gems… Attempting remote update of actionmaile…

---

## [What's the difference between copying and sharing in closure](https://www.ruby-forum.com/t/whats-the-difference-between-copying-and-sharing-in-closure/102065)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 8\
**Last updated:** [February 7, 2006, 7:19pm UTC](https://www.ruby-forum.com/t/whats-the-difference-between-copying-and-sharing-in-closure/102065 "2006-02-07T19:19:16Z")

</div>

Hello! I read an interview article with matz about closure. (artima - Blocks and Closures in Ruby) He mentioned that Ruby’s closure is a real closure like Lisp. Local variables are shared between a method and a closu…

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

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