# Top

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

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

---

## [Memory Question](https://www.ruby-forum.com/t/memory-question/73428)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 6\
**Last updated:** [February 27, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/memory-question/73428 "2006-02-27T21:40:59Z")

</div>

I am doing some large queries with Mysql and the memory that gets allocated never seems to go back to the system. In this test I am querying 47,000 records. My setup for my test is ubuntu breezy, rails 1.0, mysql 5.0.…

---

## [Credit card processing](https://www.ruby-forum.com/t/credit-card-processing/50389)

<div class="topic-metadata">

**Author:** [@swill](https://www.ruby-forum.com/u/swill)\
**Replies:** 6\
**Last updated:** [December 15, 2005, 10:48pm UTC](https://www.ruby-forum.com/t/credit-card-processing/50389 "2005-12-15T22:48:18Z")

</div>

Sorry this is so far off topic, but there are a lot of smart, experienced people here. Anyone have thoughts about using credit card gateways vs. something like the PayPal merchant solution? It seems like the gateways…

---

## [React With Ruby On Rails?](https://www.ruby-forum.com/t/react-with-ruby-on-rails/264892)

<div class="topic-metadata">

**Author:** [@Jiten](https://www.ruby-forum.com/u/Jiten)\
**Replies:** 0\
**Last updated:** [July 7, 2024, 6:03pm UTC](https://www.ruby-forum.com/t/react-with-ruby-on-rails/264892 "2024-07-07T18:03:13Z")

</div>

Powerful, modern web applications. Ruby on Rails is a spectacular framework to create solid backends, and work with databases and business logic. It is globally acclaimed JavaScript library that can be used for construct…

---

## [HackRF 2.4GHz](https://www.ruby-forum.com/t/hackrf-2-4ghz/244964)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 19, 2016, 11:11am UTC](https://www.ruby-forum.com/t/hackrf-2-4ghz/244964 "2016-07-19T11:11:40Z")

</div>

Hi all, I’ve bought a HackRF and been playing around with it, but I thought maybe someone could help me out with something. I’m trying to replicate this ‘hack’, but then with the XN297 transceiver chip: http://blog.p…

---

## [Gtk::Frame - how to respond to mouse-click event?](https://www.ruby-forum.com/t/gtk-frame-how-to-respond-to-mouse-click-event/242567)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [July 2, 2015, 8:56pm UTC](https://www.ruby-forum.com/t/gtk-frame-how-to-respond-to-mouse-click-event/242567 "2015-07-02T20:56:43Z")

</div>

Hi. Consider this code here: require ‘gtk2’ frame = Gtk::Frame.new(‘test’) window = Gtk::Window.new window.add frame window.show\_all window.resize(500,500) Gtk.main Now I need to be able to respond to on-mouse-cl…

---

## [Breadth First Search and Depth First Search binary tree](https://www.ruby-forum.com/t/breadth-first-search-and-depth-first-search-binary-tree/231336)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 3, 2014, 9:16pm UTC](https://www.ruby-forum.com/t/breadth-first-search-and-depth-first-search-binary-tree/231336 "2014-08-03T21:16:27Z")

</div>

Hi. My full code is posted below. I have a DFS and a BFS method inside the BTreeBuilder class. I’m pretty sure the BFS correct, but I’m not so sure about the DFS and can’t find any examples online. My question is, …

---

## [Libusb error with gnuradio v3.4.2git](https://www.ruby-forum.com/t/libusb-error-with-gnuradio-v3-4-2git/237345)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 7, 2013, 12:20pm UTC](https://www.ruby-forum.com/t/libusb-error-with-gnuradio-v3-4-2git/237345 "2013-11-07T12:20:46Z")

</div>

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

---

## [Speeding up RSpec Tests](https://www.ruby-forum.com/t/speeding-up-rspec-tests/229713)

<div class="topic-metadata">

**Author:** [@boobmarleyy](https://www.ruby-forum.com/u/boobmarleyy)\
**Replies:** 0\
**Last updated:** [February 13, 2013, 10:22pm UTC](https://www.ruby-forum.com/t/speeding-up-rspec-tests/229713 "2013-02-13T22:22:46Z")

</div>

Hi there, In a blog post I’ve seen that it’s really possible to speed up some of the rspec tests by small tweaks. As far as I understand, it is about BCrypt and the cost of encryption algorithms. More information: h…

---

## [ActiveRecord date field, insert date object?](https://www.ruby-forum.com/t/activerecord-date-field-insert-date-object/229898)

<div class="topic-metadata">

**Author:** [@dizzyone](https://www.ruby-forum.com/u/dizzyone)\
**Replies:** 3\
**Last updated:** [February 7, 2013, 4:54pm UTC](https://www.ruby-forum.com/t/activerecord-date-field-insert-date-object/229898 "2013-02-07T16:54:18Z")

</div>

Hello, I am newish to rails and I am having an issue with inserting a date. The field is type date in schema.db (and the migration). When I instantiate the model class (\*.new()) I receive the following error. /home/f…

---

## [Multithread in DRb](https://www.ruby-forum.com/t/multithread-in-drb/223529)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 8, 2012, 7:19pm UTC](https://www.ruby-forum.com/t/multithread-in-drb/223529 "2012-10-08T19:19:41Z")

</div>

Suppose I want to create 6 threads in client side following: http://segment7.net/projects/ruby/drb/introduction.html which one is better at cleint side? require ‘drb’ DRb.start\_service remote\_array = DRbObject.new n…

---

## [Regular Expression Conundrums](https://www.ruby-forum.com/t/regular-expression-conundrums/222538)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 15, 2012, 2:44am UTC](https://www.ruby-forum.com/t/regular-expression-conundrums/222538 "2012-09-15T02:44:11Z")

</div>

http://pastie.org/4643789 Why, in Case 2, do I have to escape the asterisk twice to keep the program from thinking /\\ is a substarter? Thank you all for your help! I really appreciate this.

---

## [Error with Gem Outdated command](https://www.ruby-forum.com/t/error-with-gem-outdated-command/189469)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 3\
**Last updated:** [January 9, 2011, 6:40am UTC](https://www.ruby-forum.com/t/error-with-gem-outdated-command/189469 "2011-01-09T06:40:39Z")

</div>

(realized this should have been posted here, not the Rails group…) Trying to run ‘gem outdated’ on OS X (10.6.3) and I’m getting: sudo gem outdated ERROR: While executing gem … (NoMethodError) undefined method \`fir…

---

## [Ruby 1.9.2 : Io performance when application use multithread](https://www.ruby-forum.com/t/ruby-1-9-2-io-performance-when-application-use-multithread/226124)

<div class="topic-metadata">

**Author:** [@raubarede](https://www.ruby-forum.com/u/raubarede)\
**Replies:** 8\
**Last updated:** [December 17, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-io-performance-when-application-use-multithread/226124 "2010-12-17T12:10:41Z")

</div>

Hello, The file attachment is an simple script for measure performance between client TCP and server, in Mbyte/s. With Ruby 1.9.2, when the server run in multi thread ( Thread.new(serv.accept()) {…} ) the script giv…

---

## [Strange problem with CSV and funny chars](https://www.ruby-forum.com/t/strange-problem-with-csv-and-funny-chars/200124)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 6, 2010, 5:18pm UTC](https://www.ruby-forum.com/t/strange-problem-with-csv-and-funny-chars/200124 "2010-12-06T17:18:44Z")

</div>

I am using CSV in a rake task (db:seed) on Rails 3.0.3, Ruby 1.9.2 to read a file with some funny chars in it. Upon breaking in at a point where the row read using CSV is in variable row, with the string with the cha…

---

## [Eventfd() failed](https://www.ruby-forum.com/t/eventfd-failed/199120)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 16, 2010, 1:42pm UTC](https://www.ruby-forum.com/t/eventfd-failed/199120 "2010-11-16T13:42:56Z")

</div>

Hi, all I install nginx on my server listned on port 82 but when try access browser just said “Waiting…” and not show dwfault page. I found follow errors in error.log. nginx version: 0.8.53 kernel version: 2.6.18 T…

---

## [Any emacs user here?](https://www.ruby-forum.com/t/any-emacs-user-here/198626)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 8\
**Last updated:** [November 5, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/any-emacs-user-here/198626 "2010-11-05T22:00:19Z")

</div>

I’m now using Sinatra and I’m an emacser I want to know if there is any el for .haml editing And I’ll be happy to see guys here using emacs to share your configuration for ruby developing, thank you very much :slight\_…

---

## [Rspec2 help output has brackets?](https://www.ruby-forum.com/t/rspec2-help-output-has-brackets/191833)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [July 21, 2010, 2:02am UTC](https://www.ruby-forum.com/t/rspec2-help-output-has-brackets/191833 "2010-07-21T02:02:11Z")

</div>

Hi all. Saw this: Usage: rspec \[options\] \[files or directories\] -b, --backtrace Enable full backtrace -c, --\[no-\]color, --\[no-\]colour Enable color in the output -d, --debug Ena…

---

## [Toggle references](https://www.ruby-forum.com/t/toggle-references/189826)

<div class="topic-metadata">

**Author:** [@yonkey](https://www.ruby-forum.com/u/yonkey)\
**Replies:** 3\
**Last updated:** [June 9, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/toggle-references/189826 "2010-06-09T16:30:47Z")

</div>

Hi, I filed a bug report with two patches for using toggle references for the GObject memory management in ruby-gnome2. I just thought I’d send a note to this list as well in case the Bugzilla isn’t often checked. ht…

---

## [Discontinuous OFDM implementation?](https://www.ruby-forum.com/t/discontinuous-ofdm-implementation/187557)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 3\
**Last updated:** [April 26, 2010, 4:42pm UTC](https://www.ruby-forum.com/t/discontinuous-ofdm-implementation/187557 "2010-04-26T16:42:46Z")

</div>

Hi all, Has anyone out there implemented discontinuous OFDM on GNU Radio and the USRP? I’ve seen a couple papers with an implementation on GNU Radio in DySPAN and some other conferences, but nobody has responded to m…

---

## [Any way to read file contents into a variable?](https://www.ruby-forum.com/t/any-way-to-read-file-contents-into-a-variable/181972)

<div class="topic-metadata">

**Author:** [@arianna](https://www.ruby-forum.com/u/arianna)\
**Replies:** 3\
**Last updated:** [January 27, 2010, 8:59am UTC](https://www.ruby-forum.com/t/any-way-to-read-file-contents-into-a-variable/181972 "2010-01-27T08:59:17Z")

</div>

want to store urls (locations) in files and issue redirects based on file contents. $request\_body looks like it’s only available on proxy… Posted at Nginx Forum:

---

## [Setting working dir for glassfish deployed war](https://www.ruby-forum.com/t/setting-working-dir-for-glassfish-deployed-war/180281)

<div class="topic-metadata">

**Author:** [@oscar-alexander](https://www.ruby-forum.com/u/oscar-alexander)\
**Replies:** 3\
**Last updated:** [December 17, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/setting-working-dir-for-glassfish-deployed-war/180281 "2009-12-17T18:26:44Z")

</div>

Hi, Not sure if this is a Glassfish, Warbler or JRuby issue, but this seemed the best place to get an answer. I’m trying to setup a very simple webapp with Sinatra, ActiveRecord and SQLite, testing using Webrick and …

---

## [Redbox](https://www.ruby-forum.com/t/redbox/172092)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 3\
**Last updated:** [July 16, 2009, 3:51am UTC](https://www.ruby-forum.com/t/redbox/172092 "2009-07-16T03:51:34Z")

</div>

I’m trying to do a simple submission using the redbox plugin. However, the fields for the form I want to display appear properly in the center of the page, the background box created by redbox (with the spinner gif) …

---

## [MS-SQL deliveres binary image as array](https://www.ruby-forum.com/t/ms-sql-deliveres-binary-image-as-array/152384)

<div class="topic-metadata">

**Author:** [@lackyg](https://www.ruby-forum.com/u/lackyg)\
**Replies:** 3\
**Last updated:** [November 5, 2008, 10:06am UTC](https://www.ruby-forum.com/t/ms-sql-deliveres-binary-image-as-array/152384 "2008-11-05T10:06:38Z")

</div>

Hello! I need to display images stored in a MS-SQL database but I get the following error: NoMethodError (undefined method unpack' for #\<Array:0x48cbff0\>): c:/ruby/lib/ruby/1.8/base64.rb:59:indecode64’ I guess its be…

---

## [My migrations are causing SQL problems](https://www.ruby-forum.com/t/my-migrations-are-causing-sql-problems/138535)

<div class="topic-metadata">

**Author:** [@GarrettB](https://www.ruby-forum.com/u/GarrettB)\
**Replies:** 8\
**Last updated:** [May 25, 2008, 1:37am UTC](https://www.ruby-forum.com/t/my-migrations-are-causing-sql-problems/138535 "2008-05-25T01:37:16Z")

</div>

I am running: rake db:migrate, and I am getting this error. I am some what of a beginner, and I can’t seem to understand migrations, because I can’t fix this problem :frowning: == 2 CreateWorks: migrating – create\_tab…

---

## [Thread.c (fastthread)ã®çŠ¶æ³](https://www.ruby-forum.com/t/thread-c-fastthread-a-cs-ae/132959)

<div class="topic-metadata">

**Author:** [@Daigo\_M](https://www.ruby-forum.com/u/Daigo_M)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/thread-c-fastthread-a-cs-ae/132959 "2008-03-26T15:45:58Z")

</div>

æ£®è„‡ã§ã™ã€‚ Debianã§Rubyã‚’ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ³ã‚°ã—ã¦ã„ã‚‹ã®ã§ã™ãŒã€ãƒ¦ãƒ¼ã‚¶ã‹ã‚‰è¦æœ›ãŒã‚ã£ãŸã®ã§ã€ã¡ã‚‡ã£ ã¨ãŠå°‹ã­ã—ã¾ã™ã€‚ 1.8.6ã‚ãŸã‚Šã§ã€fastthreadãŒãƒžãƒ¼ã‚¸ã•ã‚Œã¦thread.cã…

---

## [A shell provider's choice of Ruby IRC bots and bouncers](https://www.ruby-forum.com/t/a-shell-providers-choice-of-ruby-irc-bots-and-bouncers/132693)

<div class="topic-metadata">

**Author:** [@SSKyrre\_NygSSSSrdSS](https://www.ruby-forum.com/u/SSKyrre_NygSSSSrdSS)\
**Replies:** 0\
**Last updated:** [March 23, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/a-shell-providers-choice-of-ruby-irc-bots-and-bouncers/132693 "2008-03-23T16:28:57Z")

</div>

Hello, I have a friend who runs a server providing IRC services like Eggdrop and psyBNC. Wait! I’ve told him time and time again that there’s no money (nor prestige) in this type of business, but he won’t listen. Sin…

---

## [Sugerencias para curso de Ruby on Rails](https://www.ruby-forum.com/t/sugerencias-para-curso-de-ruby-on-rails/128324)

<div class="topic-metadata">

**Author:** [@JosSSSS\_CarriSSS\_n](https://www.ruby-forum.com/u/JosSSSS_CarriSSS_n)\
**Replies:** 3\
**Last updated:** [February 8, 2008, 1:15pm UTC](https://www.ruby-forum.com/t/sugerencias-para-curso-de-ruby-on-rails/128324 "2008-02-08T13:15:26Z")

</div>

Que tal amigos de la lista, es probable que de un curso introductorio a Rails en mi ciudad. Y querÃ­a ver si me pueden ayudar con sugerencias sobre el contenido del curso. A mi parecer aprendo mucho mÃ¡s de cursos pr…

---

## [Password protecting access to script/console?](https://www.ruby-forum.com/t/password-protecting-access-to-script-console/88236)

<div class="topic-metadata">

**Author:** [@erik](https://www.ruby-forum.com/u/erik)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 1:28pm UTC](https://www.ruby-forum.com/t/password-protecting-access-to-script-console/88236 "2007-03-09T13:28:10Z")

</div>

Sorry if this is asked and answered before, is there away to password protected access to script/console ? I’ve seen a few posts on how to protect/encrypt the db passwords in database.yml, but that still leaves unprot…

---

## [Ajax + render :update](https://www.ruby-forum.com/t/ajax-render-update/84319)

<div class="topic-metadata">

**Author:** [@Esteban](https://www.ruby-forum.com/u/Esteban)\
**Replies:** 3\
**Last updated:** [February 3, 2007, 2:44am UTC](https://www.ruby-forum.com/t/ajax-render-update/84319 "2007-02-03T02:44:48Z")

</div>

A ver si me aclaran esta confusión Todos los métodos Rails para Ajax usan un parámetro :update para indicar que sección debe actualizarse con la respuesta del servidor. Además la variante :update del render permite p…

---

## [Comment reprendre le paginator actuel, lui ajouter une condi](https://www.ruby-forum.com/t/comment-reprendre-le-paginator-actuel-lui-ajouter-une-condi/79701)

<div class="topic-metadata">

**Author:** [@teddio](https://www.ruby-forum.com/u/teddio)\
**Replies:** 3\
**Last updated:** [December 18, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/comment-reprendre-le-paginator-actuel-lui-ajouter-une-condi/79701 "2006-12-18T12:50:57Z")

</div>

Salut tout le monde, J’ai une question concernant la pagination. Dans mon appli, j’ai des Galleries. J’ai plusieurs contrÃ´leurs du genre “latest”, “best”, “favorites”, etc. Dans chaque contrÃ´leur, je crÃ©e une pagi…

---

## [Any colour as long as it Scribbish](https://www.ruby-forum.com/t/any-colour-as-long-as-it-scribbish/65688)

<div class="topic-metadata">

**Author:** [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Replies:** 3\
**Last updated:** [August 20, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/any-colour-as-long-as-it-scribbish/65688 "2006-08-20T19:23:07Z")

</div>

I’m part quoting Henry Ford here. So at Trunk edge I’m wondering if every theme bar Scribbish is broken? :wink: Seems that way … even Azure. Time to look into how to style Scribbish… G

---

## [Instance variables in templates](https://www.ruby-forum.com/t/instance-variables-in-templates/65411)

<div class="topic-metadata">

**Author:** [@Tim\_McIntyre](https://www.ruby-forum.com/u/Tim_McIntyre)\
**Replies:** 8\
**Last updated:** [August 18, 2006, 8:52am UTC](https://www.ruby-forum.com/t/instance-variables-in-templates/65411 "2006-08-18T08:52:49Z")

</div>

Hey all, Well… hmm… feeling pretty stupid here… For some reason my controller instance variables are not displaying in my templates. I’ve boiled it down to this test case. class Rss::FilmController \< ApplicationCont…

---

## [Mongrel weirdness](https://www.ruby-forum.com/t/mongrel-weirdness/101934)

<div class="topic-metadata">

**Author:** [@Timothy\_Brown](https://www.ruby-forum.com/u/Timothy_Brown)\
**Replies:** 3\
**Last updated:** [August 8, 2006, 9:51pm UTC](https://www.ruby-forum.com/t/mongrel-weirdness/101934 "2006-08-08T21:51:34Z")

</div>

Hi; My setup looks like this: Apache (on :80) proxies to Mongrel (on :8885) Mongrel’s “root” is ~/directory Typo is installed in ~/directory/typo if i’ve added in routes.rb ActionController::AbstractRequest.relativ…

---

## [Ruby Install vs. Gimp Install: how to make them both happy?](https://www.ruby-forum.com/t/ruby-install-vs-gimp-install-how-to-make-them-both-happy/57891)

<div class="topic-metadata">

**Author:** [@Michael\_Prior](https://www.ruby-forum.com/u/Michael_Prior)\
**Replies:** 3\
**Last updated:** [April 17, 2006, 2:00am UTC](https://www.ruby-forum.com/t/ruby-install-vs-gimp-install-how-to-make-them-both-happy/57891 "2006-04-17T02:00:47Z")

</div>

Hello all, I’ve installed ruby via the 1-click installer with defaults selected (on a very clean win2000 machine), then I went to install GIMP, which needs the latest GTK+2 runtime as a prerequisite. On installing th…

---

## [Is it possible to create a facebook multiposter in ruby?](https://www.ruby-forum.com/t/is-it-possible-to-create-a-facebook-multiposter-in-ruby/251511)

<div class="topic-metadata">

**Author:** [@Pr0gRamm3r](https://www.ruby-forum.com/u/Pr0gRamm3r)\
**Replies:** 1\
**Last updated:** [January 6, 2019, 8:55pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-create-a-facebook-multiposter-in-ruby/251511 "2019-01-06T20:55:27Z")

</div>

Hi, i just want to know if it is possible/feassible to create a facebook multiposter in ruby as a .exe program for windows? and maybe later make an app for android and manage it from my smartphone please don´t tell me …

---

## [499s and repeated requests](https://www.ruby-forum.com/t/499s-and-repeated-requests/237342)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 7, 2013, 11:27am UTC](https://www.ruby-forum.com/t/499s-and-repeated-requests/237342 "2013-11-07T11:27:37Z")

</div>

So, I’m running a rather standard nginx → unicorn → rails application, all over HTTPS. Recently, I started looking into some strange load bursts (which have been going on for a while but are getting more important), …

---

## [Skipping callbacks that aren't necessary for what i'm testing](https://www.ruby-forum.com/t/skipping-callbacks-that-arent-necessary-for-what-im-testing/205688)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 13, 2011, 1:21pm UTC](https://www.ruby-forum.com/t/skipping-callbacks-that-arent-necessary-for-what-im-testing/205688 "2011-04-13T13:21:08Z")

</div>

I have an Address model that has a before\_validation callback that goes off and geocodes the address. I’m concerned that for all the tests in my Address model I’m going to be triggering that callback, even when it’s n…

---

## [An hash of arrays, how to use?](https://www.ruby-forum.com/t/an-hash-of-arrays-how-to-use/203083)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 14, 2011, 6:48am UTC](https://www.ruby-forum.com/t/an-hash-of-arrays-how-to-use/203083 "2011-02-14T06:48:54Z")

</div>

Hello everybody! I have a problem with an Hash of Arrays. ruby-1.9.2-p136 :001 \> x = Hash.new Array.new =\> {} ruby-1.9.2-p136 :002 \> x\[“test”\] \<\< “test” =\> \[“test”\] ruby-1.9.2-p136 :003 \> x =\> {} ruby-1.9.2-p136 …

---

## [Cargar CSS en Head](https://www.ruby-forum.com/t/cargar-css-en-head/194068)

<div class="topic-metadata">

**Author:** [@zdavidlnx](https://www.ruby-forum.com/u/zdavidlnx)\
**Replies:** 1\
**Last updated:** [September 10, 2010, 2:20pm UTC](https://www.ruby-forum.com/t/cargar-css-en-head/194068 "2010-09-10T14:20:35Z")

</div>

Hola a todos, alguien sabe como puedo cargar un css en el Head desde una plantilla? Es decir, el css principal lo cargo en el Head del application.html.erb, pero si en una determinada plantilla me hace falta otro css …

---

## [Ruby gem update issue in macos 10.5.7](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279)

<div class="topic-metadata">

**Author:** [@junmin](https://www.ruby-forum.com/u/junmin)\
**Replies:** 7\
**Last updated:** [August 5, 2010, 5:20pm UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279 "2010-08-05T17:20:56Z")

</div>

i was trying to update the rubygem preinstalled in macos 10.5.7 by:sudo gem update --system or gem update --system. but i am getting this: sudo gem update --system Updating RubyGems… ERROR: While executing gem … …

---

## [A problem with work](https://www.ruby-forum.com/t/a-problem-with-work/187455)

<div class="topic-metadata">

**Author:** [@rachel](https://www.ruby-forum.com/u/rachel)\
**Replies:** 7\
**Last updated:** [April 28, 2010, 10:26am UTC](https://www.ruby-forum.com/t/a-problem-with-work/187455 "2010-04-28T10:26:05Z")

</div>

Hi guys! I found this site, and hopefully there is someone who can help. I’m a newbie, a code illiterate. But I’m resorceful enough to figure out 555, without knowing what on earth that was about! lol Anyhow, I do of…

---

## [Display optional db data](https://www.ruby-forum.com/t/display-optional-db-data/186959)

<div class="topic-metadata">

**Author:** [@dkam](https://www.ruby-forum.com/u/dkam)\
**Replies:** 7\
**Last updated:** [April 15, 2010, 10:14pm UTC](https://www.ruby-forum.com/t/display-optional-db-data/186959 "2010-04-15T22:14:00Z")

</div>

ive got a few models that may or may not have some data: urls / phone numbers / dates / times / etc whats the best way to test and format this data for displaying on a webpage? the way im thinking of doing it would b…

---

## [No input file specified](https://www.ruby-forum.com/t/no-input-file-specified/177692)

<div class="topic-metadata">

**Author:** [@tw1sted](https://www.ruby-forum.com/u/tw1sted)\
**Replies:** 7\
**Last updated:** [October 23, 2009, 11:57am UTC](https://www.ruby-forum.com/t/no-input-file-specified/177692 "2009-10-23T11:57:12Z")

</div>

if fastcgi is running I get “No input file spcified.” if the fastcgi is not up, I get “The page you are looking for is temporarily unavailable.” This is my config file: server { listen 80; server\_name website.org;…

---

## [Strange NoMethodErrors in production mode, I just don't know what to do](https://www.ruby-forum.com/t/strange-nomethoderrors-in-production-mode-i-just-dont-know-what-to-do/174916)

<div class="topic-metadata">

**Author:** [@msmsms](https://www.ruby-forum.com/u/msmsms)\
**Replies:** 7\
**Last updated:** [September 4, 2009, 10:45am UTC](https://www.ruby-forum.com/t/strange-nomethoderrors-in-production-mode-i-just-dont-know-what-to-do/174916 "2009-09-04T10:45:31Z")

</div>

Hi, thanks for reading. Since hours, I am facing a problem and it seems that I am not able to solve it. Let’s say, I’ve got a model called “AnnotationType”. This model has got a method called “foobar(x)”. It’s just s…

---

## [Making sure a file isn't being written/copied before moving](https://www.ruby-forum.com/t/making-sure-a-file-isnt-being-written-copied-before-moving/172211)

<div class="topic-metadata">

**Author:** [@judge](https://www.ruby-forum.com/u/judge)\
**Replies:** 7\
**Last updated:** [July 18, 2009, 5:35am UTC](https://www.ruby-forum.com/t/making-sure-a-file-isnt-being-written-copied-before-moving/172211 "2009-07-18T05:35:27Z")

</div>

So, I’m (still) working on some scripts to rename and reorganize my image files. Right now, I have a script on my laptop that pulls images off the CF card and stores them locally. I have another script that rsync’s …

---

## [Question about exiting from a block](https://www.ruby-forum.com/t/question-about-exiting-from-a-block/169538)

<div class="topic-metadata">

**Author:** [@guoliang](https://www.ruby-forum.com/u/guoliang)\
**Replies:** 7\
**Last updated:** [June 5, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/question-about-exiting-from-a-block/169538 "2009-06-05T17:15:52Z")

</div>

def test puts ‘before’ yield 2 puts ‘after’ end test do |i| XXX if i \> 1 a lot of code appears below end I have code above and wonder if it is possible to use return/break/anything to stop execution of block and…

---

## [Beginner question pt.2](https://www.ruby-forum.com/t/beginner-question-pt-2/168281)

<div class="topic-metadata">

**Author:** [@calvin](https://www.ruby-forum.com/u/calvin)\
**Replies:** 7\
**Last updated:** [May 19, 2009, 10:29pm UTC](https://www.ruby-forum.com/t/beginner-question-pt-2/168281 "2009-05-19T22:29:56Z")

</div>

When I type this into the terminal it works… but I am wondering if I am going about things the right way: $ /opt/local/bin/ruby1.9 -v $ cd $ cd Desktop $ cd programs $ ruby1.9 calc.rb then the math equation answer…

---

## [How can i get the text of entry in TK?](https://www.ruby-forum.com/t/how-can-i-get-the-text-of-entry-in-tk/152758)

<div class="topic-metadata">

**Author:** [@slaughter](https://www.ruby-forum.com/u/slaughter)\
**Replies:** 1\
**Last updated:** [November 7, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/how-can-i-get-the-text-of-entry-in-tk/152758 "2008-11-07T20:40:32Z")

</div>

hi everyone! I want to get the text of entry in TK,when run the script,I input the value “test” in the entry,but click the button “get”,It just show the value “Null”,not the value “test” which is except. what is the…

---

## [ISP denies HTTP DELETE in httpd.conf?](https://www.ruby-forum.com/t/isp-denies-http-delete-in-httpd-conf/152508)

<div class="topic-metadata">

**Author:** [@gummybears](https://www.ruby-forum.com/u/gummybears)\
**Replies:** 7\
**Last updated:** [November 5, 2008, 10:23am UTC](https://www.ruby-forum.com/t/isp-denies-http-delete-in-httpd-conf/152508 "2008-11-05T10:23:19Z")

</div>

Hi, I discovered that my webhoster denies HTTP delete’s. They suggest I can do the same via HTTP get’s. As I explained to them I am using their Rails framework via REST and CRUD, it seems either they don’t know what…

---

## [Stray questions](https://www.ruby-forum.com/t/stray-questions/150924)

<div class="topic-metadata">

**Author:** [@peterkemp](https://www.ruby-forum.com/u/peterkemp)\
**Replies:** 7\
**Last updated:** [October 15, 2008, 1:03am UTC](https://www.ruby-forum.com/t/stray-questions/150924 "2008-10-15T01:03:37Z")

</div>

Hi, I’ve been googling and going through the forum, and I can’t find the answers so some stray questions. A) If I have a render :partial is there a way to get rid of the trailing newline? \<%- and -%\> don’t work. Is…

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

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