# Top

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

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

---

## [\[ruby-trunk - Feature #6129\]\[Open\] String#each lineにおけるmemmem()の利用](https://www.ruby-forum.com/t/ruby-trunk-feature-6129-open-string-each-line-memmem/217752)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 20, 2012, 2:24pm UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-6129-open-string-each-line-memmem/217752 "2012-11-20T14:24:25Z")

</div>

Issue #6129 has been reported by Masaki M… Feature #6129: String#each\_lineにおけるmemmem()の利用 Author: Masaki M. Status: Open Priority: Normal Assignee: Category: core Target version: memmem()というGNU拡張のライブラリ関数がありますが、…

---

## [Yardoc - can't view code docs in browser](https://www.ruby-forum.com/t/yardoc-cant-view-code-docs-in-browser/200291)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 13, 2010, 7:39pm UTC](https://www.ruby-forum.com/t/yardoc-cant-view-code-docs-in-browser/200291 "2010-12-13T19:39:11Z")

</div>

I’m using yardoc to document my ruby code. I do have all of my documentation generated and in the doc directory of my project, when I type “yard server” WEBrick fires up. But when I go to the actual web page at port 8…

---

## [ArgumentError in StoreController#add\_to\_cart: wrong number of arguments (1 for 0)](https://www.ruby-forum.com/t/argumenterror-in-storecontroller-add-to-cart-wrong-number-of-arguments-1-for-0/117265)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [June 15, 2010, 11:07am UTC](https://www.ruby-forum.com/t/argumenterror-in-storecontroller-add-to-cart-wrong-number-of-arguments-1-for-0/117265 "2010-06-15T11:07:00Z")

</div>

I am really new to Ruby and Rails but as you probably see I am trying to get the shopping card working from the book. I am getting this error but I really don’t know what to do. I have looked up several of topics that…

---

## [Tomcat: Setting the JRuby version](https://www.ruby-forum.com/t/tomcat-setting-the-jruby-version/170850)

<div class="topic-metadata">

**Author:** [@f2andy](https://www.ruby-forum.com/u/f2andy)\
**Replies:** 4\
**Last updated:** [June 23, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/tomcat-setting-the-jruby-version/170850 "2009-06-23T18:56:47Z")

</div>

This might be a stupid question, but how do you tell Tomcat (5.5) to use a specific version of JRuby? I have tried searching the web, and looking though the verious config files, but found nothing. View this message …

---

## [Validates\_confirmation\_of](https://www.ruby-forum.com/t/validates-confirmation-of/169412)

<div class="topic-metadata">

**Author:** [@yamira](https://www.ruby-forum.com/u/yamira)\
**Replies:** 4\
**Last updated:** [June 4, 2009, 12:19pm UTC](https://www.ruby-forum.com/t/validates-confirmation-of/169412 "2009-06-04T12:19:39Z")

</div>

Hola a todos: Soy nueva tanto en rails como en esta lista. Tengo una duda sobre el “validates\_confirmation\_of”. Quiero confirmar que la escritura de una contraseÃ±a se verifique (comprobaciÃ³n por duplicado), antes d…

---

## [File question](https://www.ruby-forum.com/t/file-question/141719)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 4\
**Last updated:** [June 30, 2008, 5:00am UTC](https://www.ruby-forum.com/t/file-question/141719 "2008-06-30T05:00:08Z")

</div>

Hi, just wondering how I would skip the first line of a file? File.open(‘file.txt’, ‘r’).each do |line| start on the 2nd line end Thanks!

---

## [Ajax, Partials und form\_for](https://www.ruby-forum.com/t/ajax-partials-und-form-for/135930)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [April 26, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/ajax-partials-und-form-for/135930 "2008-04-26T18:32:29Z")

</div>

In meinem Code kommt es gelegentlich vor, dass ich ein Partial so verwende: \<% form\_for @foo do |f| %\> … \<%= render :partial =\> 'foo', :locals =\> { :f =\> f } %\> ... \<% end %\> def edit @foo = … respond\_t…

---

## [Regular expressions (extracting urls)](https://www.ruby-forum.com/t/regular-expressions-extracting-urls/84545)

<div class="topic-metadata">

**Author:** [@ntk](https://www.ruby-forum.com/u/ntk)\
**Replies:** 4\
**Last updated:** [February 7, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/regular-expressions-extracting-urls/84545 "2007-02-07T20:05:24Z")

</div>

Hi! I have to extract an url from the text and make it a link (a href…)… The trick is that I have to be careful not to replace the url, that are already a part of the link. so: link = “Go here: http://www.something.…

---

## [Park Place -- an Amazon S3 clone](https://www.ruby-forum.com/t/park-place-an-amazon-s3-clone/57173)

<div class="topic-metadata">

**Author:** [@why\_the\_lucky\_stiff](https://www.ruby-forum.com/u/why_the_lucky_stiff)\
**Replies:** 4\
**Last updated:** [May 12, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/park-place-an-amazon-s3-clone/57173 "2006-05-12T22:06:23Z")

</div>

Amazon has a very nice little service for storing files. \[1\] However, in order to use it at all, you need to agree to a big length of verbage and then fish some dimes out of petty cash. Dimes are small and Amazon kn…

---

## [WikiEngine: Future plans](https://www.ruby-forum.com/t/wikiengine-future-plans/52094)

<div class="topic-metadata">

**Author:** [@masschel](https://www.ruby-forum.com/u/masschel)\
**Replies:** 4\
**Last updated:** [January 13, 2006, 9:32pm UTC](https://www.ruby-forum.com/t/wikiengine-future-plans/52094 "2006-01-13T21:32:22Z")

</div>

Hello, I have been struggling with what wiki to continue, either Instiki, I2, or WikiEngine. Instiki is quite quiet for the moment, and I don’t see much progress (didnt check the svn trunk lately though). I2 is VERY …

---

## [Floating point subtraction question](https://www.ruby-forum.com/t/floating-point-subtraction-question/48969)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 4\
**Last updated:** [November 28, 2005, 12:20am UTC](https://www.ruby-forum.com/t/floating-point-subtraction-question/48969 "2005-11-28T00:20:47Z")

</div>

Hi, I’m a bit confused with some simple floating point arithmetic: % ruby -e ‘puts “#{(1.2 - 1.0) == 0.2}”’ false % ruby -e ‘puts “#{(1.5 - 1.0) == 0.5}”’ true I’m sure there’s a perfectly logical reason for this, …

---

## [How testing associated objects?](https://www.ruby-forum.com/t/how-testing-associated-objects/243213)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [September 10, 2015, 6:23pm UTC](https://www.ruby-forum.com/t/how-testing-associated-objects/243213 "2015-09-10T18:23:45Z")

</div>

please help solve the problem. poll controller: class PollsController \< ApplicationController def index @user = User.find(params\[:user\_id\]) @polls = @user.polls.paginate(page: params\[:page\], :per\_page =\> 10).order(…

---

## [Using Ajax to access Ruby HTTP server](https://www.ruby-forum.com/t/using-ajax-to-access-ruby-http-server/236279)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 22, 2013, 3:41pm UTC](https://www.ruby-forum.com/t/using-ajax-to-access-ruby-http-server/236279 "2013-08-22T15:41:45Z")

</div>

I wrote a very simple HTTP server at my PC by ruby. I can access the it from IE/FF/Chrome and display the result XML correctly, however when I tried to access it by a Jquery AJAX call, looks like it only got the heade…

---

## [Installing Channel coding toolbox problem](https://www.ruby-forum.com/t/installing-channel-coding-toolbox-problem/225685)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [January 23, 2013, 5:20pm UTC](https://www.ruby-forum.com/t/installing-channel-coding-toolbox-problem/225685 "2013-01-23T17:20:33Z")

</div>

Hi all, To test grc simulations given at http://gnuradio.org/redmine/projects/gnuradio/wiki/SimulationsI could not find Binary symmetric channel block in GRC. I then tried to install Channel Coding Toolbox by followi…

---

## [Need tester: Toggle references](https://www.ruby-forum.com/t/need-tester-toggle-references/203707)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 3, 2011, 5:39pm UTC](https://www.ruby-forum.com/t/need-tester-toggle-references/203707 "2011-03-03T17:39:40Z")

</div>

Hi, I want to import those patches but they will be tested before importing because they changes core mechanism: \[#3012947\] Toggle references Ruby-GNOME 2 / Bugs / #144 Toggle references Here are two patches to use…

---

## [Hide some page types from page edit form](https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 29, 2010, 4:12am UTC](https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834 "2010-10-29T04:12:10Z")

</div>

Anyone know what is the easiest way to hide certain Page Types when in page edit form? I’m primary interested in hiding the ones my client has no use for (all Archive capability) and also to hide one other type that I …

---

## [Code Review: Allows symbols to be in a YAML array](https://www.ruby-forum.com/t/code-review-allows-symbols-to-be-in-a-yaml-array/165311)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 3\
**Last updated:** [April 16, 2009, 12:22am UTC](https://www.ruby-forum.com/t/code-review-allows-symbols-to-be-in-a-yaml-array/165311 "2009-04-16T00:22:23Z")

</div>

http://github.com/jschementi/ironruby/commit/e8406f60c9426f4b675bf67180c24f2bb5b0f609 Allows symbols to be in a YAML array (“date: \[:year, :month, :day\]”). Fixes http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItem…

---

## [500/Timeout when trying to send an email with my app?](https://www.ruby-forum.com/t/500-timeout-when-trying-to-send-an-email-with-my-app/159612)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [February 6, 2009, 2:36pm UTC](https://www.ruby-forum.com/t/500-timeout-when-trying-to-send-an-email-with-my-app/159612 "2009-02-06T14:36:42Z")

</div>

Hello - I’m kind of new to this whole web development thing - I have a VPS and I’ve installed ubuntu 8.04 and postfix on it, and now I’m deploying simple rails apps to get the hang of the whole process. So I put toge…

---

## [Acts\_as\_list and a Join table?](https://www.ruby-forum.com/t/acts-as-list-and-a-join-table/110258)

<div class="topic-metadata">

**Author:** [@differenthink](https://www.ruby-forum.com/u/differenthink)\
**Replies:** 3\
**Last updated:** [July 26, 2007, 12:46am UTC](https://www.ruby-forum.com/t/acts-as-list-and-a-join-table/110258 "2007-07-26T00:46:18Z")

</div>

Hi, I ve got two model, Video and Pack… My Pack model can have multiple Video, and a Video belongs to multiple Pack…So i m doing a join table, Video\_Pack… So my Models looks like : Video : ID Name etc. Pack : I…

---

## [Config.h on Linux for building racc](https://www.ruby-forum.com/t/config-h-on-linux-for-building-racc/84310)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 3, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/config-h-on-linux-for-building-racc/84310 "2007-02-03T17:17:48Z")

</div>

Hi all, I’m trying to build racc, the yacc-like thing for Ruby. I get this error at make time: “\*\*\* No rule to make target ‘/usr/lib/ruby/1.8/i486-linux.config.h’, needed by ‘cparse.o’. Stop” So, looking in that dir…

---

## [Sketchup Ruby Export Code](https://www.ruby-forum.com/t/sketchup-ruby-export-code/225460)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 9, 2013, 3:54pm UTC](https://www.ruby-forum.com/t/sketchup-ruby-export-code/225460 "2013-01-09T15:54:52Z")

</div>

hallo leute ich brauch unbedingt ein code zur exportieren von koordinaten und attributen von sketchup in ein XML datei… Wie gehe ich da am besten vor ?? danke

---

## [Nginx + Php-fpm Ownership issue!](https://www.ruby-forum.com/t/nginx-php-fpm-ownership-issue/243751)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [December 30, 2015, 9:37am UTC](https://www.ruby-forum.com/t/nginx-php-fpm-ownership-issue/243751 "2015-12-30T09:37:32Z")

</div>

Hi, We’ve installed nginx + php-fpm on FreeBSD OS and both of them are listening on www user / group. Here is the config : NGINX : user www ; PHP-FPM : \[www\] listen = /var/run/www.socket user = www group = www …

---

## [Symbol not found: \_rb\_check\_safe\_obj](https://www.ruby-forum.com/t/symbol-not-found-rb-check-safe-obj/222755)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 9, 2012, 5:08pm UTC](https://www.ruby-forum.com/t/symbol-not-found-rb-check-safe-obj/222755 "2012-09-09T17:08:10Z")

</div>

I have been trying to run Padrino on Jruby, but am hitting a issue when running rake tasks involving the database. Searching around, I can’t find other instances of this issue. I installed jruby-openssl like it men…

---

## [Keyboard only menus](https://www.ruby-forum.com/t/keyboard-only-menus/188908)

<div class="topic-metadata">

**Author:** [@DunlopS\_Andrew](https://www.ruby-forum.com/u/DunlopS_Andrew)\
**Replies:** 2\
**Last updated:** [May 25, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/keyboard-only-menus/188908 "2010-05-25T15:32:23Z")

</div>

Hello all, I have a popup menu which I want to only be controllable using keyboard (actually it’s a games controller mapped to key presses, but that’s not important). I’m not sure it would be possible to restrict men…

---

## [Multilevel class inheritance not working as expected](https://www.ruby-forum.com/t/multilevel-class-inheritance-not-working-as-expected/128508)

<div class="topic-metadata">

**Author:** [@joergbattermann](https://www.ruby-forum.com/u/joergbattermann)\
**Replies:** 2\
**Last updated:** [February 9, 2008, 12:30am UTC](https://www.ruby-forum.com/t/multilevel-class-inheritance-not-working-as-expected/128508 "2008-02-09T00:30:58Z")

</div>

Hello there, I am having a problem inheriting an already inherited class. errr… sounds more complicated than it is… look: class Item \< ActiveRecord::Base has a name and description field end class Reference \< Item h…

---

## [Win32ole called from watir script](https://www.ruby-forum.com/t/win32ole-called-from-watir-script/125603)

<div class="topic-metadata">

**Author:** [@shinji](https://www.ruby-forum.com/u/shinji)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 2:42pm UTC](https://www.ruby-forum.com/t/win32ole-called-from-watir-script/125603 "2008-01-11T14:42:35Z")

</div>

I’ve been using WATiR to test a website. At one point, a VBScript dialogue is shown which needs a Yes No response. I found that I can manually browse to the page, and then using the win32ole library, send a yes value …

---

## [Rescue http Bad File Descriptor error (EBADF)](https://www.ruby-forum.com/t/rescue-http-bad-file-descriptor-error-ebadf/66644)

<div class="topic-metadata">

**Author:** [@Horacio\_S](https://www.ruby-forum.com/u/Horacio_S)\
**Replies:** 2\
**Last updated:** [August 29, 2006, 4:13am UTC](https://www.ruby-forum.com/t/rescue-http-bad-file-descriptor-error-ebadf/66644 "2006-08-29T04:13:24Z")

</div>

I have a little web spider that scraps several web pages. Sometimes the script gets a Bad File Descriptor error and the script bails out. As far as I can understand this error is an OS (Windows XP) error and there is…

---

## [Convert Complex JSON Response to my own Object](https://www.ruby-forum.com/t/convert-complex-json-response-to-my-own-object/256544)

<div class="topic-metadata">

**Author:** [@Bmoe](https://www.ruby-forum.com/u/Bmoe)\
**Replies:** 1\
**Last updated:** [March 19, 2020, 7:55pm UTC](https://www.ruby-forum.com/t/convert-complex-json-response-to-my-own-object/256544 "2020-03-19T19:55:48Z")

</div>

So I use HTTParty to interact with an API for an internal web application. The API is written in C#. I was able to take a look at the code that maps to the JSON API response and looking to create the class structure that…

---

## [Thread.new](https://www.ruby-forum.com/t/thread-new/214232)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 26, 2011, 11:12am UTC](https://www.ruby-forum.com/t/thread-new/214232 "2011-11-26T11:12:53Z")

</div>

This code runs fine (except you can’t mess with the window until the 10 loops are finished). But if the comment mark is moved down to the 10.times do so that it can run in a different thread, nothing below Thread.new…

---

## [How to copy data to clipboard](https://www.ruby-forum.com/t/how-to-copy-data-to-clipboard/150623)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 1\
**Last updated:** [October 10, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/how-to-copy-data-to-clipboard/150623 "2008-10-10T15:55:55Z")

</div>

Hi all, I want to send the word “copy” to the clipboard and trigger an event like ctrl-c. which gem/library is used for this purpose? Thanks, Li

---

## [Ruby: No such file or directory --script/plungin (LoadError)](https://www.ruby-forum.com/t/ruby-no-such-file-or-directory-script-plungin-loaderror/142810)

<div class="topic-metadata">

**Author:** [@sirkay](https://www.ruby-forum.com/u/sirkay)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 7:04pm UTC](https://www.ruby-forum.com/t/ruby-no-such-file-or-directory-script-plungin-loaderror/142810 "2008-07-11T19:04:27Z")

</div>

I am trying to install Restful\_authentication with the command code below: ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/restful\_authentication but unfortunately I am getting the above erro…

---

## [TkVariables and ".value" method](https://www.ruby-forum.com/t/tkvariables-and-value-method/88155)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 1\
**Last updated:** [March 8, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/tkvariables-and-value-method/88155 "2007-03-08T15:58:14Z")

</div>

The code below, which puts “Hello” in a label on press of a button, works if the command for the button is { a.value = “Hello” }, but not if it is { a = “Hello” }. I’m trying to understand “why”, and can’t find anyth…

---

## [ZenTest 4.9.2 Released](https://www.ruby-forum.com/t/zentest-4-9-2-released/245457)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 6\
**Last updated:** [September 13, 2013, 7:05pm UTC](https://www.ruby-forum.com/t/zentest-4-9-2-released/245457 "2013-09-13T19:05:58Z")

</div>

ZenTest version 4.9.2 has been released! rdoc: http://zentest.rubyforge.org/ZenTest home: https://github.com/seattlerb/zentest ZenTest provides 4 different tools: zentest, unit\_diff, autotest, and multiruby. zente…

---

## [Windows /RailsInstaller- Webrick starts but welcome page doesn't load](https://www.ruby-forum.com/t/windows-railsinstaller-webrick-starts-but-welcome-page-doesnt-load/204243)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 8, 2011, 5:11pm UTC](https://www.ruby-forum.com/t/windows-railsinstaller-webrick-starts-but-welcome-page-doesnt-load/204243 "2011-03-08T17:11:56Z")

</div>

I’m trying the RailsInstaller to get ROR installed on Windows… everything was going great(rake db:create/migrate and console working as expected) until I started the server, webrick starts but the welcome page never …

---

## [Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError](https://www.ruby-forum.com/t/mongrel-htaccess-cpanel-rewrite-mongrel-httpparsererror/199933)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 1, 2010, 8:23pm UTC](https://www.ruby-forum.com/t/mongrel-htaccess-cpanel-rewrite-mongrel-httpparsererror/199933 "2010-12-01T20:23:30Z")

</div>

I just installed my RoR application on my ISP’s server. This is a Cpanel environment and it creates a .htaccess file: RewriteEngine on RewriteCond %{HTTP\_HOST} ^xyz.com$ \[OR\] RewriteCond %{HTTP\_HOST} ^www.xyz.com$ R…

---

## [How can I know site is developed in RoR?](https://www.ruby-forum.com/t/how-can-i-know-site-is-developed-in-ror/166046)

<div class="topic-metadata">

**Author:** [@tarak](https://www.ruby-forum.com/u/tarak)\
**Replies:** 6\
**Last updated:** [April 21, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/how-can-i-know-site-is-developed-in-ror/166046 "2009-04-21T18:14:23Z")

</div>

Hello Friends, Generally any site is developed in php, asp, asp.net, any body easily can find in which technology it is developed by any way like .php ,.aspx but HOW CAN I FIND SITE IS DEVELOPED IN ROR , can anybody …

---

## [RecordNotFound bubbling thru to cucumber](https://www.ruby-forum.com/t/recordnotfound-bubbling-thru-to-cucumber/159656)

<div class="topic-metadata">

**Author:** [@reversejt](https://www.ruby-forum.com/u/reversejt)\
**Replies:** 6\
**Last updated:** [February 9, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/recordnotfound-bubbling-thru-to-cucumber/159656 "2009-02-09T16:43:40Z")

</div>

Hello, I have a controller action that raises a RecordNotFound exception if you’re not allowed to see something. In my global application controller (application.rb), I catch these and render the 404 template. But wh…

---

## [Uppercase all row columns](https://www.ruby-forum.com/t/uppercase-all-row-columns/142719)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 6\
**Last updated:** [July 10, 2008, 11:24pm UTC](https://www.ruby-forum.com/t/uppercase-all-row-columns/142719 "2008-07-10T23:24:29Z")

</div>

Hi. I have to convert the contents of all columns to uppercase before creating a row. Is there an easy way to accomplish this so I don’t have to go one column at a time and upcase! it? Thanks. Pepe

---

## [Meaning of %w](https://www.ruby-forum.com/t/meaning-of-w/141879)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 6\
**Last updated:** [July 1, 2008, 12:10pm UTC](https://www.ruby-forum.com/t/meaning-of-w/141879 "2008-07-01T12:10:45Z")

</div>

what is the meaning of %w. atlest in my copy of rubydoc, i could not find the w attribute in sprintf flag characters

---

## [Ayuda: 2 bases de datos en una sola aplicacion](https://www.ruby-forum.com/t/ayuda-2-bases-de-datos-en-una-sola-aplicacion/119316)

<div class="topic-metadata">

**Author:** [@malooking](https://www.ruby-forum.com/u/malooking)\
**Replies:** 6\
**Last updated:** [December 11, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/ayuda-2-bases-de-datos-en-una-sola-aplicacion/119316 "2007-12-11T22:39:29Z")

</div>

Hola a todas y todos! Espero alguien me puede auxiliar con esta duda: Se puede crear una aplicaciÃ³n que se conecte a 2 bases de datos: una en MySQL y otra base de datos legada en Informix? SÃ³lo ocupo consultar la b…

---

## [Mental extension development help](https://www.ruby-forum.com/t/mental-extension-development-help/82791)

<div class="topic-metadata">

**Author:** [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Replies:** 6\
**Last updated:** [January 21, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/mental-extension-development-help/82791 "2007-01-21T18:44:28Z")

</div>

I’m trying to port the rss behavior to an extension for use in mental. I can’t find anything talking about how to develop extensions, so I’m baseing this off looking at hello\_tag example. I’ve created two files: rss\_…

---

## [RDoc vs metaprogramming](https://www.ruby-forum.com/t/rdoc-vs-metaprogramming/72185)

<div class="topic-metadata">

**Author:** [@Pau\_Garcia\_i\_Quiles](https://www.ruby-forum.com/u/Pau_Garcia_i_Quiles)\
**Replies:** 6\
**Last updated:** [October 15, 2006, 4:12pm UTC](https://www.ruby-forum.com/t/rdoc-vs-metaprogramming/72185 "2006-10-15T16:12:28Z")

</div>

Hello, I have developed a library to read and parse XSPF playlists. Most of the methods (90%) are metagenerated using something like this: class XSPFBlah attributes = %w{ attrib1 attrib2 } attributes.each do |attrib…

---

## [Copying $1.. A loop with two regular expressions](https://www.ruby-forum.com/t/copying-1-a-loop-with-two-regular-expressions/56950)

<div class="topic-metadata">

**Author:** [@oky](https://www.ruby-forum.com/u/oky)\
**Replies:** 6\
**Last updated:** [April 6, 2006, 2:01am UTC](https://www.ruby-forum.com/t/copying-1-a-loop-with-two-regular-expressions/56950 "2006-04-06T02:01:59Z")

</div>

Hi, sorry if this is a stupid question… i’ve only been programming ruby for about six hours. I’m trying to white a loop to parse through a webpage and get all the links to other pages. This loop depends on a regular e…

---

## [Selecting time](https://www.ruby-forum.com/t/selecting-time/74696)

<div class="topic-metadata">

**Author:** [@froggie](https://www.ruby-forum.com/u/froggie)\
**Replies:** 6\
**Last updated:** [December 25, 2005, 10:38pm UTC](https://www.ruby-forum.com/t/selecting-time/74696 "2005-12-25T22:38:40Z")

</div>

I’m currently building a small app that’s going to be used to keep track of the amount of time spend on customers of the company I work for. This mainly consists of object with a begin time, an end time and a calculat…

---

## [Rant 0.5.4](https://www.ruby-forum.com/t/rant-0-5-4/71971)

<div class="topic-metadata">

**Author:** [@stefanl38](https://www.ruby-forum.com/u/stefanl38)\
**Replies:** 6\
**Last updated:** [December 19, 2005, 11:41pm UTC](https://www.ruby-forum.com/t/rant-0-5-4/71971 "2005-12-19T23:41:56Z")

</div>

Rant is a flexible build tool written entirely in Ruby, similar to Rake. == What’s new in this release? This is mainly a bugfix release. Fix a rule bug where a custom rule task wouldn’t find it’s prerequisites in …

---

## [Mapeo de Datos (Duda)](https://www.ruby-forum.com/t/mapeo-de-datos-duda/230451)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 18, 2014, 3:16pm UTC](https://www.ruby-forum.com/t/mapeo-de-datos-duda/230451 "2014-06-18T15:16:52Z")

</div>

Bueno se me acaba de presentar un problema con 2 tablas de mi base de datos, la cual pense que no tendria hasta ahora. La cuestion es la siguiente: Tengo una tabla logins la cual posee un campo codigo de tipo varchar…

---

## [Acts\_as\_ferret and Will\_paginate](https://www.ruby-forum.com/t/acts-as-ferret-and-will-paginate/189829)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 0\
**Last updated:** [June 8, 2010, 3:28pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-and-will-paginate/189829 "2010-06-08T15:28:09Z")

</div>

I am running acts\_as\_ferret and will\_paginate 2.3.11, I have the following code in controller @ads = Ad.find\_with\_ferret(params\[:q\]+"~", :page =\> params\[‘page’\], :per\_page =\> 10) View \<removed\_email\_address@domain.…

---

## [(Mis-) using the CGI module for (only) generating HTML output](https://www.ruby-forum.com/t/mis-using-the-cgi-module-for-only-generating-html-output/242724)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [July 21, 2015, 11:00am UTC](https://www.ruby-forum.com/t/mis-using-the-cgi-module-for-only-generating-html-output/242724 "2015-07-21T11:00:46Z")

</div>

I would like to create a file containing HTML code. This is not part of a web application, and in particular I am not writing a CGI script. I could just create the HTML code (using puts(…) statements). I could also us…

---

## [Parsing String#dump data?](https://www.ruby-forum.com/t/parsing-string-dump-data/166275)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 4\
**Last updated:** [April 23, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/parsing-string-dump-data/166275 "2009-04-23T17:13:07Z")

</div>

Hi, I was wondering if there was a better/safer way to parse string data that has been dumped using the String#dump method. At the moment, I’ve been using regular expressions to do it, but that doesn’t seem to work …

---

## [Url (view \> controller) error "Need controller and action!"](https://www.ruby-forum.com/t/url-view-controller-error-need-controller-and-action/164621)

<div class="topic-metadata">

**Author:** [@zambezi](https://www.ruby-forum.com/u/zambezi)\
**Replies:** 4\
**Last updated:** [April 6, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/url-view-controller-error-need-controller-and-action/164621 "2009-04-06T21:40:59Z")

</div>

I thought I would set up a simple form for email noification to tinker with and see how it worked However the simplicity part has so far eluded me. Currently this particular page generates an error “Need controller a…

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

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