# Top

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

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

---

## [Please help with installing mysql gem to linux machine w/ xampp](https://www.ruby-forum.com/t/please-help-with-installing-mysql-gem-to-linux-machine-w-xampp/200827)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 2\
**Last updated:** [December 23, 2010, 4:56pm UTC](https://www.ruby-forum.com/t/please-help-with-installing-mysql-gem-to-linux-machine-w-xampp/200827 "2010-12-23T16:56:26Z")

</div>

Hello all, I know this is not an uncommon question, but none of the tutorials/tips solve my problem. I’ve got a linux machine running Ubuntu 10.4 with ruby, gem, rails, and xampp installed. Now when I try to install …

---

## [redmine.ruby-lang.org$B$N(Bproject$B?t$r8:$i$;$J$$$+!)(B](https://www.ruby-forum.com/t/redmine-ruby-lang-org-b-n-bproject-b-t-r8-i-j-b/193461)

<div class="topic-metadata">

**Author:** [@NAKAMURAS\_Hiroshi](https://www.ruby-forum.com/u/NAKAMURAS_Hiroshi)\
**Replies:** 2\
**Last updated:** [September 19, 2010, 10:36am UTC](https://www.ruby-forum.com/t/redmine-ruby-lang-org-b-n-bproject-b-t-r8-i-j-b/193461 "2010-09-19T10:36:29Z")

</div>

e$B:rF|e(Bakre$B$5$s$H$bOC$7$?$N$G$9$,!“8=:\_e(Bredmine.ruby-lang.orge$B$KEPO?$5$l$F$$$ke(B Rubye$B3+H/%W%m%8%'%/%H!Je(B1.9 / 1.9.1 / 1.8 / 1.8.7 / 1.8.6 / anye$B!K$,B?$9$.e(B e$B$k$s$8$c$J$$$+!”$H;W$C$F$$$^$9!#e(B e…

---

## [Date\_select equivalent for form\_tag?](https://www.ruby-forum.com/t/date-select-equivalent-for-form-tag/193725)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 2\
**Last updated:** [August 23, 2010, 5:56pm UTC](https://www.ruby-forum.com/t/date-select-equivalent-for-form-tag/193725 "2010-08-23T17:56:14Z")

</div>

Is there an equivalent for date\_select to be used in a form\_tag block?

---

## [Helper script to automatically add blocks](https://www.ruby-forum.com/t/helper-script-to-automatically-add-blocks/193359)

<div class="topic-metadata">

**Author:** [@pytlik](https://www.ruby-forum.com/u/pytlik)\
**Replies:** 2\
**Last updated:** [August 17, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/helper-script-to-automatically-add-blocks/193359 "2010-08-17T22:00:09Z")

</div>

Hi list, since pretty much all of my GNU Radio’ing consists of dealing with out-of-tree modules I started a script to modify those. In the current state, it can add blocks to an existing out-of-tree module. It will a…

---

## [Rails 3 - Ruby 1.9.2 - cannot output correctly HTML special characters](https://www.ruby-forum.com/t/rails-3-ruby-1-9-2-cannot-output-correctly-html-special-characters/192980)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [August 9, 2010, 3:40pm UTC](https://www.ruby-forum.com/t/rails-3-ruby-1-9-2-cannot-output-correctly-html-special-characters/192980 "2010-08-09T15:40:14Z")

</div>

this is my first Rails3-Ruby 1.9.2 test app… I cannot out a simple html string w special characters like © copyright = “Copyright © " + " 2010 , TestApp Ltd.” using copyright in my view, I see displayed Copyright © 2…

---

## [How do I run a text.txt or a analyzer.rb](https://www.ruby-forum.com/t/how-do-i-run-a-text-txt-or-a-analyzer-rb/192504)

<div class="topic-metadata">

**Author:** [@merc](https://www.ruby-forum.com/u/merc)\
**Replies:** 2\
**Last updated:** [July 31, 2010, 10:22pm UTC](https://www.ruby-forum.com/t/how-do-i-run-a-text-txt-or-a-analyzer-rb/192504 "2010-07-31T22:22:32Z")

</div>

Hi, everyone. How do I run a .rb file in command prompt? I was in the command prompt, using irb, but I don’t understand why my .rb files looks like a regular text file. And I don’t know how to execute them either. Is…

---

## [\[Bug #2724\] fork from other than the main thread causes wrong pthread condition on NetBSD](https://www.ruby-forum.com/t/bug-2724-fork-from-other-than-the-main-thread-causes-wrong-pthread-condition-on-netbsd/183131)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 2\
**Last updated:** [April 6, 2010, 12:50pm UTC](https://www.ruby-forum.com/t/bug-2724-fork-from-other-than-the-main-thread-causes-wrong-pthread-condition-on-netbsd/183131 "2010-04-06T12:50:54Z")

</div>

Bug #2724: fork from other than the main thread causes wrong pthread condition on NetBSD http://redmine.ruby-lang.org/issues/show/2724 e$B5/I\<\<Te(B: Yui NARUSE e$B%9%F!\<%?%9e(B: Third Party’s Issue, e$BM%@hEYe(B: Nor…

---

## [How to log POST data?](https://www.ruby-forum.com/t/how-to-log-post-data/184215)

<div class="topic-metadata">

**Author:** [@ku9527](https://www.ruby-forum.com/u/ku9527)\
**Replies:** 2\
**Last updated:** [February 27, 2010, 5:30am UTC](https://www.ruby-forum.com/t/how-to-log-post-data/184215 "2010-02-27T05:30:13Z")

</div>

hi Group, First time to post here, nice to meet you guys. How to configure log POST data in Nginx? Need any 3rd party module to achieve this? Regards, Yan

---

## [What's the nearest ruby equivalent to waf?](https://www.ruby-forum.com/t/whats-the-nearest-ruby-equivalent-to-waf/183450)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [February 14, 2010, 7:08pm UTC](https://www.ruby-forum.com/t/whats-the-nearest-ruby-equivalent-to-waf/183450 "2010-02-14T19:08:10Z")

</div>

italians.nl is a pretty nice example of using waf, a python build tool, instead of autoconf and make, to build a c++ project. Is there a ruby build tool that can be used for something similar? (This is not a case of N…

---

## [Problems using the 'extensions' gem - can anyone help?](https://www.ruby-forum.com/t/problems-using-the-extensions-gem-can-anyone-help/183172)

<div class="topic-metadata">

**Author:** [@innes](https://www.ruby-forum.com/u/innes)\
**Replies:** 2\
**Last updated:** [February 9, 2010, 3:40pm UTC](https://www.ruby-forum.com/t/problems-using-the-extensions-gem-can-anyone-help/183172 "2010-02-09T15:40:52Z")

</div>

I’m running Ruby 1.9.1-p378 (RC2) on windows, installed from the RubyInstaller.org site. I’ve installed ‘extensions’ gem (“gem install -r extensions”). When I run irb and try and “require 'extensions/all” I get the f…

---

## [Newbie help : Ruby Processin](https://www.ruby-forum.com/t/newbie-help-ruby-processin/182549)

<div class="topic-metadata">

**Author:** [@jeromeqc](https://www.ruby-forum.com/u/jeromeqc)\
**Replies:** 2\
**Last updated:** [January 31, 2010, 12:33am UTC](https://www.ruby-forum.com/t/newbie-help-ruby-processin/182549 "2010-01-31T00:33:15Z")

</div>

Hello, Looking at the code in the attached file can someone please explain to me in simple terms why in the method class Example81 \< Processing::App def setup size screen.width/2, screen.height/2 #Initialize car obje…

---

## [Dynamically set named\_scope based on current\_user](https://www.ruby-forum.com/t/dynamically-set-named-scope-based-on-current-user/182356)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [January 27, 2010, 2:25pm UTC](https://www.ruby-forum.com/t/dynamically-set-named-scope-based-on-current-user/182356 "2010-01-27T14:25:57Z")

</div>

Hey all, I keep getting the following error: You have a nil object when you didn’t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.size Based on the current user, whe…

---

## [Javascript to access a server side element in rails](https://www.ruby-forum.com/t/javascript-to-access-a-server-side-element-in-rails/181230)

<div class="topic-metadata">

**Author:** [@nisha](https://www.ruby-forum.com/u/nisha)\
**Replies:** 2\
**Last updated:** [January 9, 2010, 10:43am UTC](https://www.ruby-forum.com/t/javascript-to-access-a-server-side-element-in-rails/181230 "2010-01-09T10:43:00Z")

</div>

Hi all, TestController def show @object = Object.find(params\[:id\]) end I have show.html.erb which has the foll js in the head This basically dynamically loads the first.html file after the set interval… The fi…

---

## [Help with loading data with sequential id](https://www.ruby-forum.com/t/help-with-loading-data-with-sequential-id/172035)

<div class="topic-metadata">

**Author:** [@khagimoto](https://www.ruby-forum.com/u/khagimoto)\
**Replies:** 2\
**Last updated:** [July 13, 2009, 8:58pm UTC](https://www.ruby-forum.com/t/help-with-loading-data-with-sequential-id/172035 "2009-07-13T20:58:53Z")

</div>

Hello, I’m trying to load data into my mysql table using the following: ============ load\_codes\_data.rb ============ require ‘active\_record/fixtures’ class LoadCodesData \< ActiveRecord::Migration def self.up down …

---

## [Getting Started with Ruby 1.9, Rails and SQLite3, All on Windows](https://www.ruby-forum.com/t/getting-started-with-ruby-1-9-rails-and-sqlite3-all-on-windows/171639)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 7, 2009, 1:45am UTC](https://www.ruby-forum.com/t/getting-started-with-ruby-1-9-rails-and-sqlite3-all-on-windows/171639 "2009-07-07T01:45:37Z")

</div>

Hey Everybody, After popular request, I decided to put together a series of instructions on getting Ruby 1.9, Rails and SQLite3 bindings working, all on Windows. http://blog.mmediasys.com/2009/07/06/getting-started-w…

---

## [Does jruby support annotions yet?](https://www.ruby-forum.com/t/does-jruby-support-annotions-yet/171300)

<div class="topic-metadata">

**Author:** [@dalton](https://www.ruby-forum.com/u/dalton)\
**Replies:** 2\
**Last updated:** [July 1, 2009, 1:52am UTC](https://www.ruby-forum.com/t/does-jruby-support-annotions-yet/171300 "2009-07-01T01:52:50Z")

</div>

Hi all, according to the article of Nick about jruby and annotations, I asked myself whether jruby is supporting annotations now. (Adding Annotations to JRuby Using Ruby – Charles Oliver Nutter – Java, Ruby, and JVM g…

---

## [Smtp\_tls and SMTP/NET required failing](https://www.ruby-forum.com/t/smtp-tls-and-smtp-net-required-failing/163955)

<div class="topic-metadata">

**Author:** [@bartee](https://www.ruby-forum.com/u/bartee)\
**Replies:** 2\
**Last updated:** [May 15, 2009, 6:05pm UTC](https://www.ruby-forum.com/t/smtp-tls-and-smtp-net-required-failing/163955 "2009-05-15T18:05:22Z")

</div>

I am trying to use the smtp\_tls plugin to support gmail smtp servers. I have plugin directory smtp\_tls. There is a file smtp\_tls.rb in the directory. So I am not sure why this is failing. I my config I have a requir…

---

## [\[Bug #571\] IPv6$B7O$NDj?t$,L$Dj5A(B (for 1.8)](https://www.ruby-forum.com/t/bug-571-ipv6-b7o-ndj-t-l-dj5a-b-for-1-8/148776)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 2\
**Last updated:** [May 4, 2009, 8:13am UTC](https://www.ruby-forum.com/t/bug-571-ipv6-b7o-ndj-t-l-dj5a-b-for-1-8/148776 "2009-05-04T08:13:33Z")

</div>

e$B%A%1%C%He(B #571 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.) e$B\<h$j9~$\_$^$9$+$iD\>@;d$Ke(B(e$B$^$?$Oe(Bruby-deve$B$Ke(B)e$B%a!\<%k$/$@$5$$!#e(B http://redmine.ruby-lang.org/issues/show/571

---

## [Best practice for passing vars etc](https://www.ruby-forum.com/t/best-practice-for-passing-vars-etc/164963)

<div class="topic-metadata">

**Author:** [@elliottg](https://www.ruby-forum.com/u/elliottg)\
**Replies:** 2\
**Last updated:** [April 8, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/best-practice-for-passing-vars-etc/164963 "2009-04-08T19:18:44Z")

</div>

I am new to rails and I am having a hard time coming up with a clean solution to handle passing vars to controllers and views so that they will have the data they need to function correctly. For instance. I have produ…

---

## [NoMethodError in PublicController](https://www.ruby-forum.com/t/nomethoderror-in-publiccontroller/164700)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 4, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/nomethoderror-in-publiccontroller/164700 "2009-04-04T19:27:56Z")

</div>

Hello, I’m following a tutorial with a public controller, line\_item model, and cart model. When I try to add an item to the cart I am getting an error NoMethodError in PublicController#add\_to\_cart You have a nil ob…

---

## [Separate controller for side-bar components?](https://www.ruby-forum.com/t/separate-controller-for-side-bar-components/163770)

<div class="topic-metadata">

**Author:** [@ressister](https://www.ruby-forum.com/u/ressister)\
**Replies:** 2\
**Last updated:** [March 24, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/separate-controller-for-side-bar-components/163770 "2009-03-24T20:11:38Z")

</div>

I’m in the process of refactoring an existing Rails app and am wondering - is it common practice to have a controller for each model that has CRUD actions? For instance, in my app I have a side bar where users can ad…

---

## [Playing videos](https://www.ruby-forum.com/t/playing-videos/162741)

<div class="topic-metadata">

**Author:** [@himdel](https://www.ruby-forum.com/u/himdel)\
**Replies:** 2\
**Last updated:** [March 13, 2009, 2:07pm UTC](https://www.ruby-forum.com/t/playing-videos/162741 "2009-03-13T14:07:06Z")

</div>

My app needs to play videos. They are stored in a huge library and are all about 2mb in size. They are avi files. The user enters criteria which selects the appropriate videos and I need to offer a playlist. Playing …

---

## [Details on USB buffer](https://www.ruby-forum.com/t/details-on-usb-buffer/161509)

<div class="topic-metadata">

**Author:** [@tony](https://www.ruby-forum.com/u/tony)\
**Replies:** 2\
**Last updated:** [February 27, 2009, 12:44pm UTC](https://www.ruby-forum.com/t/details-on-usb-buffer/161509 "2009-02-27T12:44:12Z")

</div>

The USRP C++ example program uses this code to move USRP USB data intoÂ a buffer: Â Â Â Â Â urx-\>read(&buf, bufsize, &overrun); If this line is called many times in a short period of time will the buffer have some o…

---

## [Ruby.h defining macros](https://www.ruby-forum.com/t/ruby-h-defining-macros/160132)

<div class="topic-metadata">

**Author:** [@John\_Ky](https://www.ruby-forum.com/u/John_Ky)\
**Replies:** 2\
**Last updated:** [February 12, 2009, 6:15am UTC](https://www.ruby-forum.com/t/ruby-h-defining-macros/160132 "2009-02-12T06:15:53Z")

</div>

Hi Ruby T., When I include ruby.h, I’m getting new macros defined such as strcmpcase, and close on the Windows platform. This is conflicting with macros and function names in my own project. Is there a way to disab…

---

## [Controller utility method: want to use in tests. Where should it go?](https://www.ruby-forum.com/t/controller-utility-method-want-to-use-in-tests-where-should-it-go/159912)

<div class="topic-metadata">

**Author:** [@itsastickup](https://www.ruby-forum.com/u/itsastickup)\
**Replies:** 2\
**Last updated:** [February 10, 2009, 1:21am UTC](https://www.ruby-forum.com/t/controller-utility-method-want-to-use-in-tests-where-should-it-go/159912 "2009-02-10T01:21:50Z")

</div>

Hi, I’ve a simple method I call in my action methods. So far I’ve put it in application.rb in the ActionController class. However I can’t call it from my test code. Where should I be putting it? I’ve tried adding thi…

---

## [Problem with ssl\_requirement](https://www.ruby-forum.com/t/problem-with-ssl-requirement/159093)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 2\
**Last updated:** [February 1, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/problem-with-ssl-requirement/159093 "2009-02-01T23:55:46Z")

</div>

Hello, I am trying to enable SSL for my rails app. I have installed the ssl\_requirements plugin and added “include SslRequirement” in the application controller. Then I restart the server and access the home page. T…

---

## [NoMethodError: undefined method \`expenses'](https://www.ruby-forum.com/t/nomethoderror-undefined-method-expenses/158897)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 2\
**Last updated:** [January 29, 2009, 12:47pm UTC](https://www.ruby-forum.com/t/nomethoderror-undefined-method-expenses/158897 "2009-01-29T12:47:58Z")

</div>

Hi, I am trying to figure out why I am receiving the following error. I am following an Apple Developers Rail Application tutorial. event.expenses.create(:vendor =\> vendor1, :amount =\>75.00) NameError: undefined l…

---

## [How to get ruby 1.9 working](https://www.ruby-forum.com/t/how-to-get-ruby-1-9-working/157742)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 14, 2009, 11:30pm UTC](https://www.ruby-forum.com/t/how-to-get-ruby-1-9-working/157742 "2009-01-14T23:30:24Z")

</div>

I tried renaming my ruby directory where 1.9.1 is but I cannot seem to do a “gem install rails” When I do i get a windows prompt saying a dll is missing. Is there another way to get 1.9.1 working?

---

## [Building Ruby as a framework on OS X](https://www.ruby-forum.com/t/building-ruby-as-a-framework-on-os-x/156612)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 2\
**Last updated:** [January 4, 2009, 10:33pm UTC](https://www.ruby-forum.com/t/building-ruby-as-a-framework-on-os-x/156612 "2009-01-04T22:33:16Z")

</div>

Hello, Does anyone know how to build Ruby as a framework on OS X? Downloading the source and running configure --help does not yield any “–enable-framework” flags, which is what I was looking for. Python and Tcl have…

---

## [Regular exressions and arguments](https://www.ruby-forum.com/t/regular-exressions-and-arguments/155965)

<div class="topic-metadata">

**Author:** [@ukbell](https://www.ruby-forum.com/u/ukbell)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/regular-exressions-and-arguments/155965 "2008-12-18T17:09:57Z")

</div>

This should be (and probably will be) a simple answer, but if I have the very basic program of: #!/usr/bin/ruby require arg = ARGV\[0\] regex = /"#{arg}"/ regex1 = /Test/ a = “this is a Test” if regex =~ a puts “t…

---

## [Upstream doesn't rewrite the host name?](https://www.ruby-forum.com/t/upstream-doesnt-rewrite-the-host-name/155529)

<div class="topic-metadata">

**Author:** [@Mark\_Swanson](https://www.ruby-forum.com/u/Mark_Swanson)\
**Replies:** 2\
**Last updated:** [December 13, 2008, 1:34am UTC](https://www.ruby-forum.com/t/upstream-doesnt-rewrite-the-host-name/155529 "2008-12-13T01:34:58Z")

</div>

This example from the documentation does not work for me: http { upstream myproject { server 127.0.0.1:8000 weight=3; server 127.0.0.1:8001; server 127.0.0.1:8002; server 127.0.0.1:8003; } server { listen 80;…

---

## [Status info like rc.status](https://www.ruby-forum.com/t/status-info-like-rc-status/155214)

<div class="topic-metadata">

**Author:** [@enduro](https://www.ruby-forum.com/u/enduro)\
**Replies:** 2\
**Last updated:** [December 11, 2008, 9:33am UTC](https://www.ruby-forum.com/t/status-info-like-rc-status/155214 "2008-12-11T09:33:52Z")

</div>

Hello, is there already a library I’m not aware of which allows for easy console message formatting similar to the usage of rc.status with the init.d scripts? Is there an established “best practices” way for displayi…

---

## [Ruby 1.8.7 and rails 2.0.2](https://www.ruby-forum.com/t/ruby-1-8-7-and-rails-2-0-2/153981)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 2\
**Last updated:** [November 24, 2008, 10:34am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and-rails-2-0-2/153981 "2008-11-24T10:34:11Z")

</div>

Hi all, Dreamhost updated to ruby 1.8.7 but this breaks my site (rails 2.0.2) Will upgrading my site to rails 2.2 solve the problem as I have red on the net? On ‘Ruby on Rails — A web-app framework that includes every…

---

## [\[Bug #750\] Pathname.\[\]](https://www.ruby-forum.com/t/bug-750-pathname/153165)

<div class="topic-metadata">

**Author:** [@rubikitch\_S](https://www.ruby-forum.com/u/rubikitch_S)\
**Replies:** 2\
**Last updated:** [November 13, 2008, 11:28am UTC](https://www.ruby-forum.com/t/bug-750-pathname/153165 "2008-11-13T11:28:48Z")

</div>

Bug #750: Pathname.\[\] http://redmine.ruby-lang.org/issues/show/750 e$B5/I\<\<Te(B: rubikitch . e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Dir.globe$B$He(BDir.\[\]e$B$He(BPathname.globe$B$,Dj5A$5$l$F$$$k$N$K!“$J$\<$+e(BP…

---

## [BDD with webrat and Cucumber](https://www.ruby-forum.com/t/bdd-with-webrat-and-cucumber/153162)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [November 12, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/bdd-with-webrat-and-cucumber/153162 "2008-11-12T22:05:08Z")

</div>

OS = CentOS-5.2 Ruby 1.8.6 Rails 2.2.0RC1 Cucumber 0.1.9 Webrat 0.3.2 I have asked about this on the RSpec list but I am repeating my request here to reach a somewhat wider audience. I am running a cucumber featur…

---

## [Memory concerns wrt garbage collection etc](https://www.ruby-forum.com/t/memory-concerns-wrt-garbage-collection-etc/138882)

<div class="topic-metadata">

**Author:** [@Srijayanth\_S](https://www.ruby-forum.com/u/Srijayanth_S)\
**Replies:** 2\
**Last updated:** [October 24, 2008, 9:37am UTC](https://www.ruby-forum.com/t/memory-concerns-wrt-garbage-collection-etc/138882 "2008-10-24T09:37:19Z")

</div>

Hello, I have a script which basically launches several threads, each of them parsing a web page from a different link using Hpricot. I am not sure how many threads get spawned, could be in the hundreds. The question …

---

## [Ruby on rails tweaks](https://www.ruby-forum.com/t/ruby-on-rails-tweaks/150993)

<div class="topic-metadata">

**Author:** [@Delirium\_tremens](https://www.ruby-forum.com/u/Delirium_tremens)\
**Replies:** 2\
**Last updated:** [October 15, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-tweaks/150993 "2008-10-15T18:12:19Z")

</div>

Is there a way to avoid having to type “ruby script/server” in "C:\\www \\myrubysite"? Is there a way to eliminate “:3000” from " http://localhost:3000/ "? Is there a way to add '“myrubysite” to " http://localhost/ "?

---

## [Code Review: Autoload6](https://www.ruby-forum.com/t/code-review-autoload6/150283)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [October 7, 2008, 12:12am UTC](https://www.ruby-forum.com/t/code-review-autoload6/150283 "2008-10-07T00:12:30Z")

</div>

tfpt review “/shelveset:Autoload6;REDMOND\\tomat” Comment : Implements Kernel#autoload, Module#autoload and adds more specs for them. Fixes incorrect evaluation order in post-test loop (begin … end while cond). Add…

---

## [\--add\_module for filters?](https://www.ruby-forum.com/t/add-module-for-filters/150133)

<div class="topic-metadata">

**Author:** [@bdmcnitt](https://www.ruby-forum.com/u/bdmcnitt)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/add-module-for-filters/150133 "2008-10-06T18:38:34Z")

</div>

I’m trying to write a bare-bones body and header filter (just prints a debugging message for headers and the body), and found that when I put added it to the configuration with the --add-module configure directive, it…

---

## [\[Question\] How to show models attributes' value in validation message?](https://www.ruby-forum.com/t/question-how-to-show-models-attributes-value-in-validation-message/149994)

<div class="topic-metadata">

**Author:** [@boblu](https://www.ruby-forum.com/u/boblu)\
**Replies:** 2\
**Last updated:** [October 3, 2008, 1:52am UTC](https://www.ruby-forum.com/t/question-how-to-show-models-attributes-value-in-validation-message/149994 "2008-10-03T01:52:14Z")

</div>

Say I have a model with a validation in User model like this: Class User \< ActiveRecord::Base validates\_uniqueness\_of :name, :message=\>“user has already exist!” end As you can see, I want to write my own error messa…

---

## [Busqueda Programador Web](https://www.ruby-forum.com/t/busqueda-programador-web/147853)

<div class="topic-metadata">

**Author:** [@damo](https://www.ruby-forum.com/u/damo)\
**Replies:** 2\
**Last updated:** [September 6, 2008, 11:28am UTC](https://www.ruby-forum.com/t/busqueda-programador-web/147853 "2008-09-06T11:28:53Z")

</div>

Sumavisos (www.sumavisos.com) es un agregador de avisos clasificados de autos, empleos y propiedades (tambiÃ©n conocido como ‘buscador vertical’). Actualmente en una versiÃ³n alfa, online y con un par de decenas de mi…

---

## [Render :text =\> ... encoding error?](https://www.ruby-forum.com/t/render-text-encoding-error/143054)

<div class="topic-metadata">

**Author:** [@jimc](https://www.ruby-forum.com/u/jimc)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/render-text-encoding-error/143054 "2008-07-14T22:25:34Z")

</div>

render :text =\> “stuff \<#{@app || ‘no app’}\>” displays in browser as “stuff” (no quotes) this occurs independent of whether @app has a value, and either way, the “\<” and “\>” should be rendered. i haven’t an idea what…

---

## [Got my redirect to work... something.cgi](https://www.ruby-forum.com/t/got-my-redirect-to-work-something-cgi/142752)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 2\
**Last updated:** [July 11, 2008, 3:57pm UTC](https://www.ruby-forum.com/t/got-my-redirect-to-work-something-cgi/142752 "2008-07-11T15:57:30Z")

</div>

require “#{ScriptLib}/CGIUtils.rb” if $CGIo.has\_key?(‘user\_name’) and $CGIo\[‘user\_name’\] != ‘’ then # ## Add call to CVS Access validation here eventually. # un = $CGIo\['user\_name'\] cookie = CGI::Cookie.new('user…

---

## [Aggiornamento in produzione rails 2.1](https://www.ruby-forum.com/t/aggiornamento-in-produzione-rails-2-1/141977)

<div class="topic-metadata">

**Author:** [@Piero\_B](https://www.ruby-forum.com/u/Piero_B)\
**Replies:** 2\
**Last updated:** [July 5, 2008, 8:02pm UTC](https://www.ruby-forum.com/t/aggiornamento-in-produzione-rails-2-1/141977 "2008-07-05T20:02:28Z")

</div>

Ciao a tutti, aggiornando a rails 2.1 sul mio laptop ho riscontrato qualche problema con una doppia inizializzazione di activerecord usr/local/lib/ruby/site\_ruby/1.8/rubygems.rb:142:in \`activate’: can’t activate act…

---

## [Scaffold \_new](https://www.ruby-forum.com/t/scaffold-new/141377)

<div class="topic-metadata">

**Author:** [@reis](https://www.ruby-forum.com/u/reis)\
**Replies:** 2\
**Last updated:** [June 25, 2008, 10:43am UTC](https://www.ruby-forum.com/t/scaffold-new/141377 "2008-06-25T10:43:04Z")

</div>

Ciao a tutti, Sto impazzendo! Volevo creare uno scaffold per un contenitore di news, ho provato con “script/generate scaffold New” ma mi esubito impazzito, sapendo che new e anche un metodo ho provato con info\_new “s…

---

## [Helper :all does not include Modules](https://www.ruby-forum.com/t/helper-all-does-not-include-modules/139244)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 11:24am UTC](https://www.ruby-forum.com/t/helper-all-does-not-include-modules/139244 "2008-06-02T11:24:49Z")

</div>

Greetings list, I was wondering if any of you are unable to call “helper” methods in your controllers even though application.rb has a call to “helper :all”? My views are able to call the methods but my controllers a…

---

## [Mock expectation in before block](https://www.ruby-forum.com/t/mock-expectation-in-before-block/136157)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 2\
**Last updated:** [April 29, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/mock-expectation-in-before-block/136157 "2008-04-29T15:49:14Z")

</div>

Hi all, consider a class Foo that send, in its constructor, some message to an object of class Bar: class Foo def initialize(bar) @bar = bar @bar.some\_message end … end Now, in order to test Foo, I’d like to de…

---

## [Signal processing block compiling problem](https://www.ruby-forum.com/t/signal-processing-block-compiling-problem/132824)

<div class="topic-metadata">

**Author:** [@Jonathon\_P](https://www.ruby-forum.com/u/Jonathon_P)\
**Replies:** 2\
**Last updated:** [March 26, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/signal-processing-block-compiling-problem/132824 "2008-03-26T18:14:10Z")

</div>

Hey Everyone, To whoever can help me out, I’m trying to make my own signal processing block. I’ve gotten to the point where I run the make file, but I keep getting the following error: “/usr/bin/ld: cannot find -lfft…

---

## [How to get rid of escaped characters](https://www.ruby-forum.com/t/how-to-get-rid-of-escaped-characters/127625)

<div class="topic-metadata">

**Author:** [@liquidrails](https://www.ruby-forum.com/u/liquidrails)\
**Replies:** 2\
**Last updated:** [January 31, 2008, 4:47pm UTC](https://www.ruby-forum.com/t/how-to-get-rid-of-escaped-characters/127625 "2008-01-31T16:47:18Z")

</div>

How do you get rid of unwanted escape characters that rails adds to a user inputted string? Thanks

---

## [Multibyte characters in curses](https://www.ruby-forum.com/t/multibyte-characters-in-curses/122894)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/multibyte-characters-in-curses/122894 "2007-12-18T21:04:57Z")

</div>

Hello Am I the only one who wishes this worked? Or does it work for everybody and it’s broken only for me? I tried to look at a ncurses sample program, and made a simple patch that makes utf-8 sort of work with ncurs…

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

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