# Top

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

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

---

## [Can't install sqlite-ruby gem on OS X 10.5.5](https://www.ruby-forum.com/t/cant-install-sqlite-ruby-gem-on-os-x-10-5-5/158552)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 5\
**Last updated:** [January 24, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/cant-install-sqlite-ruby-gem-on-os-x-10-5-5/158552 "2009-01-24T21:53:46Z")

</div>

I’m new to OS X. I’ve been messing with Rails for about a year. I’ve cloned my rails app using git. script/server starts, and I get an error in my browser about sqlite3. So, I try to install sqlite-ruby gem and I fa…

---

## [Newb confusion: instance variable accessible from outside class, but nil from inside instance metho](https://www.ruby-forum.com/t/newb-confusion-instance-variable-accessible-from-outside-class-but-nil-from-inside-instance-metho/153640)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 5\
**Last updated:** [November 19, 2008, 9:06pm UTC](https://www.ruby-forum.com/t/newb-confusion-instance-variable-accessible-from-outside-class-but-nil-from-inside-instance-metho/153640 "2008-11-19T21:06:23Z")

</div>

I’ve got a simple class, defined by the following table in a migration: create\_table :buzzusers do |t| t.integer :user\_id t.string :name t.integer :level, :default =\> 0 t.timestamps end I usually create it with …

---

## [Flash\[:notice\] e CSS](https://www.ruby-forum.com/t/flash-notice-e-css/153498)

<div class="topic-metadata">

**Author:** [@kerouak](https://www.ruby-forum.com/u/kerouak)\
**Replies:** 5\
**Last updated:** [November 18, 2008, 10:54am UTC](https://www.ruby-forum.com/t/flash-notice-e-css/153498 "2008-11-18T10:54:30Z")

</div>

Mi sapete dire come stilizzare via CSS il tag generato dal flash\[:notice\] ??

---

## [To\_i](https://www.ruby-forum.com/t/to-i/130770)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 5\
**Last updated:** [March 3, 2008, 9:46am UTC](https://www.ruby-forum.com/t/to-i/130770 "2008-03-03T09:46:57Z")

</div>

Hi I have string say str1 when i use res=str1.to\_i puts res.class The result i get is Fixnum. Actually does to\_i convert str1 to Integer or Fixnum?So why i did not get result as Integer? Sijo

---

## [Bioruby-Name error: uninitialized constant](https://www.ruby-forum.com/t/bioruby-name-error-uninitialized-constant/129884)

<div class="topic-metadata">

**Author:** [@calvin76](https://www.ruby-forum.com/u/calvin76)\
**Replies:** 5\
**Last updated:** [February 26, 2008, 12:21am UTC](https://www.ruby-forum.com/t/bioruby-name-error-uninitialized-constant/129884 "2008-02-26T00:21:45Z")

</div>

I’m very new to both programming in general and to programming in Ruby. I have tried to write a programme in BioRuby: require ‘bio’ fasta = open(’…/sequence.fasta’) fasta\_string = fasta.read a = Bio::Alignment::Mult…

---

## [Qualche domanda su alcune "best practices"](https://www.ruby-forum.com/t/qualche-domanda-su-alcune-best-practices/129037)

<div class="topic-metadata">

**Author:** [@gianluca\_t](https://www.ruby-forum.com/u/gianluca_t)\
**Replies:** 5\
**Last updated:** [February 14, 2008, 11:02am UTC](https://www.ruby-forum.com/t/qualche-domanda-su-alcune-best-practices/129037 "2008-02-14T11:02:16Z")

</div>

Ciao a tutti, riprovo a postare le domande nella speranza che qualcuno sia in grado di fornirmi qualche indicazione… (temo infatti che la mia email precedente non sia stata vista da nessuno…). Avrei alcune domande da…

---

## [Simultaneous receive/transmit with LFRX/TX](https://www.ruby-forum.com/t/simultaneous-receive-transmit-with-lfrx-tx/126866)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [January 23, 2008, 3:01am UTC](https://www.ruby-forum.com/t/simultaneous-receive-transmit-with-lfrx-tx/126866 "2008-01-23T03:01:44Z")

</div>

Hi all- I looked over the mailing list, and I think I see that what I want to do is possible, but I want to verify before I order the parts: I want to receive an AM modulated waveform using an LFRX, demodulate it, an…

---

## [Sobre estructuras de control](https://www.ruby-forum.com/t/sobre-estructuras-de-control/126027)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 5\
**Last updated:** [January 15, 2008, 7:32am UTC](https://www.ruby-forum.com/t/sobre-estructuras-de-control/126027 "2008-01-15T07:32:01Z")

</div>

Hola gente. me preguntaba si era posible preguntar por un rango 2…5 por ej, en un if, estoy haciendo lo siguiente , pero no me funciona \<%= @page.id ===2…5? ‘selected’: ’ ’ %\> tambien lo he hecho asi \<%= @page.i…

---

## [Problemi con il require](https://www.ruby-forum.com/t/problemi-con-il-require/120752)

<div class="topic-metadata">

**Author:** [@dcaseres](https://www.ruby-forum.com/u/dcaseres)\
**Replies:** 5\
**Last updated:** [November 20, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/problemi-con-il-require/120752 "2007-11-20T17:43:47Z")

</div>

Ciao, per organizzare un po’ meglio le mie classi ho deciso di spostarne un paio all’interno di una directory utils, nel seguente modo: analizer.rb - nella root mux.rb - nella cartella utils service.rb - nella carte…

---

## [USRP and "fusb: (rd status -71) Protocol error"](https://www.ruby-forum.com/t/usrp-and-fusb-rd-status-71-protocol-error/103208)

<div class="topic-metadata">

**Author:** [@stevie.glass](https://www.ruby-forum.com/u/stevie.glass)\
**Replies:** 5\
**Last updated:** [May 3, 2007, 2:09am UTC](https://www.ruby-forum.com/t/usrp-and-fusb-rd-status-71-protocol-error/103208 "2007-05-03T02:09:36Z")

</div>

Hi I’ve a rev 3 USRP which has the Flex2400 and TVRX daughtercards installed. At one time the setup worked well - altho I’ve let it lie a while. This week I’ve swapped out a TVRX and replaced it with the DBSRX in pr…

---

## [(Fire|)Watir and Selenium - Google SoC](https://www.ruby-forum.com/t/fire-watir-and-selenium-google-soc/90528)

<div class="topic-metadata">

**Author:** [@helder](https://www.ruby-forum.com/u/helder)\
**Replies:** 5\
**Last updated:** [March 30, 2007, 6:16am UTC](https://www.ruby-forum.com/t/fire-watir-and-selenium-google-soc/90528 "2007-03-30T06:16:49Z")

</div>

Hi! I’ve got a project to come up with a way to record user action in Ruby code that can be executed by FireWatir. My idea is to parse the output from TestGen4Web or Selenium-IDE. This idea was proposed in the ruby- …

---

## [Pide a DreamHost que cumpla la LOPD (Safe Harbor)](https://www.ruby-forum.com/t/pide-a-dreamhost-que-cumpla-la-lopd-safe-harbor/87478)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 5\
**Last updated:** [March 3, 2007, 10:53pm UTC](https://www.ruby-forum.com/t/pide-a-dreamhost-que-cumpla-la-lopd-safe-harbor/87478 "2007-03-03T22:53:53Z")

</div>

Hola a todos, en especial a los usuarios de DreamHost! Uno de los temas que hemos tratado alguna vez en esta lista es el asunto de la LOPD, y de si los servidores americanos la cumplen. Una de las conclusiones a las q…

---

## [Moving AR object error wraping to custom FormBuilders](https://www.ruby-forum.com/t/moving-ar-object-error-wraping-to-custom-formbuilders/85942)

<div class="topic-metadata">

**Author:** [@phillyloco](https://www.ruby-forum.com/u/phillyloco)\
**Replies:** 5\
**Last updated:** [February 21, 2007, 5:53am UTC](https://www.ruby-forum.com/t/moving-ar-object-error-wraping-to-custom-formbuilders/85942 "2007-02-21T05:53:12Z")

</div>

Hello, Previously, I’ve been doing all my active record error feedback in forums by using ActionView::Base.field\_error\_proc. However, it is somewhat inflexible. I’ve also recently started to “get” custom form builder…

---

## [Focus Mongrel](https://www.ruby-forum.com/t/focus-mongrel/85689)

<div class="topic-metadata">

**Author:** [@FrSSSSdSSSSric\_Logi](https://www.ruby-forum.com/u/FrSSSSdSSSSric_Logi)\
**Replies:** 5\
**Last updated:** [February 19, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/focus-mongrel/85689 "2007-02-19T15:17:52Z")

</div>

Bonjour, O’Reilly vient de publier la traduction du focus sur Mongrel : Pour 8â‚¬ je ne peux que vous le conseiller.

---

## [Security and incrementing integer ids](https://www.ruby-forum.com/t/security-and-incrementing-integer-ids/84825)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 5\
**Last updated:** [February 8, 2007, 2:29am UTC](https://www.ruby-forum.com/t/security-and-incrementing-integer-ids/84825 "2007-02-08T02:29:11Z")

</div>

We’re close to launching our application to the public. Although this will be a closed alpha I’m still kind of concerned about the security of using an incrementing integer for the id to sensitive database records. I…

---

## [Radiant in a subdirectory](https://www.ruby-forum.com/t/radiant-in-a-subdirectory/69221)

<div class="topic-metadata">

**Author:** [@mislav](https://www.ruby-forum.com/u/mislav)\
**Replies:** 5\
**Last updated:** [September 20, 2006, 4:18pm UTC](https://www.ruby-forum.com/t/radiant-in-a-subdirectory/69221 "2006-09-20T16:18:53Z")

</div>

I have Radiant installed in a subdirectory, not the site root. I have set AbstractRequest.relative\_url\_root accordingly, which makes admin section work. Surprisingly, links generated by Radius tags on the site itself …

---

## [Proposal: Exception handling in container classes](https://www.ruby-forum.com/t/proposal-exception-handling-in-container-classes/100552)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 5\
**Last updated:** [August 1, 2006, 3:17am UTC](https://www.ruby-forum.com/t/proposal-exception-handling-in-container-classes/100552 "2006-08-01T03:17:17Z")

</div>

Right now, render\_tag (in page\_context.rb) rescues all exceptions and turns them into HTML output. It’d be really nice to be able to use exceptions within behaviors - especially within container tags. F’rinstance, I’…

---

## [Solaris Install: Non-standard location](https://www.ruby-forum.com/t/solaris-install-non-standard-location/60409)

<div class="topic-metadata">

**Author:** [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Replies:** 5\
**Last updated:** [May 16, 2006, 6:14am UTC](https://www.ruby-forum.com/t/solaris-install-non-standard-location/60409 "2006-05-16T06:14:29Z")

</div>

Were I able to install at the default location, things would be golden. Unfortunately, that’s not an option. My first attempt at installing failed horribly. (Couldn’t access GetoptLong, for instance, because the sit…

---

## [Using Migrations to convert join table to join model](https://www.ruby-forum.com/t/using-migrations-to-convert-join-table-to-join-model/58350)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 5\
**Last updated:** [April 21, 2006, 1:22am UTC](https://www.ruby-forum.com/t/using-migrations-to-convert-join-table-to-join-model/58350 "2006-04-21T01:22:46Z")

</div>

Greetings, I’m trying to convert a HABTM w/attributes join table in my database into a join model table in order to utilize the new has\_many :through functionality introduced in Rails 1.1. Here’s the current table d…

---

## [Error installing the MySQL Ruby bindings?](https://www.ruby-forum.com/t/error-installing-the-mysql-ruby-bindings/75116)

<div class="topic-metadata">

**Author:** [@conz](https://www.ruby-forum.com/u/conz)\
**Replies:** 5\
**Last updated:** [March 2, 2006, 3:09pm UTC](https://www.ruby-forum.com/t/error-installing-the-mysql-ruby-bindings/75116 "2006-03-02T15:09:51Z")

</div>

Hi, I attempted to install the MySQL Ruby bindings and I received the following errors: gem install mysql – --with-mysql-dir=/usr/local/mysql Attempting local installation of ‘mysql’ Local gem file not found: mysql\*…

---

## [Understanding ruby? need help](https://www.ruby-forum.com/t/understanding-ruby-need-help/70110)

<div class="topic-metadata">

**Author:** [@bbqbaker](https://www.ruby-forum.com/u/bbqbaker)\
**Replies:** 5\
**Last updated:** [February 24, 2006, 5:39pm UTC](https://www.ruby-forum.com/t/understanding-ruby-need-help/70110 "2006-02-24T17:39:23Z")

</div>

I hi, I am new to ruby and bought my first book. i am having sort of difficult time understanding blocks/yeild statements. i am coming from C++. class Array def find for i in 0…size value = self\[i\] return value if…

---

## [Puts behaviour](https://www.ruby-forum.com/t/puts-behaviour/71883)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 5\
**Last updated:** [February 23, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/puts-behaviour/71883 "2006-02-23T20:56:37Z")

</div>

I have a number of “puts” in my testcase file. When I run my test harness using ruby -w test/testcase.rb the first “puts” in the second method prefixes the output string with a ‘.’ I cannot seem to locate any refere…

---

## [DB Modelling the Rails way - Opinions?](https://www.ruby-forum.com/t/db-modelling-the-rails-way-opinions/55706)

<div class="topic-metadata">

**Author:** [@soderic](https://www.ruby-forum.com/u/soderic)\
**Replies:** 5\
**Last updated:** [January 19, 2006, 12:32pm UTC](https://www.ruby-forum.com/t/db-modelling-the-rails-way-opinions/55706 "2006-01-19T12:32:50Z")

</div>

Hi, I’m trying to figure the most efficient way to model the following. I can think of at least two ways to relate the tables but from a client/server perspective! I’m wondering how to best (and elegantly)relate them…

---

## [Select Tag and Associations](https://www.ruby-forum.com/t/select-tag-and-associations/52105)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 5\
**Last updated:** [January 11, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/select-tag-and-associations/52105 "2006-01-11T19:15:17Z")

</div>

Hi there, I’ve been working on this for awhile and have finally decided to ask for a little guidance.I have a slight problem trying to save a selection. I have two models: A “Posting” has\_many “Categories”, and a “C…

---

## [Rails namespace help requested](https://www.ruby-forum.com/t/rails-namespace-help-requested/53430)

<div class="topic-metadata">

**Author:** [@magic6435](https://www.ruby-forum.com/u/magic6435)\
**Replies:** 5\
**Last updated:** [December 14, 2005, 9:49pm UTC](https://www.ruby-forum.com/t/rails-namespace-help-requested/53430 "2005-12-14T21:49:51Z")

</div>

Hi all - I posted yesterday with the subject “namespace pollution” and with the high traffic on this list, it’s kind of disappeared and I’m in need of a quick answer so i can move on. To recap quickly, can someone t…

---

## [Glimmer DSL for Web 0.5.0 Released with support for Component Slots](https://www.ruby-forum.com/t/glimmer-dsl-for-web-0-5-0-released-with-support-for-component-slots/264954)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [August 3, 2024, 11:04pm UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-web-0-5-0-released-with-support-for-component-slots/264954 "2024-08-03T23:04:30Z")

</div>

Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) version 0.5.0 has been released with support for Component Slots (by adding slot: :slot\_name to any parent element, like a div, inside a Glimmer::Web::Comp…

---

## [Abstract Feature Branch 1.3.2](https://www.ruby-forum.com/t/abstract-feature-branch-1-3-2/263531)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [December 23, 2022, 1:17am UTC](https://www.ruby-forum.com/t/abstract-feature-branch-1-3-2/263531 "2022-12-23T01:17:58Z")

</div>

Abstract Feature Branch 1.3.2 abstract\_feature\_branch is one of the simplest and most minimalistic “Feature Flags” ruby gems out there. It enables you to get started very quickly by simply leveraging YAML files without h…

---

## [Error while zipping with rubyzip](https://www.ruby-forum.com/t/error-while-zipping-with-rubyzip/231119)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 22, 2014, 2:43pm UTC](https://www.ruby-forum.com/t/error-while-zipping-with-rubyzip/231119 "2014-07-22T14:43:41Z")

</div>

Hi, I need help with the error I get when zipping a folder. Background info: I’m expanding a computer aided translation tool I’ve build in Ruby. The expansion will support file selection and extraction of the text fo…

---

## [Ruby help](https://www.ruby-forum.com/t/ruby-help/167657)

<div class="topic-metadata">

**Author:** [@nznz](https://www.ruby-forum.com/u/nznz)\
**Replies:** 0\
**Last updated:** [May 11, 2009, 8:31am UTC](https://www.ruby-forum.com/t/ruby-help/167657 "2009-05-11T08:31:44Z")

</div>

Hi, my name is Emmanuel, im from argentina. Sorry for my english :stuck\_out\_tongue: I have a problem with ruby, im very new in this. i try to execute this code: 1 # gets y chomp 2 3 puts “En que ciudad vives?” 4 …

---

## [Headers\_in\_hash](https://www.ruby-forum.com/t/headers-in-hash/239159)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [February 19, 2014, 10:00pm UTC](https://www.ruby-forum.com/t/headers-in-hash/239159 "2014-02-19T22:00:09Z")

</div>

Creating a module, I want to read in from config desired http header fields. Then, during config still, I want to get the struct offset for the fields that have dedicated pointers in the header\_in struct. It seems th…

---

## [Nginx and Python](https://www.ruby-forum.com/t/nginx-and-python/225650)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 21, 2013, 11:30pm UTC](https://www.ruby-forum.com/t/nginx-and-python/225650 "2013-01-21T23:30:40Z")

</div>

Hello, i try for a tutorial Python / Django and Nginx unite. http://www.collabspot.com/2012/08/14/setting-up-nginx-uwsgi-python-ubuntu-12-04/ That sounds like a multi-hosting, and was not particularly difficult. But …

---

## [How to load development environments in Rails 3](https://www.ruby-forum.com/t/how-to-load-development-environments-in-rails-3/216480)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 6, 2012, 11:46am UTC](https://www.ruby-forum.com/t/how-to-load-development-environments-in-rails-3/216480 "2012-02-06T11:46:18Z")

</div>

I am using rails 3 on ubuntu 10. When i trying to load rails development environment using Rails Runner command i am getting this: Usage: runner \[options\] (‘Some.ruby(code)’ or a filename) -e, --environment=name …

---

## [Method names changed in JRuby bytecode](https://www.ruby-forum.com/t/method-names-changed-in-jruby-bytecode/213155)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 26, 2011, 4:37pm UTC](https://www.ruby-forum.com/t/method-names-changed-in-jruby-bytecode/213155 "2011-10-26T16:37:14Z")

</div>

I’m trying to understand the JVM bytecode generated from a JRuby file using the jrubyc tool. One of the first things that springs to attention is the fact that method names are mangled to include a set prefix of “meth…

---

## [Escape pound key in url with globbing](https://www.ruby-forum.com/t/escape-pound-key-in-url-with-globbing/210355)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 5, 2011, 10:09pm UTC](https://www.ruby-forum.com/t/escape-pound-key-in-url-with-globbing/210355 "2011-08-05T22:09:25Z")

</div>

Hey everyone, I am using the routes globbing in rails 3.0.9 There when I add at any url a \*anything at the end, the rest of the url should be contained in the params\[:anything\] filed. some\_url\_route/\*anything This i…

---

## [Really bad problem with Webrick/Rails using 3.1 - Help?](https://www.ruby-forum.com/t/really-bad-problem-with-webrick-rails-using-3-1-help/207643)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 31, 2011, 1:06am UTC](https://www.ruby-forum.com/t/really-bad-problem-with-webrick-rails-using-3-1-help/207643 "2011-05-31T01:06:36Z")

</div>

First, I’m probably not going to describe this problem perfectly because I am not entirely sure what it happens - please bear with me. I am getting some weird instability issues with Webrick/Rails 3.1 when I render vi…

---

## [Feedback Requested (pretty please)](https://www.ruby-forum.com/t/feedback-requested-pretty-please/201414)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 29, 2011, 5:08am UTC](https://www.ruby-forum.com/t/feedback-requested-pretty-please/201414 "2011-01-29T05:08:48Z")

</div>

I have dabbled with RSpec with the Beta books but am only now getting my teeth in to it. Because of this and because I have no one to ask/bounce ideas off, I am asking for a kind soul to look at what I’ve done for my …

---

## [Problem with "Thinking Sphinx"](https://www.ruby-forum.com/t/problem-with-thinking-sphinx/192579)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 4\
**Last updated:** [August 3, 2010, 1:40am UTC](https://www.ruby-forum.com/t/problem-with-thinking-sphinx/192579 "2010-08-03T01:40:56Z")

</div>

Hi, I am implementing the “sphinx” search using “Thinking Sphinx” search. I have done everything configured. I have added the index fields in my model like this " define\_index do indexes :name,:sortable =\> true in…

---

## [Nginx rewrite rules conditional once again](https://www.ruby-forum.com/t/nginx-rewrite-rules-conditional-once-again/190869)

<div class="topic-metadata">

**Author:** [@Malte\_G](https://www.ruby-forum.com/u/Malte_G)\
**Replies:** 4\
**Last updated:** [June 30, 2010, 12:15pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-rules-conditional-once-again/190869 "2010-06-30T12:15:49Z")

</div>

Hi List, I’ve got to convert some Apache Rewrite Rules to work with nginx. And i got kind of stuck in between how to solve this. The old rewrite rule is like this : RewriteCond %{REQUEST\_URI} !/\[0-9\]+$ RewriteCon…

---

## [NoMethodError](https://www.ruby-forum.com/t/nomethoderror/96932)

<div class="topic-metadata">

**Author:** [@sharon](https://www.ruby-forum.com/u/sharon)\
**Replies:** 4\
**Last updated:** [December 26, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/nomethoderror/96932 "2009-12-26T18:01:52Z")

</div>

Hi, IÂ?ve just downloaded and installed Ruby on Rails, on a windows xp machine. Then I tried the cookbook tutorial, and get NoMethodError in Recipe#New when I try http://localhost:3000/recipe/new/. I could not figur…

---

## [Using the console in IronRuby on Rails](https://www.ruby-forum.com/t/using-the-console-in-ironruby-on-rails/178209)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 4\
**Last updated:** [October 30, 2009, 9:35pm UTC](https://www.ruby-forum.com/t/using-the-console-in-ironruby-on-rails/178209 "2009-10-30T21:35:37Z")

</div>

Hi there, I tried to use the Ruby on Rails console with IronRuby on an application I’m building by executing “ir script/console”. Doing so ended up with an exception from RubyProcess.CreateProcess. I debugged and fo…

---

## [RSpec-Rails not tearing down the session?](https://www.ruby-forum.com/t/rspec-rails-not-tearing-down-the-session/178018)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 4\
**Last updated:** [October 28, 2009, 5:30am UTC](https://www.ruby-forum.com/t/rspec-rails-not-tearing-down-the-session/178018 "2009-10-28T05:30:06Z")

</div>

I noticed that a session that I am setting up in one exa,ple is still available in another. Is RSpec-Rails supposed to tear down the session or should I be doing this myself?

---

## [How to disable form elements under any div?](https://www.ruby-forum.com/t/how-to-disable-form-elements-under-any-div/170966)

<div class="topic-metadata">

**Author:** [@san2821](https://www.ruby-forum.com/u/san2821)\
**Replies:** 4\
**Last updated:** [June 25, 2009, 10:33am UTC](https://www.ruby-forum.com/t/how-to-disable-form-elements-under-any-div/170966 "2009-06-25T10:33:46Z")

</div>

Hello All, how do i disable child form elements of any div \[ html obj \], so that they will not get posted. Is there any other way, to toggle form elements while form post ?? form elements form elements …

---

## [How to write a spec file for a helper](https://www.ruby-forum.com/t/how-to-write-a-spec-file-for-a-helper/165394)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 10:28am UTC](https://www.ruby-forum.com/t/how-to-write-a-spec-file-for-a-helper/165394 "2009-04-15T10:28:14Z")

</div>

How to write a spec file for a following helper module ArtistsHelper def round\_to(x) (self \* 10x).round.to\_f / 10x end end Regards salil

---

## [Flog 1.2.0 Released](https://www.ruby-forum.com/t/flog-1-2-0-released/151583)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 4\
**Last updated:** [October 23, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/flog-1-2-0-released/151583 "2008-10-23T21:01:48Z")

</div>

flog version 1.2.0 has been released! http://ruby.sadi.st/ http://rubyforge.org/projects/seattlerb Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is i…

---

## [Operaciones CRUD para el detalle de una r elaciÃ³n](https://www.ruby-forum.com/t/operaciones-crud-para-el-detalle-de-una-r-elacia-n/148778)

<div class="topic-metadata">

**Author:** [@Karen\_Torres\_Noguer](https://www.ruby-forum.com/u/Karen_Torres_Noguer)\
**Replies:** 4\
**Last updated:** [September 17, 2008, 7:49pm UTC](https://www.ruby-forum.com/t/operaciones-crud-para-el-detalle-de-una-r-elacia-n/148778 "2008-09-17T19:49:38Z")

</div>

Hola a todos! Estoy trabajando en una pequeÃ±a aplicaciÃ³n y tengo una duda, con respecto a como puedo hacer operaciones CRUD en un solo formulario sobre el detalle de una tabla. Es decir, por ejemplo tengo las tabl…

---

## [Define anonymous module with closure](https://www.ruby-forum.com/t/define-anonymous-module-with-closure/148766)

<div class="topic-metadata">

**Author:** [@ISESSmith-Heister](https://www.ruby-forum.com/u/ISESSmith-Heister)\
**Replies:** 4\
**Last updated:** [September 17, 2008, 12:43am UTC](https://www.ruby-forum.com/t/define-anonymous-module-with-closure/148766 "2008-09-17T00:43:09Z")

</div>

Hi everyone, I want to do this: x, y = %w(x y) definition = lambda{def z; x; end} y.extend Module.new(&definition) y.z # =\> ‘x’ I expected x to be available within the closure, but it doesn’t appear to be. The onl…

---

## [Novato con RoR y Ruby](https://www.ruby-forum.com/t/novato-con-ror-y-ruby/132082)

<div class="topic-metadata">

**Author:** [@Reynier\_Perez\_M](https://www.ruby-forum.com/u/Reynier_Perez_M)\
**Replies:** 4\
**Last updated:** [March 26, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/novato-con-ror-y-ruby/132082 "2008-03-26T23:09:33Z")

</div>

Hola listeros: Llevo alrededor de 5 años trabajando con PHP y desde hace como uno con Symfony Framework de PHP que tiene ideas de Rails. Bien ahora me he dado a la tarea de aprender un poco de Ruby y de Rails para des…

---

## [Calendario de ponencias de la Conferencia Rails 2007](https://www.ruby-forum.com/t/calendario-de-ponencias-de-la-conferencia-rails-2007/118411)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 4\
**Last updated:** [October 26, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/calendario-de-ponencias-de-la-conferencia-rails-2007/118411 "2007-10-26T19:25:13Z")

</div>

Ya está disponible el calendario de ponencias para la Conferencia Rails 2007. Lo encontraréis en la sección de ponencias de nuestra web: Este año volvemos a contar con 3 salas simultáneas, con charlas que comenzarán…

---

## [Leer pÃ¡gina web](https://www.ruby-forum.com/t/leer-pa-gina-web/107939)

<div class="topic-metadata">

**Author:** [@Rodrigo\_CortSSSSs](https://www.ruby-forum.com/u/Rodrigo_CortSSSSs)\
**Replies:** 4\
**Last updated:** [June 27, 2007, 8:36pm UTC](https://www.ruby-forum.com/t/leer-pa-gina-web/107939 "2007-06-27T20:36:42Z")

</div>

Wolas… Alguien conocerá alguna extensión de ruby que me ayude a buscar y leer ciertos datos de una página web generada con asp???. Ejemplo: La página web muestra los precios de productos. La idea es buscar cierto pro…

---

## [Calling a block with parameters in a new scope](https://www.ruby-forum.com/t/calling-a-block-with-parameters-in-a-new-scope/104594)

<div class="topic-metadata">

**Author:** [@rubytuesday](https://www.ruby-forum.com/u/rubytuesday)\
**Replies:** 4\
**Last updated:** [May 20, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/calling-a-block-with-parameters-in-a-new-scope/104594 "2007-05-20T18:37:10Z")

</div>

Calling a block in a new scope is easy enough: self.instance\_eval &block And calling a block, passing it parameters is easy enough: block.call(\*params) But is there some way to do both? To both change the scope of ev…

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

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