# Top

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

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

---

## [Forcing a DB transaction to go through](https://www.ruby-forum.com/t/forcing-a-db-transaction-to-go-through/174292)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 5\
**Last updated:** [August 26, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/forcing-a-db-transaction-to-go-through/174292 "2009-08-26T23:27:42Z")

</div>

This is the ‘sequel’ to this: http://www.ruby-forum.com/topic/193688 By ‘sequel’, I mean that this is actually the problem I am having. Aldric G. wrote: Okay, I finally got a clear look at the log, and it is indeed …

---

## [Use of Models - The Very Basics](https://www.ruby-forum.com/t/use-of-models-the-very-basics/169723)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 5\
**Last updated:** [June 8, 2009, 6:47pm UTC](https://www.ruby-forum.com/t/use-of-models-the-very-basics/169723 "2009-06-08T18:47:39Z")

</div>

Embarrassingly, I must admit that I have never understood models. I am hoping that with this post I can clear up a basic question that will allow me to get a toe-hold into understanding models. The basic question is…

---

## [STI updating the :type attribute of an STI instance](https://www.ruby-forum.com/t/sti-updating-the-type-attribute-of-an-sti-instance/153551)

<div class="topic-metadata">

**Author:** [@itkin](https://www.ruby-forum.com/u/itkin)\
**Replies:** 5\
**Last updated:** [November 19, 2008, 8:16pm UTC](https://www.ruby-forum.com/t/sti-updating-the-type-attribute-of-an-sti-instance/153551 "2008-11-19T20:16:25Z")

</div>

Hi ! i’ve different users subclasses organised thanks to STI under a user mother class, problem is that i can’t find a way to exchange a user form a certain type to an other , any light ??? class User \< ActiveRecord:…

---

## [Confusion At Failing Specs](https://www.ruby-forum.com/t/confusion-at-failing-specs/152836)

<div class="topic-metadata">

**Author:** [@rsl](https://www.ruby-forum.com/u/rsl)\
**Replies:** 5\
**Last updated:** [November 8, 2008, 2:35am UTC](https://www.ruby-forum.com/t/confusion-at-failing-specs/152836 "2008-11-08T02:35:03Z")

</div>

Can someone please explain to me why this spec fails it “should work” do template.stub!(:render) template.should\_receive(:render).with(:partial =\> “foo”) render @template\_with\_render\_partial\_foo end but this spec p…

---

## [How can I run a line of rails code within the "test.rb" environment file?](https://www.ruby-forum.com/t/how-can-i-run-a-line-of-rails-code-within-the-test-rb-environment-file/152672)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [November 6, 2008, 12:05pm UTC](https://www.ruby-forum.com/t/how-can-i-run-a-line-of-rails-code-within-the-test-rb-environment-file/152672 "2008-11-06T12:05:10Z")

</div>

Hi, How to I get a rails line of code that normally works within a rails mode, but but have it run within “test.rb” environment file. For example to get the following to run: RecurringType.create(:name =\> “TYPE\_BASI…

---

## [Spec'ing the existence of #require](https://www.ruby-forum.com/t/specing-the-existence-of-require/147339)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 5\
**Last updated:** [August 31, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/specing-the-existence-of-require/147339 "2008-08-31T22:00:23Z")

</div>

I looked through the mailing list archive but unfortunately my search terms are too generic (spec and require…). I am writing ruby code that runs under jruby in an embedded environment. Periodically I will install new…

---

## [Running an executable local file with a Ruby script?](https://www.ruby-forum.com/t/running-an-executable-local-file-with-a-ruby-script/146737)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 5\
**Last updated:** [August 24, 2008, 11:55pm UTC](https://www.ruby-forum.com/t/running-an-executable-local-file-with-a-ruby-script/146737 "2008-08-24T23:55:57Z")

</div>

I’m having a lot of problems just running an executable local file with a Ruby script. I go to the directory with the file (call the executable file ‘mkplots’), then try to run that file. I’ve tried all sorts of syst…

---

## [Imageupload through REST Webservice](https://www.ruby-forum.com/t/imageupload-through-rest-webservice/136723)

<div class="topic-metadata">

**Author:** [@sigma](https://www.ruby-forum.com/u/sigma)\
**Replies:** 5\
**Last updated:** [May 6, 2008, 9:45am UTC](https://www.ruby-forum.com/t/imageupload-through-rest-webservice/136723 "2008-05-06T09:45:47Z")

</div>

Hi together I need a REST webservices, through which I can upload pictures from a .NET client Desktop-Tool. Here the “upload”-code-snipped from the .NET client tool: … Dim imageBytes() As Byte imageBytes = ImageHel…

---

## [Twitter leaving rails](https://www.ruby-forum.com/t/twitter-leaving-rails/136433)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 5\
**Last updated:** [May 2, 2008, 6:29am UTC](https://www.ruby-forum.com/t/twitter-leaving-rails/136433 "2008-05-02T06:29:44Z")

</div>

this is sure to shake up the rails community hard, mainly b/c people love using Twitter as the RoR prototype to make people feel comfortable. I think its a lot of overhype against RoR but it is what is is, we will …

---

## [ReST PUT with multiple records](https://www.ruby-forum.com/t/rest-put-with-multiple-records/118584)

<div class="topic-metadata">

**Author:** [@magpie](https://www.ruby-forum.com/u/magpie)\
**Replies:** 5\
**Last updated:** [December 5, 2007, 2:43pm UTC](https://www.ruby-forum.com/t/rest-put-with-multiple-records/118584 "2007-12-05T14:43:37Z")

</div>

I’m writing a Flex/ReST/Rails app and I currently do a GET on /customers/123/licences.xml to get the licences for customer 123. This works fine. Now, after updating one or more licences, I wish to update (PUT) the lic…

---

## [Just need help on what book to buy for ruby](https://www.ruby-forum.com/t/just-need-help-on-what-book-to-buy-for-ruby/116128)

<div class="topic-metadata">

**Author:** [@newrubyuser](https://www.ruby-forum.com/u/newrubyuser)\
**Replies:** 5\
**Last updated:** [October 3, 2007, 3:02am UTC](https://www.ruby-forum.com/t/just-need-help-on-what-book-to-buy-for-ruby/116128 "2007-10-03T03:02:44Z")

</div>

Guys Im trying to do some ruby on rails stuff for interfaceing with some unix commands from a ui. Im using the streamlined framework and it creates everything i need for the ui side but im having problems trying to c…

---

## [Count \<li\> items in div, RJS](https://www.ruby-forum.com/t/count-li-items-in-div-rjs/115172)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 5\
**Last updated:** [September 23, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/count-li-items-in-div-rjs/115172 "2007-09-23T12:29:10Z")

</div>

Hello, How i can count items in div using RJS? one two three \<%= link\_to\_remote.......ADD %\> and in add action i want to add new li item with unique ID and get 's elements count? Thanks

---

## [Best rich text editor and date/time picker control in RoR?](https://www.ruby-forum.com/t/best-rich-text-editor-and-date-time-picker-control-in-ror/106903)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 5\
**Last updated:** [July 9, 2007, 12:59pm UTC](https://www.ruby-forum.com/t/best-rich-text-editor-and-date-time-picker-control-in-ror/106903 "2007-07-09T12:59:51Z")

</div>

Hello, I am wondering which are the best rich text editor and date/time picker control in Ruby on Rails? Any idea…? Thanks Chamnap

---

## [Gr\_delay Is Not Working](https://www.ruby-forum.com/t/gr-delay-is-not-working/106423)

<div class="topic-metadata">

**Author:** [@EngSFiras](https://www.ruby-forum.com/u/EngSFiras)\
**Replies:** 5\
**Last updated:** [June 10, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/gr-delay-is-not-working/106423 "2007-06-10T20:50:56Z")

</div>

Hi, I tried to use gr\_delay. It seems that it does not work at all. Does any body used it before and it worked out? Firas View this message in context: http://www.nabble.com/gr\_delay-Is-Not-Working-tf3896510.html#a1…

---

## [Inability to do a redirect\_to when an ajax call is made duri](https://www.ruby-forum.com/t/inability-to-do-a-redirect-to-when-an-ajax-call-is-made-duri/88253)

<div class="topic-metadata">

**Author:** [@dan\_kuwachi](https://www.ruby-forum.com/u/dan_kuwachi)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/inability-to-do-a-redirect-to-when-an-ajax-call-is-made-duri/88253 "2007-03-09T15:03:09Z")

</div>

I have before\_filters set up doing authentication. In my before\_filters, I have some code that expires idle sessions when a controller action happens, and when it meets the idle criteria i do a :redirect to the login…

---

## [Is it possible to set the cache extension dynamically?](https://www.ruby-forum.com/t/is-it-possible-to-set-the-cache-extension-dynamically/85822)

<div class="topic-metadata">

**Author:** [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Replies:** 5\
**Last updated:** [February 16, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-set-the-cache-extension-dynamically/85822 "2007-02-16T18:25:39Z")

</div>

I want to cache images I have in the database along with the html that is being put out. But the only way I have encountered to alter the cache extension from the default “.html” is to add ActionController::Base.page…

---

## [Markaby and rails 1.2](https://www.ruby-forum.com/t/markaby-and-rails-1-2/84638)

<div class="topic-metadata">

**Author:** [@peterbe](https://www.ruby-forum.com/u/peterbe)\
**Replies:** 5\
**Last updated:** [February 6, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/markaby-and-rails-1-2/84638 "2007-02-06T21:04:06Z")

</div>

Hi, has anyone used Markaby and Rails 1.2 successfully together? Regards Peter

---

## [Image\_tag and Rails 1.2.1](https://www.ruby-forum.com/t/image-tag-and-rails-1-2-1/83677)

<div class="topic-metadata">

**Author:** [@jabo](https://www.ruby-forum.com/u/jabo)\
**Replies:** 5\
**Last updated:** [January 29, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/image-tag-and-rails-1-2-1/83677 "2007-01-29T22:01:48Z")

</div>

The following code from the view worked in Rails 1.1.6 \<%= image\_tag(url\_for(:action =\> ‘picture’, :id =\> article.picture\_id), :size =\> “110x”, :alt =\> article.picture.label) %\> Now it does not work anymore (under Rai…

---

## [Arrotondamenti](https://www.ruby-forum.com/t/arrotondamenti/81342)

<div class="topic-metadata">

**Author:** [@giovanni\_zangrillo](https://www.ruby-forum.com/u/giovanni_zangrillo)\
**Replies:** 5\
**Last updated:** [January 8, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/arrotondamenti/81342 "2007-01-08T16:48:05Z")

</div>

Ciao a tutti, ho una percentuale che to\_f mi mostra con 10 cifre dopo la virgola. A me basterebbe visualizzarla con le sole prime due cifre dopo la virgola. Es. 93.8154789123% vorrei vederla come 93.81%. Qualcuno sa c…

---

## [REST, sessions, authentication](https://www.ruby-forum.com/t/rest-sessions-authentication/77127)

<div class="topic-metadata">

**Author:** [@mattias](https://www.ruby-forum.com/u/mattias)\
**Replies:** 5\
**Last updated:** [November 27, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/rest-sessions-authentication/77127 "2006-11-27T14:20:45Z")

</div>

Hello! I have been trying to read up on this REST stuff that everyone is talking about. :slight\_smile: It all seems very nice, but I can’t seem to handle user sessions and still have pretty URLs. Perhaps someone here …

---

## [(more of a rails question)](https://www.ruby-forum.com/t/more-of-a-rails-question/69616)

<div class="topic-metadata">

**Author:** [@Steven\_N](https://www.ruby-forum.com/u/Steven_N)\
**Replies:** 5\
**Last updated:** [September 22, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/more-of-a-rails-question/69616 "2006-09-22T16:37:33Z")

</div>

Hi all, as I said in the subject. My idea was to develop a website on my laptop using sqlite, and then move into production on a different system afterwards, presumably using MySQL. Is this feasible using rake and it…

---

## [Tagging?](https://www.ruby-forum.com/t/tagging/101768)

<div class="topic-metadata">

**Author:** [@cvcomp](https://www.ruby-forum.com/u/cvcomp)\
**Replies:** 5\
**Last updated:** [August 7, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/tagging/101768 "2006-08-07T22:16:16Z")

</div>

Has nyone succesfully implemented a tagging system for Radiant?

---

## [Getting a list of aliases](https://www.ruby-forum.com/t/getting-a-list-of-aliases/63072)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 5\
**Last updated:** [June 13, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/getting-a-list-of-aliases/63072 "2006-06-13T18:54:55Z")

</div>

Hi all, Is there a way to get a list of instance method aliases somehow? Hypothetical syntax Array.instance\_method\_aliases # \[‘size’, ‘map’, …\] If not, I think it would be a nice little bit of extra inspection I coul…

---

## [How to access a classes private method](https://www.ruby-forum.com/t/how-to-access-a-classes-private-method/95281)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 5\
**Last updated:** [May 26, 2006, 3:26pm UTC](https://www.ruby-forum.com/t/how-to-access-a-classes-private-method/95281 "2006-05-26T15:26:57Z")

</div>

I’m trying to call a classes protected method but I can’t seem to get it to work. Here’s an example of the method I’m trying to call moule Foo Class Bar protected def bars\_method(a=2) a end end end Here’s what…

---

## [File and directory layout below app/models](https://www.ruby-forum.com/t/file-and-directory-layout-below-app-models/94787)

<div class="topic-metadata">

**Author:** [@martin-ga](https://www.ruby-forum.com/u/martin-ga)\
**Replies:** 5\
**Last updated:** [May 14, 2006, 11:15pm UTC](https://www.ruby-forum.com/t/file-and-directory-layout-below-app-models/94787 "2006-05-14T23:15:08Z")

</div>

I am posting this again with Subject “\[Rails\] …” in order to be caught by inbox filters :slight\_smile: Hiall, Is it possible to organize my model files below app/models into subfolders? E.g. I would like to put admin…

---

## [Integrating with Legacy Databases](https://www.ruby-forum.com/t/integrating-with-legacy-databases/58363)

<div class="topic-metadata">

**Author:** [@jim-harris](https://www.ruby-forum.com/u/jim-harris)\
**Replies:** 5\
**Last updated:** [April 21, 2006, 12:14am UTC](https://www.ruby-forum.com/t/integrating-with-legacy-databases/58363 "2006-04-21T00:14:22Z")

</div>

This seems like it must have been asked before - I really did try to find it in the archives, so my apologies if it’s already out there. Utilizing ActiveRecord, I would like to specify a prefix for the column names in…

---

## [Multiple "has" in ActiveRecord](https://www.ruby-forum.com/t/multiple-has-in-activerecord/57490)

<div class="topic-metadata">

**Author:** [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Replies:** 5\
**Last updated:** [April 14, 2006, 5:47pm UTC](https://www.ruby-forum.com/t/multiple-has-in-activerecord/57490 "2006-04-14T17:47:16Z")

</div>

Please excuse a newbie question, but I couldn’t find anything by searching the archives. What I want to know is how to have multiple references to the same class/table within a class. For example, let’s say I have a t…

---

## [Firefox and IE performance with Rails App](https://www.ruby-forum.com/t/firefox-and-ie-performance-with-rails-app/69333)

<div class="topic-metadata">

**Author:** [@giaco](https://www.ruby-forum.com/u/giaco)\
**Replies:** 5\
**Last updated:** [February 17, 2006, 4:38pm UTC](https://www.ruby-forum.com/t/firefox-and-ie-performance-with-rails-app/69333 "2006-02-17T16:38:22Z")

</div>

In my rails application, certain computers were having huge problems. There were certain pages that were exceptionally slow, even to the point of timing out. Other computers did not have a problem. I finally found tha…

---

## [Best Environment for development](https://www.ruby-forum.com/t/best-environment-for-development/51188)

<div class="topic-metadata">

**Author:** [@skywriter](https://www.ruby-forum.com/u/skywriter)\
**Replies:** 5\
**Last updated:** [December 29, 2005, 2:01am UTC](https://www.ruby-forum.com/t/best-environment-for-development/51188 "2005-12-29T02:01:44Z")

</div>

This is a newb question, and probably one that is a matter of taste more than objective merit. I’m working on a home server, running Linux \[FC 4\], hosting a website \[look for generocities.com shortly\]. I have a deligh…

---

## [\[Sydney to London\] Join an Australian media intelligence startup expanding to the UK!](https://www.ruby-forum.com/t/sydney-to-london-join-an-australian-media-intelligence-startup-expanding-to-the-uk/252244)

<div class="topic-metadata">

**Author:** [@asabourin](https://www.ruby-forum.com/u/asabourin)\
**Replies:** 0\
**Last updated:** [April 11, 2019, 7:30am UTC](https://www.ruby-forum.com/t/sydney-to-london-join-an-australian-media-intelligence-startup-expanding-to-the-uk/252244 "2019-04-11T07:30:34Z")

</div>

Hi everyone, we’re a Sydney-based startup providing Print/Online/TV/Radio/Social media monitoring and insights in real-time for the Australian market and now expanding in the UK. The platform is primarily built with Rub…

---

## [rbenv: ruby: command not found The \`ruby' command exists in these Ruby versions: 2.5.1](https://www.ruby-forum.com/t/rbenv-ruby-command-not-found-the-ruby-command-exists-in-these-ruby-versions-2-5-1/247680)

<div class="topic-metadata">

**Author:** [@aysha](https://www.ruby-forum.com/u/aysha)\
**Replies:** 0\
**Last updated:** [October 8, 2018, 4:59pm UTC](https://www.ruby-forum.com/t/rbenv-ruby-command-not-found-the-ruby-command-exists-in-these-ruby-versions-2-5-1/247680 "2018-10-08T16:59:33Z")

</div>

I installed ruby 2.5.1 and rail 5.2.1 on CentOS7 . I have an existing rail project which is 3.2.13. Now the existing rail project does not run in my local environment. I create a new project on rail and it runs \[root@…

---

## [POSIZIONE Ruby on Rails Developer - MILANO](https://www.ruby-forum.com/t/posizione-ruby-on-rails-developer-milano/244343)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 24, 2016, 10:42am UTC](https://www.ruby-forum.com/t/posizione-ruby-on-rails-developer-milano/244343 "2016-03-24T10:42:52Z")

</div>

Ciao Ragazzi, sto cercando uno sviluppatore Ruby on Rails per una posizione su Milano. Di seguito trovate la Job Description: https://hivejobs.com/job\_post/ruby\_on\_rails\_developer-1966 Non esitate a contattarmi per q…

---

## [Help running programs from Mac Desktop in Terminal](https://www.ruby-forum.com/t/help-running-programs-from-mac-desktop-in-terminal/242273)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 12, 2015, 5:56pm UTC](https://www.ruby-forum.com/t/help-running-programs-from-mac-desktop-in-terminal/242273 "2015-06-12T17:56:37Z")

</div>

I am new to Ruby. My version is 2.0. I am running on Yosemite OSx. What I am trying to do is a write a program in the text editor, save it in .rb format, and run that program using the terminal on Mac. I made a simple…

---

## [\[ruby-trunk - Bug #8790\]\[Open\] r41424 以降、Solaris と gdbm 1.1.10 にて TestGDBM#test\_s\_open\_lock が終わらない](https://www.ruby-forum.com/t/ruby-trunk-bug-8790-open-r41424-solaris-gdbm-1-1-10-testgdbm-test-s-open-lock/236233)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 12, 2014, 6:09am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8790-open-r41424-solaris-gdbm-1-1-10-testgdbm-test-s-open-lock/236233 "2014-08-12T06:09:00Z")

</div>

Issue #8790 has been reported by ngoto (Naohisa G.). Bug #8790: r41424 以降、Solaris と gdbm 1.1.10 にて TestGDBM#test\_s\_open\_lock が終わらない Author: ngoto (Naohisa G.) Status: Open Priority: Normal Assignee: nobu (Nobuyos…

---

## [Using the GRUEL msg\_queue](https://www.ruby-forum.com/t/using-the-gruel-msg-queue/228484)

<div class="topic-metadata">

**Author:** [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Replies:** 2\
**Last updated:** [May 7, 2013, 7:34pm UTC](https://www.ruby-forum.com/t/using-the-gruel-msg-queue/228484 "2013-05-07T19:34:57Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [ActiveRecord callback chain exception?](https://www.ruby-forum.com/t/activerecord-callback-chain-exception/226746)

<div class="topic-metadata">

**Author:** [@craayzie](https://www.ruby-forum.com/u/craayzie)\
**Replies:** 2\
**Last updated:** [February 21, 2013, 3:18am UTC](https://www.ruby-forum.com/t/activerecord-callback-chain-exception/226746 "2013-02-21T03:18:15Z")

</div>

I’m creating an ActiveRecord object A and want to update object B during the process even if the creation of object A is rolled back due to a before\_create callback returning false. Is there a way for me to do this? I…

---

## [How to perform validation prior to creating a new association between records?](https://www.ruby-forum.com/t/how-to-perform-validation-prior-to-creating-a-new-association-between-records/225371)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 4, 2013, 10:21am UTC](https://www.ruby-forum.com/t/how-to-perform-validation-prior-to-creating-a-new-association-between-records/225371 "2013-01-04T10:21:35Z")

</div>

Hi, I’m trying to figure out the correct “Rails” way to perform validation prior to creating a new assocation between my models. Here’s the models: class User \< ActiveRecord::Base has\_and\_belongs\_to\_many :roles has\_…

---

## [Windows JRuby 1.6.7 win32-api build error](https://www.ruby-forum.com/t/windows-jruby-1-6-7-win32-api-build-error/217510)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 6, 2012, 12:24am UTC](https://www.ruby-forum.com/t/windows-jruby-1-6-7-win32-api-build-error/217510 "2012-03-06T00:24:32Z")

</div>

I’m trying to install the watir gem on windows 7. The win32-api gem fails to build. I think the RubyInstaller devkit is properly installed and referenced from JRuby. The JRuby 1.6.7 release give me hope that watir is …

---

## [Nagios served by NginX](https://www.ruby-forum.com/t/nagios-served-by-nginx/201114)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 30, 2010, 6:06pm UTC](https://www.ruby-forum.com/t/nagios-served-by-nginx/201114 "2010-12-30T18:06:32Z")

</div>

Can some one please help me setting up Nagios on NginX. I installed spawn-fcgi and fcgiwrap in Ubuntu, and I have Nagios 3.2.3 installed in /opt/nagios. So I have the two folders: /opt/nagios/share for web files, and …

---

## [SSI not evaluated in memcache response](https://www.ruby-forum.com/t/ssi-not-evaluated-in-memcache-response/184877)

<div class="topic-metadata">

**Author:** [@xguardiola](https://www.ruby-forum.com/u/xguardiola)\
**Replies:** 2\
**Last updated:** [March 10, 2010, 9:27am UTC](https://www.ruby-forum.com/t/ssi-not-evaluated-in-memcache-response/184877 "2010-03-10T09:27:40Z")

</div>

Hello all, I’m having trouble to have an SSI call beeing evaluated once cached in memecache. For instance. When I call the first time the page ‘/test/’ which produce the following html: ‘’ the block is replaced b…

---

## [Installing to local dir](https://www.ruby-forum.com/t/installing-to-local-dir/182683)

<div class="topic-metadata">

**Author:** [@pmatos](https://www.ruby-forum.com/u/pmatos)\
**Replies:** 2\
**Last updated:** [February 12, 2010, 1:08pm UTC](https://www.ruby-forum.com/t/installing-to-local-dir/182683 "2010-02-12T13:08:30Z")

</div>

Hi, I got: ruby-gnome2-all-0.19.3, however I don’t have root privileges so I have to install in my home dir usually under ~/local. Which option do I have to set to do this? Usually is by passing --prefix to configure,…

---

## [IronRuby issues with arrays of System::Type](https://www.ruby-forum.com/t/ironruby-issues-with-arrays-of-system-type/176758)

<div class="topic-metadata">

**Author:** [@Martin\_Smith](https://www.ruby-forum.com/u/Martin_Smith)\
**Replies:** 2\
**Last updated:** [October 6, 2009, 1:52am UTC](https://www.ruby-forum.com/t/ironruby-issues-with-arrays-of-system-type/176758 "2009-10-06T01:52:03Z")

</div>

Hello, If i run the following code: a = System::Array\[System::Type\].new(5) a\[0\] I get an invocation error. However, if I instead on the second line type: a.get\_value(0) I get nil back as expected. Is this a bug w…

---

## [Timestamp vs datetime](https://www.ruby-forum.com/t/timestamp-vs-datetime/171496)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 2\
**Last updated:** [July 3, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/timestamp-vs-datetime/171496 "2009-07-03T16:25:55Z")

</div>

Bonjour à tous, J’utilise souvent t.timestamps dans les migrations qui génerent des datetime (avec mysql). Aujourd’hui, j’aimerais vous demander les avantages/inconvénients d’utiliser des “datetime” plutôt que des “t…

---

## [\[qt\] - connect signal with my method](https://www.ruby-forum.com/t/qt-connect-signal-with-my-method/170405)

<div class="topic-metadata">

**Author:** [@demas](https://www.ruby-forum.com/u/demas)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/qt-connect-signal-with-my-method/170405 "2009-06-17T14:05:36Z")

</div>

Hi all, I’m trying to connect signal with the method of my class. If the method doesn’t have any arguments I have not the problems. But I couldn’t find any solution to pass argument to my method. This is my code: c…

---

## [How to get value from view?](https://www.ruby-forum.com/t/how-to-get-value-from-view/169753)

<div class="topic-metadata">

**Author:** [@vikas](https://www.ruby-forum.com/u/vikas)\
**Replies:** 2\
**Last updated:** [June 8, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/how-to-get-value-from-view/169753 "2009-06-08T22:51:05Z")

</div>

Hello all, I have following problem, I have a view called “new\_sub\_type.html.haml” and controller “SubscriptionTypes”. In this view i’m showing a dropdown list of subscription types. When user submit form, I show an…

---

## [Error loading fixture with serialized field - undefined method \`key?'](https://www.ruby-forum.com/t/error-loading-fixture-with-serialized-field-undefined-method-key/169467)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [June 6, 2009, 1:26am UTC](https://www.ruby-forum.com/t/error-loading-fixture-with-serialized-field-undefined-method-key/169467 "2009-06-06T01:26:52Z")

</div>

Hi all, I’m hoping some kind person out there can help me understand what I’m doing wrong… I have a user model, which has two serialized fields- class User \< ActiveRecord::Base acts\_as\_authentic :validate\_email\_fiel…

---

## [TkTable](https://www.ruby-forum.com/t/tktable/141575)

<div class="topic-metadata">

**Author:** [@ponravikumar](https://www.ruby-forum.com/u/ponravikumar)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 10:51am UTC](https://www.ruby-forum.com/t/tktable/141575 "2008-06-27T10:51:36Z")

</div>

Hi, I am new to Ruby. I would like to crete a table using Tk gui. I areated the gui with some other components like Button and Text Field. Is there need any require statement for the using Tktable? I want some tips…

---

## [Erubis 2.4.1 released - a fast and extensible eRuby implemen](https://www.ruby-forum.com/t/erubis-2-4-1-released-a-fast-and-extensible-eruby-implemen/115413)

<div class="topic-metadata">

**Author:** [@kwatch](https://www.ruby-forum.com/u/kwatch)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/erubis-2-4-1-released-a-fast-and-extensible-eruby-implemen/115413 "2007-09-25T14:31:24Z")

</div>

Hi all, I have released Erubis 2.4.1. http://www.kuwata-lab.com/erubis/ Erubis is another eRuby implementation which is very fast and extensible than ERB and eruby. This is a bugfix release. enhancements: - | Ad…

---

## [How to timeout a system call](https://www.ruby-forum.com/t/how-to-timeout-a-system-call/108339)

<div class="topic-metadata">

**Author:** [@jordi](https://www.ruby-forum.com/u/jordi)\
**Replies:** 2\
**Last updated:** [July 13, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/how-to-timeout-a-system-call/108339 "2007-07-13T17:40:15Z")

</div>

Hi, I would like to stop a system call after a timeout, but doing so with the Timeout library does not kill the process, and the process keeps running. I think the problem is the system call does a Process.fork and n…

---

## [More edge rails compatability](https://www.ruby-forum.com/t/more-edge-rails-compatability/103162)

<div class="topic-metadata">

**Author:** [@James\_Nelson](https://www.ruby-forum.com/u/James_Nelson)\
**Replies:** 2\
**Last updated:** [May 5, 2007, 9:11am UTC](https://www.ruby-forum.com/t/more-edge-rails-compatability/103162 "2007-05-05T09:11:25Z")

</div>

in theme\_helper.rb, line 17 (in typo 4.1), @base\_path needs to be replaced with @view\_paths\[0\] I don’t know if this is the best way to do it, but it works.

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

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