# Top

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

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

---

## [AfterCurrentScenario block](https://www.ruby-forum.com/t/aftercurrentscenario-block/165807)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 6\
**Last updated:** [April 17, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/aftercurrentscenario-block/165807 "2009-04-17T19:01:54Z")

</div>

Is there currently a way to register a block to run after the current scenario completes? If not, we’ve implemented one. Would anyone be interested in us submitting it as a patch to Cucumber? Something like Given “s…

---

## [Behavior of server depends on a file name](https://www.ruby-forum.com/t/behavior-of-server-depends-on-a-file-name/148380)

<div class="topic-metadata">

**Author:** [@Gregor\_Jurgele](https://www.ruby-forum.com/u/Gregor_Jurgele)\
**Replies:** 6\
**Last updated:** [September 12, 2008, 3:58pm UTC](https://www.ruby-forum.com/t/behavior-of-server-depends-on-a-file-name/148380 "2008-09-12T15:58:02Z")

</div>

Hello I would like to run a few virtual sites on one IP on nginx 0.6.32 compiled from source as Debian package on Debian Etch. My nginx.conf contents are: user www-data; worker\_processes 1; error\_log /var/log/ng…

---

## [Model help with school app](https://www.ruby-forum.com/t/model-help-with-school-app/147007)

<div class="topic-metadata">

**Author:** [@anthony](https://www.ruby-forum.com/u/anthony)\
**Replies:** 6\
**Last updated:** [August 27, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/model-help-with-school-app/147007 "2008-08-27T17:38:44Z")

</div>

Hello. I have an app that I need help laying out the model relationships for. Schools can have more than one admin Schools can have more than one student Students can only belong to one school BUT Admins can have ma…

---

## [Problems with will\_paginate gem](https://www.ruby-forum.com/t/problems-with-will-paginate-gem/144761)

<div class="topic-metadata">

**Author:** [@explainer](https://www.ruby-forum.com/u/explainer)\
**Replies:** 6\
**Last updated:** [August 2, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/problems-with-will-paginate-gem/144761 "2008-08-02T21:46:11Z")

</div>

Given that ‘classic\_pagination’ is now deprecated, I decided to install the ‘will\_paginate’ gem. I typed: sudo gem install will\_paginate The install went ahead with no messages. I now have will\_paginate (2.2.2) sh…

---

## [Populate data in another fields on selection](https://www.ruby-forum.com/t/populate-data-in-another-fields-on-selection/124278)

<div class="topic-metadata">

**Author:** [@koli](https://www.ruby-forum.com/u/koli)\
**Replies:** 6\
**Last updated:** [December 31, 2007, 12:20pm UTC](https://www.ruby-forum.com/t/populate-data-in-another-fields-on-selection/124278 "2007-12-31T12:20:43Z")

</div>

Hi, I would like to know how to populate data in another text fields on selection from a drop down For Ex The form contains 4 fields out of which 3 are text fields and the 4th one is drop down list. i would like t…

---

## [RE: report RSC 4 jul 07](https://www.ruby-forum.com/t/re-report-rsc-4-jul-07/108608)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 6\
**Last updated:** [July 5, 2007, 10:15am UTC](https://www.ruby-forum.com/t/re-report-rsc-4-jul-07/108608 "2007-07-05T10:15:46Z")

</div>

no, macchè zip… voglio mettere su documentazione, bugreport, changelog, e magari anche una piccola comunità di sviluppo, tutte quelle cose insomma che fanno tanto figo un progetto… L’idea dell’svn potrebbe anche piace…

---

## [Test::Unit running all tests with automated suite](https://www.ruby-forum.com/t/test-unit-running-all-tests-with-automated-suite/90936)

<div class="topic-metadata">

**Author:** [@brettschuchert](https://www.ruby-forum.com/u/brettschuchert)\
**Replies:** 6\
**Last updated:** [April 3, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/test-unit-running-all-tests-with-automated-suite/90936 "2007-04-03T16:46:29Z")

</div>

Am I missing something when using Test::Unit in Eclipse? I am used to using JUnit and/or NUnit and being able to select a project and run all of the tests. I don’t see this feature and I suspect I’m just blind. I’ve c…

---

## [Pagerankalert.com beta 3](https://www.ruby-forum.com/t/pagerankalert-com-beta-3/84767)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [February 8, 2007, 11:07am UTC](https://www.ruby-forum.com/t/pagerankalert-com-beta-3/84767 "2007-02-08T11:07:54Z")

</div>

Hola a tod\*s, tras unos meses de inactividad por sobredosis de proyectos hemos retomado a nuestro pequeñín http://www.pagerankalert.com , una aplicación Rails que permite almacenar el histórico de cambios en el PageRa…

---

## [Testing 123](https://www.ruby-forum.com/t/testing-123/71821)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 6\
**Last updated:** [October 15, 2006, 4:43am UTC](https://www.ruby-forum.com/t/testing-123/71821 "2006-10-15T04:43:30Z")

</div>

I’m having a super strange functional testing issue, and was hoping someone could provide some insight. In my controller I have this in the index action: @things = Thing.find(:all) My index test looks like this: get…

---

## [DRY question (newbie)](https://www.ruby-forum.com/t/dry-question-newbie/99726)

<div class="topic-metadata">

**Author:** [@masonkessinger](https://www.ruby-forum.com/u/masonkessinger)\
**Replies:** 6\
**Last updated:** [July 25, 2006, 5:26am UTC](https://www.ruby-forum.com/t/dry-question-newbie/99726 "2006-07-25T05:26:55Z")

</div>

Say i want to include the same chunck of text (a menu on a webpage for example) on each page. Is there a method by which I can save the HTML in a text file and call it up later? Is there a better way? I know ruby has …

---

## [Tax a reserved word?](https://www.ruby-forum.com/t/tax-a-reserved-word/63228)

<div class="topic-metadata">

**Author:** [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Replies:** 6\
**Last updated:** [June 13, 2006, 11:39am UTC](https://www.ruby-forum.com/t/tax-a-reserved-word/63228 "2006-06-13T11:39:37Z")

</div>

Is tax a reserved word or am I sleep deprived?? I’m working on a shopping cart and have a table called sales\_taxes (at first i named it taxes). I get the following error when i load the controller: uninitialized cons…

---

## [Gem mirrors not updating?](https://www.ruby-forum.com/t/gem-mirrors-not-updating/93699)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 6\
**Last updated:** [April 11, 2006, 1:06am UTC](https://www.ruby-forum.com/t/gem-mirrors-not-updating/93699 "2006-04-11T01:06:40Z")

</div>

Hi, Just wondering if anyone else who maintains gems on rubyforge.org has posted a gem recently and seen it not migrate to the gem mirrors? I post Mongrel 0.3.12.3 and it’s not there yet, but not sure if that’s bec…

---

## [Problems with Rails 1.1 observe\_field :with serialized](https://www.ruby-forum.com/t/problems-with-rails-1-1-observe-field-with-serialized/56699)

<div class="topic-metadata">

**Author:** [@asa](https://www.ruby-forum.com/u/asa)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/problems-with-rails-1-1-observe-field-with-serialized/56699 "2006-04-05T19:23:04Z")

</div>

I’d like to use observe\_field to watch a field, and then when it changes send the entire form to the server. I had been using \<%= observe\_field 'entity\_name\_'removed\_email\_address@domain.invalid\_s, :frequency =\> 0.5, …

---

## [.rjs template doesn't load?](https://www.ruby-forum.com/t/rjs-template-doesnt-load/53461)

<div class="topic-metadata">

**Author:** [@Joshua\_Gitlin](https://www.ruby-forum.com/u/Joshua_Gitlin)\
**Replies:** 6\
**Last updated:** [February 7, 2006, 4:24pm UTC](https://www.ruby-forum.com/t/rjs-template-doesnt-load/53461 "2006-02-07T16:24:06Z")

</div>

Rails mailing list removed\_email\_address@domain.invalid http://lists.rubyonrails.org/mailman/listinfo/rails

---

## [Saving a User Object while in the Address Controller](https://www.ruby-forum.com/t/saving-a-user-object-while-in-the-address-controller/100592)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 6\
**Last updated:** [February 3, 2006, 11:43am UTC](https://www.ruby-forum.com/t/saving-a-user-object-while-in-the-address-controller/100592 "2006-02-03T11:43:53Z")

</div>

Hi, My saves are failing me and I can’t figure out why. I am trying to save an address id to a user object just after I create the address. This isn’t the exact code, but it shows what I am trying to do. class Addre…

---

## [Dynamic Text Replacement](https://www.ruby-forum.com/t/dynamic-text-replacement/53666)

<div class="topic-metadata">

**Author:** [@aantix](https://www.ruby-forum.com/u/aantix)\
**Replies:** 6\
**Last updated:** [December 22, 2005, 7:07pm UTC](https://www.ruby-forum.com/t/dynamic-text-replacement/53666 "2005-12-22T19:07:59Z")

</div>

I noticed there are a lot of PHP based dynamic text replacement examples out there such as: http://artypapers.com/csshelppile/pcdtr/ Is there anything like this for Ruby / Rails? I know there’s always SiFR but that …

---

## [UTF-8 problems caching messing stuff up?](https://www.ruby-forum.com/t/utf-8-problems-caching-messing-stuff-up/48059)

<div class="topic-metadata">

**Author:** [@jonte](https://www.ruby-forum.com/u/jonte)\
**Replies:** 6\
**Last updated:** [November 16, 2005, 1:07pm UTC](https://www.ruby-forum.com/t/utf-8-problems-caching-messing-stuff-up/48059 "2005-11-16T13:07:01Z")

</div>

Greetings Railers. I have some problems to get my UTF-8 site to work correctly. Works fine under webrick and just after the reboot of lighttpd on production. But on the next visit to the site, text fetched from the D…

---

## [\[ANN\] ruby-processing development plans](https://www.ruby-forum.com/t/ann-ruby-processing-development-plans/233805)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 21, 2015, 8:21pm UTC](https://www.ruby-forum.com/t/ann-ruby-processing-development-plans/233805 "2015-01-21T20:21:50Z")

</div>

Owing to limited resources, it is the intention that future ruby-processing development will target ruby-2.2 (with likely compatibility with MRI ruby-2.1). Any remaining backward compatibility will be accidental. This…

---

## [Problem compiling gnuradio 3.7.0 on CentOS 6.2](https://www.ruby-forum.com/t/problem-compiling-gnuradio-3-7-0-on-centos-6-2/236048)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 3, 2013, 6:27pm UTC](https://www.ruby-forum.com/t/problem-compiling-gnuradio-3-7-0-on-centos-6-2/236048 "2013-08-03T18:27:58Z")

</div>

My system: CentOS 6.2, x86\_64 Python 2.6.6 Cmake version 2.6-patch 4 gnuradio 3.7.0 I created a “build” folder in the gnuradio soure directory and attempted to compile using “cmake …/”. The error I keep getting is …

---

## [Ruby based AS2 library or gem](https://www.ruby-forum.com/t/ruby-based-as2-library-or-gem/203700)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 8, 2011, 9:48pm UTC](https://www.ruby-forum.com/t/ruby-based-as2-library-or-gem/203700 "2011-03-08T21:48:21Z")

</div>

Hi all, We have a client who wants us to exchange EDI information using the AS2 (Applicability Statement 2) specification. I have been searching for a gem or library that might help me out but am not having much luck…

---

## [JRuby 1.6.0.RC1 Rails 3.0.3 Glassfish Deployment](https://www.ruby-forum.com/t/jruby-1-6-0-rc1-rails-3-0-3-glassfish-deployment/202971)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 14, 2011, 12:41pm UTC](https://www.ruby-forum.com/t/jruby-1-6-0-rc1-rails-3-0-3-glassfish-deployment/202971 "2011-02-14T12:41:26Z")

</div>

I am able to deploy by auditing my model using acts\_as\_audited 2.0.0.rc5 gem on Webrick successfully. But when I do a war and try to deploy the war file on glassfish, I am stuck with following errors. I didnt find muc…

---

## [Attachment\_fu error? Help!](https://www.ruby-forum.com/t/attachment-fu-error-help/123360)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 1\
**Last updated:** [September 11, 2009, 11:31pm UTC](https://www.ruby-forum.com/t/attachment-fu-error-help/123360 "2009-09-11T23:31:59Z")

</div>

FreeImage exception for type ???: IPTC: Invalid key 'Tag 0x0275 Anyone seen this? FreeImage exception for type ???: IPTC: Invalid key ‘Tag 0x0275’ \[RAILS\_ROOT\]/vendor/plugins/attachment\_fu/lib/technoweenie/attachment\_…

---

## [Close popup window?](https://www.ruby-forum.com/t/close-popup-window/170007)

<div class="topic-metadata">

**Author:** [@macwise](https://www.ruby-forum.com/u/macwise)\
**Replies:** 1\
**Last updated:** [June 11, 2009, 10:08am UTC](https://www.ruby-forum.com/t/close-popup-window/170007 "2009-06-11T10:08:53Z")

</div>

I’m new to ruby, and I’m tweaking a plugin. Can you show me how I would close a window upon clicking a submit button? Here’s the code on the xhtml page: \<%= submit\_tag “Save” %\> And the code on the controller.rb…

---

## [Rake aborted! Object is not missing constant LoginEngine!](https://www.ruby-forum.com/t/rake-aborted-object-is-not-missing-constant-loginengine/104646)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 5:58am UTC](https://www.ruby-forum.com/t/rake-aborted-object-is-not-missing-constant-loginengine/104646 "2007-05-27T05:58:23Z")

</div>

Hello James. a question. because I have east error. stick the code therefore you help me. thanks. dummies javier@dummies:~/rails\_app/martina$ script/generate plugin\_migration create db/migrate create db/migrate/001…

---

## [Ruby Newbie needs some guidance adding 1 to an assignment](https://www.ruby-forum.com/t/ruby-newbie-needs-some-guidance-adding-1-to-an-assignment/243383)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [October 17, 2015, 10:22pm UTC](https://www.ruby-forum.com/t/ruby-newbie-needs-some-guidance-adding-1-to-an-assignment/243383 "2015-10-17T22:22:08Z")

</div>

Hello everyone! I need a little assistance. I am working on a program that will add +1 to a gets.chomp assignment. Please take a look: puts ‘Hey, whats your name?’ firstname = gets.chomp puts 'Thank you ‘+ firstnam…

---

## [Don't understand relationship between Class and Object in Ruby](https://www.ruby-forum.com/t/dont-understand-relationship-between-class-and-object-in-ruby/230682)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [July 14, 2014, 6:10am UTC](https://www.ruby-forum.com/t/dont-understand-relationship-between-class-and-object-in-ruby/230682 "2014-07-14T06:10:01Z")

</div>

Hi, I don’t understand some Ruby logic. As we know every object in Ruby inherit Object class. And every class is instance of Class which inherit Object. But how it possible that Object.class is Class and at the same t…

---

## [Fwd: problem with top\_block.stop()](https://www.ruby-forum.com/t/fwd-problem-with-top-block-stop/238120)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 18, 2013, 5:54pm UTC](https://www.ruby-forum.com/t/fwd-problem-with-top-block-stop/238120 "2013-12-18T17:54:52Z")

</div>

\---------- Forwarded message ---------- From: Sumedha G. removed\_email\_address@domain.invalid Date: Wed, Dec 18, 2013 at 10:50 AM Subject: Re: \[Discuss-gnuradio\] problem with top\_block.stop() To: Tom R. removed\_email…

---

## [Howto force text type of dir/subdir/file?](https://www.ruby-forum.com/t/howto-force-text-type-of-dir-subdir-file/235075)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [May 30, 2013, 12:38am UTC](https://www.ruby-forum.com/t/howto-force-text-type-of-dir-subdir-file/235075 "2013-05-30T00:38:06Z")

</div>

Hi, On a CentOS 6.4 box with nginx 1.4.1 I would like to expose /usr/share/doc/\* as /doc so I can easily browse the docs from the installed packages. Config I have right now (thanks Nodex on irc for pointing me to ty…

---

## [Persisting and loading objects trhough Marshal problem](https://www.ruby-forum.com/t/persisting-and-loading-objects-trhough-marshal-problem/227182)

<div class="topic-metadata">

**Author:** [@DamiSSn\_MSG](https://www.ruby-forum.com/u/DamiSSn_MSG)\
**Replies:** 4\
**Last updated:** [March 6, 2013, 6:35pm UTC](https://www.ruby-forum.com/t/persisting-and-loading-objects-trhough-marshal-problem/227182 "2013-03-06T18:35:08Z")

</div>

Hello people. Today I’ve found a bug in my source code, been around for a while until I realized of the problem, here is a bit of code which represent it: ----------------------------------- class A def initialize @…

---

## [File.open error when variable is used](https://www.ruby-forum.com/t/file-open-error-when-variable-is-used/221601)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 22, 2012, 3:25pm UTC](https://www.ruby-forum.com/t/file-open-error-when-variable-is-used/221601 "2012-07-22T15:25:09Z")

</div>

I have a situation in a ruby program where a filename is being passed as an argument to a program and is being used in the program as follows: File.open($fileName, “r”) The file refuses to open for read and the progra…

---

## [Newbie: Rack Error Running a Current Rails App on JRuby](https://www.ruby-forum.com/t/newbie-rack-error-running-a-current-rails-app-on-jruby/209926)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 28, 2011, 4:40pm UTC](https://www.ruby-forum.com/t/newbie-rack-error-running-a-current-rails-app-on-jruby/209926 "2011-07-28T16:40:32Z")

</div>

So - just to test out JRuby, I wanted to get a current rails app we have simply running - and play with the Java bits later. Instead of going deep into Glassfish and Bundlers - I’m assuming I can just start up my cur…

---

## [\[Ruby 1.9-Bug#4109\]\[Open\] test timeout.rbが失敗する](https://www.ruby-forum.com/t/ruby-1-9-bug-4109-open-test-timeout-rb/199974)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 24, 2010, 5:31pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4109-open-test-timeout-rb/199974 "2010-12-24T17:31:03Z")

</div>

Bug #4109: test\_timeout.rbが失敗する http://redmine.ruby-lang.org/issues/show/4109 起票者: Kouhei Y. ステータス: Open, 優先度: Normal ruby -v: ruby 1.9.2p53 (2010-11-24 revision 29921) \[x86\_64-linux\] trunkでは直っているのですが、ruby\_1\_9\_2ブランチ…

---

## [Treequel 1.2.0](https://www.ruby-forum.com/t/treequel-1-2-0/199896)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 2, 2010, 12:58am UTC](https://www.ruby-forum.com/t/treequel-1-2-0/199896 "2010-12-02T00:58:46Z")

</div>

Version 1.2.0 of treequel has been released. Treequel - an honest LDAP library Treequel is an LDAP toolkit for Ruby. It is intended to allow quick, easy access to LDAP directories in a manner consistent with LDAP’s …

---

## [Could not find 'sqlite3-ruby' error in Ubuntu](https://www.ruby-forum.com/t/could-not-find-sqlite3-ruby-error-in-ubuntu/197944)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 23, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/could-not-find-sqlite3-ruby-error-in-ubuntu/197944 "2010-10-23T22:39:29Z")

</div>

Hi all, please help me: First time I totally had to delete all ruby and Rails because of this problem. How to solve it well? The message is: Could not find gem ‘sqlite3-ruby (\>= 0, runtime)’ in any of the gem source…

---

## [When does 'dog' not equal 'dog'?](https://www.ruby-forum.com/t/when-does-dog-not-equal-dog/183274)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 4\
**Last updated:** [February 11, 2010, 2:59am UTC](https://www.ruby-forum.com/t/when-does-dog-not-equal-dog/183274 "2010-02-11T02:59:12Z")

</div>

This is more a Ruby than a Rails question – feel free to redirect me as appropriate – but either this is a Ruby 1.9 bug or I have some serious misunderstanding. Essentially, I’ve caught the \<=\> operator returning nil…

---

## [Where is TkcGrid?](https://www.ruby-forum.com/t/where-is-tkcgrid/175210)

<div class="topic-metadata">

**Author:** [@Josef\_W](https://www.ruby-forum.com/u/Josef_W)\
**Replies:** 4\
**Last updated:** [September 9, 2009, 9:57pm UTC](https://www.ruby-forum.com/t/where-is-tkcgrid/175210 "2009-09-09T21:57:47Z")

</div>

Hello, In Perl/Tk, tha canvas has a grid item type. Is this item type missing from the Ruby/Tk port? Using TkcGrid.new(\[0,0\], \[10,10\]) results in ./test.rb:17: uninitialized constant TkcGrid (NameError) Any hints…

---

## [Kernel#\_\_method\_\_](https://www.ruby-forum.com/t/kernel-method/168363)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 4\
**Last updated:** [May 20, 2009, 2:24am UTC](https://www.ruby-forum.com/t/kernel-method/168363 "2009-05-20T02:24:37Z")

</div>

Hi all, it seems that Kernel#method is not implemented in jruby. irb(main):001:0\> method NameError: undefined local variable or method \`method’ for main:Object Am I missing something? Thanks. Andrea To unsubscri…

---

## [Form Validation Question, and a GeoKit Question](https://www.ruby-forum.com/t/form-validation-question-and-a-geokit-question/142409)

<div class="topic-metadata">

**Author:** [@Jeff.Corcoran](https://www.ruby-forum.com/u/Jeff.Corcoran)\
**Replies:** 4\
**Last updated:** [March 20, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/form-validation-question-and-a-geokit-question/142409 "2009-03-20T16:38:12Z")

</div>

Yes - this is a re-post, and my last post to this question - but I was just taking one last attempt at getting help. Any answers on how to do either would be greatly appreciated. I am new to rails and have been scouri…

---

## [Could not understand this: 3.class is Fixnum or Class](https://www.ruby-forum.com/t/could-not-understand-this-3-class-is-fixnum-or-class/157078)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 4\
**Last updated:** [January 7, 2009, 8:59am UTC](https://www.ruby-forum.com/t/could-not-understand-this-3-class-is-fixnum-or-class/157078 "2009-01-07T08:59:33Z")

</div>

I stored the class of a variable in a variable and later checked in a switch-case. Instead of going into the Fixnum case, it goes into ELSE. c=23.class # =\> Fixnum c == Fixnum # =\> true case c; when Fixnum; puts “Y…

---

## [Installing ruby gem mysql](https://www.ruby-forum.com/t/installing-ruby-gem-mysql/155079)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 4\
**Last updated:** [December 9, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/installing-ruby-gem-mysql/155079 "2008-12-09T14:56:23Z")

</div>

Hi All; I am new to RoR and have a new MacBook Pro with OS X 10.5.5 This is what I have on it. bash-3.2$ cd /usr/local bash-3.2$ ls mysql mysql-5.1.30-osx10.5-x86 bash-3.2$ ruby -v ruby 1…

---

## [Obtener array de todas las rutas de un recurso](https://www.ruby-forum.com/t/obtener-array-de-todas-las-rutas-de-un-recurso/148715)

<div class="topic-metadata">

**Author:** [@emili](https://www.ruby-forum.com/u/emili)\
**Replies:** 4\
**Last updated:** [September 16, 2008, 6:09pm UTC](https://www.ruby-forum.com/t/obtener-array-de-todas-las-rutas-de-un-recurso/148715 "2008-09-16T18:09:35Z")

</div>

A ver, quiero obtener en una colecciÃ³n o en un array o donde sea todas las rutas relacionadas con un recurso, para luego poder hacer current\_page?(todas\_las\_rutas) y hacer eso que tanto les gusta a los diseÃ±adores …

---

## [Nginx/mongrel with multiple machine deployment](https://www.ruby-forum.com/t/nginx-mongrel-with-multiple-machine-deployment/140905)

<div class="topic-metadata">

**Author:** [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Replies:** 4\
**Last updated:** [June 20, 2008, 3:33am UTC](https://www.ruby-forum.com/t/nginx-mongrel-with-multiple-machine-deployment/140905 "2008-06-20T03:33:43Z")

</div>

I am in the process of migrating an app that currently resides on a single hardware server (running pound, nginx as an asset host, memcached, mongrel and mysql) to a new group of xen virtual machines: an appserver run…

---

## [REST urls and Authenticity Token](https://www.ruby-forum.com/t/rest-urls-and-authenticity-token/138001)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 4\
**Last updated:** [May 19, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/rest-urls-and-authenticity-token/138001 "2008-05-19T18:06:49Z")

</div>

Hi, I have a few questions regarding REST and the Authenticity Token. I’m using a RESTful aproach for my small project and everything worked fine untill I wanted to destroy a record. Lets say we have a listing of fo…

---

## [Character substitution using tr()](https://www.ruby-forum.com/t/character-substitution-using-tr/135457)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 4\
**Last updated:** [April 23, 2008, 10:48am UTC](https://www.ruby-forum.com/t/character-substitution-using-tr/135457 "2008-04-23T10:48:34Z")

</div>

I’m using a method that i found at the acts as ferret site: http://projects.jkraemer.net/acts\_as\_ferret/#UTF-8support which is intended to strip accents out of strings, turning for example “La BohÃ¨me” into “La Boheme…

---

## [Routing acts\_as\_commentable form\_for submission](https://www.ruby-forum.com/t/routing-acts-as-commentable-form-for-submission/132197)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 4\
**Last updated:** [March 18, 2008, 9:16pm UTC](https://www.ruby-forum.com/t/routing-acts-as-commentable-form-for-submission/132197 "2008-03-18T21:16:44Z")

</div>

I have a Group model and a NewsItem model, and NewsItems are nested in Groups. I’m trying to add acts\_as\_commentable powered comments to the NewsItem model, but I haven’t worked out how to handle the submission of new …

---

## [Svn: command not found?](https://www.ruby-forum.com/t/svn-command-not-found/128449)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 4\
**Last updated:** [February 7, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/svn-command-not-found/128449 "2008-02-07T20:46:07Z")

</div>

Hi- Trying to install some plugins and I get the following: /path\_to\_ruby/ruby-1.8.6-p111/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/ commands/plugin.rb:258: warning: Insecure world writable dir / path\_to\_ruby/apps in PA…

---

## [Clipboard command line utility](https://www.ruby-forum.com/t/clipboard-command-line-utility/124823)

<div class="topic-metadata">

**Author:** [@dfinnie](https://www.ruby-forum.com/u/dfinnie)\
**Replies:** 4\
**Last updated:** [January 5, 2008, 2:54am UTC](https://www.ruby-forum.com/t/clipboard-command-line-utility/124823 "2008-01-05T02:54:49Z")

</div>

I’ve been doing a lot of Python for Google’s Highly Open Participation contest lately but finally found the time to make a utility I thought of a few weeks ago. Basically, it allows you to pipe to and from the clipbo…

---

## [Stylesheet problems and 304 errors](https://www.ruby-forum.com/t/stylesheet-problems-and-304-errors/113063)

<div class="topic-metadata">

**Author:** [@bryan123](https://www.ruby-forum.com/u/bryan123)\
**Replies:** 4\
**Last updated:** [August 27, 2007, 11:40am UTC](https://www.ruby-forum.com/t/stylesheet-problems-and-304-errors/113063 "2007-08-27T11:40:36Z")

</div>

I am having problems serving 0.61 through Lighttpd. The pages will load without the css in Safari 2 on OS X. I checked the error log. Processing SiteController#show\_page (for 75.70.172.93 at 2007-08-27 02:44:27) \[GE…

---

## [Find\_by\_ always uses sql?](https://www.ruby-forum.com/t/find-by-always-uses-sql/112161)

<div class="topic-metadata">

**Author:** [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Replies:** 4\
**Last updated:** [August 20, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/find-by-always-uses-sql/112161 "2007-08-20T14:05:44Z")

</div>

Hi, If I eagerly load a collection during the initial find, do scoped find\_by\_ calls later always use sql? What is the best pattern to use to not do another db trip? Is there some specialized rails method to handle t…

---

## [Proper use of "send" method](https://www.ruby-forum.com/t/proper-use-of-send-method/85295)

<div class="topic-metadata">

**Author:** [@Thushan](https://www.ruby-forum.com/u/Thushan)\
**Replies:** 4\
**Last updated:** [February 13, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/proper-use-of-send-method/85295 "2007-02-13T17:41:21Z")

</div>

I have the following models: class MainService \< ActiveRecord::Base has\_one :travel\_service end class TravelService \< ActiveRecord::Base belongs\_to :main\_service end I can use the following: @main\_service.travel\_…

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

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