# Top

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

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

---

## [Books on Ajax Design](https://www.ruby-forum.com/t/books-on-ajax-design/136144)

<div class="topic-metadata">

**Author:** [@Rory\_McKinley](https://www.ruby-forum.com/u/Rory_McKinley)\
**Replies:** 4\
**Last updated:** [May 1, 2008, 7:22am UTC](https://www.ruby-forum.com/t/books-on-ajax-design/136144 "2008-05-01T07:22:42Z")

</div>

Hi all I was wondering if anyone could recommend good books or other resources on designing AJAX applications ? I am looking primarily for the principles behind designing and modelling the AJAX interactions rather th…

---

## [Using string cryptography in Rails](https://www.ruby-forum.com/t/using-string-cryptography-in-rails/122302)

<div class="topic-metadata">

**Author:** [@weverton\_g](https://www.ruby-forum.com/u/weverton_g)\
**Replies:** 4\
**Last updated:** [December 6, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/using-string-cryptography-in-rails/122302 "2007-12-06T16:15:22Z")

</div>

Hi, I’m needing crytography a string in a Rails app. How is the better way to do this?? Thanks, – Weverton G. de Morais TecnÃ³logo em Redes de ComunicaÃ§Ã£o Desenvolvedor Delphi Entusiasta Ruby/Rails “Todos jun…

---

## [ProblÃ¨me Ã©trange, certaines pages produi sent une Application Error](https://www.ruby-forum.com/t/probla-me-a-trange-certaines-pages-produi-sent-une-application-error/118223)

<div class="topic-metadata">

**Author:** [@Samoht\_T](https://www.ruby-forum.com/u/Samoht_T)\
**Replies:** 4\
**Last updated:** [November 2, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/probla-me-a-trange-certaines-pages-produi-sent-une-application-error/118223 "2007-11-02T20:56:18Z")

</div>

Bonjour, j’ai developpÃ© une appli qui est actuellement hebergÃ©e sur Site5.com (j’ai profitÃ© d’une de leur promotion pour avoir un serveur pas cher). Le serveur est Apache et j’utilise le dispatcher FastCGI Cette …

---

## [Deploy: mongrel cluster problem](https://www.ruby-forum.com/t/deploy-mongrel-cluster-problem/116352)

<div class="topic-metadata">

**Author:** [@phirefly](https://www.ruby-forum.com/u/phirefly)\
**Replies:** 4\
**Last updated:** [October 8, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/deploy-mongrel-cluster-problem/116352 "2007-10-08T14:38:16Z")

</div>

Hello, I don’t know if this is really the right forum to be asking about Rails deployment, but just in case someone has experience with this… I’m attempting to deploy a rails site for the first time, using mongrel, m…

---

## [Shut up, RDoc!](https://www.ruby-forum.com/t/shut-up-rdoc/110632)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 4\
**Last updated:** [July 28, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/shut-up-rdoc/110632 "2007-07-28T22:05:03Z")

</div>

Can someone please tell me how shut RDoc up. Every time I run it I get: lib/facets.rb:49:29: Skipping require of dynamic string: “facets/ #{lib}” I’ve tried everything I can think of to suppress this output. Thanks, …

---

## [It doesn't produce any output!](https://www.ruby-forum.com/t/it-doesnt-produce-any-output/103164)

<div class="topic-metadata">

**Author:** [@yusufcelik](https://www.ruby-forum.com/u/yusufcelik)\
**Replies:** 4\
**Last updated:** [May 3, 2007, 2:02pm UTC](https://www.ruby-forum.com/t/it-doesnt-produce-any-output/103164 "2007-05-03T14:02:07Z")

</div>

Hi, I wonder if something is wrong with the following code. Because, it doesn’t produce any output. BTW, I am new to Ruby. Regards yc include ObjectSpace a=b=c=“A” define\_finalizer(a, proc {|id| puts “Finalizer …

---

## [Regexp help needed](https://www.ruby-forum.com/t/regexp-help-needed/93128)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [April 28, 2007, 12:26am UTC](https://www.ruby-forum.com/t/regexp-help-needed/93128 "2007-04-28T00:26:30Z")

</div>

Hey All, I need to parse lines that look like this: 1 'Not qualified' 2 'Overquota' 3 'Qualified'/ 1 'SSI' 2 'Mall Facility'/ 1 'Real Interview' 2 'Practice Interview'/ So I’ve got N sets of \<\>\<\>\<\> on each line. I …

---

## [Ayuda script.aculo.us autocomplete](https://www.ruby-forum.com/t/ayuda-script-aculo-us-autocomplete/88419)

<div class="topic-metadata">

**Author:** [@victordeandres](https://www.ruby-forum.com/u/victordeandres)\
**Replies:** 4\
**Last updated:** [March 11, 2007, 11:54am UTC](https://www.ruby-forum.com/t/ayuda-script-aculo-us-autocomplete/88419 "2007-03-11T11:54:05Z")

</div>

Hola a todos, tengo un error en el cual estoy atrapado, y ya estoy bastante obcecado. En una pagina tengo un input donde se debe seleccionar el nombre de un cliente. Aparentemente funciona todo correctamente me muestr…

---

## [My Script/Console Won't work](https://www.ruby-forum.com/t/my-script-console-wont-work/84097)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 4\
**Last updated:** [February 1, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/my-script-console-wont-work/84097 "2007-02-01T15:43:20Z")

</div>

I was rolling on Instant Rails, and it didn’t work there, figured I’d install the latest 1.8.5 in a new directory, still won’t run. it says “ruby: No such file or directory – script/console (LoadError)” somebody help…

---

## [No green snake](https://www.ruby-forum.com/t/no-green-snake/80143)

<div class="topic-metadata">

**Author:** [@Steve\_Kuhlmann](https://www.ruby-forum.com/u/Steve_Kuhlmann)\
**Replies:** 4\
**Last updated:** [January 1, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/no-green-snake/80143 "2007-01-01T17:03:31Z")

</div>

Following the trac instructions my Cygwin installation was going smoothly until hitting wxPython. I installed the latest version 2.8.0.1. Some observations: the statbmp patch appears to already be applied t…

---

## [Why won't this array populate?](https://www.ruby-forum.com/t/why-wont-this-array-populate/75518)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 4\
**Last updated:** [November 10, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/why-wont-this-array-populate/75518 "2006-11-10T17:27:21Z")

</div>

Units have many rooms. Rooms belong to units. When I show the detail of a unit, I want to show a list of rooms belonging to the unit as well. In the UnitController: def show @unit = Unit.find(params\[:id\]) session\[…

---

## [Rubybugs updated](https://www.ruby-forum.com/t/rubybugs-updated/73257)

<div class="topic-metadata">

**Author:** [@URABE\_Shyouhei](https://www.ruby-forum.com/u/URABE_Shyouhei)\
**Replies:** 4\
**Last updated:** [October 23, 2006, 12:54pm UTC](https://www.ruby-forum.com/t/rubybugs-updated/73257 "2006-10-23T12:54:19Z")

</div>

e$BK\\7o$O$\_$J$5$^$K$b4X78$9$k$N$G!“e(BMLe$B$K$F%”%J%&%s%9$7$^$9!#e(B e$B:#F|e(B(e$B%“%a%j%+CfIt2F;~4V$Ge(B)e$B!”$^$D$b$H$5$s$HOC$79g$C$F!"%P%0%H%i%C%+!\<$Ke(B e$B!Ve(Bunvelifiede$B!W$H$$$&\>uBV$rDI2C$7$^$7$?!#e(B http:/…

---

## [RESTful Rails Plugin](https://www.ruby-forum.com/t/restful-rails-plugin/64929)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/restful-rails-plugin/64929 "2006-08-15T17:44:56Z")

</div>

When I install the RESTful Rails plugin, I am getting the following error: 20:10:49:~/work/depot \> script/plugin source http://svn.techno-weenie.net/projects/plugins Cannot find gem for Rails =1.1.2: Install the mis…

---

## [Textmate Madness](https://www.ruby-forum.com/t/textmate-madness/63684)

<div class="topic-metadata">

**Author:** [@seanb](https://www.ruby-forum.com/u/seanb)\
**Replies:** 4\
**Last updated:** [June 18, 2006, 12:09am UTC](https://www.ruby-forum.com/t/textmate-madness/63684 "2006-06-18T00:09:55Z")

</div>

Has anyone come across this problem… I created some Ruby files in Textmate on my Mac - and everything works fine. However, when I run those files on a Windows machine I get e.g. compile error ./script/…/config/…/ap…

---

## [Latex and Ruby](https://www.ruby-forum.com/t/latex-and-ruby/94344)

<div class="topic-metadata">

**Author:** [@Jean-Etienne](https://www.ruby-forum.com/u/Jean-Etienne)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/latex-and-ruby/94344 "2006-05-03T18:57:26Z")

</div>

Hi, I am looking for a library to convert Latex content to png and PDF. Does anyone know a stable one? Jean-Etienne

---

## [\[TIP\] Ensure your test data is valid](https://www.ruby-forum.com/t/tip-ensure-your-test-data-is-valid/58658)

<div class="topic-metadata">

**Author:** [@jonny](https://www.ruby-forum.com/u/jonny)\
**Replies:** 4\
**Last updated:** [April 24, 2006, 10:07pm UTC](https://www.ruby-forum.com/t/tip-ensure-your-test-data-is-valid/58658 "2006-04-24T22:07:55Z")

</div>

Recently I wanted to check that my test data was valid. Seems like a reasonable thing to want to do so I thought I’d share the rake task. Add this code to a rake file in lib/tasks and run with rake db:fixtures:validat…

---

## [Digest::Base](https://www.ruby-forum.com/t/digest-base/84152)

<div class="topic-metadata">

**Author:** [@rtilley](https://www.ruby-forum.com/u/rtilley)\
**Replies:** 4\
**Last updated:** [March 20, 2006, 2:58pm UTC](https://www.ruby-forum.com/t/digest-base/84152 "2006-03-20T14:58:58Z")

</div>

I wish to write one method to work with all classes in Digest::Base without repeatedly writing the same code. def setup(file, hash\_type) hash\_type could be MD5, SHA1, SHA256, etc. Digest::hash\_type.new Hash the file. …

---

## [LDAP and Rails?](https://www.ruby-forum.com/t/ldap-and-rails/75813)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 4\
**Last updated:** [March 5, 2006, 7:19am UTC](https://www.ruby-forum.com/t/ldap-and-rails/75813 "2006-03-05T07:19:40Z")

</div>

Hi, We want to start a new website, and we want to use our existing authentication system which is LDAP. Can someone tell me where I can find the information about how to use LDAP in rails ??? Thanks you very much S…

---

## [Validates\_presence\_of](https://www.ruby-forum.com/t/validates-presence-of/52796)

<div class="topic-metadata">

**Author:** [@Kai\_H](https://www.ruby-forum.com/u/Kai_H)\
**Replies:** 4\
**Last updated:** [January 20, 2006, 6:01am UTC](https://www.ruby-forum.com/t/validates-presence-of/52796 "2006-01-20T06:01:38Z")

</div>

I am just going through the book and I come across a problem with the code in the app/models: validates\_format\_of :image\_url, :with =\> %r{^http:.+\\.(gif|jpg|png)$}i, :message =\> "must be a URL for a GIF, JPG, o…

---

## [Restclient error](https://www.ruby-forum.com/t/restclient-error/242880)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 13, 2015, 10:58am UTC](https://www.ruby-forum.com/t/restclient-error/242880 "2015-08-13T10:58:20Z")

</div>

caught RestClient::SSLCertificateNotVerified: SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed:

---

## [Gr\_modtool rename option](https://www.ruby-forum.com/t/gr-modtool-rename-option/233740)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 7, 2015, 3:51pm UTC](https://www.ruby-forum.com/t/gr-modtool-rename-option/233740 "2015-01-07T15:51:05Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey list, I missed an option to rename a block I once created via modtool. Thus I coded it. You can find it on github \[1\]. It is supposed to go through all the created f…

---

## [Nginx have directives like httpd's MaxRequestsPerChild](https://www.ruby-forum.com/t/nginx-have-directives-like-httpds-maxrequestsperchild/232471)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 11, 2014, 12:14pm UTC](https://www.ruby-forum.com/t/nginx-have-directives-like-httpds-maxrequestsperchild/232471 "2014-10-11T12:14:46Z")

</div>

hi there, does nginx have directives like apache’s MaxRequestsPerChild? Description:Limit on the number of requests that an individual child server will handle during its life Syntax: MaxRequestsPerChild number I …

---

## [\[ANN\] JRonA - JRuby on Android in 51 lines of Java](https://www.ruby-forum.com/t/ann-jrona-jruby-on-android-in-51-lines-of-java/226671)

<div class="topic-metadata">

**Author:** [@robin2](https://www.ruby-forum.com/u/robin2)\
**Replies:** 1\
**Last updated:** [February 17, 2013, 2:59pm UTC](https://www.ruby-forum.com/t/ann-jrona-jruby-on-android-in-51-lines-of-java/226671 "2013-02-17T14:59:01Z")

</div>

For anyone who may be interested I have discovered that it’s possible to get JRuby running on an Android device with very little code. As I don’t know how to insert complicated links on this page those who are interes…

---

## [Error in nginx\_http\_push\_module: unable to allocate message, worker subscriber queue marker in share](https://www.ruby-forum.com/t/error-in-nginx-http-push-module-unable-to-allocate-message-worker-subscriber-queue-marker-in-share/203691)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 27, 2011, 5:02pm UTC](https://www.ruby-forum.com/t/error-in-nginx-http-push-module-unable-to-allocate-message-worker-subscriber-queue-marker-in-share/203691 "2011-02-27T17:02:20Z")

</div>

Hi, I am using nginx\_http\_push\_module for a web service which provides real time visitors stats for websites using our service. The service works fine for couple of days but after that it stops responding and leaves …

---

## [X-Accel-Redirect, proxy\_pass and Range Requests](https://www.ruby-forum.com/t/x-accel-redirect-proxy-pass-and-range-requests/196088)

<div class="topic-metadata">

**Author:** [@Ben\_Timby](https://www.ruby-forum.com/u/Ben_Timby)\
**Replies:** 1\
**Last updated:** [October 6, 2010, 6:03pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-proxy-pass-and-range-requests/196088 "2010-10-06T18:03:36Z")

</div>

I have some complex interaction going on here and I would like to see if anybody has some suggestions for me. I have Nginx in front of apache serving static files, performing compression and SSL. For large files, I us…

---

## [Paginate\_by\_sql and Rails 3.0.0beta4](https://www.ruby-forum.com/t/paginate-by-sql-and-rails-3-0-0beta4/190918)

<div class="topic-metadata">

**Author:** [@Obelix](https://www.ruby-forum.com/u/Obelix)\
**Replies:** 1\
**Last updated:** [July 1, 2010, 1:50am UTC](https://www.ruby-forum.com/t/paginate-by-sql-and-rails-3-0-0beta4/190918 "2010-07-01T01:50:09Z")

</div>

I am trying to port an existing rails app running rails 2.3.8 to 3.0.0beta4 I use this paginate\_by\_sql hack module ActiveRecord class Base def self.find\_by\_sql\_with\_limit(sql, offset, limit) sql = sanitize\_sql(sql) …

---

## [List time zones?](https://www.ruby-forum.com/t/list-time-zones/187503)

<div class="topic-metadata">

**Author:** [@morgan](https://www.ruby-forum.com/u/morgan)\
**Replies:** 1\
**Last updated:** [April 24, 2010, 5:41pm UTC](https://www.ruby-forum.com/t/list-time-zones/187503 "2010-04-24T17:41:04Z")

</div>

Is there a way to list the time zones that rails makes available (it seems to function only on cities)? I figured out how to get that list at the command line in rake but i can’t seem to get access to the list of avai…

---

## [Multilingual model content](https://www.ruby-forum.com/t/multilingual-model-content/167716)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 1\
**Last updated:** [May 20, 2009, 9:54am UTC](https://www.ruby-forum.com/t/multilingual-model-content/167716 "2009-05-20T09:54:23Z")

</div>

Hi I’m looking for some insight in a small problem I have. I need multilingual input in my models. Lets say you have a Product model. That product contains title, description and price. The price is allways the same,…

---

## [AuthenticationFailed error with Net::SSH::Gateway](https://www.ruby-forum.com/t/authenticationfailed-error-with-net-gateway/167232)

<div class="topic-metadata">

**Author:** [@joemanfoo](https://www.ruby-forum.com/u/joemanfoo)\
**Replies:** 1\
**Last updated:** [May 11, 2009, 4:49pm UTC](https://www.ruby-forum.com/t/authenticationfailed-error-with-net-gateway/167232 "2009-05-11T16:49:07Z")

</div>

Hello I wrote up a script that will connect to a remote Linux system and run some commands. Now I need to use the Net::SSH::Gateway gem to connect to a host, and use that as a portal to SSH to another system. Normal…

---

## [Control Sizing](https://www.ruby-forum.com/t/control-sizing/165881)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [April 18, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/control-sizing/165881 "2009-04-18T20:57:40Z")

</div>

I’m still having trouble getting the intricities of Control sizing through my head. I’m using wxFormBuilder to build my screen, but I can subclass and write code as needed … if I knew what code is needed. I have a fo…

---

## [Specifying session\_id in params?](https://www.ruby-forum.com/t/specifying-session-id-in-params/159898)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 1\
**Last updated:** [February 10, 2009, 1:03am UTC](https://www.ruby-forum.com/t/specifying-session-id-in-params/159898 "2009-02-10T01:03:41Z")

</div>

I am using a Flex based front end on top of a rails backend. When the SWF is first loaded from the rails app to the client’s browser, a session is created on the rails side. However, subsequent requests from the load…

---

## [Issue with Wx::Image class, especially set\_data](https://www.ruby-forum.com/t/issue-with-wx-image-class-especially-set-data/141758)

<div class="topic-metadata">

**Author:** [@Georg\_Bege](https://www.ruby-forum.com/u/Georg_Bege)\
**Replies:** 1\
**Last updated:** [June 30, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/issue-with-wx-image-class-especially-set-data/141758 "2008-06-30T13:06:09Z")

</div>

Hello Hopefully some developer will see this too. I’ve problems using set\_data method for example with wxruby 1.9.7/ruby 1.8.6 on mswin32. It always crashes: …/classes/bitmap.rb:17: \[BUG\] segmentation fault On my L…

---

## [Eager loading of association extensions](https://www.ruby-forum.com/t/eager-loading-of-association-extensions/137047)

<div class="topic-metadata">

**Author:** [@yuleven](https://www.ruby-forum.com/u/yuleven)\
**Replies:** 1\
**Last updated:** [May 8, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/eager-loading-of-association-extensions/137047 "2008-05-08T16:58:16Z")

</div>

Hello all, Is it possible to do eager loading of association extensions? That is, the following code produces one SQL query: cat = ProductCategory.find(:first, :include =\> :pricing\_rules) cat.pricing\_rules But if…

---

## [How to search for ascii char sequence in binary file](https://www.ruby-forum.com/t/how-to-search-for-ascii-char-sequence-in-binary-file/118058)

<div class="topic-metadata">

**Author:** [@eclubb](https://www.ruby-forum.com/u/eclubb)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 5:22pm UTC](https://www.ruby-forum.com/t/how-to-search-for-ascii-char-sequence-in-binary-file/118058 "2007-10-23T17:22:02Z")

</div>

So I’m trying to convert e.g. ‘RIFF’ to e.g. ‘52494646’. What’s the best way to do that? I don’t know what the former string will be, be I know it will be exactly four characters. I’m searching a binary file for the…

---

## [Redirects with mongrel (dropping the www. from a url)](https://www.ruby-forum.com/t/redirects-with-mongrel-dropping-the-www-from-a-url/117428)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 1\
**Last updated:** [October 16, 2007, 8:58pm UTC](https://www.ruby-forum.com/t/redirects-with-mongrel-dropping-the-www-from-a-url/117428 "2007-10-16T20:58:53Z")

</div>

Hi All, I have a rails app running on an apache virtual host with mongrel that i want to set up a redirect from www.someapp.com to someapp.com (dropping the www.) I have tried doing this in apache using a rewrite ru…

---

## [Cookies in RSpec](https://www.ruby-forum.com/t/cookies-in-rspec/116315)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 1\
**Last updated:** [October 5, 2007, 9:06am UTC](https://www.ruby-forum.com/t/cookies-in-rspec/116315 "2007-10-05T09:06:31Z")

</div>

So how do you work with cookies properly in rspec now? I noticed in the docs that it mentions session, assigns, and flash, but nothing of cookie. I’m using edge rails so I’m concerned about changes to the cookie mec…

---

## [SNMP oid error](https://www.ruby-forum.com/t/snmp-oid-error/107691)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 25, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/snmp-oid-error/107691 "2007-06-25T15:08:03Z")

</div>

Hi, I’m using SNMP module into a simple script. I would like retrieve interfaces MAC addresses by using oid “1.3.6.1.2.1.2.2.1.6” : using snmpwalk it works fine snmpwalk -v 1 -r 1 -t 2 -c public 127.0.0.1 .1.3.6.1.…

---

## [Require 'rubygems' but return false](https://www.ruby-forum.com/t/require-rubygems-but-return-false/70435)

<div class="topic-metadata">

**Author:** [@Haofei](https://www.ruby-forum.com/u/Haofei)\
**Replies:** 1\
**Last updated:** [September 29, 2006, 5:33am UTC](https://www.ruby-forum.com/t/require-rubygems-but-return-false/70435 "2006-09-29T05:33:00Z")

</div>

i just installed the one click installer 1.8.5 on windows, but i can not use any gems coz require ‘rubygems’ return false. is there any thing i have to config? thanks :slight\_smile:

---

## [Ruby on Rails - RHEL](https://www.ruby-forum.com/t/ruby-on-rails-rhel/190939)

<div class="topic-metadata">

**Author:** [@freddy1](https://www.ruby-forum.com/u/freddy1)\
**Replies:** 6\
**Last updated:** [July 3, 2010, 12:13pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-rhel/190939 "2010-07-03T12:13:02Z")

</div>

Hi, I am fighting to install Redmine therefore I need to install Ruby on Rails to a machine behind many firewalls. OS is RHEL. My idea was to download the packages, make and install… There was some difficulties becau…

---

## [Conditional rule](https://www.ruby-forum.com/t/conditional-rule/188486)

<div class="topic-metadata">

**Author:** [@Vincent\_MAUGE](https://www.ruby-forum.com/u/Vincent_MAUGE)\
**Replies:** 6\
**Last updated:** [May 12, 2010, 10:30pm UTC](https://www.ruby-forum.com/t/conditional-rule/188486 "2010-05-12T22:30:36Z")

</div>

Hey, I need to add conditional rule with more than one test. I need something like : if ($remote\_addr = “aa.bb.cc.dd” && $request\_uri ~ ^/XXXXX$) {

---

## [Which is better?](https://www.ruby-forum.com/t/which-is-better/179978)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 6\
**Last updated:** [December 10, 2009, 1:19pm UTC](https://www.ruby-forum.com/t/which-is-better/179978 "2009-12-10T13:19:28Z")

</div>

Hi, I want to delete the numbers in a string, for example, x=“abcd1234” I have two ways: x.gsub! /\\d+/,"" x\[/\\d+/\]="" Which one is better? I personally prefer the second one. Thanks.

---

## [Time Format Conversions](https://www.ruby-forum.com/t/time-format-conversions/174709)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 6\
**Last updated:** [August 31, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/time-format-conversions/174709 "2009-08-31T23:20:49Z")

</div>

Hi all, So, I’m trying to find out the best practice for converting a time format from the following: “3:00 PM” “10:00 PM” “1:00 AM” TO: “15:00:00” “22:00:00” “01:00:00” Can anyone help me out on what I need to…

---

## [Has\_many and belongs\_to question](https://www.ruby-forum.com/t/has-many-and-belongs-to-question/146540)

<div class="topic-metadata">

**Author:** [@cobra050](https://www.ruby-forum.com/u/cobra050)\
**Replies:** 6\
**Last updated:** [August 22, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/has-many-and-belongs-to-question/146540 "2008-08-22T14:24:05Z")

</div>

Hi, I have two tables, “users” and “users\_emails”. users have the following columns: |id|name| users\_emails have the following columns: |user\_id|email| The classes look like the following: class UsersEmail\< ActiveRe…

---

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

<div class="topic-metadata">

**Author:** [@dipeshbatheja](https://www.ruby-forum.com/u/dipeshbatheja)\
**Replies:** 6\
**Last updated:** [June 26, 2008, 9:16pm UTC](https://www.ruby-forum.com/t/backgroundrb/141381 "2008-06-26T21:16:39Z")

</div>

I have installed the latest backgrouDrb plugin in my rails application. I have scheduled a task in the backgroundrb.yml, but nothing seems to happen, when i start the backgroundrb server. I am running Mac OS X 10.5.2.…

---

## [Ruby gems install error](https://www.ruby-forum.com/t/ruby-gems-install-error/139714)

<div class="topic-metadata">

**Author:** [@Artie\_Ziff](https://www.ruby-forum.com/u/Artie_Ziff)\
**Replies:** 6\
**Last updated:** [June 8, 2008, 9:15am UTC](https://www.ruby-forum.com/t/ruby-gems-install-error/139714 "2008-06-08T09:15:01Z")

</div>

Hello, I am hoping to get some ideas here. Being new to ruby, I am not familiar enough with all the pieces to know how to diagnose my installation issue. I am attempting to install rubygems 1.1.1 is on a RHEL4 host. T…

---

## [Deleting first lines of Array](https://www.ruby-forum.com/t/deleting-first-lines-of-array/134681)

<div class="topic-metadata">

**Author:** [@javent](https://www.ruby-forum.com/u/javent)\
**Replies:** 6\
**Last updated:** [April 14, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/deleting-first-lines-of-array/134681 "2008-04-14T22:56:27Z")

</div>

Hi, I’m new to Ruby, and so I was trying some stuff I was used to do with ease in perl. Something like capturing and storing the output of a commandline app in an array and manipulate that array afterwards. After sea…

---

## [Using create, update and validation](https://www.ruby-forum.com/t/using-create-update-and-validation/134397)

<div class="topic-metadata">

**Author:** [@Rory\_McKinley](https://www.ruby-forum.com/u/Rory_McKinley)\
**Replies:** 6\
**Last updated:** [April 10, 2008, 2:42pm UTC](https://www.ruby-forum.com/t/using-create-update-and-validation/134397 "2008-04-10T14:42:13Z")

</div>

Hi List When using the create and update methods, is there anyway of confirming that the create/update method was unsuccessful- e.g. if it failed validation? The API documentation and playing around in the console su…

---

## [Beginner Error: You have a nil object](https://www.ruby-forum.com/t/beginner-error-you-have-a-nil-object/91519)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 10, 2007, 3:16am UTC](https://www.ruby-forum.com/t/beginner-error-you-have-a-nil-object/91519 "2007-04-10T03:16:16Z")

</div>

So I set out to build an app that is very similar to the Depot app to build my experience. I added a lot of constant lists for the pulldowns on the admin add product page. Then this error? NoMethodError in Admin#new …

---

## [Layouts - how to render partials from multiple controllers](https://www.ruby-forum.com/t/layouts-how-to-render-partials-from-multiple-controllers/77306)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 6\
**Last updated:** [November 26, 2006, 11:11pm UTC](https://www.ruby-forum.com/t/layouts-how-to-render-partials-from-multiple-controllers/77306 "2006-11-26T23:11:51Z")

</div>

I’m not understand how to piece my whole application together. Basically I have a home page for a restaurants website which will display a search facility, a login box, and some stats. Now my first problem is not know…

---

## [Any Good Ruby on Rails Books?](https://www.ruby-forum.com/t/any-good-ruby-on-rails-books/68762)

<div class="topic-metadata">

**Author:** [@MarketingGenie](https://www.ruby-forum.com/u/MarketingGenie)\
**Replies:** 6\
**Last updated:** [October 16, 2006, 7:39pm UTC](https://www.ruby-forum.com/t/any-good-ruby-on-rails-books/68762 "2006-10-16T19:39:27Z")

</div>

Hi Guys, I am a beginner for Ruby On Rails Stuffs…is there a book that covers that for beginners…from what i read on Seems like it’s easy programming… I have experience in Dreamweaver, PHP, C++, VB & Java programmi…

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

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