# Top

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

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

---

## ['Access Denied' - unable to load schema into production DB](https://www.ruby-forum.com/t/access-denied-unable-to-load-schema-into-production-db/156210)

<div class="topic-metadata">

**Author:** [@eureka](https://www.ruby-forum.com/u/eureka)\
**Replies:** 3\
**Last updated:** [December 23, 2008, 1:57am UTC](https://www.ruby-forum.com/t/access-denied-unable-to-load-schema-into-production-db/156210 "2008-12-23T01:57:09Z")

</div>

I am currently stuck on how to proceed. This app is hosted on site5. mysql version 4.1 I believe. I posted this on their forums, and also on mysql forums. Is anyone able to confirm whether it’s a rails issue or not…

---

## [Prepared statement support in AR under JRuby](https://www.ruby-forum.com/t/prepared-statement-support-in-ar-under-jruby/154574)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [December 1, 2008, 10:34pm UTC](https://www.ruby-forum.com/t/prepared-statement-support-in-ar-under-jruby/154574 "2008-12-01T22:34:56Z")

</div>

All, I’ve been doing some Googling and there are references to the ability to do prepared DB statements in JRuby. But I can’t figure out if it really exists, and if so, is in core JRuby, or some JRuby extras project …

---

## [A topic on a category of a subforum really belongs\_to what?](https://www.ruby-forum.com/t/a-topic-on-a-category-of-a-subforum-really-belongs-to-what/154294)

<div class="topic-metadata">

**Author:** [@toltec](https://www.ruby-forum.com/u/toltec)\
**Replies:** 3\
**Last updated:** [November 27, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/a-topic-on-a-category-of-a-subforum-really-belongs-to-what/154294 "2008-11-27T23:54:03Z")

</div>

Suppose you have a forum with many sub-forums, and each sub-forum has many categories (or sub-sub-forums), and each category may or may not have many sub-categories (or sub-sub-sub-forums). Will a topic belong to the …

---

## [Why is NFS insecure for storing open id sessions?](https://www.ruby-forum.com/t/why-is-nfs-insecure-for-storing-open-id-sessions/152931)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [November 11, 2008, 2:10pm UTC](https://www.ruby-forum.com/t/why-is-nfs-insecure-for-storing-open-id-sessions/152931 "2008-11-11T14:10:35Z")

</div>

I am trying to set up openid in my application. I came across this plugin: In there it says: “Alternatively, you can use the file-based store, which just relies on tmp/openids being present in RAILS\_ROOT. But be a…

---

## [Bug in JRuby? Or my problem?](https://www.ruby-forum.com/t/bug-in-jruby-or-my-problem/147417)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 3\
**Last updated:** [September 2, 2008, 3:56am UTC](https://www.ruby-forum.com/t/bug-in-jruby-or-my-problem/147417 "2008-09-02T03:56:24Z")

</div>

The following short bit of code: include Java class TextWindow \< javax.swing.JScrollPane include java.awt.event.KeyListener def initialize @text = javax.swing.JTextPane.new #@text.editable = false super(@text) se…

---

## [Deshabilitando el autoincremento de id](https://www.ruby-forum.com/t/deshabilitando-el-autoincremento-de-id/114360)

<div class="topic-metadata">

**Author:** [@hecpeare](https://www.ruby-forum.com/u/hecpeare)\
**Replies:** 3\
**Last updated:** [September 11, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/deshabilitando-el-autoincremento-de-id/114360 "2007-09-11T22:54:00Z")

</div>

Hola, QuerrÃ­a poder establecer yo mismo el id de mis usuarios, de forma que corresponda con el de otra aplicaciÃ³n (y base de datos). Sin embargo, no me deja establecerlo directamente \[1\]. He deshabilitado la opciÃ³…

---

## [Really don't unstand Rails, can anyone help?Thanks](https://www.ruby-forum.com/t/really-dont-unstand-rails-can-anyone-help-thanks/112295)

<div class="topic-metadata">

**Author:** [@Zhan\_feng\_W](https://www.ruby-forum.com/u/Zhan_feng_W)\
**Replies:** 3\
**Last updated:** [August 17, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/really-dont-unstand-rails-can-anyone-help-thanks/112295 "2007-08-17T18:05:46Z")

</div>

Accodrding to Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern. 1.I run following: gem install rails --…

---

## [Using a Number as an Action Name](https://www.ruby-forum.com/t/using-a-number-as-an-action-name/111507)

<div class="topic-metadata">

**Author:** [@partydrone](https://www.ruby-forum.com/u/partydrone)\
**Replies:** 3\
**Last updated:** [August 8, 2007, 3:18am UTC](https://www.ruby-forum.com/t/using-a-number-as-an-action-name/111507 "2007-08-08T03:18:33Z")

</div>

I need/want to create actions using a number. For example: class ClickController \< ApplicationController caches\_page(:index, :100, :200) def index end def 100 end def 200 end end I keep running into problems wi…

---

## [Faire coexister rails 1.1.6 et 1.2.x](https://www.ruby-forum.com/t/faire-coexister-rails-1-1-6-et-1-2-x/87268)

<div class="topic-metadata">

**Author:** [@Samuel\_DECHOMETS](https://www.ruby-forum.com/u/Samuel_DECHOMETS)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 11:24am UTC](https://www.ruby-forum.com/t/faire-coexister-rails-1-1-6-et-1-2-x/87268 "2007-03-01T11:24:55Z")

</div>

Bonjour, Est-il possible de faire coexister 2 versions de rails sur un mÃªme serveur ? Une solution peut consister Ã “freezer” les version pour chaque appli en fonction de la version qu’on dÃ©sire mais existe-t-il u…

---

## [Trouble installing Ruby on Rails with Apache 2 on Linux](https://www.ruby-forum.com/t/trouble-installing-ruby-on-rails-with-apache-2-on-linux/83139)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 12:50am UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-on-rails-with-apache-2-on-linux/83139 "2007-01-24T00:50:55Z")

</div>

Hi, I’m running Fedora Core 5 Linux on an x86 machine with Apache 2.2. I’m trying to install Ruby on Rails using the instructions here (http://blog.eukhost.com/2006/09/30/ruby-on-rails/). If anyone has better instruc…

---

## [Getting host server name](https://www.ruby-forum.com/t/getting-host-server-name/81618)

<div class="topic-metadata">

**Author:** [@gilles](https://www.ruby-forum.com/u/gilles)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/getting-host-server-name/81618 "2007-01-10T19:53:10Z")

</div>

Is there a way to pull the host server information in Ruby on Rails? Such as a command? I have links linking back to my RoR web application, but my web application can and will move back and forth between servers and …

---

## [Como mostrar el campo de una tabla relacionada? belongs\_to](https://www.ruby-forum.com/t/como-mostrar-el-campo-de-una-tabla-relacionada-belongs-to/81515)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 3\
**Last updated:** [January 9, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/como-mostrar-el-campo-de-una-tabla-relacionada-belongs-to/81515 "2007-01-09T20:26:03Z")

</div>

Holas, tengo 2 tablas: CREATE TABLE forums ( id int(11) NOT NULL auto\_increment, category\_id int(11) DEFAULT NULL, name varchar(50) DEFAULT NULL, description varchar(100) DEFAULT NULL, P…

---

## [Please help : how to link\_to() and css styles?](https://www.ruby-forum.com/t/please-help-how-to-link-to-and-css-styles/57976)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 3\
**Last updated:** [April 17, 2006, 5:48pm UTC](https://www.ruby-forum.com/t/please-help-how-to-link-to-and-css-styles/57976 "2006-04-17T17:48:26Z")

</div>

Hello, I’m having hard times on a very simple problem : how to provide a css class to a link\_to tag ? I’m using this : \<%= link\_to ‘Cancel’, :action =\> ‘list’, :class =\> ‘btn-cancel’ %\> and RoR produces this : Cance…

---

## [Hey man, can you spare an open souce host?](https://www.ruby-forum.com/t/hey-man-can-you-spare-an-open-souce-host/84203)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 3\
**Last updated:** [March 21, 2006, 12:20am UTC](https://www.ruby-forum.com/t/hey-man-can-you-spare-an-open-souce-host/84203 "2006-03-21T00:20:34Z")

</div>

Any recommendations of open source hosts for a NON-RUBY project? (My prototype is written in Ruby, but the project will ultimately be C and Assembly). Thanks, T.

---

## [Problems with simple scaffold code](https://www.ruby-forum.com/t/problems-with-simple-scaffold-code/97661)

<div class="topic-metadata">

**Author:** [@lbolognini](https://www.ruby-forum.com/u/lbolognini)\
**Replies:** 3\
**Last updated:** [January 26, 2006, 10:26pm UTC](https://www.ruby-forum.com/t/problems-with-simple-scaffold-code/97661 "2006-01-26T22:26:40Z")

</div>

Hi all, I had scaffold generate some code on a brand new app the trace is here: http://rafb.net/paste/results/H87GHC68.html Could you point me to what problem needs to be fixed please as i’ve been banging my head aga…

---

## [Protected methods and class methods](https://www.ruby-forum.com/t/protected-methods-and-class-methods/63516)

<div class="topic-metadata">

**Author:** [@gioele](https://www.ruby-forum.com/u/gioele)\
**Replies:** 3\
**Last updated:** [January 22, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/protected-methods-and-class-methods/63516 "2006-01-22T18:59:39Z")

</div>

Hi, is there a way to call a protected method of a class from a static method of the same class? Or to acces an instance variable of a class from a static method of the same class? Now I’m facing a problem. I use s…

---

## [How to get information stored in a form by using ruby-rails](https://www.ruby-forum.com/t/how-to-get-information-stored-in-a-form-by-using-ruby-rails/47573)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/how-to-get-information-stored-in-a-form-by-using-ruby-rails/47573 "2005-11-12T12:49:53Z")

</div>

Hi, I’m a newbie with ruby-rails (also with web developpement) I want to create a form to get data from the user, like text field and combobax, button, etc. I used “text\_field\_tag” or other “tag” to genenate those c…

---

## [Re: rewrite to www EXCEPT for one directory](https://www.ruby-forum.com/t/re-rewrite-to-www-except-for-one-directory/222714)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 7, 2012, 2:20pm UTC](https://www.ruby-forum.com/t/re-rewrite-to-www-except-for-one-directory/222714 "2012-09-07T14:20:37Z")

</div>

} wbr, Valentin V. Bartenev I suggest to use $scheme like in: rewrite ^(.\*) $scheme://www.example.org/$1 permanent; to keep the https connection (if a client wants to use it). otherwise your server drops the http…

---

## [When is a method known to Ruby?](https://www.ruby-forum.com/t/when-is-a-method-known-to-ruby/213037)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [October 21, 2011, 2:46pm UTC](https://www.ruby-forum.com/t/when-is-a-method-known-to-ruby/213037 "2011-10-21T14:46:05Z")

</div>

Hi. When is a method “known” to the ruby parser and why? Example 1, works: require ‘pp’ module Foo def self.foo(i) # i is a string that will be shortened. return i.chop end CONSTANT\_1 = 'bla' CONSTANT\_2 = foo('b…

---

## [Yml file structure](https://www.ruby-forum.com/t/yml-file-structure/196369)

<div class="topic-metadata">

**Author:** [@premanshu](https://www.ruby-forum.com/u/premanshu)\
**Replies:** 5\
**Last updated:** [October 12, 2010, 10:55am UTC](https://www.ruby-forum.com/t/yml-file-structure/196369 "2010-10-12T10:55:33Z")

</div>

Hi All, rake db:create is not working. It is giving an error like \*\* Invoke db:migrate (first\_time) \*\* Invoke environment (first\_time) \*\* Execute environment rake aborted! syntax error on line 17, col -1: \`’ My ym…

---

## [Problem with attr\_accessor](https://www.ruby-forum.com/t/problem-with-attr-accessor/194924)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [September 14, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/problem-with-attr-accessor/194924 "2010-09-14T16:27:29Z")

</div>

I pass a value from controller to model with attr\_accessor. before\_save works fine but not after\_find. What could be wrong? This is what I use in index @test = Test.find(:all) @test.each {|a| a.key = cookies\[:thekey\]…

---

## [Could somebody convert this .htaccess to NGINX rewrite,,?](https://www.ruby-forum.com/t/could-somebody-convert-this-htaccess-to-nginx-rewrite/186721)

<div class="topic-metadata">

**Author:** [@escavern](https://www.ruby-forum.com/u/escavern)\
**Replies:** 5\
**Last updated:** [April 12, 2010, 2:32pm UTC](https://www.ruby-forum.com/t/could-somebody-convert-this-htaccess-to-nginx-rewrite/186721 "2010-04-12T14:32:41Z")

</div>

could somebody convert this .htaccess to NGINX rewrite,?? RewriteEngine on RewriteCond %{HTTP\_HOST} ^www.(.+)$ RewriteRule ^(.\*)$ http://%1/$1 i u could, u’re the best ! Posted at Nginx Forum:

---

## [Moving to Widgets from Standard Rails UI](https://www.ruby-forum.com/t/moving-to-widgets-from-standard-rails-ui/186632)

<div class="topic-metadata">

**Author:** [@smarter](https://www.ruby-forum.com/u/smarter)\
**Replies:** 5\
**Last updated:** [April 11, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/moving-to-widgets-from-standard-rails-ui/186632 "2010-04-11T18:30:09Z")

</div>

Hi: I am planning to move my app from Standard Rails UI with form\_for to using widgets from jQuery/ExtJS… Most of these take json format. I can easily get JSON Format from Rails model, but updates will also send JSO…

---

## [Help on ruby on rails for mobile website development](https://www.ruby-forum.com/t/help-on-ruby-on-rails-for-mobile-website-development/175173)

<div class="topic-metadata">

**Author:** [@Sattu](https://www.ruby-forum.com/u/Sattu)\
**Replies:** 5\
**Last updated:** [September 9, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/help-on-ruby-on-rails-for-mobile-website-development/175173 "2009-09-09T16:25:50Z")

</div>

hi all, I am trying to implement a website on the mobile device. The website is written in RoR and currently runs for desktop and laptop users. I have started learning RoR with Instant Rails. Could anyone guide me …

---

## [Has\_one](https://www.ruby-forum.com/t/has-one/172319)

<div class="topic-metadata">

**Author:** [@arcoder](https://www.ruby-forum.com/u/arcoder)\
**Replies:** 5\
**Last updated:** [July 20, 2009, 6:34pm UTC](https://www.ruby-forum.com/t/has-one/172319 "2009-07-20T18:34:16Z")

</div>

Ciao a tutti, ho due tabelle, Documents e Files e ad ogni documento Ã¨ collegato un file, dunque: Document has\_one :file, :dependent =\> :destroy File belongs\_to :document Nella vista Show di Documents \<% fi = Ad…

---

## [A hopefully simple question](https://www.ruby-forum.com/t/a-hopefully-simple-question/165106)

<div class="topic-metadata">

**Author:** [@chuft](https://www.ruby-forum.com/u/chuft)\
**Replies:** 5\
**Last updated:** [April 9, 2009, 6:46am UTC](https://www.ruby-forum.com/t/a-hopefully-simple-question/165106 "2009-04-09T06:46:33Z")

</div>

Hello, I downloaded an irc bot written in Ruby. I haven’t programmed in many years but couldn’t resist the urge to tinker with the code so I peeked inside. Basically I am trying to add additional string recognition s…

---

## [Aquiring repo with svn](https://www.ruby-forum.com/t/aquiring-repo-with-svn/162752)

<div class="topic-metadata">

**Author:** [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Replies:** 5\
**Last updated:** [March 13, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/aquiring-repo-with-svn/162752 "2009-03-13T17:22:26Z")

</div>

git svn clone http://svn.ruby-lang.org/repos/ruby/branches/ruby\_1\_9\_1 Pulling approx 400Mb! Is there any way I can pull a smaller amount of data? I normally log in via ftp and hunt for the latest ruby-version.tar.gz. …

---

## [Upload module](https://www.ruby-forum.com/t/upload-module/153586)

<div class="topic-metadata">

**Author:** [@Chetan\_Patil](https://www.ruby-forum.com/u/Chetan_Patil)\
**Replies:** 5\
**Last updated:** [November 19, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/upload-module/153586 "2008-11-19T12:03:43Z")

</div>

Hi All, I am unable to download the upload module from http://www.grid.net.ru/nginx/download/nginx\_upload\_module-2.0.7.tar.gz. The website doesn’t seem to exist. Is there a new location from where I can download it? …

---

## [Authentication including Authorization (Roles/Rights/Permissions)](https://www.ruby-forum.com/t/authentication-including-authorization-roles-rights-permissions/149284)

<div class="topic-metadata">

**Author:** [@Adriano\_F](https://www.ruby-forum.com/u/Adriano_F)\
**Replies:** 5\
**Last updated:** [November 11, 2008, 6:34pm UTC](https://www.ruby-forum.com/t/authentication-including-authorization-roles-rights-permissions/149284 "2008-11-11T18:34:13Z")

</div>

It’s been couple of days messing around with Internet looking for a good Authentication including Autorization system/plugin for Ruby On Rails. I’ve found lots of sources related to that. However, most of them are old…

---

## [\[ANN\] MysqlTableSyncer 0.2](https://www.ruby-forum.com/t/ann-mysqltablesyncer-0-2/149237)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 5\
**Last updated:** [September 30, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/ann-mysqltablesyncer-0-2/149237 "2008-09-30T22:18:57Z")

</div>

Released a script recently to sync the contents of tables between two different mysql databases. The need for this is mostly as a faster, open source replacement to Navicat \[to those who have used it\] or SQLyog – sinc…

---

## [Dynamic SQL Queries](https://www.ruby-forum.com/t/dynamic-sql-queries/134229)

<div class="topic-metadata">

**Author:** [@fabiokr](https://www.ruby-forum.com/u/fabiokr)\
**Replies:** 5\
**Last updated:** [April 11, 2008, 1:19am UTC](https://www.ruby-forum.com/t/dynamic-sql-queries/134229 "2008-04-11T01:19:53Z")

</div>

Hi there, I’m starting to learn Rails, and I have a question about SQL usage. I have some fields on my view that will be used as a search form. So, I have the search parameters, but what’s the best way to use them on…

---

## [Given .. and .. - And requires capitalisation](https://www.ruby-forum.com/t/given-and-and-requires-capitalisation/133480)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 5\
**Last updated:** [April 1, 2008, 2:02am UTC](https://www.ruby-forum.com/t/given-and-and-requires-capitalisation/133480 "2008-04-01T02:02:13Z")

</div>

Hi Guys, Just writing out a plain English story and was surprised to see one of my steps wasn’t listed as pending. It turned out it was because I had started the line with and instead of And. Is there any reason w…

---

## [ANN: doodle 0.0.1](https://www.ruby-forum.com/t/ann-doodle-0-0-1/131376)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 5\
**Last updated:** [March 15, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/ann-doodle-0-0-1/131376 "2008-03-15T14:52:01Z")

</div>

Doodle is a Ruby library and gem for simplifying the definition of Ruby classes by making attributes and their properties more declarative. Doodle is eco-friendly – it does not globally modify Object, Class or Module…

---

## [Rails 2.0 compatible plugins / addons / libs](https://www.ruby-forum.com/t/rails-2-0-compatible-plugins-addons-libs/125263)

<div class="topic-metadata">

**Author:** [@Sazima](https://www.ruby-forum.com/u/Sazima)\
**Replies:** 5\
**Last updated:** [January 8, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/rails-2-0-compatible-plugins-addons-libs/125263 "2008-01-08T14:58:28Z")

</div>

Guys! Is there any list of Rails 2.0 compatible plugins/addons/libs? I searched a lot, but couldn’t find anything. Would you know which ones were ported to Rails 2.0 (or at least are “safe”)? I think this compilation…

---

## [Convert a char into numbre](https://www.ruby-forum.com/t/convert-a-char-into-numbre/123537)

<div class="topic-metadata">

**Author:** [@Roberto\_Decurnex\_Go](https://www.ruby-forum.com/u/Roberto_Decurnex_Go)\
**Replies:** 5\
**Last updated:** [December 18, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/convert-a-char-into-numbre/123537 "2007-12-18T16:14:31Z")

</div>

I am have an String object like “12345678”, and an Array object like \[ 8,7,6,5,4,3,2,1\]. The main idea is: myStr = ‘12345678’ myArray = \[8,7,6,5,4,3,2,1\] total = 0 for i in 0…7 total+= myStr\[ i \].to\_i \* myArray\[ …

---

## [Running php from RoR](https://www.ruby-forum.com/t/running-php-from-ror/122193)

<div class="topic-metadata">

**Author:** [@GPB](https://www.ruby-forum.com/u/GPB)\
**Replies:** 5\
**Last updated:** [December 5, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/running-php-from-ror/122193 "2007-12-05T15:17:10Z")

</div>

Hello… I am trying to execute a php script from within rails. The action is triggered by a button. def load\_stock if result = system(‘php test.php’) flash\[:notice\] = result end end However, it keeps returning fal…

---

## [Specs and Libs](https://www.ruby-forum.com/t/specs-and-libs/116313)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 5\
**Last updated:** [October 6, 2007, 4:22am UTC](https://www.ruby-forum.com/t/specs-and-libs/116313 "2007-10-06T04:22:25Z")

</div>

How would I go about writing specs for a lib, particularly one with all protected and private methods. I’m trying to spec the AuthenticatedSystem library from the rails restful\_authentication plugin: http://pastie.c…

---

## [Help with a Windows port of a Ruby extension](https://www.ruby-forum.com/t/help-with-a-windows-port-of-a-ruby-extension/115946)

<div class="topic-metadata">

**Author:** [@uberkorp](https://www.ruby-forum.com/u/uberkorp)\
**Replies:** 5\
**Last updated:** [October 1, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/help-with-a-windows-port-of-a-ruby-extension/115946 "2007-10-01T19:27:53Z")

</div>

I’m working on a game that’s in the early stages, and I want to make sure it runs on both OS X and Windows before I continue development. OS X is my primary OS, and it runs fine on that. But it crashes in Windows. T…

---

## [How do I implement "rotating" content on a website?](https://www.ruby-forum.com/t/how-do-i-implement-rotating-content-on-a-website/110456)

<div class="topic-metadata">

**Author:** [@thabenksta](https://www.ruby-forum.com/u/thabenksta)\
**Replies:** 5\
**Last updated:** [July 27, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/how-do-i-implement-rotating-content-on-a-website/110456 "2007-07-27T16:29:02Z")

</div>

I’m getting ready to write some generic code to handle “rotation” of content on our website, an online community featuring authors, books, etc. What the “rotation” means is that content such as Featured Blogs, Featur…

---

## [Extension question](https://www.ruby-forum.com/t/extension-question/105045)

<div class="topic-metadata">

**Author:** [@Bill\_Rowell](https://www.ruby-forum.com/u/Bill_Rowell)\
**Replies:** 5\
**Last updated:** [May 27, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/extension-question/105045 "2007-05-27T17:51:31Z")

</div>

I’m developing another radiant extension that I basically want to be able to display a catalog of categories, sub-categories, and items with. I don’t want to have to create a page for every one of those, I want it t…

---

## [Gets problem - strange](https://www.ruby-forum.com/t/gets-problem-strange/63085)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 5\
**Last updated:** [June 11, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/gets-problem-strange/63085 "2006-06-11T20:49:58Z")

</div>

This is a problem that was pointed out by Esteban Velazquez. % cat gets2.rb #!/usr/bin/ruby print "getting "; puts gets Sending the app arguments returns an error: % ruby gets2.rb fred gets2.rb:3:in \`gets’: No such…

---

## [AR Caching and Reflection](https://www.ruby-forum.com/t/ar-caching-and-reflection/61406)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 5\
**Last updated:** [May 25, 2006, 6:08am UTC](https://www.ruby-forum.com/t/ar-caching-and-reflection/61406 "2006-05-25T06:08:59Z")

</div>

When I do this: term = Term.find(1, :include =\> :definition) term.definition.term Two SQL queries are fired, why?

---

## [The true merit of non-memory based session stores](https://www.ruby-forum.com/t/the-true-merit-of-non-memory-based-session-stores/94602)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [May 8, 2006, 11:33pm UTC](https://www.ruby-forum.com/t/the-true-merit-of-non-memory-based-session-stores/94602 "2006-05-08T23:33:42Z")

</div>

All, There is an assertion in AWDWR that the in-memory session store is “too simplistic.” However, I find myself nudged in this direction by the need to keep a non-serializable model attribute available in my session…

---

## [Dreamhost Database problems](https://www.ruby-forum.com/t/dreamhost-database-problems/54774)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 5\
**Last updated:** [March 14, 2006, 4:39am UTC](https://www.ruby-forum.com/t/dreamhost-database-problems/54774 "2006-03-14T04:39:10Z")

</div>

I’m working on uploading my site to dreamhost. I just setup my production database, and gave it a host name. It said that it was successfully created. Now, it’s been like 25 minutes, and I still can’t connect to it…

---

## [Riby killed after few seconds](https://www.ruby-forum.com/t/riby-killed-after-few-seconds/51568)

<div class="topic-metadata">

**Author:** [@cattimik](https://www.ruby-forum.com/u/cattimik)\
**Replies:** 5\
**Last updated:** [January 7, 2006, 10:14am UTC](https://www.ruby-forum.com/t/riby-killed-after-few-seconds/51568 "2006-01-07T10:14:21Z")

</div>

Hi, I followed the tutorial about installing RoR on a Pair Networks’ Host. Everything seem to work but the application lives few seconds (checked in browser, it works ) and then the process is killed. Another thing, …

---

## [PLEAC-Ruby](https://www.ruby-forum.com/t/pleac-ruby/100918)

<div class="topic-metadata">

**Author:** [@gregory.t.brown](https://www.ruby-forum.com/u/gregory.t.brown)\
**Replies:** 5\
**Last updated:** [November 24, 2005, 9:29pm UTC](https://www.ruby-forum.com/t/pleac-ruby/100918 "2005-11-24T21:29:15Z")

</div>

Has anyone seen this before? It’s a project that aims to implement the Perl cookbook solutions in Ruby. http://pleac.sourceforge.net/pleac\_ruby/ It has a lot of really good ideas in it, but it’s kind of hit or miss …

---

## [Latest Hackfest](https://www.ruby-forum.com/t/latest-hackfest/240243)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 7, 2014, 5:53pm UTC](https://www.ruby-forum.com/t/latest-hackfest/240243 "2014-04-07T17:53:38Z")

</div>

We had our latest GNU Radio Hackfest last week at Ettus R… It was a fantastic week with a lot of good work getting done. If you’re interested in what we are working on and to get a glimpse of some of the new things …

---

## [Smtp and Threads](https://www.ruby-forum.com/t/smtp-and-threads/236888)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [October 9, 2013, 5:38pm UTC](https://www.ruby-forum.com/t/smtp-and-threads/236888 "2013-10-09T17:38:01Z")

</div>

Hi, I have a method sendEmail that is sending emails correctly and i decided to call the method inside a Thread so I don’t have to wait until the email is sent but I don’t know why it is not working, this is the code: …

---

## [Need help on ARGF#skip](https://www.ruby-forum.com/t/need-help-on-argf-skip/227741)

<div class="topic-metadata">

**Author:** [@pritamdey](https://www.ruby-forum.com/u/pritamdey)\
**Replies:** 4\
**Last updated:** [March 27, 2013, 12:19pm UTC](https://www.ruby-forum.com/t/need-help-on-argf-skip/227741 "2013-03-27T12:19:30Z")

</div>

from the doc: Class: ARGF (Ruby 2.0.0) ARGF#skip :- Sets the current file to the next file in ARGV. If there aren’t any more files it has no effect. Tried the codes as below: Code - I: p RUBY\_VERSION p ARGF.argv A…

---

## [Parallel Execution of Unit Tests](https://www.ruby-forum.com/t/parallel-execution-of-unit-tests/132204)

<div class="topic-metadata">

**Author:** [@wade](https://www.ruby-forum.com/u/wade)\
**Replies:** 4\
**Last updated:** [August 13, 2012, 12:05pm UTC](https://www.ruby-forum.com/t/parallel-execution-of-unit-tests/132204 "2012-08-13T12:05:27Z")

</div>

Hi, I’m using Ruby’s Test::Unit framework to drive some functional tests which use Selenium to perform E2E scenarios against a web app in a real browser. As one can easily imagine, running a large suite of browser-b…

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

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