# Top

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

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

---

## [How can I paginate records find by using find\_by\_sql](https://www.ruby-forum.com/t/how-can-i-paginate-records-find-by-using-find-by-sql/172568)

<div class="topic-metadata">

**Author:** [@indu](https://www.ruby-forum.com/u/indu)\
**Replies:** 1\
**Last updated:** [July 23, 2009, 1:59pm UTC](https://www.ruby-forum.com/t/how-can-i-paginate-records-find-by-using-find-by-sql/172568 "2009-07-23T13:59:47Z")

</div>

Hello everyone, I forced to use @user = User.find\_by\_sql sql\_query in a particular situation in my project. Now I want to paginate the records. How can I paginate the records? Please help me. Thanks in advance

---

## [Missing helper articles\_by\_month\_path](https://www.ruby-forum.com/t/missing-helper-articles-by-month-path/161020)

<div class="topic-metadata">

**Author:** [@darius](https://www.ruby-forum.com/u/darius)\
**Replies:** 1\
**Last updated:** [February 22, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/missing-helper-articles-by-month-path/161020 "2009-02-22T17:57:36Z")

</div>

Hi, i use lastest typo from github, when running index page, i get fallowing error Showing vendor/plugins/archives\_sidebar/views/content.rhtml where line #6 raised: articles\_by\_month\_url failed to generate from {:mo…

---

## [Need some Gruff graphing help - custom dimensions?](https://www.ruby-forum.com/t/need-some-gruff-graphing-help-custom-dimensions/97185)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 1\
**Last updated:** [February 4, 2009, 4:52pm UTC](https://www.ruby-forum.com/t/need-some-gruff-graphing-help-custom-dimensions/97185 "2009-02-04T16:52:12Z")

</div>

I’ve been working with Gruff to do all my apps graphing and such etc. I love it but I’m just having a hard time customizing the graphs, but this is perhaps due to my inability to comprehend the online RDocs. What I w…

---

## [Testing ActiveResource models with HttpMock](https://www.ruby-forum.com/t/testing-activeresource-models-with-httpmock/153709)

<div class="topic-metadata">

**Author:** [@xavier](https://www.ruby-forum.com/u/xavier)\
**Replies:** 1\
**Last updated:** [January 9, 2009, 2:22am UTC](https://www.ruby-forum.com/t/testing-activeresource-models-with-httpmock/153709 "2009-01-09T02:22:28Z")

</div>

Hi all, I have already spent (too) many hours trying to wire HttpMock in my test suite and I am stuck. I’m setting up my “remote fixtures” using a technique quite similar to what’s described here: but even the simp…

---

## [RSA, public and private keys](https://www.ruby-forum.com/t/rsa-public-and-private-keys/113741)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [September 4, 2007, 6:15pm UTC](https://www.ruby-forum.com/t/rsa-public-and-private-keys/113741 "2007-09-04T18:15:27Z")

</div>

I am trying to make it so that on my project a user who enters a credit card number will have that information encrypted. I am not, however, very familiar with data encryption and public and private keys, so I am not …

---

## [Ruby Math Normal Distribution](https://www.ruby-forum.com/t/ruby-math-normal-distribution/111051)

<div class="topic-metadata">

**Author:** [@murphy](https://www.ruby-forum.com/u/murphy)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/ruby-math-normal-distribution/111051 "2007-08-02T21:22:12Z")

</div>

Given a Z can ruby spit back the appropriate probability from a Normal Distribution curve? M

---

## [YODA-LIKE RUBY ROCKSTAR NEEDED -- $75 bucks per session](https://www.ruby-forum.com/t/yoda-like-ruby-rockstar-needed-75-bucks-per-session/217667)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 8, 2012, 6:05pm UTC](https://www.ruby-forum.com/t/yoda-like-ruby-rockstar-needed-75-bucks-per-session/217667 "2012-03-08T18:05:48Z")

</div>

Hey Everyone, Seeking a ROCKSTAR rubyist to provide instruction, guidance & code review for a smart, ambitious and eager student who wants to learn the BASICS & critical BEST PRACTICES from the best in a condensed amo…

---

## [Ruby summer of code?](https://www.ruby-forum.com/t/ruby-summer-of-code/215751)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 24, 2012, 12:18am UTC](https://www.ruby-forum.com/t/ruby-summer-of-code/215751 "2012-02-24T00:18:25Z")

</div>

Anybody know who I should talk to to “nudge” them toward doing another ruby summer of code this year? -r

---

## [Help with AIO](https://www.ruby-forum.com/t/help-with-aio/211502)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [September 16, 2011, 4:10pm UTC](https://www.ruby-forum.com/t/help-with-aio/211502 "2011-09-16T16:10:51Z")

</div>

Hi I configured Nginx with \*aio \*mode \*on \*and 1 worker process In benchmarking I saw limit of 1024 concurrent sessions even configured to 4096 worker connections When I looked in the source code I could see that i…

---

## [Small Hangup in Corewars Evolver](https://www.ruby-forum.com/t/small-hangup-in-corewars-evolver/203030)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 11, 2011, 1:58pm UTC](https://www.ruby-forum.com/t/small-hangup-in-corewars-evolver/203030 "2011-02-11T13:58:06Z")

</div>

Corewars is a neat little programming game where players develop assembly like programs to battle in virtual memory. My evolver uses selective pressure to evolve warriors through variance. The problem is that current…

---

## [Sort collection by nested model](https://www.ruby-forum.com/t/sort-collection-by-nested-model/186988)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 6\
**Last updated:** [April 15, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/sort-collection-by-nested-model/186988 "2010-04-15T16:27:23Z")

</div>

Hi everyone, I have GroupDocument model with following fields: belongs\_to :group belongs\_to :document enum\_attr :status, %w(pending approved banned) Document has fields like ‘title’ or ‘author’. On controller index …

---

## [Some fundamental architectural insights on the Ruby On Rails technology compared to Java](https://www.ruby-forum.com/t/some-fundamental-architectural-insights-on-the-ruby-on-rails-technology-compared-to-java/183749)

<div class="topic-metadata">

**Author:** [@Krum\_B](https://www.ruby-forum.com/u/Krum_B)\
**Replies:** 6\
**Last updated:** [February 22, 2010, 12:06pm UTC](https://www.ruby-forum.com/t/some-fundamental-architectural-insights-on-the-ruby-on-rails-technology-compared-to-java/183749 "2010-02-22T12:06:59Z")

</div>

Hi guys, It’s a pleasure for me to join your community mailing list. I am a keen software engineer and experimenter, and happen to investigate and dive into the Ruby language from a couple of weeks. So far i have bec…

---

## [Rescue warning](https://www.ruby-forum.com/t/rescue-warning/180861)

<div class="topic-metadata">

**Author:** [@al\_S](https://www.ruby-forum.com/u/al_S)\
**Replies:** 6\
**Last updated:** [January 4, 2010, 9:48am UTC](https://www.ruby-forum.com/t/rescue-warning/180861 "2010-01-04T09:48:05Z")

</div>

Salve forum, Ã¨ possibile creare un’eccezione per un warning? Cerco di spiegarmi meglio: utilizzo un modulo che in alcuni casi rari e particolari (diciamo non RFC compliant) mi blocca l’esecuzione di uno script resti…

---

## [Smtp check response 500](https://www.ruby-forum.com/t/smtp-check-response-500/180261)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 6\
**Last updated:** [December 16, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/smtp-check-response-500/180261 "2009-12-16T21:37:12Z")

</div>

Anyone know what resp 500 means in smtp? thank you! CODE: {snip} def send\_mail(from, to, subject, mesg) mesgstr = \<\<ENDMESG From: #{from} To: #{to} Subject: #{subject} #{mesg} ENDMESG require 'net/smtp' Net::S…

---

## [How to bind canvas events to tags?](https://www.ruby-forum.com/t/how-to-bind-canvas-events-to-tags/175249)

<div class="topic-metadata">

**Author:** [@Josef\_W](https://www.ruby-forum.com/u/Josef_W)\
**Replies:** 6\
**Last updated:** [September 17, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/how-to-bind-canvas-events-to-tags/175249 "2009-09-17T22:01:19Z")

</div>

Hello, In Perl/Tk, I can use $canv-\>bind("foobar", '\<1\>' =\> sub { xxxx; }); to bind a canvas event to all items with the “foobar” tag. This is a very powerful construct, so I’d like to use it in ruby, too. But r…

---

## [Using adobe contribute on a rails project](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 6\
**Last updated:** [May 13, 2009, 5:29pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876 "2009-05-13T17:29:49Z")

</div>

we are currently trying to allow one of our clients to access and edit some html files on their site via adobe’s contribute. the files live in the public directory of the rails site, and it seems like there is a probl…

---

## [Getting the associated model in a join table](https://www.ruby-forum.com/t/getting-the-associated-model-in-a-join-table/164874)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 6\
**Last updated:** [April 8, 2009, 5:15am UTC](https://www.ruby-forum.com/t/getting-the-associated-model-in-a-join-table/164874 "2009-04-08T05:15:35Z")

</div>

Let’s say we have the following models: Product \< ActiveRecord::Base has\_many :products\_suppliers has\_many :suppliers, :through =\> :products\_supplier Supplier \< ActiveRecord::Base has\_many :products\_suppliers has\_m…

---

## [Newbie stumped - when form validates, normally return is fine, but when I select a certain checkbox,](https://www.ruby-forum.com/t/newbie-stumped-when-form-validates-normally-return-is-fine-but-when-i-select-a-certain-checkbox/155246)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 6\
**Last updated:** [December 10, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/newbie-stumped-when-form-validates-normally-return-is-fine-but-when-i-select-a-certain-checkbox/155246 "2008-12-10T16:56:54Z")

</div>

I’m really stumped here. I’m new to Rails and I’m sure I’m doing something stupid but what’s going on seems like voodoo or something. When you click on “new match” the controller makes a call to set up two new objects…

---

## [Stack level too deep](https://www.ruby-forum.com/t/stack-level-too-deep/154703)

<div class="topic-metadata">

**Author:** [@John\_Ky](https://www.ruby-forum.com/u/John_Ky)\
**Replies:** 6\
**Last updated:** [December 7, 2008, 4:47am UTC](https://www.ruby-forum.com/t/stack-level-too-deep/154703 "2008-12-07T04:47:33Z")

</div>

Hi, Is there any way for me to increase the stack size? My stack is huge: playback.rb:38:in \`play\_back’: stack level too deep (SystemStackError) Cheers, -John

---

## [Rake test:units failing](https://www.ruby-forum.com/t/rake-test-units-failing/154577)

<div class="topic-metadata">

**Author:** [@mpathare](https://www.ruby-forum.com/u/mpathare)\
**Replies:** 6\
**Last updated:** [December 2, 2008, 2:37am UTC](https://www.ruby-forum.com/t/rake-test-units-failing/154577 "2008-12-02T02:37:57Z")

</div>

Hello, I am a rails beginner and am having some trouble running the unit tests using rake. i am following the example in the simply rails 2 book. I have a simple model with one field “name” and a validation for name …

---

## [Short question on regex in Ruby](https://www.ruby-forum.com/t/short-question-on-regex-in-ruby/149587)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 6\
**Last updated:** [September 26, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/short-question-on-regex-in-ruby/149587 "2008-09-26T16:44:24Z")

</div>

Hi, I have a little problem with a regex in Ruby: I have twos strings: string1 = “He is the 20th.” string2 = “25th” I wrote this to “extract” the place (20 or 25 respectively): place1 = string1.gsub(/.(\\d+)th./,’\\1…

---

## [Erasing text from a file](https://www.ruby-forum.com/t/erasing-text-from-a-file/137289)

<div class="topic-metadata">

**Author:** [@genericguy](https://www.ruby-forum.com/u/genericguy)\
**Replies:** 6\
**Last updated:** [May 12, 2008, 3:19am UTC](https://www.ruby-forum.com/t/erasing-text-from-a-file/137289 "2008-05-12T03:19:56Z")

</div>

To me it seems it should be a rather obvious thing, but no matter where I look, I can’t find how to erase text from a file or clear a file. The only things I have found are moving the the cursor to the start and writi…

---

## [Unit Tests do not migrate correctly](https://www.ruby-forum.com/t/unit-tests-do-not-migrate-correctly/133941)

<div class="topic-metadata">

**Author:** [@Alan9608](https://www.ruby-forum.com/u/Alan9608)\
**Replies:** 6\
**Last updated:** [April 9, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/unit-tests-do-not-migrate-correctly/133941 "2008-04-09T21:44:40Z")

</div>

I have a collumn in my model which is a :decimal, :precision- 10, :scale=\>2 It needs to hold numbers from 0 to 4294967295. This is the output from inet\_aton(‘xxx.xxx.xxx.xxx’) in mysql. I NEED to have an unsigned…

---

## [Ruby PDA implementation?](https://www.ruby-forum.com/t/ruby-pda-implementation/85078)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 6\
**Last updated:** [February 18, 2008, 5:22pm UTC](https://www.ruby-forum.com/t/ruby-pda-implementation/85078 "2008-02-18T17:22:36Z")

</div>

I asked this question a couple of months ago, and now am throwing it out there again in case anything has changed. Has anyone out there successfully ported Ruby over to the Windows Mobile platform yet? Following the i…

---

## [First stab at a weakref test suite](https://www.ruby-forum.com/t/first-stab-at-a-weakref-test-suite/123844)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 6\
**Last updated:** [December 22, 2007, 2:21am UTC](https://www.ruby-forum.com/t/first-stab-at-a-weakref-test-suite/123844 "2007-12-22T02:21:55Z")

</div>

Hi all, I decided to take a stab at creating a minimal test suite for WeakRef (based on a post by Charles Oliver N. for JRuby). The only problem is that I get two unexpected failures. I’m not sure if it’s Test::Unit …

---

## [One for me as a noob hard task](https://www.ruby-forum.com/t/one-for-me-as-a-noob-hard-task/120687)

<div class="topic-metadata">

**Author:** [@joakim](https://www.ruby-forum.com/u/joakim)\
**Replies:** 6\
**Last updated:** [November 19, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/one-for-me-as-a-noob-hard-task/120687 "2007-11-19T21:29:51Z")

</div>

Write a program which asks us to type in as many words as we want (one word per line, continuing until we just press Enter on an empty line), and which then repeats the words back to us in alphabetical order without u…

---

## [File exists - /tmp/bootstraptest.tmpwd](https://www.ruby-forum.com/t/file-exists-tmp-bootstraptest-tmpwd/111900)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/file-exists-tmp-bootstraptest-tmpwd/111900 "2007-09-25T23:08:18Z")

</div>

e$B$R$H$D$N%^%7%s$G!"$"$k%f!\<%6$,e(B btest e$B$7$?8e!"B\>$N%f!\<%6$,e(B btest e$B$9$k$H!"0J2\<$N$h$&$J%(%i!\<$K$J$j$^$9!#e(B $ make btest ruby “./bootstraptest/runner.rb” --ruby="./miniruby " Mon Aug 13 12:59:14 +0900 20…

---

## [Ruby test suites?](https://www.ruby-forum.com/t/ruby-test-suites/110820)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 6\
**Last updated:** [July 31, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/ruby-test-suites/110820 "2007-07-31T17:52:08Z")

</div>

Has anyone got an overview of the current status of the various Ruby spec suites? I know of at least 3 (rubicon, jRuby’s tests, and rubinius’ specs), but I’ve got no idea how complete or active they are, or which Rub…

---

## [The road to study Ruby on Rails](https://www.ruby-forum.com/t/the-road-to-study-ruby-on-rails/88694)

<div class="topic-metadata">

**Author:** [@ibn\_tachfine](https://www.ruby-forum.com/u/ibn_tachfine)\
**Replies:** 6\
**Last updated:** [March 15, 2007, 5:09am UTC](https://www.ruby-forum.com/t/the-road-to-study-ruby-on-rails/88694 "2007-03-15T05:09:06Z")

</div>

hi I’m new in Ruby on rails and i want that someone gives me references to learn it quickly. thanks in advance.

---

## [How do you pass html objects from the view to the helper cla](https://www.ruby-forum.com/t/how-do-you-pass-html-objects-from-the-view-to-the-helper-cla/88248)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [March 9, 2007, 7:06am UTC](https://www.ruby-forum.com/t/how-do-you-pass-html-objects-from-the-view-to-the-helper-cla/88248 "2007-03-09T07:06:07Z")

</div>

I would like to pass the title to the helper class and manipulate it. I have in the view test In the helper, I have def hide\_and\_reset(div) update\_page do |page| if page\[div\].title == ‘show’ page\[div\].hide pag…

---

## [Method Auto Completion (#110)](https://www.ruby-forum.com/t/method-auto-completion-110/82358)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 6\
**Last updated:** [January 22, 2007, 2:50am UTC](https://www.ruby-forum.com/t/method-auto-completion-110/82358 "2007-01-22T02:50:39Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Ramping down (tx\_empy continued)](https://www.ruby-forum.com/t/ramping-down-tx-empy-continued/81964)

<div class="topic-metadata">

**Author:** [@Brett\_Trotter](https://www.ruby-forum.com/u/Brett_Trotter)\
**Replies:** 6\
**Last updated:** [January 16, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/ramping-down-tx-empy-continued/81964 "2007-01-16T20:48:26Z")

</div>

I’ve been pondering a few ways to do the wait and ramp down (wait something like 16 clocks and then ramp down by right shifting on each clock)- but to do so, I need to know what the last value was so I can shift it. …

---

## [Proposito x l'anno nuovo = scrivere i test](https://www.ruby-forum.com/t/proposito-x-lanno-nuovo-scrivere-i-test/80626)

<div class="topic-metadata">

**Author:** [@Tud](https://www.ruby-forum.com/u/Tud)\
**Replies:** 6\
**Last updated:** [December 29, 2006, 7:13pm UTC](https://www.ruby-forum.com/t/proposito-x-lanno-nuovo-scrivere-i-test/80626 "2006-12-29T19:13:17Z")

</div>

Come proposito x l’anno nuovo vorrei imparare a scrivere i test. Finora ho scritto alcune volte qualche unit test ma vorrei imparare anche a scrivere i functional e gli integration tests. Avete da consigliarmi qualche…

---

## [Startup on Rails (Cherche Trois Mousquetaires)](https://www.ruby-forum.com/t/startup-on-rails-cherche-trois-mousquetaires/74496)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 6\
**Last updated:** [November 14, 2006, 3:58am UTC](https://www.ruby-forum.com/t/startup-on-rails-cherche-trois-mousquetaires/74496 "2006-11-14T03:58:56Z")

</div>

Ou plutÃ´t DEUX mousquetaires, puisque je compte dÃ©jÃ pour un. (Pour clarifier la rÃ©fÃ©rence littÃ©raire - si besoin est - voir ici : Getting Real) Il s’agit bien entendu d’un projet Rails. Commercial. Avec un obj…

---

## [Streamlined framework - Maturity? Background?](https://www.ruby-forum.com/t/streamlined-framework-maturity-background/65653)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 6\
**Last updated:** [August 21, 2006, 5:44am UTC](https://www.ruby-forum.com/t/streamlined-framework-maturity-background/65653 "2006-08-21T05:44:05Z")

</div>

Hi, Just found and started to look at Streamlined (http://streamlined.relevancellc.com/). It looks very interesting however I couldn’t find a mailing list or contact me link. Just wondering: \[1\] How mature is Stre…

---

## [Strange behaviour - Instantiating an object and giving it a](https://www.ruby-forum.com/t/strange-behaviour-instantiating-an-object-and-giving-it-a/98823)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 6\
**Last updated:** [July 20, 2006, 11:48am UTC](https://www.ruby-forum.com/t/strange-behaviour-instantiating-an-object-and-giving-it-a/98823 "2006-07-20T11:48:36Z")

</div>

Hi, In both examples below, the expected results are observed. However, in the second example (class Bar) warnings are generated. This is Ruby 1.8.2 on Mac Os x 10.4.7. I wonder if someone might be able to enlighte…

---

## [One click installer, fxruby](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615)

<div class="topic-metadata">

**Author:** [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Replies:** 6\
**Last updated:** [May 25, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615 "2006-05-25T20:22:10Z")

</div>

i was using an older version of the one click installer, but i could never get any fxruby programs to run. so i updated with the latest rc version fxruby programs STILL don’t run. now i’m wondering if there’s somethi…

---

## [Database Query on the fly Using Forms](https://www.ruby-forum.com/t/database-query-on-the-fly-using-forms/50707)

<div class="topic-metadata">

**Author:** [@Arik](https://www.ruby-forum.com/u/Arik)\
**Replies:** 6\
**Last updated:** [December 21, 2005, 6:41pm UTC](https://www.ruby-forum.com/t/database-query-on-the-fly-using-forms/50707 "2005-12-21T18:41:38Z")

</div>

I am a freshman when it comes to RoR, and I haven’t been able to figure this out. I need to figure out how to query records in my database using form check boxes (or radio buttons) then display them in that same insta…

---

## [Modifying ActiveRecord::Base - where?](https://www.ruby-forum.com/t/modifying-activerecord-base-where/52477)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 6\
**Last updated:** [December 7, 2005, 2:35am UTC](https://www.ruby-forum.com/t/modifying-activerecord-base-where/52477 "2005-12-07T02:35:23Z")

</div>

i need to add a method to ActiveRecord::Base. to be specific class ActiveRecord::Base def self::restful \*a @restful = a.shift || @restful end end so i can class MyModel \< ActiveRecord::Base has\_one :foobar rest…

---

## [How about an nginx repository mirror list?](https://www.ruby-forum.com/t/how-about-an-nginx-repository-mirror-list/226731)

<div class="topic-metadata">

**Author:** [@antituhan](https://www.ruby-forum.com/u/antituhan)\
**Replies:** 5\
**Last updated:** [February 20, 2013, 5:15pm UTC](https://www.ruby-forum.com/t/how-about-an-nginx-repository-mirror-list/226731 "2013-02-20T17:15:46Z")

</div>

I see here http://wiki.nginx.org/Install for the Nginx Repository, especially RHEL/CentOS don’t have any mirror likes IP Based to Location. Or, is there a plan to build it?

---

## [Re: \[STAGE\] Assicurazione offre stage a milano](https://www.ruby-forum.com/t/re-stage-assicurazione-offre-stage-a-milano/217182)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [February 23, 2012, 3:35pm UTC](https://www.ruby-forum.com/t/re-stage-assicurazione-offre-stage-a-milano/217182 "2012-02-23T15:35:42Z")

</div>

Per come me l’hanno spiegata in universit, un’ attivit di stage ha dei metodi e degli obiettivi precisi, sia dal punto di vista dell’ azienda che dello stagista. (C’ anche da dire che in universit di fregnacce me ne …

---

## [Cosa c'e' di sbagliato?](https://www.ruby-forum.com/t/cosa-ce-di-sbagliato/216714)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 12, 2012, 9:05pm UTC](https://www.ruby-forum.com/t/cosa-ce-di-sbagliato/216714 "2012-02-12T21:05:00Z")

</div>

route.rb match “/:layout” =\> “company@index” in application\_controller ho: before\_filter :authenticate\_user! rescue\_from DeviseLdapAuthenticatable::LdapException do |exception| render :text =\> exception, :status =\> …

---

## [How to View Output - Stop App](https://www.ruby-forum.com/t/how-to-view-output-stop-app/204617)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 16, 2011, 11:37pm UTC](https://www.ruby-forum.com/t/how-to-view-output-stop-app/204617 "2011-03-16T23:37:56Z")

</div>

Greetings, total noob question I’m sure. I’m trying to run a simple example in a console, but how do I tell it to stop so I can view the output? In C# I think I could just return false or something, but what do you d…

---

## [Issues doing an insert into mysql](https://www.ruby-forum.com/t/issues-doing-an-insert-into-mysql/200775)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 23, 2010, 4:34am UTC](https://www.ruby-forum.com/t/issues-doing-an-insert-into-mysql/200775 "2010-12-23T04:34:32Z")

</div>

Everything looks ok, I can not see errors, I do not see anything in the table. This is my environment settings. Ruby version 1.8.6 (i386-linux) RubyGems version 1.3.7 Rack version 1.0 Rails version 2.3.4 Activ…

---

## [Adding a selected checkbox to a new nested model without polluting the model](https://www.ruby-forum.com/t/adding-a-selected-checkbox-to-a-new-nested-model-without-polluting-the-model/194631)

<div class="topic-metadata">

**Author:** [@gamov](https://www.ruby-forum.com/u/gamov)\
**Replies:** 5\
**Last updated:** [September 15, 2010, 2:06pm UTC](https://www.ruby-forum.com/t/adding-a-selected-checkbox-to-a-new-nested-model-without-polluting-the-model/194631 "2010-09-15T14:06:58Z")

</div>

Context: I have a GoodsReturn model with many ReturnedItem. For the new view, I create a new GoodsReturn with many new ReturnedItems from a sale (and its SoldItems). Problem: I want to have a Add/Selected checkbox w…

---

## [SMTP SMS Reminder Script](https://www.ruby-forum.com/t/smtp-sms-reminder-script/193423)

<div class="topic-metadata">

**Author:** [@humandictionary](https://www.ruby-forum.com/u/humandictionary)\
**Replies:** 5\
**Last updated:** [August 17, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/smtp-sms-reminder-script/193423 "2010-08-17T19:03:08Z")

</div>

require ‘net/smtp’ puts “How many times do you want to bomb 'em?” x = gets.to\_i puts “What’s your gmail account?” username = gets puts “Password for that account?” password=gets message = \<\<MESSAGE\_END From: Priv…

---

## [\[Bug #1031\] -U $B%\*%W%7%g%s$N@bL@$,(B --help $B$K$J$$(B](https://www.ruby-forum.com/t/bug-1031-u-b-w-7-g-s-n-bl-b-help-b-k-j-b/185688)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 5\
**Last updated:** [March 26, 2010, 2:39am UTC](https://www.ruby-forum.com/t/bug-1031-u-b-w-7-g-s-n-bl-b-help-b-k-j-b/185688 "2010-03-26T02:39:11Z")

</div>

e$B%A%1%C%He(B #1031 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B1sF#$G$9!#e(B e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B In message “Re: \[ruby-dev:37818\] \[Bug #1031\] -U e$B%\*%W%7%g%s$N@bL@$,e(B --help e$B$K$J$$e(B” on Th…

---

## [Mysql on mongrel vs apache](https://www.ruby-forum.com/t/mysql-on-mongrel-vs-apache/185080)

<div class="topic-metadata">

**Author:** [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Replies:** 5\
**Last updated:** [March 13, 2010, 10:44am UTC](https://www.ruby-forum.com/t/mysql-on-mongrel-vs-apache/185080 "2010-03-13T10:44:44Z")

</div>

Does mysql performance with mongrel and Snow Leopard differ from its performance with Apache and Ubuntu? I am experiencing the issue of slow performance in Ubuntu production environment compared to my Leopard develop…

---

## [Problem in gnuradio installation PLEASE help](https://www.ruby-forum.com/t/problem-in-gnuradio-installation-please-help/184851)

<div class="topic-metadata">

**Author:** [@sanam\_singh](https://www.ruby-forum.com/u/sanam_singh)\
**Replies:** 5\
**Last updated:** [March 10, 2010, 8:43am UTC](https://www.ruby-forum.com/t/problem-in-gnuradio-installation-please-help/184851 "2010-03-10T08:43:12Z")

</div>

hi, im facing following problem for past two days in installing gnuradio 3.3.2 from tar.gz. i am using ubuntu 9.10 libtool: link: only absolute run-paths are allowed make\[6\]: \*\*\* \[\_gnuradio\_swig\_py\_filter.la\] Error 1 …

---

## [Converting hash to option string](https://www.ruby-forum.com/t/converting-hash-to-option-string/183647)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 5\
**Last updated:** [February 18, 2010, 3:30pm UTC](https://www.ruby-forum.com/t/converting-hash-to-option-string/183647 "2010-02-18T15:30:27Z")

</div>

Is there a good way to programmatically convert {:a=\>‘b’, :c=\>‘d’} to ‘a=b c=d’ ? Rails seems to do this knid of thing “all over the place”. I see reverse\_merge and similar functions … but I wonder if this is cann…

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

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