# Top

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

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

---

## [Parse\_input exception when gem is executed in a different directory](https://www.ruby-forum.com/t/parse-input-exception-when-gem-is-executed-in-a-different-directory/162648)

<div class="topic-metadata">

**Author:** [@skiz](https://www.ruby-forum.com/u/skiz)\
**Replies:** 5\
**Last updated:** [March 14, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/parse-input-exception-when-gem-is-executed-in-a-different-directory/162648 "2009-03-14T19:47:18Z")

</div>

Hi, This exception completely baffles me. I am working with autotest to make it JRuby compatible. So I have the trunk checked out and when I execute it from the local directory it runs fine. But, when I copy it to…

---

## [Typo install problem - what is plug in 'all'?](https://www.ruby-forum.com/t/typo-install-problem-what-is-plug-in-all/151731)

<div class="topic-metadata">

**Author:** [@javent](https://www.ruby-forum.com/u/javent)\
**Replies:** 5\
**Last updated:** [October 28, 2008, 6:25am UTC](https://www.ruby-forum.com/t/typo-install-problem-what-is-plug-in-all/151731 "2008-10-28T06:25:24Z")

</div>

Warning: I am a newbie ROR I am trying to install the Typo blog s/w. I ahve extracted the zip file frim RubyForge and am trying to set it up with ‘rake’. But I get the following error message: C:\\ROR\\rails\_apps\\typo1\>…

---

## [Autotest/RSpec 1.1.4/Rails 2.1 Infinite Loop?](https://www.ruby-forum.com/t/autotest-rspec-1-1-4-rails-2-1-infinite-loop/139404)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 5\
**Last updated:** [June 19, 2008, 7:39pm UTC](https://www.ruby-forum.com/t/autotest-rspec-1-1-4-rails-2-1-infinite-loop/139404 "2008-06-19T19:39:58Z")

</div>

I just got back from RailsConf, and upgraded on of my development apps to 2.1, and now autotest is going into an infinite loop. It runs tests continuously instead of waiting for files to be saved before rerunning. Has…

---

## [Suggest alternatives for Facets paramix?](https://www.ruby-forum.com/t/suggest-alternatives-for-facets-paramix/133486)

<div class="topic-metadata">

**Author:** [@igotimac](https://www.ruby-forum.com/u/igotimac)\
**Replies:** 5\
**Last updated:** [April 7, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/suggest-alternatives-for-facets-paramix/133486 "2008-04-07T21:45:25Z")

</div>

I Can’t seem to find any documentation or explanation as to why paramix has been forcibly deprecated from facets: http://facets.rubyforge.org/doc/changes.html And apparently that lack of documentation means not too m…

---

## [How do Rakefiles "know" about built-in Rake methods?](https://www.ruby-forum.com/t/how-do-rakefiles-know-about-built-in-rake-methods/84304)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 5\
**Last updated:** [February 3, 2007, 6:05am UTC](https://www.ruby-forum.com/t/how-do-rakefiles-know-about-built-in-rake-methods/84304 "2007-02-03T06:05:59Z")

</div>

I’m looking into a way to let business users write functional tests in rails, and I wanted to have my functional test file load an external file to supply the body of a method. It occurs to me that Rake must have sol…

---

## [Errors in the wiki](https://www.ruby-forum.com/t/errors-in-the-wiki/69065)

<div class="topic-metadata">

**Author:** [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Replies:** 5\
**Last updated:** [September 18, 2006, 3:21pm UTC](https://www.ruby-forum.com/t/errors-in-the-wiki/69065 "2006-09-18T15:21:48Z")

</div>

How do I report errors in the wiki?

---

## [Using helper method of another model](https://www.ruby-forum.com/t/using-helper-method-of-another-model/57040)

<div class="topic-metadata">

**Author:** [@r00by\_n00by](https://www.ruby-forum.com/u/r00by_n00by)\
**Replies:** 5\
**Last updated:** [April 7, 2006, 12:04am UTC](https://www.ruby-forum.com/t/using-helper-method-of-another-model/57040 "2006-04-07T00:04:14Z")

</div>

I have a template that belongs to a certain model (model A). I need to call a helper method of a different model (model B). Then I need the helper method of B to call a helper method of model C. I tried using “include…

---

## [Two foreign keys on the same column?](https://www.ruby-forum.com/t/two-foreign-keys-on-the-same-column/75967)

<div class="topic-metadata">

**Author:** [@justinskolnick](https://www.ruby-forum.com/u/justinskolnick)\
**Replies:** 5\
**Last updated:** [March 3, 2006, 11:26pm UTC](https://www.ruby-forum.com/t/two-foreign-keys-on-the-same-column/75967 "2006-03-03T23:26:24Z")

</div>

Let’s say I have three hypothetical MySQL tables: â?¢ people, with columns id, gender, and source\_id belongs\_to :boys and :girls â?¢ boys, with columns id and name has\_many :people â?¢ girls, with columns id and nam…

---

## [PST/PDT with DateTime.parse](https://www.ruby-forum.com/t/pst-pdt-with-datetime-parse/245043)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 30, 2016, 11:41am UTC](https://www.ruby-forum.com/t/pst-pdt-with-datetime-parse/245043 "2016-08-30T11:41:31Z")

</div>

Hey, I want to be able to parse a date string which might be in PST or PDT according to daylight savings. This means that half a year the date will be PST and the other half the date will be PDT. This is my code now: …

---

## [Object allocation during garbage collection phase when compile asset](https://www.ruby-forum.com/t/object-allocation-during-garbage-collection-phase-when-compile-asset/241848)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 5, 2015, 5:02pm UTC](https://www.ruby-forum.com/t/object-allocation-during-garbage-collection-phase-when-compile-asset/241848 "2015-05-05T17:02:00Z")

</div>

Hi, We are using 2.2.2p95 and Rails 4 running on Ubuntu 14.04 LTS. When we compile assets, sometimes we get messages that looks like below. After looking at the version 2.2.2 change log (there are some changes in GC…

---

## [Set a PHP parameter for only one location](https://www.ruby-forum.com/t/set-a-php-parameter-for-only-one-location/241379)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 2, 2015, 10:41am UTC](https://www.ruby-forum.com/t/set-a-php-parameter-for-only-one-location/241379 "2015-04-02T10:41:57Z")

</div>

I have a “standard” location block for my php directives… Pass all .php files onto a php-fpm/php-fcgi server. location ~ .php$ { try\_files $uri =404; fastcgi\_split\_path\_info ^(.+.php)(/.+)$; include fastcgi\_params; …

---

## [Android app calling rails 4 APIs](https://www.ruby-forum.com/t/android-app-calling-rails-4-apis/233737)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 7, 2015, 8:26am UTC](https://www.ruby-forum.com/t/android-app-calling-rails-4-apis/233737 "2015-01-07T08:26:46Z")

</div>

Hello All, I have a Rails 4/Ruby 2 web application. There is an android app which will be calling Rails application APIs like Signin/Signout & others. What is the correct way to authenticate those request from the A…

---

## [\[Feature idea\] Truncating timestamp precision](https://www.ruby-forum.com/t/feature-idea-truncating-timestamp-precision/232373)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 6, 2014, 4:28pm UTC](https://www.ruby-forum.com/t/feature-idea-truncating-timestamp-precision/232373 "2014-10-06T16:28:24Z")

</div>

Hello. I thought of adding a method in ActiveSupport that would be able to truncate custom precision amounts from a DateTime object. For example: DateTime.now.truncate\_precision(sec: 10) # =\> a new DateTime object m…

---

## [Fwd: object oriented and currying](https://www.ruby-forum.com/t/fwd-object-oriented-and-currying/230504)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 20, 2014, 6:51pm UTC](https://www.ruby-forum.com/t/fwd-object-oriented-and-currying/230504 "2014-06-20T18:51:48Z")

</div>

Hello, I wonder if there a good books where I can learn more about OO - programming and about currying in Ruby ? Roelof

---

## [GR 3.7.2.1 on OSX 10.8.5](https://www.ruby-forum.com/t/gr-3-7-2-1-on-osx-10-8-5/239299)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [February 21, 2014, 3:34pm UTC](https://www.ruby-forum.com/t/gr-3-7-2-1-on-osx-10-8-5/239299 "2014-02-21T15:34:00Z")

</div>

I just upgraded my ports-installed version of GR 3.6.3 to GR 3.7.2.1 with a simple “port upgrade gnuradio”. The install went smoothly without errors and installed a working copy of 3.7.2.1 with only a few operational …

---

## [Some thoughts on out of tree modules and cmake files](https://www.ruby-forum.com/t/some-thoughts-on-out-of-tree-modules-and-cmake-files/238772)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [January 28, 2014, 1:57pm UTC](https://www.ruby-forum.com/t/some-thoughts-on-out-of-tree-modules-and-cmake-files/238772 "2014-01-28T13:57:51Z")

</div>

Hi, at the moment each out of tree module has it’s one cmake/Modules path, containing some cmake macros, mainly copied from some gnuradio source tree. As gnuradio development proceeds, cmake modules may be updated. I…

---

## [Strange unicode regex behavior with Ruby 2.0](https://www.ruby-forum.com/t/strange-unicode-regex-behavior-with-ruby-2-0/227728)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 3\
**Last updated:** [March 27, 2013, 10:04pm UTC](https://www.ruby-forum.com/t/strange-unicode-regex-behavior-with-ruby-2-0/227728 "2013-03-27T22:04:54Z")

</div>

Hi, the following code behaves strangely in ruby 2.0, and different from 1.9: puts “ä”.match(/\[\\p{Word}\]/).inspect puts “ä”.match(/\[\\p{Word}\\s\]/).inspect Result on 1.9.3-p194: #\<MatchData “ä”\> #\<MatchData “ä”\> Re…

---

## [Ruby Postgres driver (pg) and case sensitivity](https://www.ruby-forum.com/t/ruby-postgres-driver-pg-and-case-sensitivity/222990)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 18, 2012, 3:14pm UTC](https://www.ruby-forum.com/t/ruby-postgres-driver-pg-and-case-sensitivity/222990 "2012-09-18T15:14:36Z")

</div>

I am playing around with ruby and postgres. Postgresql is usually cAsE SenSiTive. When I create a prepared statement in ruby like conn = PGconn.open(…) conn.prepare(‘stmt1’, ‘insert into MyTable(my\_number, my\_string) …

---

## [Deprecation warning after upgrade to rails 3.1](https://www.ruby-forum.com/t/deprecation-warning-after-upgrade-to-rails-3-1/211386)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 10, 2011, 6:18pm UTC](https://www.ruby-forum.com/t/deprecation-warning-after-upgrade-to-rails-3-1/211386 "2011-09-10T18:18:39Z")

</div>

When I run rake db:drop or rake db:create DEPRECATION WARNING: Arel::Visitors::VISITORS is deprecated and will be removed. Database adapters should define a visitor\_for method which returns the appropriate visitor for…

---

## [Problems with Loading Encrypted Data from Fixtures](https://www.ruby-forum.com/t/problems-with-loading-encrypted-data-from-fixtures/210655)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 16, 2011, 9:05am UTC](https://www.ruby-forum.com/t/problems-with-loading-encrypted-data-from-fixtures/210655 "2011-08-16T09:05:06Z")

</div>

Hello everyone, I would like to use attr\_encrypted and to do this, I need to get my fixtures singing that song. I have this in my fixtures … encrypted\_email: \<%= “#{Encryptor.encrypt(:value =\> ‘removed\_email\_address…

---

## [Formated date/time](https://www.ruby-forum.com/t/formated-date-time/207986)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 8, 2011, 12:50am UTC](https://www.ruby-forum.com/t/formated-date-time/207986 "2011-06-08T00:50:01Z")

</div>

Have some way to I get a formated date/time on rails? I know I can get date/time by timestamps created\_at :datetime updated\_at :datetime Bu, I can get with an formated way when I call the date/time on a block? lik…

---

## [Juntar views - diferentes controllers](https://www.ruby-forum.com/t/juntar-views-diferentes-controllers/182192)

<div class="topic-metadata">

**Author:** [@soyoh](https://www.ruby-forum.com/u/soyoh)\
**Replies:** 3\
**Last updated:** [February 6, 2010, 6:28am UTC](https://www.ruby-forum.com/t/juntar-views-diferentes-controllers/182192 "2010-02-06T06:28:29Z")

</div>

Hola, Tengo diferentes controllers, que actuan como si fueran diferentes modulos. Por eso, crea dentro de la carpeta “layouts” uno general por cada controller que cree. hay alguna forma, de usar uno general para tod…

---

## [Uninitialized constant Spec::VERSION::REV (NameError)](https://www.ruby-forum.com/t/uninitialized-constant-spec-rev-nameerror/167829)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 3\
**Last updated:** [May 13, 2009, 3:30am UTC](https://www.ruby-forum.com/t/uninitialized-constant-spec-rev-nameerror/167829 "2009-05-13T03:30:09Z")

</div>

I am a newbie for rspec. I am trying to install and run a “test” test, but i get an error. …/lib/active\_support/dependencies.rb:440:in \`load\_missing\_constant’: uninitialized constant Spec::VERSION::REV (NameError) Ca…

---

## [JRuby Newbie - Migrating from Ruby to JRuby](https://www.ruby-forum.com/t/jruby-newbie-migrating-from-ruby-to-jruby/165060)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 8, 2009, 7:34pm UTC](https://www.ruby-forum.com/t/jruby-newbie-migrating-from-ruby-to-jruby/165060 "2009-04-08T19:34:40Z")

</div>

Group, I’m in a Java shop that uses scripts when we need something done fast. My CTO is a PHP guy, but I’ve been nudging us towards using Ruby for the last 6 months. Recently I needed a script that parsed some xml …

---

## [Classic\_pagination plugin installation](https://www.ruby-forum.com/t/classic-pagination-plugin-installation/157593)

<div class="topic-metadata">

**Author:** [@tuhin\_cse99](https://www.ruby-forum.com/u/tuhin_cse99)\
**Replies:** 3\
**Last updated:** [January 14, 2009, 10:00am UTC](https://www.ruby-forum.com/t/classic-pagination-plugin-installation/157593 "2009-01-14T10:00:58Z")

</div>

Hi, I have tried to install the classic\_pagination pugins in my application but when I use the command ruby script/plugin install svn://errtheblog.com/svn/plugins/classic\_pagination It does nothing and nothing is c…

---

## [BigDecimal#to\_f precision issue](https://www.ruby-forum.com/t/bigdecimal-to-f-precision-issue/128523)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 3\
**Last updated:** [February 9, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/bigdecimal-to-f-precision-issue/128523 "2008-02-09T13:22:44Z")

</div>

e$B$J$+$@$G$9!#e(B \[ruby-talk:290296\]e$B$NOC$G$9$,!"e(BBigDecimal#to\_fe$B$N@:EY$,IT==J,$J$h$&$G$9!#e(B $ ruby18 -v -rbigdecimal -e ‘printf “%.15f\\n”, BigDecimal.new(“15.25”).to\_f’ ruby 1.8.6 (2008-02-08 revision 1540…

---

## [WIN32OLE - problem with argv](https://www.ruby-forum.com/t/win32ole-problem-with-argv/121925)

<div class="topic-metadata">

**Author:** [@rainer](https://www.ruby-forum.com/u/rainer)\
**Replies:** 3\
**Last updated:** [December 3, 2007, 2:31am UTC](https://www.ruby-forum.com/t/win32ole-problem-with-argv/121925 "2007-12-03T02:31:29Z")

</div>

Hello, I’m having a problem trying to pass parameters by reference with WIN32OLE::ARGV. What I’m actually trying to do is getting access to OneNote 2007 as described here… …but using Ruby instead. Here’s my little…

---

## [Unable to load 'System.Windows.Forms'](https://www.ruby-forum.com/t/unable-to-load-system-windows-forms/121119)

<div class="topic-metadata">

**Author:** [@nfe](https://www.ruby-forum.com/u/nfe)\
**Replies:** 3\
**Last updated:** [November 28, 2007, 4:42am UTC](https://www.ruby-forum.com/t/unable-to-load-system-windows-forms/121119 "2007-11-28T04:42:25Z")

</div>

Hi, After building IronRuby with the ‘rake compile config=release’ option (according to http://ironruby.rubyforge.org/wiki/wiki.pl?BuildingIronRuby), I am having problems with \>\>\> require ‘System.Windows.Forms’…this …

---

## [Radiant and Relative Path Plugin?](https://www.ruby-forum.com/t/radiant-and-relative-path-plugin/83248)

<div class="topic-metadata">

**Author:** [@Chris\_Dorner](https://www.ruby-forum.com/u/Chris_Dorner)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/radiant-and-relative-path-plugin/83248 "2007-01-24T22:40:50Z")

</div>

Hi there, I wanted to ask if it’s possible to run Radiant with the Relative Path Plugin? Regards, Christof

---

## [Extracting engine parts from public/](https://www.ruby-forum.com/t/extracting-engine-parts-from-public/96810)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 3\
**Last updated:** [July 2, 2006, 3:58pm UTC](https://www.ruby-forum.com/t/extracting-engine-parts-from-public/96810 "2006-07-02T15:58:46Z")

</div>

Hi, I am happily extracting an engine from my Rails app. Every thing has gone smoothly so far but now I’m trying to extract the required JavaScript, CSS and image files. This doesn’t seem to work the way I expected. …

---

## [Question for the community about the plausibility of an idea](https://www.ruby-forum.com/t/question-for-the-community-about-the-plausibility-of-an-idea/235007)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [May 24, 2013, 11:43pm UTC](https://www.ruby-forum.com/t/question-for-the-community-about-the-plausibility-of-an-idea/235007 "2013-05-24T23:43:47Z")

</div>

Would it be technically possible to create a virtual band of frequencies on a server and multicast that out to interested participants? Think amateur radio or citizens band, simulated online. Narrow-bandwidth voice i…

---

## [Not able to create ne app](https://www.ruby-forum.com/t/not-able-to-create-ne-app/223141)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 24, 2012, 2:20am UTC](https://www.ruby-forum.com/t/not-able-to-create-ne-app/223141 "2012-09-24T02:20:37Z")

</div>

I am getting error while creating new app. Here are the details : create create README.rdoc create Rakefile create config.ru create .gitignore create Gemfile create app create app/assets/images/rails.png …

---

## [Problem with blocking the user](https://www.ruby-forum.com/t/problem-with-blocking-the-user/221041)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 28, 2012, 11:56am UTC](https://www.ruby-forum.com/t/problem-with-blocking-the-user/221041 "2012-06-28T11:56:02Z")

</div>

Hi, I have a problem with blocking user as follows:- We have a Admin Panel from where Admin can block the user which is working fine. Suppose the user “removed\_email\_address@domain.invalid” is login and he is doing s…

---

## [Is it suitable using STI?](https://www.ruby-forum.com/t/is-it-suitable-using-sti/219663)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [May 11, 2012, 9:13am UTC](https://www.ruby-forum.com/t/is-it-suitable-using-sti/219663 "2012-05-11T09:13:33Z")

</div>

I have problems on a simple design problem. I have many companies. Each company have one or more commercial activity. Activities types are: ecommerce, local unit, television, automatic vending machines, and so on. C…

---

## [Help with serialization](https://www.ruby-forum.com/t/help-with-serialization/207304)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 23, 2011, 6:18pm UTC](https://www.ruby-forum.com/t/help-with-serialization/207304 "2011-05-23T18:18:59Z")

</div>

in my migration is have: t.string :options in my model i have: serialize :options in my controller create and update I am doing the following: @vehicle.options = {:ac\_front =\> params\[:ac\_front\], :ac\_rear =\> par…

---

## [How to capture correctly a specific exception](https://www.ruby-forum.com/t/how-to-capture-correctly-a-specific-exception/207282)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 23, 2011, 2:37pm UTC](https://www.ruby-forum.com/t/how-to-capture-correctly-a-specific-exception/207282 "2011-05-23T14:37:20Z")

</div>

I a using delayed\_job, and I am raising an exception this way : config/initializers/custom\_exceptions.rb class RemoteLockerException \< StandardError; end class RemoteLockerDenied \< StandardError; end lib/instruction…

---

## [Not finding a Ruby Gem](https://www.ruby-forum.com/t/not-finding-a-ruby-gem/203084)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 12, 2011, 2:03am UTC](https://www.ruby-forum.com/t/not-finding-a-ruby-gem/203084 "2011-02-12T02:03:28Z")

</div>

I downloaded and installed the Ruby Gem called win32screenshot-1.0.2.gem. I installed it by typing the following: gem install win32screenshot It seemed to install fine. However, when I run the program I get the follo…

---

## [Jruby on rails scheduling options](https://www.ruby-forum.com/t/jruby-on-rails-scheduling-options/200293)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 8, 2010, 9:24pm UTC](https://www.ruby-forum.com/t/jruby-on-rails-scheduling-options/200293 "2010-12-08T21:24:02Z")

</div>

Hi, I’m using JRuby 1.5.6 on Rails to build myself an application that will periodically go away and retrieve any RSS podcasts that I have subscribed too. I’ve chosen JRuby primarily because I’m familiar with Java, wi…

---

## [Bug in #map](https://www.ruby-forum.com/t/bug-in-map/183377)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 6\
**Last updated:** [March 7, 2010, 2:42pm UTC](https://www.ruby-forum.com/t/bug-in-map/183377 "2010-03-07T14:42:17Z")

</div>

I have run across a bug in Enumerable#map. It affects 1.5-dev but is okay in 1.4.0. Unfortunately, I can’t figure out how to reproduce it to a simple example. I’ll show in pseudo-code what I’m doing and the incorrect …

---

## [Example Ruby Code](https://www.ruby-forum.com/t/example-ruby-code/179952)

<div class="topic-metadata">

**Author:** [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Replies:** 6\
**Last updated:** [December 9, 2009, 12:19am UTC](https://www.ruby-forum.com/t/example-ruby-code/179952 "2009-12-09T00:19:28Z")

</div>

Can anybody explain how this code actually works in simple terms if possible :). def animals yield “Tiger” yield “Giraffe” end animals { |x| puts “Hello, #{x}” }

---

## [SQLite3 passing row data from 1 class to another](https://www.ruby-forum.com/t/sqlite3-passing-row-data-from-1-class-to-another/170026)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 6\
**Last updated:** [June 17, 2009, 10:47am UTC](https://www.ruby-forum.com/t/sqlite3-passing-row-data-from-1-class-to-another/170026 "2009-06-17T10:47:05Z")

</div>

I have code in one class that runs an SQL statement against a SQLite3 table and would like to return the resulting row back to another class as an array. here is my ‘database’ class… require “sqlite3” class Dbase d…

---

## [Enforce an application constraint](https://www.ruby-forum.com/t/enforce-an-application-constraint/168619)

<div class="topic-metadata">

**Author:** [@coriordan](https://www.ruby-forum.com/u/coriordan)\
**Replies:** 6\
**Last updated:** [May 23, 2009, 8:24pm UTC](https://www.ruby-forum.com/t/enforce-an-application-constraint/168619 "2009-05-23T20:24:34Z")

</div>

Hi, In my app. I have the following set of models class Course \< ActiveRecord::Base has\_many :registrations has\_many :users, :through =\> :registrations end class User \< ActiveRecord::Base has\_many :registrations …

---

## [How to render part of code in another one](https://www.ruby-forum.com/t/how-to-render-part-of-code-in-another-one/153980)

<div class="topic-metadata">

**Author:** [@petan](https://www.ruby-forum.com/u/petan)\
**Replies:** 6\
**Last updated:** [November 26, 2008, 10:35am UTC](https://www.ruby-forum.com/t/how-to-render-part-of-code-in-another-one/153980 "2008-11-26T10:35:07Z")

</div>

Hi, I have a simple sideblog with my posts in it. I can see 5 last posts in my index action. Could I add form to submit a new post at the top of my posts? I dont know how to render new post action in my index action t…

---

## [Ruby on Rails -\> Friendster or Facebook like website?](https://www.ruby-forum.com/t/ruby-on-rails-friendster-or-facebook-like-website/152942)

<div class="topic-metadata">

**Author:** [@pain](https://www.ruby-forum.com/u/pain)\
**Replies:** 6\
**Last updated:** [November 12, 2008, 11:12am UTC](https://www.ruby-forum.com/t/ruby-on-rails-friendster-or-facebook-like-website/152942 "2008-11-12T11:12:35Z")

</div>

Hi guys, I am new to RoR, and I just installed it on my computer. I am planning of building a social networking website like friendster or facebook. At first, I was thinking of using Php and MySQL, however, recently,…

---

## [Better way to itterate through array](https://www.ruby-forum.com/t/better-way-to-itterate-through-array/146475)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 6\
**Last updated:** [August 21, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/better-way-to-itterate-through-array/146475 "2008-08-21T16:45:17Z")

</div>

Hi, all. Just wondering if there is a better dry way to itterate through array. Here is what I’m trying to accomplish. Some history: I have an inventory program, that I’m writing to learn rails. It has multiple tabl…

---

## [Help: searching a program!](https://www.ruby-forum.com/t/help-searching-a-program/127383)

<div class="topic-metadata">

**Author:** [@zok](https://www.ruby-forum.com/u/zok)\
**Replies:** 6\
**Last updated:** [February 4, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/help-searching-a-program/127383 "2008-02-04T23:48:30Z")

</div>

Hi, I’m searching a proglam like cocoa, for MySQL administration for Windows. The program should include this nice drag and drop feature! … or is it possible to emulate OS X only for this program? Thanks for help, …

---

## [ActiveScaffold et une grosse tables](https://www.ruby-forum.com/t/activescaffold-et-une-grosse-tables/125908)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 6\
**Last updated:** [January 15, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/activescaffold-et-une-grosse-tables/125908 "2008-01-15T22:57:28Z")

</div>

Bonjour, J’utilise ActiveScaffold (qui est génial) mais il a juste quelque chose qui m’embête car j’ai des grosses tables avec plus de 30 000 enregistrements. Et par exemple, lorsque j’ajoute une nouvelle entrée, la …

---

## [Action messenger](https://www.ruby-forum.com/t/action-messenger/116095)

<div class="topic-metadata">

**Author:** [@FrSSSSdSSSSric\_Logi](https://www.ruby-forum.com/u/FrSSSSdSSSSric_Logi)\
**Replies:** 6\
**Last updated:** [October 15, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/action-messenger/116095 "2007-10-15T13:52:57Z")

</div>

Bonjour, Y en a t-il qui ont essayÃ© : http://trypticon.org/software/actionmessenger/? Perso Ã§a fonctionne bien, sauf qu’au bout d’un certain dÃ©lai oÃ¹ aucun message n’est transmis la socket avec le serveur jabber …

---

## [What is the difference between :, ::, .?](https://www.ruby-forum.com/t/what-is-the-difference-between/112812)

<div class="topic-metadata">

**Author:** [@mobileamusement](https://www.ruby-forum.com/u/mobileamusement)\
**Replies:** 6\
**Last updated:** [August 24, 2007, 10:29am UTC](https://www.ruby-forum.com/t/what-is-the-difference-between/112812 "2007-08-24T10:29:11Z")

</div>

Hi, I’m still confused when to use :: or : or . to access namespaces and methods. Could someone please tell me concisely when each should be used? Many thanks Gabriel

---

## [Opinion: Â¿excepciones a nivel de action, o de aplicaciÃ³n?](https://www.ruby-forum.com/t/opinion-a-excepciones-a-nivel-de-action-o-de-aplicacia-n/107510)

<div class="topic-metadata">

**Author:** [@zxz](https://www.ruby-forum.com/u/zxz)\
**Replies:** 6\
**Last updated:** [July 3, 2007, 12:26pm UTC](https://www.ruby-forum.com/t/opinion-a-excepciones-a-nivel-de-action-o-de-aplicacia-n/107510 "2007-07-03T12:26:53Z")

</div>

Pido vuestra opiniÃ³n. Â¿QuÃ© soleis hacer, capturar las excepciones a nivel de cada action, o las capturais de forma global para toda la aplicaciÃ³n? Ventajas e inconvenientes? Yo la ventaja que le veo a nivel globa…

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

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