# Top

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

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

---

## [Too Much Matrix: Iterating over Each matrix cell w/o passing the complete thing all the time?](https://www.ruby-forum.com/t/too-much-matrix-iterating-over-each-matrix-cell-w-o-passing-the-complete-thing-all-the-time/236403)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [September 1, 2013, 7:01pm UTC](https://www.ruby-forum.com/t/too-much-matrix-iterating-over-each-matrix-cell-w-o-passing-the-complete-thing-all-the-time/236403 "2013-09-01T19:01:44Z")

</div>

Okay, where to start? Sounds like the beginning of a joke, you have a fancy data table, a splendid output table and a method. You use the method to calculate a splendid number out of the data table and store it in the…

---

## [Nginx crash on reload -- how to detect?](https://www.ruby-forum.com/t/nginx-crash-on-reload-how-to-detect/227353)

<div class="topic-metadata">

**Author:** [@Jan-Philip\_Gehrcke](https://www.ruby-forum.com/u/Jan-Philip_Gehrcke)\
**Replies:** 1\
**Last updated:** [March 16, 2013, 12:15pm UTC](https://www.ruby-forum.com/t/nginx-crash-on-reload-how-to-detect/227353 "2013-03-16T12:15:31Z")

</div>

Hello, I’m currently running a self-built nginx 1.3.14 on a debian system and use the attached (and also inlined) init.d script as /etc/init.d/nginx for managing the service. It’s taken unmodified from debian wheezy. …

---

## [Will jruby 1.7.0 have 1.8 support?](https://www.ruby-forum.com/t/will-jruby-1-7-0-have-1-8-support/218195)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 24, 2012, 7:48am UTC](https://www.ruby-forum.com/t/will-jruby-1-7-0-have-1-8-support/218195 "2012-03-24T07:48:25Z")

</div>

Or will it be all 1.9 all the time? Was unsure. Thanks! Jon

---

## [Hash .each and different action for each key](https://www.ruby-forum.com/t/hash-each-and-different-action-for-each-key/207554)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [May 28, 2011, 9:21am UTC](https://www.ruby-forum.com/t/hash-each-and-different-action-for-each-key/207554 "2011-05-28T09:21:41Z")

</div>

Hello - I have a hash table of several items. What I would like to do is loop through the hash and do a different action based on each unique key. my\_hash\_table.each\_pair do |k, v| Call a method if a hash key == “a” …

---

## [Trouble to install rsruby on windows XP](https://www.ruby-forum.com/t/trouble-to-install-rsruby-on-windows-xp/203801)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [March 2, 2011, 9:27am UTC](https://www.ruby-forum.com/t/trouble-to-install-rsruby-on-windows-xp/203801 "2011-03-02T09:27:28Z")

</div>

Hello I am trying to install rsruby on a windows XP machine I use the following command gem install rsruby --with-R-dir=c:/Program Files/R/R-2.11.1/Bin I got the message: invalid option : --with-R-dir=c:/Program is…

---

## [Is this a bug in ActiveRecord or expected to work this way?](https://www.ruby-forum.com/t/is-this-a-bug-in-activerecord-or-expected-to-work-this-way/203526)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 24, 2011, 7:33am UTC](https://www.ruby-forum.com/t/is-this-a-bug-in-activerecord-or-expected-to-work-this-way/203526 "2011-02-24T07:33:52Z")

</div>

Hi, I used “type” as a column in “rails generate model” there was no error. I did a rake db:migrate again no problem. I created the values using console again no problem. I did a show function in users contoller then…

---

## [Print comparison](https://www.ruby-forum.com/t/print-comparison/203012)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 11, 2011, 11:04am UTC](https://www.ruby-forum.com/t/print-comparison/203012 "2011-02-11T11:04:49Z")

</div>

is it possible to print the comparison given as parameter in a method? something like this: mi(4==3) def mi(param) I want to know here that the param was 4==3 end I know that I could pass mi(“4==3”) and in the meth…

---

## [Mechanzie submit fails at gmail login](https://www.ruby-forum.com/t/mechanzie-submit-fails-at-gmail-login/191962)

<div class="topic-metadata">

**Author:** [@chugm456789](https://www.ruby-forum.com/u/chugm456789)\
**Replies:** 7\
**Last updated:** [July 25, 2010, 6:32am UTC](https://www.ruby-forum.com/t/mechanzie-submit-fails-at-gmail-login/191962 "2010-07-25T06:32:23Z")

</div>

Hallo everybody, I try to write a script that checks my gmails automatically. But when I try to submit the login form, I get the exception 404 =\> Net::HTTPNotFound. Can anyone help? Code is: @LoginUrl = ‘http://mail…

---

## [Class variables different between spec and runtime?](https://www.ruby-forum.com/t/class-variables-different-between-spec-and-runtime/180599)

<div class="topic-metadata">

**Author:** [@churp](https://www.ruby-forum.com/u/churp)\
**Replies:** 7\
**Last updated:** [December 28, 2009, 6:20am UTC](https://www.ruby-forum.com/t/class-variables-different-between-spec-and-runtime/180599 "2009-12-28T06:20:04Z")

</div>

Hello Folks, This gist user.rb · GitHub has an example user.rb, user\_spec.rb At runtime, this snippet fails u = User.find(123) u.update\_with\_profile({…}) The error occurred while evaluating nil.select): app/models…

---

## [Dynamic paths](https://www.ruby-forum.com/t/dynamic-paths/171900)

<div class="topic-metadata">

**Author:** [@Bob\_O](https://www.ruby-forum.com/u/Bob_O)\
**Replies:** 7\
**Last updated:** [July 13, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/dynamic-paths/171900 "2009-07-13T18:32:12Z")

</div>

does anyone know how i can make dynamic paths? say i had a partial for maybe an index list, but i want the link to the show page to be dynamic so im able to use the partial for may objects. \<%= link\_to “show”, “#{obj…

---

## [Skinny Controller, Fat View?](https://www.ruby-forum.com/t/skinny-controller-fat-view/171842)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 7\
**Last updated:** [July 11, 2009, 4:37am UTC](https://www.ruby-forum.com/t/skinny-controller-fat-view/171842 "2009-07-11T04:37:10Z")

</div>

My Web application has several contexts where a collection of ActiveRecords is rendered. If the URL contained the partial and/or layout, the several controller methods could be collapsed into one. What hazards, etc.…

---

## [Question about BlankSlate.reveal](https://www.ruby-forum.com/t/question-about-blankslate-reveal/158579)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 7\
**Last updated:** [January 27, 2009, 12:40am UTC](https://www.ruby-forum.com/t/question-about-blankslate-reveal/158579 "2009-01-27T00:40:04Z")

</div>

Hi folks, I’ve been working on a chapter for “Ruby Best Practices”\[0\] about the dynamic nature of Ruby, and I initially thought Jim W.'s BlankSlate would be an excellent example (even though 1.9 has BasicObject). Ho…

---

## [Last chance for JRubyOne...er...JavaOne proposals](https://www.ruby-forum.com/t/last-chance-for-jrubyone-er-javaone-proposals/156060)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 7\
**Last updated:** [December 20, 2008, 5:03pm UTC](https://www.ruby-forum.com/t/last-chance-for-jrubyone-er-javaone-proposals/156060 "2008-12-20T17:03:39Z")

</div>

Today is the last day for JavaOne proposals, and we’re really hoping to get some “real” rubyists showing these Java guys how it’s done. Right now we’ve got some basic proposals for a Ruby language/classes/libraries in…

---

## [Backgroundrb](https://www.ruby-forum.com/t/backgroundrb/145686)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 7\
**Last updated:** [August 13, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/backgroundrb/145686 "2008-08-13T22:43:29Z")

</div>

Backgroundrb is driving me crazy. I am trying to schedule a simple job - extremely simple so that I can understand how it thinks. I have gone through the the Tutorial/Notes/Examples at: http://backgroundrb.rubyforge…

---

## [Radio button observe field only triggers once](https://www.ruby-forum.com/t/radio-button-observe-field-only-triggers-once/137851)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 7\
**Last updated:** [August 7, 2008, 11:52am UTC](https://www.ruby-forum.com/t/radio-button-observe-field-only-triggers-once/137851 "2008-08-07T11:52:59Z")

</div>

Hi, If i add field observers to radio button fields they trigger once but then nothing after that. I have multiple fields in a form that i need to know if one of them changes and which spedific field. Below is an e…

---

## [Versione Rails 2.0](https://www.ruby-forum.com/t/versione-rails-2-0/135220)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 7\
**Last updated:** [April 22, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/versione-rails-2-0/135220 "2008-04-22T18:30:11Z")

</div>

Ho sviluppato varie applicazioni rails tra cui un paio sono ancora alla versione vecchia (1.6 mi pare cmq precedenti alla 2.0). Aggiornando il mio mac alla 2.0 le applicazioni in esame non riesco piÃ¹ a “farle girare”…

---

## [Autoinstall gems](https://www.ruby-forum.com/t/autoinstall-gems/131791)

<div class="topic-metadata">

**Author:** [@S2S2S2](https://www.ruby-forum.com/u/S2S2S2)\
**Replies:** 7\
**Last updated:** [March 16, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/autoinstall-gems/131791 "2008-03-16T17:27:36Z")

</div>

Is there a way to autoinstall a gem when it is “required” in an .rb file? say I have: #!/usr/bin/ruby require ‘rubygems’ require ‘HOTP’ puts HOTP.new.calculate\_hotp(‘12345’, 1, 6) Is there a way to make rubygems a…

---

## [Wrong number of arguments (1 for 0)](https://www.ruby-forum.com/t/wrong-number-of-arguments-1-for-0/131451)

<div class="topic-metadata">

**Author:** [@simplydope](https://www.ruby-forum.com/u/simplydope)\
**Replies:** 7\
**Last updated:** [March 10, 2008, 9:47pm UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-1-for-0/131451 "2008-03-10T21:47:17Z")

</div>

I’m getting a wrong number of arguments (1 for 0) error. This happens when I attempt to login to my app. Also, I upgraded to Ruby 1.8.6, from 1.8.2 (i think) Heres the code: — login.rhtml \<% form\_tag do %\> …

---

## [Find](https://www.ruby-forum.com/t/find/116571)

<div class="topic-metadata">

**Author:** [@Bertram\_S](https://www.ruby-forum.com/u/Bertram_S)\
**Replies:** 7\
**Last updated:** [October 8, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/find/116571 "2007-10-08T16:28:53Z")

</div>

Hi, the Ruby built-in Find module lacks a lot of features the GNU find tools has. I wrote a new one (~170 lines). http://www.bertram-scharpf.de/tmp/find.rb Maybe somebody likes it. Bertram

---

## [Using SessionTimeout: which actions need session data?](https://www.ruby-forum.com/t/using-sessiontimeout-which-actions-need-session-data/86494)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 7\
**Last updated:** [February 23, 2007, 2:10am UTC](https://www.ruby-forum.com/t/using-sessiontimeout-which-actions-need-session-data/86494 "2007-02-23T02:10:55Z")

</div>

All, I’ve successfully implemented SessionTimeout. It works great. On a given request, assuming that the session has timed out, what I’d like to do is have my session timeout handler be smart enough to determine whi…

---

## [Metodo que no funciona en FireFox](https://www.ruby-forum.com/t/metodo-que-no-funciona-en-firefox/76885)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 7\
**Last updated:** [November 22, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/metodo-que-no-funciona-en-firefox/76885 "2006-11-22T22:29:53Z")

</div>

Buenas. Tengo un método en el helper general de la aplicación que me genera un efecto sobre una capa, algo así def close( i ) ‘ ’ + image\_tag( ‘close’, :size =\> ‘16x16’ ) + ‘\</ a\>’ end y desde la vista \<%= close(‘…

---

## [Associative arrays](https://www.ruby-forum.com/t/associative-arrays/50471)

<div class="topic-metadata">

**Author:** [@Spectre013](https://www.ruby-forum.com/u/Spectre013)\
**Replies:** 7\
**Last updated:** [December 18, 2005, 6:31am UTC](https://www.ruby-forum.com/t/associative-arrays/50471 "2005-12-18T06:31:34Z")

</div>

I just started playing with rails this week and am working on porting our existing website to rails in our navigation we have a list that has the days of the week that link to the articles for those days. this see…

---

## [Searching in a Tree-Navigation](https://www.ruby-forum.com/t/searching-in-a-tree-navigation/242337)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 17, 2015, 11:58am UTC](https://www.ruby-forum.com/t/searching-in-a-tree-navigation/242337 "2015-06-17T11:58:52Z")

</div>

Hello Everyone, i am currently researching with what way i can best develop a tree-hierarchy with a search function. So what i got: I got a hierarchical database with 13.000 datafields. Currently i ordered it like t…

---

## [Re: /usr/local/include/gnuradio/swig/gnuradio.i:31: Error: Unable to find 'gruel\_common.i'](https://www.ruby-forum.com/t/re-usr-local-include-gnuradio-swig-gnuradio-i-error-unable-to-find-gruel-common-i/220313)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 6, 2012, 7:32pm UTC](https://www.ruby-forum.com/t/re-usr-local-include-gnuradio-swig-gnuradio-i-error-unable-to-find-gruel-common-i/220313 "2012-06-06T19:32:23Z")

</div>

Thanks a lot Josh. I changed swigincludedir to swigincludedir = $(grincludedir)/swig -I/usr/local/include/gruel/swig Now I get these errors wlab@ubuntu:~/gr-ieee802-15-4$ make make all-recursive make\[1\]: Entering …

---

## [Nginx and tproxy](https://www.ruby-forum.com/t/nginx-and-tproxy/211875)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 15, 2011, 6:22pm UTC](https://www.ruby-forum.com/t/nginx-and-tproxy/211875 "2011-09-15T18:22:32Z")

</div>

Hi all: Can we let both work together? Anyone can share his experience with us if we want to integrate them？ thanks in advance george

---

## [Link\_to with raw included](https://www.ruby-forum.com/t/link-to-with-raw-included/202818)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 7, 2011, 1:34am UTC](https://www.ruby-forum.com/t/link-to-with-raw-included/202818 "2011-02-07T01:34:31Z")

</div>

I want to allow the path upload.img\_path in my link. upload.img\_path is a path to an image. \<%= raw upload.img\_path %\> correctly displays the image. But, I can’t figure out how to do this with a link. \<%= link\_to r…

---

## [Example of upload\_module for PHP fastcgi](https://www.ruby-forum.com/t/example-of-upload-module-for-php-fastcgi/174213)

<div class="topic-metadata">

**Author:** [@Oon\_Arfiandwi](https://www.ruby-forum.com/u/Oon_Arfiandwi)\
**Replies:** 2\
**Last updated:** [August 23, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/example-of-upload-module-for-php-fastcgi/174213 "2009-08-23T12:42:52Z")

</div>

Hi All, I’m new on nginx. I try to create upload application using PHP. I already configure ubuntu + nginx + php-fcgi + nginx\_upload\_module-2.0.9. is there any URL for nginx configuration sample of upload applicatio…

---

## [Ferret and capistrano, how to keep the indexes?](https://www.ruby-forum.com/t/ferret-and-capistrano-how-to-keep-the-indexes/106944)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 2\
**Last updated:** [June 15, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/ferret-and-capistrano-how-to-keep-the-indexes/106944 "2007-06-15T15:33:00Z")

</div>

Hi, i’m using capistrano to deploy the application, but every time i deploy it change all the directory, so i lost also the ferret’s indexes. Is it possible to keep them in order to prevent the reindex on each deploy? …

---

## [Process::GID.change\_privilege not changing groups properly?](https://www.ruby-forum.com/t/process-gid-change-privilege-not-changing-groups-properly/105834)

<div class="topic-metadata">

**Author:** [@uberkorp](https://www.ruby-forum.com/u/uberkorp)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 2:30pm UTC](https://www.ruby-forum.com/t/process-gid-change-privilege-not-changing-groups-properly/105834 "2007-06-05T14:30:26Z")

</div>

Hello. I am trying to use Process::GID.change\_privilege to get a root process to assume the full group permissions of a specified user. However, it seems that the process does not assume the proper group permissions o…

---

## [Standard Output](https://www.ruby-forum.com/t/standard-output/86983)

<div class="topic-metadata">

**Author:** [@davide\_a](https://www.ruby-forum.com/u/davide_a)\
**Replies:** 2\
**Last updated:** [February 27, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/standard-output/86983 "2007-02-27T16:48:15Z")

</div>

Is it available a module which write samples on unix standard output? Regards, Davide A. web: http://www.davideanastasia.com/ email: removed\_email\_address@domain.invalid

---

## [QT GUI Update Rates for Vector vs Number Sink](https://www.ruby-forum.com/t/qt-gui-update-rates-for-vector-vs-number-sink/241331)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [March 30, 2015, 2:41pm UTC](https://www.ruby-forum.com/t/qt-gui-update-rates-for-vector-vs-number-sink/241331 "2015-03-30T14:41:13Z")

</div>

My GRC flowgraph has a block that outputs a float and a vector of floats, at a rate of approx 1.49 updates per second. These go to a QT GUI Vector Sink and a QT GUI Number Sink. The number sink has a graph type of “No…

---

## [\[ANN\] jbundler-0.5.0 release](https://www.ruby-forum.com/t/ann-jbundler-0-5-0-release/236613)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 22, 2013, 1:29am UTC](https://www.ruby-forum.com/t/ann-jbundler-0-5-0-release/236613 "2013-09-22T01:29:26Z")

</div>

happy to announce jbundler-0.5.0 release new features: jbundle tree gives an overview of the dependency tree jbundle executable -b bootstrap.rb will pack all gems and jars along with jruby itself and creates an ex…

---

## [Validation not called on create, only update](https://www.ruby-forum.com/t/validation-not-called-on-create-only-update/220180)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 8\
**Last updated:** [June 4, 2012, 5:28pm UTC](https://www.ruby-forum.com/t/validation-not-called-on-create-only-update/220180 "2012-06-04T17:28:19Z")

</div>

I have a model, Work, that when I create a new instance with incorrect field data does not call the validation methods. When I update an existing instance with the same incorrect fields the validation methods are call…

---

## [Reference documentation to the python interface](https://www.ruby-forum.com/t/reference-documentation-to-the-python-interface/217661)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [March 8, 2012, 5:45pm UTC](https://www.ruby-forum.com/t/reference-documentation-to-the-python-interface/217661 "2012-03-08T17:45:53Z")

</div>

I’ve got a somewhat complete reference for the python interface of gnuradio radio done now. It can be found at: www.reynwar.net/gnuradio/sphinx/ Any suggestions on how we could improve these docs? I also have two qu…

---

## [Linq support in IronRuby](https://www.ruby-forum.com/t/linq-support-in-ironruby/202632)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 2, 2011, 10:10pm UTC](https://www.ruby-forum.com/t/linq-support-in-ironruby/202632 "2011-02-02T22:10:11Z")

</div>

Hi all, Anyone knows where the “101 examples of linq for rb” went? http://github.com/ironruby/ironruby/blob/master/Languages/Ruby/Samples/Linq/101samples.rb It is great news to know that this great project is moving a…

---

## [Map.resources :controller and form\_for](https://www.ruby-forum.com/t/map-resources-controller-and-form-for/175169)

<div class="topic-metadata">

**Author:** [@Perceptes](https://www.ruby-forum.com/u/Perceptes)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/map-resources-controller-and-form-for/175169 "2009-09-09T21:54:51Z")

</div>

I have a route like this: map.resources :blog, :controller =\> ‘posts’ This seems to confuse form\_for’s model introspection when using this syntax: form\_for @post do |f| … end When I go to a page that has that code, …

---

## [Non-association and pulling data from many models](https://www.ruby-forum.com/t/non-association-and-pulling-data-from-many-models/172719)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 8\
**Last updated:** [July 27, 2009, 6:26am UTC](https://www.ruby-forum.com/t/non-association-and-pulling-data-from-many-models/172719 "2009-07-27T06:26:33Z")

</div>

Here is my current model with the issue: class Virtual \< ActiveRecord::Base belongs\_to :team named\_scope :compiled\_this\_week, lambda { { :conditions =\> \[‘created\_at \> ? and created\_at \< ?’, Time.now.beginning\_of\_wee…

---

## [Test::unit](https://www.ruby-forum.com/t/test-unit/160580)

<div class="topic-metadata">

**Author:** [@jobber](https://www.ruby-forum.com/u/jobber)\
**Replies:** 8\
**Last updated:** [February 19, 2009, 8:34pm UTC](https://www.ruby-forum.com/t/test-unit/160580 "2009-02-19T20:34:53Z")

</div>

Hello, im trying since a few days with unit test. my problem is, i have write a test for 7 validates\_presence\_of and its ok. then i have write 2 validates\_uniqueness\_of and its ok. then i have write 1 test for valid…

---

## [Calling class methods from C](https://www.ruby-forum.com/t/calling-class-methods-from-c/158389)

<div class="topic-metadata">

**Author:** [@rambor](https://www.ruby-forum.com/u/rambor)\
**Replies:** 3\
**Last updated:** [January 22, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/calling-class-methods-from-c/158389 "2009-01-22T20:36:08Z")

</div>

Hello, I’m trying to call a class method from C. I’ve tried all combinations of rb\_intern I could think of to make it work, but I’ve gotten nothing. Example class class CallTest def go (do something here) end end …

---

## [Ruby and XSLT](https://www.ruby-forum.com/t/ruby-and-xslt/78863)

<div class="topic-metadata">

**Author:** [@Derek\_Mahar](https://www.ruby-forum.com/u/Derek_Mahar)\
**Replies:** 8\
**Last updated:** [May 21, 2008, 12:18am UTC](https://www.ruby-forum.com/t/ruby-and-xslt/78863 "2008-05-21T00:18:07Z")

</div>

What Ruby libraries are available to parse and process XSLT? How does each of these libraries compare to Apache Xalan for Java? Derek

---

## [Ruby and object paradigm](https://www.ruby-forum.com/t/ruby-and-object-paradigm/135558)

<div class="topic-metadata">

**Author:** [@andres](https://www.ruby-forum.com/u/andres)\
**Replies:** 8\
**Last updated:** [April 23, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/ruby-and-object-paradigm/135558 "2008-04-23T23:26:09Z")

</div>

Hi ruby list, I´m a smalltalk developer and now i’m beginning with Ruby. I found words like “puts” on the ruby syntax that i don´t understand. The basic object paradigm formula is “receiver + message”, an emisor send…

---

## [Every controller has to be ended with \_controller?](https://www.ruby-forum.com/t/every-controller-has-to-be-ended-with-controller/128345)

<div class="topic-metadata">

**Author:** [@andreh](https://www.ruby-forum.com/u/andreh)\
**Replies:** 8\
**Last updated:** [February 7, 2008, 5:32pm UTC](https://www.ruby-forum.com/t/every-controller-has-to-be-ended-with-controller/128345 "2008-02-07T17:32:22Z")

</div>

Hi there, I’m thinking here about this, if the controller are located inside the controllers folder, why should we name them with \_controller at the end? it’ll screw with the routing system if we get the ‘\_controller’…

---

## [Newbie Questions](https://www.ruby-forum.com/t/newbie-questions/126564)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 3\
**Last updated:** [January 20, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/newbie-questions/126564 "2008-01-20T17:08:46Z")

</div>

Hi, I’ve created a rails application (cms/ecommerce) and want to be able to create multiple instances of it, but keep one svn repo. The back-end will stay the same, the front-end will change based on the clients need…

---

## [NASTY bug](https://www.ruby-forum.com/t/nasty-bug/119695)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 3\
**Last updated:** [November 10, 2007, 2:04am UTC](https://www.ruby-forum.com/t/nasty-bug/119695 "2007-11-10T02:04:30Z")

</div>

Dear devs, I am trying to find a nasty bug in lib/raw/context/session/cookie.rb this file implements a cookie based session store, ie the session data is serialized to/from a cookie. for security we store both the …

---

## [Relaciones habtm dinÃ¡micas?](https://www.ruby-forum.com/t/relaciones-habtm-dina-micas/119663)

<div class="topic-metadata">

**Author:** [@fesplugas](https://www.ruby-forum.com/u/fesplugas)\
**Replies:** 8\
**Last updated:** [November 9, 2007, 11:04am UTC](https://www.ruby-forum.com/t/relaciones-habtm-dina-micas/119663 "2007-11-09T11:04:28Z")

</div>

Estoy desarrollando un “plugin” para generar la parte administrativa de mis aplicaciones Rails. Está bastante avanzado pero todavia hay una cosa que no me funciona y no se como solucionar. El plugin ha de poder genera…

---

## [How do you check for Current Page status?](https://www.ruby-forum.com/t/how-do-you-check-for-current-page-status/117900)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 8\
**Last updated:** [October 23, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/how-do-you-check-for-current-page-status/117900 "2007-10-23T14:46:48Z")

</div>

I’m incorporating a small navigation bar, and I’d like to highlight the current page’s navigation button. Is there any way to do this? I tried \<%= “class=‘current’” if current\_page?(page) %\> – but that will not work. …

---

## [UPS Shipping Tools XML Integration](https://www.ruby-forum.com/t/ups-shipping-tools-xml-integration/110892)

<div class="topic-metadata">

**Author:** [@kyle](https://www.ruby-forum.com/u/kyle)\
**Replies:** 3\
**Last updated:** [August 28, 2007, 12:02am UTC](https://www.ruby-forum.com/t/ups-shipping-tools-xml-integration/110892 "2007-08-28T00:02:37Z")

</div>

Hello! I’m relatively new to Rails and in over my head… I’d like to integrate the XML UPS Shipping tools into an online cart so that a user can select a shipping method based on availability and price. I understand …

---

## [Connecting to postgres](https://www.ruby-forum.com/t/connecting-to-postgres/87087)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 8\
**Last updated:** [February 28, 2007, 11:15am UTC](https://www.ruby-forum.com/t/connecting-to-postgres/87087 "2007-02-28T11:15:50Z")

</div>

Hello everyone! Please forgive my ignorance, am pretty new to rails. Am creating an application on rails framework that will use a legacy postgres database with about 119 tables and 121 sequences that define the prim…

---

## [Going to production soon, need server advice](https://www.ruby-forum.com/t/going-to-production-soon-need-server-advice/97557)

<div class="topic-metadata">

**Author:** [@igotimac](https://www.ruby-forum.com/u/igotimac)\
**Replies:** 8\
**Last updated:** [July 15, 2006, 1:07am UTC](https://www.ruby-forum.com/t/going-to-production-soon-need-server-advice/97557 "2006-07-15T01:07:16Z")

</div>

I’ve got a RoR app that will be going to production soon (in the next month or so) and would like to get some feedback on what kind of web server setup people have had good luck with. I’m looking for something that i…

---

## [Refactoring (#75)](https://www.ruby-forum.com/t/refactoring-75/57816)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 8\
**Last updated:** [April 17, 2006, 10:02pm UTC](https://www.ruby-forum.com/t/refactoring-75/57816 "2006-04-17T22:02:45Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

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

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