# Top

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

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

---

## [About win32 native thread](https://www.ruby-forum.com/t/about-win32-native-thread/81924)

<div class="topic-metadata">

**Author:** [@wangdong](https://www.ruby-forum.com/u/wangdong)\
**Replies:** 3\
**Last updated:** [January 18, 2007, 3:21am UTC](https://www.ruby-forum.com/t/about-win32-native-thread/81924 "2007-01-18T03:21:13Z")

</div>

Is there any reliable win32 thread lib?

---

## [Ruby/Amazon nil Search Result](https://www.ruby-forum.com/t/ruby-amazon-nil-search-result/72775)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 10:37pm UTC](https://www.ruby-forum.com/t/ruby-amazon-nil-search-result/72775 "2006-10-18T22:37:30Z")

</div>

Hi. In the Amazon/Ruby module. when someone searches for an item, and it’s not found on amazon’s side, there’s a nasty error page that is displayed. I’d simply like to test if there are no results, to redirect to a c…

---

## [Flickr API and Ruby Question](https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204)

<div class="topic-metadata">

**Author:** [@hreyaatnh](https://www.ruby-forum.com/u/hreyaatnh)\
**Replies:** 3\
**Last updated:** [July 21, 2006, 11:19pm UTC](https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204 "2006-07-21T23:19:55Z")

</div>

I have a local version of the flickr.rb file installed and working properly, but apparently I’m having issues installing it on my Dreamhost server. So, does anyone know how to do it the normal way? Just interfacing …

---

## [Plurals and synonym lists](https://www.ruby-forum.com/t/plurals-and-synonym-lists/97866)

<div class="topic-metadata">

**Author:** [@bluejay](https://www.ruby-forum.com/u/bluejay)\
**Replies:** 3\
**Last updated:** [July 11, 2006, 6:18am UTC](https://www.ruby-forum.com/t/plurals-and-synonym-lists/97866 "2006-07-11T06:18:44Z")

</div>

I want to correct spelling errors automatically. I have used search in the past where I can pass an argument through standard search to correct a word with up to 2 spelling errors for example or do the more Google lik…

---

## [RE Images](https://www.ruby-forum.com/t/re-images/95913)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 3\
**Last updated:** [June 19, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/re-images/95913 "2006-06-19T15:40:59Z")

</div>

Hey Dan I think this is a cracking idea, something that Radiant really needs is coherent asset management. How you have outlined it below is exactly as I would see it working also! However, im not sure of the value o…

---

## [Db\_schema\_import & hbtm](https://www.ruby-forum.com/t/db-schema-import-hbtm/63166)

<div class="topic-metadata">

**Author:** [@nico026](https://www.ruby-forum.com/u/nico026)\
**Replies:** 3\
**Last updated:** [June 12, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/db-schema-import-hbtm/63166 "2006-06-12T23:08:11Z")

</div>

Bonjour, J’ai une relation multivaluée entre deux tables A et B Dans mon model j’ai en gros : class A \< ActiveRecord::Base has\_and\_belongs\_to\_many :b end class B \< ActiveRecord::Base has\_and\_belongs\_to\_many :a en…

---

## [Need help cutting down on db traffic](https://www.ruby-forum.com/t/need-help-cutting-down-on-db-traffic/58307)

<div class="topic-metadata">

**Author:** [@Isak\_H](https://www.ruby-forum.com/u/Isak_H)\
**Replies:** 3\
**Last updated:** [April 20, 2006, 6:43pm UTC](https://www.ruby-forum.com/t/need-help-cutting-down-on-db-traffic/58307 "2006-04-20T18:43:50Z")

</div>

I’m having performance issues with one of my actions, and think I’ve narrowed it down to too many sql queries. I have a form with ~60 lines, which takes ~6 sec to save, 60%+ of that is db io. There’s 650+ lines of log…

---

## [Dreamweaver with Rails](https://www.ruby-forum.com/t/dreamweaver-with-rails/57282)

<div class="topic-metadata">

**Author:** [@jerome](https://www.ruby-forum.com/u/jerome)\
**Replies:** 3\
**Last updated:** [April 9, 2006, 5:25am UTC](https://www.ruby-forum.com/t/dreamweaver-with-rails/57282 "2006-04-09T05:25:26Z")

</div>

Hi all, I am working with a graphic designer who uses Dreamweaver for HTML. When he views the .rhtml files in Dreamweaver, he currently has to rename the .rhtml suffix to .html in order to work with it. Does anyone k…

---

## [ID fields not getting picked up](https://www.ruby-forum.com/t/id-fields-not-getting-picked-up/93347)

<div class="topic-metadata">

**Author:** [@d6veteran](https://www.ruby-forum.com/u/d6veteran)\
**Replies:** 3\
**Last updated:** [March 31, 2006, 9:06am UTC](https://www.ruby-forum.com/t/id-fields-not-getting-picked-up/93347 "2006-03-31T09:06:53Z")

</div>

For example I have table Questions. With fields id, text, and test\_id. test\_id is not being displayed in my view. I am hoping this means Rails has picked up that it is an id for another model. If so, then how do I …

---

## [Scoped databases need explanation](https://www.ruby-forum.com/t/scoped-databases-need-explanation/53972)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/scoped-databases-need-explanation/53972 "2006-02-19T21:44:03Z")

</div>

Could someone explain this http://blog.leetsoft.com/articles/2005/10/31/scoped-databases in a way that can be understood with an example if possible. Tobi Lutke has started to explain but it does not make any sense. “…

---

## [Bitcoin payment processing](https://www.ruby-forum.com/t/bitcoin-payment-processing/228567)

<div class="topic-metadata">

**Author:** [@SSsebastiSSn\_serran](https://www.ruby-forum.com/u/SSsebastiSSn_serran)\
**Replies:** 0\
**Last updated:** [April 28, 2013, 4:46pm UTC](https://www.ruby-forum.com/t/bitcoin-payment-processing/228567 "2013-04-28T16:46:38Z")

</div>

Hi, I’m building a bitcoin payment gateway and would like to know the interest into develop a plugin for rails projects and if you are interested for which gem (spree, …) Please fill this form only 1 field is requir…

---

## [Rails.plugins\[:plugin\_name\] comments and patch](https://www.ruby-forum.com/t/rails-plugins-plugin-name-comments-and-patch/124263)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 0\
**Last updated:** [December 27, 2007, 6:08am UTC](https://www.ruby-forum.com/t/rails-plugins-plugin-name-comments-and-patch/124263 "2007-12-27T06:08:01Z")

</div>

Hi all, I have some code in a plugin’s init.rb that used Rails.plugins\[:plugin\_name\].code\_paths += … I spent a bit of time hacking engines to get it working, then I read Sven’s helpful message at Engines 2ish / Rai…

---

## [Proxy\_bind pool](https://www.ruby-forum.com/t/proxy-bind-pool/244095)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 19, 2016, 10:50am UTC](https://www.ruby-forum.com/t/proxy-bind-pool/244095 "2016-02-19T10:50:35Z")

</div>

Hi, Is it possible to use proxy\_bind to a pool of IPs? Since each IP has a limited ephemeral ports that can be used to make outbound connections to upstream servers, it would be help if we can use a pool of IPs for p…

---

## [Map ActiveRecord to external database](https://www.ruby-forum.com/t/map-activerecord-to-external-database/243669)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [December 18, 2015, 11:06am UTC](https://www.ruby-forum.com/t/map-activerecord-to-external-database/243669 "2015-12-18T11:06:14Z")

</div>

Hi, Im writing a Plugin for redmine. My Problem is to map an ActiveRecord to an external database. Here’s my class: class FtpUser \< ActiveRecord::Base attr\_accessor :created\_at, :password; attr\_writer :uid, :gid; a…

---

## [Blocks handling vectors](https://www.ruby-forum.com/t/blocks-handling-vectors/242856)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 3, 2015, 6:38pm UTC](https://www.ruby-forum.com/t/blocks-handling-vectors/242856 "2015-08-03T18:38:55Z")

</div>

Hi, I have been struggling a bit trying to code a block that accept for example vectors of sync\_len\*sizeof(float) as input signature and outputs vectors of (sync\_len+pkt\_len)\*sizeof(float) as output signature. To unde…

---

## [\[OFF-TOPIC\] For most programmers, it is foolish currently develop in machine code, hexadecimal and a](https://www.ruby-forum.com/t/off-topic-for-most-programmers-it-is-foolish-currently-develop-in-machine-code-hexadecimal-and-a/232383)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 7, 2014, 9:32pm UTC](https://www.ruby-forum.com/t/off-topic-for-most-programmers-it-is-foolish-currently-develop-in-machine-code-hexadecimal-and-a/232383 "2014-10-07T21:32:31Z")

</div>

It is written in the introduction C - A programming language Ansi standard written by Brian Kernighan and Dennis Ritchie: For most programmers, the most important change is a new syntax for declaring and defining func…

---

## [Primitive RBAC/AAA implementation in nginx config](https://www.ruby-forum.com/t/primitive-rbac-aaa-implementation-in-nginx-config/239441)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [February 26, 2014, 9:23pm UTC](https://www.ruby-forum.com/t/primitive-rbac-aaa-implementation-in-nginx-config/239441 "2014-02-26T21:23:40Z")

</div>

Hi all - I spent some time poking at a interesting problem that came up last night, and ended up with this primitive RBAC system, implemented in declarative nginx config. You might find it useful, or might be able to…

---

## [Nginx 400 error](https://www.ruby-forum.com/t/nginx-400-error/239148)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 14, 2014, 10:50am UTC](https://www.ruby-forum.com/t/nginx-400-error/239148 "2014-02-14T10:50:07Z")

</div>

I use nginx proxy tomcat, but there have been many 400 error, about 10%. But do not use nginx, tomcat can normally handle this part of the request. This is my nginx configuration : user nobody; work…

---

## [Rmldonkey repository update with the first Jruby + Swing version](https://www.ruby-forum.com/t/rmldonkey-repository-update-with-the-first-jruby-swing-version/234925)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [June 28, 2013, 2:09am UTC](https://www.ruby-forum.com/t/rmldonkey-repository-update-with-the-first-jruby-swing-version/234925 "2013-06-28T02:09:29Z")

</div>

Hi… I have updated my free time project with the first version that use Jruby + Swing… Its not perfect and there’s no great pretensions but here there is … thats the reason of all the questions to this mail list htt…

---

## [Running rspec alongside test::unit?](https://www.ruby-forum.com/t/running-rspec-alongside-test-unit/212015)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 27, 2011, 10:58am UTC](https://www.ruby-forum.com/t/running-rspec-alongside-test-unit/212015 "2011-09-27T10:58:33Z")

</div>

Earlier documentation indicated that it was possible to run RSpec alongside existing test::unit tests. Is this still possible? – Jason P.

---

## [Simple routing spec issue - syntax error](https://www.ruby-forum.com/t/simple-routing-spec-issue-syntax-error/207502)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 27, 2011, 3:25am UTC](https://www.ruby-forum.com/t/simple-routing-spec-issue-syntax-error/207502 "2011-05-27T03:25:15Z")

</div>

Hi All, New to rspec. Done some Rails, done TDD in other languages, trying to get the two to meet. Getting a syntax error on my first routing spec: context “public routing” do it “routes / to public#landing” do { :g…

---

## [Could not find rake-0.8.7 in any of the sources](https://www.ruby-forum.com/t/could-not-find-rake-0-8-7-in-any-of-the-sources/197904)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 22, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/could-not-find-rake-0-8-7-in-any-of-the-sources/197904 "2010-10-22T18:31:04Z")

</div>

After upgrading my server to: Ubuntu server 10.10 Ruby 1.9.2 Rails 3.0.1 Passenger 3.0.0 rake is unable to find itself: rake -T Could not find rake-0.8.7 in any of the sources Try running bundle install. but g…

---

## [Timeout::AnonymousExcep raised after Timeout.timeout returns](https://www.ruby-forum.com/t/timeout-anonymousexcep-raised-after-timeout-timeout-returns/192468)

<div class="topic-metadata">

**Author:** [@katerman](https://www.ruby-forum.com/u/katerman)\
**Replies:** 1\
**Last updated:** [August 4, 2010, 7:49am UTC](https://www.ruby-forum.com/t/timeout-anonymousexcep-raised-after-timeout-timeout-returns/192468 "2010-08-04T07:49:17Z")

</div>

I have a process that makes lots of requests to a fairly slow http server. After processing about 30k requests, a timeout exception often kills the process. But the exception isn’t Timeout::Error, and it doesn’t get p…

---

## ["private" modules](https://www.ruby-forum.com/t/private-modules/180073)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 7\
**Last updated:** [December 11, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/private-modules/180073 "2009-12-11T19:51:54Z")

</div>

Hi, I’m writing a ruby library, under a module named “A”. Since I provide classes which share names with standard ruby classes (like Vector), this way I avoid namespace pollution when requiring my library. The proble…

---

## [Not really a Rails post but](https://www.ruby-forum.com/t/not-really-a-rails-post-but/170644)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 7\
**Last updated:** [June 23, 2009, 9:01pm UTC](https://www.ruby-forum.com/t/not-really-a-rails-post-but/170644 "2009-06-23T21:01:00Z")

</div>

This isn’t really a Rails post but this group has given such great responses to a range of questions over the years I though I’d ask anyway. I’ve been tasked with writting a Rails app that takes a block of text, anyw…

---

## [Goodbye "Goodbye Ruby"](https://www.ruby-forum.com/t/goodbye-goodbye-ruby/165859)

<div class="topic-metadata">

**Author:** [@rjsquire](https://www.ruby-forum.com/u/rjsquire)\
**Replies:** 7\
**Last updated:** [April 18, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/goodbye-goodbye-ruby/165859 "2009-04-18T23:37:59Z")

</div>

Will someone please kill off this puerile, off-topic thread? I woke up to 17 ruby-talk messages, 30% devoted to this topic. This amounts to spam. Bob Schaaf

---

## [Rdoc, link to another class instance method](https://www.ruby-forum.com/t/rdoc-link-to-another-class-instance-method/163555)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 1\
**Last updated:** [March 23, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/rdoc-link-to-another-class-instance-method/163555 "2009-03-23T22:51:53Z")

</div>

Hi, Is it possible that rdoc generates a link to an instance method that is in another class? I tried MyClass#instance\_method and MyClass.instance\_method, but both just generated raw text. Thank you.

---

## [Strange IRB problem](https://www.ruby-forum.com/t/strange-irb-problem/159715)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 1\
**Last updated:** [February 9, 2009, 5:52am UTC](https://www.ruby-forum.com/t/strange-irb-problem/159715 "2009-02-09T05:52:13Z")

</div>

strange… I’m on Vista and updated to Rails 2.2.2 and rubygems 1.3.1 with the usual problem there. …but fixed that pretty easily …(it’s well documented)… everything was fine…but then I tried to use IRB. in every shel…

---

## [Template is missing Missing layout ../../themes/stand](https://www.ruby-forum.com/t/template-is-missing-missing-layout-themes-stand/133391)

<div class="topic-metadata">

**Author:** [@lionel\_drong](https://www.ruby-forum.com/u/lionel_drong)\
**Replies:** 1\
**Last updated:** [March 31, 2008, 10:34am UTC](https://www.ruby-forum.com/t/template-is-missing-missing-layout-themes-stand/133391 "2008-03-31T10:34:42Z")

</div>

I installed Typo 5.0.3 , the login ,signup and admin function are all pretty well and work ! but why I go to my blog ,it shows Template is missing Missing layout …/…/themes/standard\_issue/layouts/default in view path …

---

## [What is meant by this: def foo=(foo) ... end?](https://www.ruby-forum.com/t/what-is-meant-by-this-def-foo-foo-end/124663)

<div class="topic-metadata">

**Author:** [@chovy](https://www.ruby-forum.com/u/chovy)\
**Replies:** 1\
**Last updated:** [December 31, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/what-is-meant-by-this-def-foo-foo-end/124663 "2007-12-31T20:05:56Z")

</div>

I saw in episode #75 that creating a method in the Product model will update attributes related to a different model (Picture): def picture\_attributes=(picture\_attributes) … end I’m unclear as to the first line: de…

---

## [RubyConf videos?](https://www.ruby-forum.com/t/rubyconf-videos/119385)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 7\
**Last updated:** [November 7, 2007, 1:53am UTC](https://www.ruby-forum.com/t/rubyconf-videos/119385 "2007-11-07T01:53:42Z")

</div>

Guys, I had a truly wonderful time at RubyConf. It was a very enlightening three days, and worth far more than the paltry $250 it put me out. My only regret is that I could not attend every session. I know the Confre…

---

## [Automatic instantiation of subclasses](https://www.ruby-forum.com/t/automatic-instantiation-of-subclasses/101857)

<div class="topic-metadata">

**Author:** [@kilivor](https://www.ruby-forum.com/u/kilivor)\
**Replies:** 7\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/automatic-instantiation-of-subclasses/101857 "2006-08-15T14:19:23Z")

</div>

Hi! First sorry I am a beginner ;-( What I want to do is: automatically instantiate subclasses of a given class, say, A. class A end class A1 \< A end class A2 \<A end So I want to know the names of A subclasses: …

---

## [Same error ... again](https://www.ruby-forum.com/t/same-error-again/100983)

<div class="topic-metadata">

**Author:** [@mercurius](https://www.ruby-forum.com/u/mercurius)\
**Replies:** 7\
**Last updated:** [August 3, 2006, 12:17pm UTC](https://www.ruby-forum.com/t/same-error-again/100983 "2006-08-03T12:17:25Z")

</div>

I reached page 82 of the Book “Agile Development with Rails” First Edition. After I compiled the code I got the following error message. \[CODE\] NoMethodError in Store#display\_cart Showing app/views/store/display\_cart…

---

## [Config.guess, config.sub in version control](https://www.ruby-forum.com/t/config-guess-config-sub-in-version-control/97711)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 1\
**Last updated:** [July 9, 2006, 10:00pm UTC](https://www.ruby-forum.com/t/config-guess-config-sub-in-version-control/97711 "2006-07-09T22:00:53Z")

</div>

Eric– Why are config.guess and config.sub under version control? Aren’t these normally symbolic links to the installed autotools on the local system? -Johnathan

---

## [Flash\[:notice\] not working](https://www.ruby-forum.com/t/flash-notice-not-working/222771)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 10, 2012, 1:24pm UTC](https://www.ruby-forum.com/t/flash-notice-not-working/222771 "2012-09-10T13:24:35Z")

</div>

Hi, anybody please help me out,am using rails 3 but using this flash\[:notice\] doesnot works, i have used this in controllers. any idea ? please help. Regards, Manoj

---

## [Meaning of @variable@?](https://www.ruby-forum.com/t/meaning-of-variable/222118)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 13, 2012, 1:10pm UTC](https://www.ruby-forum.com/t/meaning-of-variable/222118 "2012-08-13T13:10:44Z")

</div>

what is the meaning of the following instruction aaa.gsub!(’@variable@’, current)

---

## [Basic OO Class question](https://www.ruby-forum.com/t/basic-oo-class-question/212658)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 11, 2011, 5:28am UTC](https://www.ruby-forum.com/t/basic-oo-class-question/212658 "2011-10-11T05:28:25Z")

</div>

Hi All I am try to get up to speed on several things at once; namely, OO and also Ruby. I have written a bunch or Ruby scripts to perform various text processing tasks but I think I want to start learning something …

---

## [Name error when trying to include a file](https://www.ruby-forum.com/t/name-error-when-trying-to-include-a-file/196245)

<div class="topic-metadata">

**Author:** [@jakx12](https://www.ruby-forum.com/u/jakx12)\
**Replies:** 5\
**Last updated:** [October 10, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/name-error-when-trying-to-include-a-file/196245 "2010-10-10T18:05:21Z")

</div>

So im trying to use a plugin called open flash chart lazy. Its a chart plugin that renders charts in flash (I think). Heres my controller: class ChartsController \< ApplicationController include OpenFlashChartLazy lay…

---

## [How to use local javascript library for development and externally hosted for production?](https://www.ruby-forum.com/t/how-to-use-local-javascript-library-for-development-and-externally-hosted-for-production/193409)

<div class="topic-metadata">

**Author:** [@lexer](https://www.ruby-forum.com/u/lexer)\
**Replies:** 5\
**Last updated:** [August 17, 2010, 11:11am UTC](https://www.ruby-forum.com/t/how-to-use-local-javascript-library-for-development-and-externally-hosted-for-production/193409 "2010-08-17T11:11:14Z")

</div>

Hi guys, I want to set up my RoR project to use local javascript library for development and externally hosted for production (for example jquery from google). How it could be achieved? Regards, Alexey Zakharov

---

## [What kind of testing for executables?](https://www.ruby-forum.com/t/what-kind-of-testing-for-executables/190364)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [June 19, 2010, 12:29pm UTC](https://www.ruby-forum.com/t/what-kind-of-testing-for-executables/190364 "2010-06-19T12:29:43Z")

</div>

What kind of testing is it when you test a projects executables: system/functional or integration?

---

## [Syntax translation Java - Ruby](https://www.ruby-forum.com/t/syntax-translation-java-ruby/176368)

<div class="topic-metadata">

**Author:** [@mark42](https://www.ruby-forum.com/u/mark42)\
**Replies:** 5\
**Last updated:** [September 30, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/syntax-translation-java-ruby/176368 "2009-09-30T14:21:34Z")

</div>

have this code in Java: boolean monkey = true; for(i=0; monkey; i++){ if(index\[i\] == null) { put.something.new(i); break; } } I am aware that it makes no sense by itself so I will explain. I am iterating throug…

---

## [Data exists in table? Checkbox Problem](https://www.ruby-forum.com/t/data-exists-in-table-checkbox-problem/171668)

<div class="topic-metadata">

**Author:** [@coldie](https://www.ruby-forum.com/u/coldie)\
**Replies:** 5\
**Last updated:** [July 7, 2009, 5:36pm UTC](https://www.ruby-forum.com/t/data-exists-in-table-checkbox-problem/171668 "2009-07-07T17:36:10Z")

</div>

Hi, I want to add a tag-search to my page. The tags can be given to each item by clicking a checkbox. The value of the checkboxes is saved in the table using the check\_box\_tag. By editing the tags of an item (refresh…

---

## [Is it the ruby way to implement #downto](https://www.ruby-forum.com/t/is-it-the-ruby-way-to-implement-downto/170856)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [June 23, 2009, 10:33pm UTC](https://www.ruby-forum.com/t/is-it-the-ruby-way-to-implement-downto/170856 "2009-06-23T22:33:33Z")

</div>

Hi all, I wonder if the following code is the ruby way to implement Integer#downto. Thanks, Li ####################### class Integer def my\_downto(final=2) for i in (final…self).to\_a.reverse yield i end end e…

---

## [Changin var from partial](https://www.ruby-forum.com/t/changin-var-from-partial/163258)

<div class="topic-metadata">

**Author:** [@Luciano](https://www.ruby-forum.com/u/Luciano)\
**Replies:** 5\
**Last updated:** [March 18, 2009, 8:13pm UTC](https://www.ruby-forum.com/t/changin-var-from-partial/163258 "2009-03-18T20:13:03Z")

</div>

Hello, I have a simple link\_to\_function to add a group of form fiels, to use observe\_field I must have unique names… I created a var to store the itens count but the partial is not updating it’s value. \_form.html.e…

---

## [Implement "paste" using ruby](https://www.ruby-forum.com/t/implement-paste-using-ruby/161947)

<div class="topic-metadata">

**Author:** [@oliver](https://www.ruby-forum.com/u/oliver)\
**Replies:** 5\
**Last updated:** [March 4, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/implement-paste-using-ruby/161947 "2009-03-04T17:24:03Z")

</div>

hi, all I have a programming question: in the \*NIX world, there is a small utility named “paste”, that can combine several files together by columns. For example: file “x.dat”'s content is: 1 2 3 … file “y.dat”'…

---

## [Block comment problem](https://www.ruby-forum.com/t/block-comment-problem/156001)

<div class="topic-metadata">

**Author:** [@mrmaster](https://www.ruby-forum.com/u/mrmaster)\
**Replies:** 5\
**Last updated:** [December 20, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/block-comment-problem/156001 "2008-12-20T21:04:59Z")

</div>

Hello, For some reason I’m unable to do block comments. I keep receiving this error in my terminal: timesheet.rb:20: syntax error, unexpected ‘=’, expecting kEND =begin ^ timesheet.rb:36: syntax error, unexpected ‘…

---

## [How to access the object bound to form in partial?](https://www.ruby-forum.com/t/how-to-access-the-object-bound-to-form-in-partial/144853)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 5\
**Last updated:** [August 4, 2008, 4:58am UTC](https://www.ruby-forum.com/t/how-to-access-the-object-bound-to-form-in-partial/144853 "2008-08-04T04:58:17Z")

</div>

Hi, In a partial, how do I access the ActiveRecord object that’s bound to a form? \<%= f.text\_field :name %\> \<% if f.(something).new\_record? %\> … \<% end %\> I want to know if the object is new record or not. I can …

---

## [Code Review: YamlFixes](https://www.ruby-forum.com/t/code-review-yamlfixes/143853)

<div class="topic-metadata">

**Author:** [@Oleg\_T](https://www.ruby-forum.com/u/Oleg_T)\
**Replies:** 5\
**Last updated:** [July 24, 2008, 8:56am UTC](https://www.ruby-forum.com/t/code-review-yamlfixes/143853 "2008-07-24T08:56:12Z")

</div>

tfpt review “/shelveset:YamlFixes;REDMOND\\olegtk” Comment : Removes obsolete YamlTest project from the solution. Fixes DateTime serialization and loading of timestamps. Fixes nil serialization. Implements YAML::add…

---

## [Unwanted RESTful routes](https://www.ruby-forum.com/t/unwanted-restful-routes/139329)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 5\
**Last updated:** [June 4, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/unwanted-restful-routes/139329 "2008-06-04T17:07:34Z")

</div>

Hi, In my app, I’ve got a Page model and in my routes.rb have the line: map.resources :pages This gives me all of the nice urls for all of the CRUD actions. However, for showing pages, I didn’t like the urls pages/5 …

---

## [Ruby19 and defined?](https://www.ruby-forum.com/t/ruby19-and-defined/132588)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 5\
**Last updated:** [March 22, 2008, 2:21pm UTC](https://www.ruby-forum.com/t/ruby19-and-defined/132588 "2008-03-22T14:21:48Z")

</div>

This seems to be a change in 1.9 that’s breaking some code (it was reported by a user of the bit-struct library). Here’s the test case: class C; def self.foo; end; end class D\<C p superclass p defined?(superclass.fo…

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

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