# Top

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

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

---

## [Ironruby.net website not accessible](https://www.ruby-forum.com/t/ironruby-net-website-not-accessible/201615)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 19, 2011, 6:28am UTC](https://www.ruby-forum.com/t/ironruby-net-website-not-accessible/201615 "2011-01-19T06:28:05Z")

</div>

Hi all, I’ve found that you can’t access to IronRuby.net website anymore. Do you have any idea of what’s happening? Moving the website to some other hosting? Happy new year to everyone and keep up with the good job. …

---

## [In ir, \_\_FILE\_\_ not the same as in irb nor jirb](https://www.ruby-forum.com/t/in-ir-file-not-the-same-as-in-irb-nor-jirb/181502)

<div class="topic-metadata">

**Author:** [@Dotan\_N](https://www.ruby-forum.com/u/Dotan_N)\
**Replies:** 3\
**Last updated:** [January 12, 2010, 10:15pm UTC](https://www.ruby-forum.com/t/in-ir-file-not-the-same-as-in-irb-nor-jirb/181502 "2010-01-12T22:15:22Z")

</div>

hi all, not sure if it matters, in both irb and jirb we get “(irb)”, however in ir (on 0.9.2) i’m getting “(eval)” i was just fiddling around with ir and didn’t expect this

---

## [Template rails erreur rake aborded '-'](https://www.ruby-forum.com/t/template-rails-erreur-rake-aborded/172491)

<div class="topic-metadata">

**Author:** [@babiben](https://www.ruby-forum.com/u/babiben)\
**Replies:** 3\
**Last updated:** [July 22, 2009, 11:10am UTC](https://www.ruby-forum.com/t/template-rails-erreur-rake-aborded/172491 "2009-07-22T11:10:48Z")

</div>

Bonjour, il y a quelque chose que je n’arrive alors vraiment pas Ã comprendre! J’ai crÃ©Ã© un template en me basant sur l’exemple Bounga’s Home. Celui-ci contient : run “del public\\index.html” generate(:scaffold,“…

---

## [Problemas validando en rails 2.3.2 con gibberish](https://www.ruby-forum.com/t/problemas-validando-en-rails-2-3-2-con-gibberish/167159)

<div class="topic-metadata">

**Author:** [@Javier\_L](https://www.ruby-forum.com/u/Javier_L)\
**Replies:** 3\
**Last updated:** [May 4, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/problemas-validando-en-rails-2-3-2-con-gibberish/167159 "2009-05-04T23:54:24Z")

</div>

Hola a todos, me llamo Javier y estoy encantado de presentarme ante todos vosotros. Soy mÃ¡s o menos reciente en esto de rails, aunque estoy realmente encantado con Ã©l :-D. Me ha surgido el siguiente problema y qu…

---

## [Proper way to use SplashScreen?](https://www.ruby-forum.com/t/proper-way-to-use-splashscreen/159266)

<div class="topic-metadata">

**Author:** [@mahlon](https://www.ruby-forum.com/u/mahlon)\
**Replies:** 3\
**Last updated:** [February 3, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/proper-way-to-use-splashscreen/159266 "2009-02-03T19:09:48Z")

</div>

Hey all. I’m using Wx 1.9.9 on ruby 1.8.6. I can’t seem to instantiate a SplashScreen without causing a SystemStackError – am I doing something wrong? This code is in my App’s on\_init() method: splash\_img = Wx::Bit…

---

## [N-n self referring](https://www.ruby-forum.com/t/n-n-self-referring/155723)

<div class="topic-metadata">

**Author:** [@sobert](https://www.ruby-forum.com/u/sobert)\
**Replies:** 3\
**Last updated:** [December 16, 2008, 1:36am UTC](https://www.ruby-forum.com/t/n-n-self-referring/155723 "2008-12-16T01:36:16Z")

</div>

Bonsoir, J’ai un petit problÃ¨me : j’ai une table de players. chaque players peut avoir un ou plusieurs amis. J’ai donc tout naturellement pensÃ© Ã faire une table friends en relation, table avec 2 colonnes de FK id\_…

---

## [Jruby virtual memory size](https://www.ruby-forum.com/t/jruby-virtual-memory-size/155523)

<div class="topic-metadata">

**Author:** [@Nick\_Stielau](https://www.ruby-forum.com/u/Nick_Stielau)\
**Replies:** 3\
**Last updated:** [December 12, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/jruby-virtual-memory-size/155523 "2008-12-12T23:50:11Z")

</div>

Hello, I have a question about memory usage with JRuby. I am trying to get JRuby (1.1.6RC1) to run in my GoDaddy virtual private server (Fedora release 7 (Moonshine), with 256 guaranteed RAM). Its not so much that …

---

## [Problems Contributing](https://www.ruby-forum.com/t/problems-contributing/139674)

<div class="topic-metadata">

**Author:** [@pr\_epostero](https://www.ruby-forum.com/u/pr_epostero)\
**Replies:** 3\
**Last updated:** [June 11, 2008, 1:45pm UTC](https://www.ruby-forum.com/t/problems-contributing/139674 "2008-06-11T13:45:43Z")

</div>

Hi, Two days ago, I submitted a patch for a sidebar that display the most recently played and newest tracks from a user’s Mp3tunes locker. It looks like my timing was bad since the project management URL has changed …

---

## [Errno::ECONNRESET (Connection reset by peer):](https://www.ruby-forum.com/t/errno-econnreset-connection-reset-by-peer/122449)

<div class="topic-metadata">

**Author:** [@mfaine](https://www.ruby-forum.com/u/mfaine)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/errno-econnreset-connection-reset-by-peer/122449 "2007-12-07T18:13:34Z")

</div>

Seemingly random db connection drop (FastCGI/Apache/PostgreSQL). Kills the app with an ‘Application Error (Rails)’ Any suggestions? production.log as follows: Processing Base#index (for xxx.xxx.xxx.xxx at 2007-12-07 …

---

## [Require tzinfo on rails 1.2](https://www.ruby-forum.com/t/require-tzinfo-on-rails-1-2/87108)

<div class="topic-metadata">

**Author:** [@robbie](https://www.ruby-forum.com/u/robbie)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/require-tzinfo-on-rails-1-2/87108 "2007-03-01T16:56:52Z")

</div>

I’ve just upgraded rails to 1.2 and now everything breaks when accessing pages that use tzinfo. I get the following errors: uninitialized constant FriendController::Timezone c:/ruby/lib/ruby/gems/1.8/gems/activesuppo…

---

## [Rhtml templates and syntax](https://www.ruby-forum.com/t/rhtml-templates-and-syntax/55403)

<div class="topic-metadata">

**Author:** [@kronidas](https://www.ruby-forum.com/u/kronidas)\
**Replies:** 3\
**Last updated:** [March 20, 2006, 11:18pm UTC](https://www.ruby-forum.com/t/rhtml-templates-and-syntax/55403 "2006-03-20T23:18:55Z")

</div>

Hello, where do we need \<% -%\> in templates ? What is the difference between \<%= %\> and it ?

---

## [Updating hash key value](https://www.ruby-forum.com/t/updating-hash-key-value/259875)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 2\
**Last updated:** [June 23, 2020, 9:09am UTC](https://www.ruby-forum.com/t/updating-hash-key-value/259875 "2020-06-23T09:09:41Z")

</div>

in this case how can i upadate the key pageToken value

---

## [(koans) uninitialized constant TriangleError](https://www.ruby-forum.com/t/koans-uninitialized-constant-triangleerror/223121)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 23, 2012, 5:12pm UTC](https://www.ruby-forum.com/t/koans-uninitialized-constant-triangleerror/223121 "2012-09-23T17:12:43Z")

</div>

Hello, I have to make a exception part on triangles now. The exercise looks like this : \[/code\] \*\*# You need to write the triangle method in the file ‘triangle.rb’ require ‘triangle.rb’ class AboutTriangleProject2 \<…

---

## [Nginx 1.x.x segfault at e8 ip xxx sp xxx error 4 in libssl.so.1.0.0](https://www.ruby-forum.com/t/nginx-1-x-x-segfault-at-e8-ip-xxx-sp-xxx-error-4-in-libssl-so-1-0-0/214241)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 25, 2011, 2:12pm UTC](https://www.ruby-forum.com/t/nginx-1-x-x-segfault-at-e8-ip-xxx-sp-xxx-error-4-in-libssl-so-1-0-0/214241 "2011-11-25T14:12:57Z")

</div>

nginx -V output: nginx version: nginx/1.1.8 built by gcc 4.6.2 (Debian 4.6.2-5) TLS SNI support enabled configure arguments: --prefix=/etc/nginx –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error…

---

## [Syck dies on multiline regex](https://www.ruby-forum.com/t/syck-dies-on-multiline-regex/208269)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 14, 2011, 2:50am UTC](https://www.ruby-forum.com/t/syck-dies-on-multiline-regex/208269 "2011-06-14T02:50:13Z")

</div>

require ‘yaml’ \[YAML, Marshal\].each do |serializer| \[/ab/x, /a b/x\].each do |regex| begin serializer.load(serializer.dump regex) rescue p $! end end end \>\> #\<Syck::TypeError: Invalid Regular expression: "/a\\n b…

---

## [Generating views in pdf, rtf, or doc format](https://www.ruby-forum.com/t/generating-views-in-pdf-rtf-or-doc-format/181661)

<div class="topic-metadata">

**Author:** [@parki](https://www.ruby-forum.com/u/parki)\
**Replies:** 2\
**Last updated:** [January 15, 2010, 6:44pm UTC](https://www.ruby-forum.com/t/generating-views-in-pdf-rtf-or-doc-format/181661 "2010-01-15T18:44:40Z")

</div>

I have a requirement to generate views (list and show views, including data and uploaded images) into a format that can be saved and/or emailed. I’m looking for opinions on the easiest way to achieve this. I’ve resea…

---

## [Create, read, update an sqlite database](https://www.ruby-forum.com/t/create-read-update-an-sqlite-database/120613)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 12:37pm UTC](https://www.ruby-forum.com/t/create-read-update-an-sqlite-database/120613 "2007-11-19T12:37:58Z")

</div>

This is all from http://sqlite-ruby.rubyforge.org/sqlite3/faq.html. How do interpret the following error pls: thufir@arrakis ~/rubyCode/sqlite $ thufir@arrakis ~/rubyCode/sqlite $ ruby seven.rb /usr/lib/ruby/gems/1.8…

---

## [New migration method is not dry](https://www.ruby-forum.com/t/new-migration-method-is-not-dry/106284)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 2\
**Last updated:** [June 9, 2007, 5:55am UTC](https://www.ruby-forum.com/t/new-migration-method-is-not-dry/106284 "2007-06-09T05:55:03Z")

</div>

I’m confused why the move was made to made to rake plugin\_migration. If I have a bunch of apps that use the same engine, now if I change the engine schema I need to make sure I add the migrations to each app, with pl…

---

## [Software implementation of GSM](https://www.ruby-forum.com/t/software-implementation-of-gsm/105865)

<div class="topic-metadata">

**Author:** [@joshualef](https://www.ruby-forum.com/u/joshualef)\
**Replies:** 2\
**Last updated:** [June 7, 2007, 2:51am UTC](https://www.ruby-forum.com/t/software-implementation-of-gsm/105865 "2007-06-07T02:51:19Z")

</div>

gssm-v0.1 Groupe Special (Software) Mobile or The Global Software System for Mobile communications SUMMARY Okay, calling gssm “The Global Software System for Mobile communications” is a bit of a stretch as all it …

---

## [Get error while running functional test](https://www.ruby-forum.com/t/get-error-while-running-functional-test/196842)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 1\
**Last updated:** [January 6, 2009, 2:58am UTC](https://www.ruby-forum.com/t/get-error-while-running-functional-test/196842 "2009-01-06T02:58:23Z")

</div>

Hi in my application i had some fixtures. and when i give command for running functional test i will get following error E:/projects/sprint\_035/vendor/rails/activerecord/lib/…/…/activesupport/lib/act ive\_support/depe…

---

## [I see two times the head section when porting a html piece in erb](https://www.ruby-forum.com/t/i-see-two-times-the-head-section-when-porting-a-html-piece-in-erb/231434)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 8, 2014, 9:33am UTC](https://www.ruby-forum.com/t/i-see-two-times-the-head-section-when-porting-a-html-piece-in-erb/231434 "2014-08-08T09:33:35Z")

</div>

Hello, I have this piece: Liberator Admin Theme \<%= stylesheet\_link\_tag “bootstrap/bootstrap.css”,“font-awesome-4.0.3/css/font-awesome.min.css”,“jquery-ui.css”,“toastr.css”,“style.css” %\> When I…

---

## [Ruby 1.9.3 rpms](https://www.ruby-forum.com/t/ruby-1-9-3-rpms/227146)

<div class="topic-metadata">

**Author:** [@mly](https://www.ruby-forum.com/u/mly)\
**Replies:** 4\
**Last updated:** [March 8, 2013, 1:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-3-rpms/227146 "2013-03-08T13:50:46Z")

</div>

Is there a good source for ruby 1.9.3 rpms for CentOS 6? The base repositories still have 1.8.7. Or even any of the 1.9.x family? – Matt It’s not what I know that counts. It’s what I can remember in time to use.

---

## [Uninitialized constant ActionWebService](https://www.ruby-forum.com/t/uninitialized-constant-actionwebservice/178725)

<div class="topic-metadata">

**Author:** [@chinna\_gogulapati](https://www.ruby-forum.com/u/chinna_gogulapati)\
**Replies:** 4\
**Last updated:** [March 10, 2012, 8:13am UTC](https://www.ruby-forum.com/t/uninitialized-constant-actionwebservice/178725 "2012-03-10T08:13:49Z")

</div>

Hey guys I am very much new to ruby. I was just trying to implement a websrvice example in Ruby on Rails by using “IBM Developer” i got the error like this.can any one help me to resolve this issue. Error is… NameE…

---

## [How are people speccing and cuke-ing Paperclip (with S3)?](https://www.ruby-forum.com/t/how-are-people-speccing-and-cuke-ing-paperclip-with-s3/191753)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 4\
**Last updated:** [July 17, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/how-are-people-speccing-and-cuke-ing-paperclip-with-s3/191753 "2010-07-17T20:02:30Z")

</div>

Hi – I’m running into all sorts of difficulties trying to use paperclip with cucumber and rspec. Basically, I’m stubbing out paperclip calls with WebMock (I’ve adapted the shoulda macro that uses FakeWeb to do this). …

---

## [Problem installing Qt4 gem on Windows](https://www.ruby-forum.com/t/problem-installing-qt4-gem-on-windows/148920)

<div class="topic-metadata">

**Author:** [@ther](https://www.ruby-forum.com/u/ther)\
**Replies:** 4\
**Last updated:** [September 19, 2008, 9:00am UTC](https://www.ruby-forum.com/t/problem-installing-qt4-gem-on-windows/148920 "2008-09-19T09:00:12Z")

</div>

Shouldn’t windows gems be precompiled? D:\>gem install qtruby4-1.4.10-x86-mswin32.gem Building native extensions. This could take a while… ERROR: Error installing qtruby4-1.4.10-x86-mswin32.gem: ERROR: Failed to bui…

---

## [REXML::Document could not parse UTF-8 "\<name\>\\302\</name\>"](https://www.ruby-forum.com/t/rexml-document-could-not-parse-utf-8-name-302-name/125035)

<div class="topic-metadata">

**Author:** [@jesseproudman](https://www.ruby-forum.com/u/jesseproudman)\
**Replies:** 4\
**Last updated:** [January 5, 2008, 8:02pm UTC](https://www.ruby-forum.com/t/rexml-document-could-not-parse-utf-8-name-302-name/125035 "2008-01-05T20:02:24Z")

</div>

Hi all, Im working with some UTF-8 data and basically if I run this: require ‘rexml/document’ data = “\\302” doc = REXML::Document.new(data) I get an error that says I did not close the tag: REXML::ParseException: …

---

## [Mock Kernel method](https://www.ruby-forum.com/t/mock-kernel-method/123060)

<div class="topic-metadata">

**Author:** [@rinda](https://www.ruby-forum.com/u/rinda)\
**Replies:** 4\
**Last updated:** [December 13, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/mock-kernel-method/123060 "2007-12-13T21:31:23Z")

</div>

I use rspec on rails. I want to test model. My model has this method: class My def self.blabla(url) open(url) {|f| #processing } end end open is Kernel method. How do I mock it? Kernel.expects and Kernel.should…

---

## [Regular Expression Help](https://www.ruby-forum.com/t/regular-expression-help/88736)

<div class="topic-metadata">

**Author:** [@eddieroger](https://www.ruby-forum.com/u/eddieroger)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/regular-expression-help/88736 "2007-09-25T23:04:57Z")

</div>

I’m trying to write a regular expression for Ruby and running into roadblocks. I’m not new to the concept of a regex, and have written many before, but I’m new to implementation in Ruby and working with a particularly…

---

## [Include contents of a file in a view](https://www.ruby-forum.com/t/include-contents-of-a-file-in-a-view/108738)

<div class="topic-metadata">

**Author:** [@stephen\_OSD](https://www.ruby-forum.com/u/stephen_OSD)\
**Replies:** 4\
**Last updated:** [July 6, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/include-contents-of-a-file-in-a-view/108738 "2007-07-06T19:06:19Z")

</div>

Guys, I have an application and part of its function is to display html marked up text files to the users, inlined in the current page layout. I have the files stored outside the Rails app directories, and not in th…

---

## [Ruby 1.8.4 RDoc Seg fault](https://www.ruby-forum.com/t/ruby-1-8-4-rdoc-seg-fault/93890)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [April 27, 2006, 7:59am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rdoc-seg-fault/93890 "2006-04-27T07:59:58Z")

</div>

Got this today: with\_reader.rb: /usr/lib/ruby/1.8/rdoc/parsers/parse\_rb.rb:384: \[BUG\] Segmentation fault T.

---

## [App not waiting for popen to finish](https://www.ruby-forum.com/t/app-not-waiting-for-popen-to-finish/57461)

<div class="topic-metadata">

**Author:** [@SSMKSM](https://www.ruby-forum.com/u/SSMKSM)\
**Replies:** 4\
**Last updated:** [April 11, 2006, 4:18pm UTC](https://www.ruby-forum.com/t/app-not-waiting-for-popen-to-finish/57461 "2006-04-11T16:18:42Z")

</div>

Hello, I’m using ‘wget’ to download a few files and then tar them up. I’m using popen to make calls to wget and tar. Problem is that it tries to call tar right after the wget call. I need to wait for wget to finish. …

---

## [Getting Acts\_as\_Paranoid to work with validates\_uniqueness\_o](https://www.ruby-forum.com/t/getting-acts-as-paranoid-to-work-with-validates-uniqueness-o/54372)

<div class="topic-metadata">

**Author:** [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Replies:** 4\
**Last updated:** [March 2, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/getting-acts-as-paranoid-to-work-with-validates-uniqueness-o/54372 "2006-03-02T21:14:13Z")

</div>

Hello I’ve been using Acts\_as\_Parnoid for a while and it has been working well but I am now having a slight issue with it. I have a company table were I would like to use validates\_uniqueness\_of :company\_name. This …

---

## [Is there any way to load SSL certificates from a URL?](https://www.ruby-forum.com/t/is-there-any-way-to-load-ssl-certificates-from-a-url/241804)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 2, 2015, 4:13pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-load-ssl-certificates-from-a-url/241804 "2015-05-02T16:13:53Z")

</div>

When nginx starts I want to load the SSL certificates via URL rather than file system. This is because the machine that I am running from does not have a usable file system, and also because I need to fetch the certif…

---

## [PRB RAILS (I am a beginner)](https://www.ruby-forum.com/t/prb-rails-i-am-a-beginner/234729)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [March 25, 2015, 11:20am UTC](https://www.ruby-forum.com/t/prb-rails-i-am-a-beginner/234729 "2015-03-25T11:20:46Z")

</div>

Hi, Excuse me for my english. After some difficulty, I managed to install Ruby 2.2.1 and Rails 4.2.1 on a machine windows 7 32-bit. After create test project (rails new first\_app) When when I do rails server in fold…

---

## [FindICE.cmake](https://www.ruby-forum.com/t/findice-cmake/240804)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 8, 2014, 3:24am UTC](https://www.ruby-forum.com/t/findice-cmake/240804 "2014-05-08T03:24:26Z")

</div>

I’m trying to build gnu radio with control port, but cmake won’t find my Ice installation. I have Ice-3.4 installed through apt on Ubuntu 13.10. Digging in to the FindIce.cmake I made the following changes: diff --git…

---

## [Cold not find Zynq gnuradio-runtime module](https://www.ruby-forum.com/t/cold-not-find-zynq-gnuradio-runtime-module/239664)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [March 16, 2014, 12:53am UTC](https://www.ruby-forum.com/t/cold-not-find-zynq-gnuradio-runtime-module/239664 "2014-03-16T00:53:32Z")

</div>

I’m playing with gnuradio on zynq by following this tutorial http://gnuradio.org/redmine/projects/gnuradio/wiki/Zynq I’m playing with this great tutorial http://gnuradio.org/redmine/projects/gnuradio/wiki/Zynq But, w…

---

## [Lottery generation script](https://www.ruby-forum.com/t/lottery-generation-script/237807)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 3, 2013, 1:14pm UTC](https://www.ruby-forum.com/t/lottery-generation-script/237807 "2013-12-03T13:14:42Z")

</div>

Hello everyone! So, I have this code: #ticket database ticket1 = 88795 #ticket number quantity1 = 3 #quantity bought puts “\\n” #break #lottery draw list = \[\] (list \<\< ‘%05i’ % (rand(99999)+1)).uniq! while list.l…

---

## [Roll your own authentication?](https://www.ruby-forum.com/t/roll-your-own-authentication/228748)

<div class="topic-metadata">

**Author:** [@cnchan](https://www.ruby-forum.com/u/cnchan)\
**Replies:** 5\
**Last updated:** [May 8, 2013, 3:22am UTC](https://www.ruby-forum.com/t/roll-your-own-authentication/228748 "2013-05-08T03:22:33Z")

</div>

Hi! I watched this video the other day: http://vimeo.com/39498553 where they argue that it may be a better idea to roll your own authentication solution using has\_secure\_password instead of using, for instance, Devis…

---

## [Fairy: A framework for distributed processing](https://www.ruby-forum.com/t/fairy-a-framework-for-distributed-processing/200154)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 7, 2010, 7:06am UTC](https://www.ruby-forum.com/t/fairy-a-framework-for-distributed-processing/200154 "2010-12-07T07:06:46Z")

</div>

We are very happy to announce that fairy 0.6.0 has just been released! fairy is a framework for distributed processing in Ruby, originally designed at Rakuten Institute of Technology with Yukihiro M., the founder of R…

---

## [Getting 500 error while deploying to bluehost please help](https://www.ruby-forum.com/t/getting-500-error-while-deploying-to-bluehost-please-help/172097)

<div class="topic-metadata">

**Author:** [@sagarwal1981](https://www.ruby-forum.com/u/sagarwal1981)\
**Replies:** 5\
**Last updated:** [July 23, 2009, 7:00pm UTC](https://www.ruby-forum.com/t/getting-500-error-while-deploying-to-bluehost-please-help/172097 "2009-07-23T19:00:59Z")

</div>

Hi All, I am getting 500 error while deploying to bluehost , please provide some pointer request failed: error reading the headers, referer: http://unimasr.com/community/portal.php \[Tue Jul 14 11:38:39 2009\] \[notice…

---

## [Help with Ruby Gems](https://www.ruby-forum.com/t/help-with-ruby-gems/170246)

<div class="topic-metadata">

**Author:** [@suelee](https://www.ruby-forum.com/u/suelee)\
**Replies:** 5\
**Last updated:** [June 15, 2009, 7:53pm UTC](https://www.ruby-forum.com/t/help-with-ruby-gems/170246 "2009-06-15T19:53:54Z")

</div>

Okay so I’m new to ruby and rails. This is probably a very easy question. So, I’m trying to run Webrick but it tells me that I need to install gems. This is what I keep getting: Macintosh:contactlist sue$ ruby script…

---

## [Problem with "starts\_with?"](https://www.ruby-forum.com/t/problem-with-starts-with/144678)

<div class="topic-metadata">

**Author:** [@skaverat](https://www.ruby-forum.com/u/skaverat)\
**Replies:** 5\
**Last updated:** [August 1, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/problem-with-starts-with/144678 "2008-08-01T21:19:29Z")

</div>

How can I get this code to work in my classes? http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/String/StartsEndsWith.html I’d like to have all my custom methods located in one file, which I can just in…

---

## [Separara grupos de digitos](https://www.ruby-forum.com/t/separara-grupos-de-digitos/118839)

<div class="topic-metadata">

**Author:** [@Angel\_Mauricio\_Pino](https://www.ruby-forum.com/u/Angel_Mauricio_Pino)\
**Replies:** 5\
**Last updated:** [October 31, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/separara-grupos-de-digitos/118839 "2007-10-31T16:17:16Z")

</div>

Como se formatean salidas numÃ©ricas en RUBY?, busque to\_s, sprintf, printf, y expresiones regulares, puede ser esa la forma, pero no se como. gracias, por su ayuda ya solucione lo de los encabezados en PDF

---

## [Statistics logging](https://www.ruby-forum.com/t/statistics-logging/84992)

<div class="topic-metadata">

**Author:** [@phillyloco](https://www.ruby-forum.com/u/phillyloco)\
**Replies:** 5\
**Last updated:** [February 10, 2007, 5:24am UTC](https://www.ruby-forum.com/t/statistics-logging/84992 "2007-02-10T05:24:36Z")

</div>

Hello, I am building a web application that will require a lot of statistic logging. Each request could generate between 2 and 6 database inserts. It seems a bit of an overhead to have this running in the main applic…

---

## [Sparse multi-dimensional arrays](https://www.ruby-forum.com/t/sparse-multi-dimensional-arrays/70872)

<div class="topic-metadata">

**Author:** [@Bill\_Birkett](https://www.ruby-forum.com/u/Bill_Birkett)\
**Replies:** 5\
**Last updated:** [October 3, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/sparse-multi-dimensional-arrays/70872 "2006-10-03T19:24:24Z")

</div>

I did like to convert some programs I wrote in Perl to Ruby. I’m working with sparse three dimensional data. Here’s an example in Perl. The array @a has just two elements. The rest are undefined. #!/usr/bin/perl -w $…

---

## [Access denied problem](https://www.ruby-forum.com/t/access-denied-problem/52767)

<div class="topic-metadata">

**Author:** [@scottbrisko](https://www.ruby-forum.com/u/scottbrisko)\
**Replies:** 5\
**Last updated:** [September 20, 2006, 4:50pm UTC](https://www.ruby-forum.com/t/access-denied-problem/52767 "2006-09-20T16:50:26Z")

</div>

Hello I’ve started working through the book “Agile web development with Rails” and so far everything has been great. I’m on page 56, 57 trying to create the admin tool for the example project “Depot”. I’m on OS X Pa…

---

## [Randomly select an element from an array](https://www.ruby-forum.com/t/randomly-select-an-element-from-an-array/64185)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 5\
**Last updated:** [June 23, 2006, 12:08pm UTC](https://www.ruby-forum.com/t/randomly-select-an-element-from-an-array/64185 "2006-06-23T12:08:42Z")

</div>

I have an array: \[1,2,3,4,5\] How do I randomly select an element from the array?

---

## [Javascipt form validation in Rails](https://www.ruby-forum.com/t/javascipt-form-validation-in-rails/48084)

<div class="topic-metadata">

**Author:** [@petermichaux](https://www.ruby-forum.com/u/petermichaux)\
**Replies:** 5\
**Last updated:** [March 29, 2006, 10:48am UTC](https://www.ruby-forum.com/t/javascipt-form-validation-in-rails/48084 "2006-03-29T10:48:58Z")

</div>

Hi, In PHP I was validating twice: client side and then server side. Certainly the code was not DRY but it made the user experience quicker and saved server requests. I thought of the client side validation as optimi…

---

## [Ruby template creation](https://www.ruby-forum.com/t/ruby-template-creation/264568)

<div class="topic-metadata">

**Author:** [@sablokgaurav](https://www.ruby-forum.com/u/sablokgaurav)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 12:41pm UTC](https://www.ruby-forum.com/t/ruby-template-creation/264568 "2024-01-24T12:41:42Z")

</div>

a shorter version of creating the ruby templates for gem development. class CookieGem =begin A cookiclutter for making the ruby gems, provide the variables as you want in your ruby gemspec file and it will wri…

---

## [Ruby gnome 2.2.5!](https://www.ruby-forum.com/t/ruby-gnome-2-2-5/241726)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [July 3, 2015, 11:50am UTC](https://www.ruby-forum.com/t/ruby-gnome-2-2-5/241726 "2015-07-03T11:50:42Z")

</div>

ruby gnome 2.2.5 !

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

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